summaryrefslogtreecommitdiffstats
path: root/src/include/usr/pnor
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-07-26 11:40:30 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-08-25 14:50:15 -0400
commitb0bf18528f97ecef49ff27fd4715b2d2a50ad5ba (patch)
treec62489d62c413e523e72e3a5559d629165078c08 /src/include/usr/pnor
parent1400bea75a6bbd2083a8b39095470102479c8514 (diff)
downloadtalos-hostboot-b0bf18528f97ecef49ff27fd4715b2d2a50ad5ba.tar.gz
talos-hostboot-b0bf18528f97ecef49ff27fd4715b2d2a50ad5ba.zip
Update Bootloader to handle moving the TOC of PNOR around
Moved 1 of the PNOR TOCs from 0x8000 to TOP_OF_FLASH - 64KB. Updated bootloader and pnor access code to handle new toc location. Update the defaultPnorLayout to reflect these changes Also added a FSP default pnor xml that will generate a 128 MB image for FSP boxes to use. RTC: 154286 Change-Id: I0253590299ff9714b0d5ab12a02ac9d653b115fa Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27461 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr/pnor')
-rw-r--r--src/include/usr/pnor/pnor_const.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/usr/pnor/pnor_const.H b/src/include/usr/pnor/pnor_const.H
index a7ca2c3b0..2d0d90f51 100644
--- a/src/include/usr/pnor/pnor_const.H
+++ b/src/include/usr/pnor/pnor_const.H
@@ -107,6 +107,8 @@ enum
{
INVALID_OFFSET = 0xFFFFFFF, // Invalid primary or alternate TOC
BACKUP_TOC_OFFSET = 0x8000,
+ TOC_SIZE = 0x8000,
+ TOC_OFFSET_FROM_TOP_OF_FLASH = 0x8FFF,
INVALID_FLASH_OFFSET = 0xFFFFFFFF,
};
OpenPOWER on IntegriCloud