summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/utils/imageProcs
diff options
context:
space:
mode:
authorClaus Michael Olsen <cmolsen@us.ibm.com>2016-07-23 12:19:31 -0500
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 16:12:28 -0500
commitf31abaaff021dddfeddaa224d63cc7047a725017 (patch)
tree8857ed10b6112828fafe25bb2c2689ae9b6cea7c /import/chips/p9/utils/imageProcs
parent94aad3c1b0958f4430fb9f2cf295f69d3254ef39 (diff)
downloadtalos-hcode-f31abaaff021dddfeddaa224d63cc7047a725017.tar.gz
talos-hcode-f31abaaff021dddfeddaa224d63cc7047a725017.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>
Diffstat (limited to 'import/chips/p9/utils/imageProcs')
-rw-r--r--import/chips/p9/utils/imageProcs/p9_infrastruct_help.H27
1 files changed, 21 insertions, 6 deletions
diff --git a/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H b/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H
index d86fde00..5114b3a8 100644
--- a/import/chips/p9/utils/imageProcs/p9_infrastruct_help.H
+++ b/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>
OpenPOWER on IntegriCloud