From 6f2a36c73cfbc18d0d6bf86a45c63014fe12fd1d Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Fri, 5 Feb 2016 10:35:21 -0600 Subject: Support Provisioning PNOR partition XML element. If the element is present, set a flag in the PNOR TOC. Other code, like BMC code, would then erase these partitions when the system is reprovisioned. RTC: 143305 Forwardport: yes Change-Id: I457895f65d81e0a971bf301f16be2921dc21a24a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20576 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Tested-by: Jenkins OP Build CI Reviewed-by: Stephen M. Cprek Reviewed-by: Elizabeth K. Liner Reviewed-by: Matthew A. Ploetz --- src/usr/pnor/common/ffs_hb.H | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/usr/pnor/common/ffs_hb.H') diff --git a/src/usr/pnor/common/ffs_hb.H b/src/usr/pnor/common/ffs_hb.H index 62e2ad785..7203880c9 100644 --- a/src/usr/pnor/common/ffs_hb.H +++ b/src/usr/pnor/common/ffs_hb.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2016 */ +/* Contributors Listed Below - COPYRIGHT 2012,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -67,8 +67,9 @@ enum FFS_MISC_PRESERVED = 0x80, /**< Preserved across code updates */ FFS_MISC_READ_ONLY = 0x40, /**< Read only section */ FFS_MISC_PSEUDO = 0x20, /**< Pseudo partition */ + FFS_MISC_REPROVISION = 0x10, /**< Erased during reprovision */ FFS_MISC_GOLDEN = 0x01, /**< Golden side of PNOR */ - FFS_MISC_UNUSED = 0x1E, /**< Unused MISC Flags */ + FFS_MISC_UNUSED = 0x0E, /**< Unused MISC Flags */ }; /** -- cgit v1.2.1