diff options
author | Claus Michael Olsen <cmolsen@us.ibm.com> | 2016-07-23 12:19:31 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-07-29 14:27:29 -0400 |
commit | 2b2d8cbcbdb59ba38d5afee4619f5d009c2a937f (patch) | |
tree | 89bf3ac9b3ac6fd6985b8bef72a9a00066d83b3f /src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H | |
parent | f64530eb6391d8157371e4b25a72f14776430050 (diff) | |
download | talos-hostboot-2b2d8cbcbdb59ba38d5afee4619f5d009c2a937f.tar.gz talos-hostboot-2b2d8cbcbdb59ba38d5afee4619f5d009c2a937f.zip |
p9_xip_customize L1 checkin w/backwards support for Seeprom MB settings.
Change-Id: I0a70ced101cf57bd469bd960ebeb15a75b2f939b
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27406
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com>
Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27407
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H')
-rw-r--r-- | src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H b/src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H index 79e1e896a..039461933 100644 --- a/src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H +++ b/src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H @@ -28,13 +28,28 @@ // // Various image/ring buffer sizes. Must be used by all users (VBU, FSP, HB, HBI, Cronus) // -const uint32_t MAX_REF_IMAGE_SIZE = 1024 * - 1024; // Max reference image size. -const uint32_t FIXED_RING_BUF_SIZE = - 60000; // Fixed ring buf size for _fixed. +//@FIXME: CMO: get rid of FIXED_RING_BUF_SIZE when ring_apply no longer uses it. +const uint32_t FIXED_RING_BUF_SIZE = 60000; // Fixed ring buf size for _fixed. +const uint32_t MAX_SEEPROM_IMAGE_SIZE = 4 * 56 * 1024; // Max Seeprom size, excl ECC bits (4 banks). +const uint32_t MAX_RT_IMAGE_SIZE = 1024 * 1024; // Max Runtime size. +const uint32_t MAX_RING_BUF_SIZE = 60000; // Max ring buffer size. +const uint32_t MAX_OVERRIDES_SIZE = 2 * 1024; // Max overrides section size. +const uint32_t MAX_HBBL_SIZE = 20 * 1024; // Max hbbl section size. -#define CHIPLET_ID_MIN (uint8_t)0x00 -#define CHIPLET_ID_MAX (uint8_t)0x37 +enum SYSPHASE +{ + SYSPHASE_HB_SBE = 0, + SYSPHASE_RT_CME = 1, + SYSPHASE_RT_SGPE = 2, + NOOF_SYSPHASES = 3, +}; + +enum MODEBUILD +{ + MODEBUILD_IPL = 0, + MODEBUILD_REBUILD = 1, + NOOF_MODEBUILDS = 2, +}; #if defined(__FAPI) #include <fapi2.H> |