summaryrefslogtreecommitdiffstats
path: root/src/bootloader.ld
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2016-03-23 15:30:34 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-04-05 13:25:22 -0400
commit6e0d21f16e8153125f8dbd2a8feb4ce56ff54e39 (patch)
tree6d2195550cb402f358beb46f6fb0ddce57a2136b /src/bootloader.ld
parent2d6c5d55d9427de5fdb66ef880d19c9f5eb24328 (diff)
downloadtalos-hostboot-6e0d21f16e8153125f8dbd2a8feb4ce56ff54e39.tar.gz
talos-hostboot-6e0d21f16e8153125f8dbd2a8feb4ce56ff54e39.zip
Bootloader needs to dcbz the cache before using it
Add loops to do dcbz instructions. One loop covers L3 cache from the end of the Bootloader load to the end of the area used for storing a copy of HBB with ECC. The other loop covers L3 cache from the start of the area for storing the running copy of HBB to the start of the Bootloader load. Change-Id: If3bb157fe0ea1e61ed5db6c1264b5756cc8453d9 RTC:147380 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22413 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: CHRISTINA L. GRAVES <clgraves@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/bootloader.ld')
-rw-r--r--src/bootloader.ld3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootloader.ld b/src/bootloader.ld
index 0550a58b3..fbee6ccc8 100644
--- a/src/bootloader.ld
+++ b/src/bootloader.ld
@@ -24,6 +24,7 @@
/* */
/* IBM_PROLOG_END_TAG */
base_load_address = 0x00000000;
+sbe_hb_structures = 0x00000004;
/* @TODO-RTC:138273-Support multiple nodes using relative HRMOR */
/* Text section offset = 12KB (space reserved for exception vectors) */
text_load_address = 0x00003000;
@@ -32,6 +33,8 @@ SECTIONS
{
. = base_load_address;
+ . = sbe_hb_structures;
+
. = text_load_address;
.text ALIGN(0x0020): {
*(.text.intvects)
OpenPOWER on IntegriCloud