summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/attrrp.C
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2015-02-12 15:16:11 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-02-16 15:30:40 -0600
commit9611008eb6768fc2d23a82560d75f43f101298b6 (patch)
tree9846bb1665f50f783158731cf2335830ceb01b05 /src/usr/targeting/attrrp.C
parent0b03c03b42b899fbad17c3aa2f0b0b55c21bd60b (diff)
downloadtalos-hostboot-9611008eb6768fc2d23a82560d75f43f101298b6.tar.gz
talos-hostboot-9611008eb6768fc2d23a82560d75f43f101298b6.zip
Align all HBRT reserved memory to 64K boundary
Change-Id: Ifcc3afa30ed84189cf10c1a8df9a7b4e7d38ffea RTC: 123657 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15711 Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/attrrp.C')
-rw-r--r--src/usr/targeting/attrrp.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/targeting/attrrp.C b/src/usr/targeting/attrrp.C
index 6c499e629..fbf61b892 100644
--- a/src/usr/targeting/attrrp.C
+++ b/src/usr/targeting/attrrp.C
@@ -505,6 +505,8 @@ namespace TARGETING
// Determine bottom of the address region.
io_addr = io_addr - l_size;
+ // Align to 64KB for Opal
+ io_addr = ALIGN_DOWN_X(io_addr,64*KILOBYTE);
// Map in region.
OpenPOWER on IntegriCloud