summaryrefslogtreecommitdiffstats
path: root/src/include/usr/vmmconst.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/vmmconst.h')
-rw-r--r--src/include/usr/vmmconst.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/usr/vmmconst.h b/src/include/usr/vmmconst.h
index b6841eea4..f826f45d2 100644
--- a/src/include/usr/vmmconst.h
+++ b/src/include/usr/vmmconst.h
@@ -31,7 +31,6 @@
*/
#include <limits.h>
-#include <config.h>
/**
* Segments
@@ -208,9 +207,13 @@ enum BlockPriority
#define VMM_MODULE_VPD_SIZE (512*KILOBYTE) /* must be 64KB aligned */
#define VMM_CENTAUR_VPD_SIZE (256*KILOBYTE) /* must be 64KB aligned */
#define VMM_DIMM_JEDEC_VPD_SIZE (256*KILOBYTE) /* must be 64KB aligned */
+#ifndef CONFIG_SUPPORT_EEPROM_CACHING
#define VMM_RT_VPD_SIZE ( VMM_MODULE_VPD_SIZE + \
VMM_CENTAUR_VPD_SIZE + \
VMM_DIMM_JEDEC_VPD_SIZE )
+#else
+#define VMM_RT_VPD_SIZE (512*KILOBYTE) /* 64KB aligned (size EECACHE section size - ecc) */
+#endif
/** Internode communication area outside of the HB image.
OpenPOWER on IntegriCloud