summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kernel/misc.C2
-rw-r--r--src/usr/secureboot/base/service.C14
2 files changed, 6 insertions, 10 deletions
diff --git a/src/kernel/misc.C b/src/kernel/misc.C
index 4d7f2a2cc..4343fe9c8 100644
--- a/src/kernel/misc.C
+++ b/src/kernel/misc.C
@@ -479,7 +479,7 @@ namespace KernelMisc
}
uint64_t startAddr = 512*KILOBYTE;
- uint64_t endAddr = 4*MEGABYTE;
+ uint64_t endAddr = 1*MEGABYTE;
size_t cache_columns = 0;
diff --git a/src/usr/secureboot/base/service.C b/src/usr/secureboot/base/service.C
index 215094041..435ababfd 100644
--- a/src/usr/secureboot/base/service.C
+++ b/src/usr/secureboot/base/service.C
@@ -43,25 +43,21 @@ namespace SECUREBOOT
do
{
-// Don't blind purge in VPO
-#ifndef CONFIG_P9_VPO_COMPILE
-
// Load original secureboot header.
if (enabled())
{
Singleton<Header>::instance().loadBaseHeader();
}
- // Run dcbz on the entire 10MB cache
- assert(0 == mm_extend(MM_EXTEND_FULL_CACHE));
-#else
// Extend memory footprint into lower portion of cache.
assert(0 == mm_extend(MM_EXTEND_PARTIAL_CACHE));
-#endif
-
-// Disable SecureROM in VPO
+ // Don't extend more than 1/2 cache in VPO as fake PNOR is there
+ // Don't enable SecureROM in VPO
#ifndef CONFIG_P9_VPO_COMPILE
+ // Run dcbz on the entire 10MB cache
+ assert(0 == mm_extend(MM_EXTEND_FULL_CACHE));
+
// Initialize the Secure ROM
l_errl = initializeSecureROM();
if (l_errl)
OpenPOWER on IntegriCloud