diff options
author | Claus Michael Olsen <cmolsen@us.ibm.com> | 2016-07-23 12:19:31 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-09-26 13:34:14 -0400 |
commit | 6f2a30d391e285c87dc6f4fb41b1638d36889d80 (patch) | |
tree | 5ef35bb890a2a95ad208a75098ff8ed37bf747fa /src | |
parent | 2407a647f78db071d20146d7e1e7e0f552b535a9 (diff) | |
download | talos-sbe-6f2a30d391e285c87dc6f4fb41b1638d36889d80.tar.gz talos-sbe-6f2a30d391e285c87dc6f4fb41b1638d36889d80.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/30308
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src')
-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 704dc9db..409bf8d3 100644 --- a/src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H +++ b/src/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H @@ -34,13 +34,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> |