From d5adce60c0cc910171c2938e581f187a2083cba7 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Thu, 12 Sep 2013 13:46:07 -0500 Subject: PNOR ECC Support Adding ECC support to the PNOR Resource Provider as well as the makefiles that create the images. Also fixed a bug in the PNOR DD for writes across erase blocks. Change-Id: I31ff6817cd35728badcd23a48fa73e51727142b9 RTC: 66213 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6203 Reviewed-by: A. Patrick Williams III Reviewed-by: Michael Baiocchi Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE --- src/usr/pnor/common/ffs_hb.H | 10 ++++++++-- 1 file changed, 8 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 6174c24ee..8ad50e90e 100644 --- a/src/usr/pnor/common/ffs_hb.H +++ b/src/usr/pnor/common/ffs_hb.H @@ -42,21 +42,27 @@ */ /** - * FFS Misc information flags + * FFS User Data flags */ enum { + /* Chip Select : 1 byte */ FFS_CHIPSEL_UNUSED = 0xFF, /**< Chip select not used */ + + /* Compression : 1 byte */ FFS_COMPRESS_UNUSED = 0xFF, /**< Compression not used */ + /* Data Integrity : 2 bytes */ FFS_INTEG_ECC_PROTECT = 0x8000, /**< Data Integrity: ECC protected */ FFS_INTEG_UNUSED = 0x1FFF, /**< Unused Data Integrity Bits */ + /* Version Checking : 1 byte */ FFS_VERS_SHA512 = 0x80, /**< SHA512 used for Version */ FFS_VERS_SHA512_PER_EC = 0x40, /**< SHA512 version per EC */ FFS_VERS_UNUSED = 0x3F, /**< Unused Version bits */ - FFS_MISC_PRESERVED = 0x80, /**< Preserved across code updates */ + /* Miscellaneous Bits : 1 byte */ + FFS_MISC_PRESERVED = 0x80, /**< Preserved across code updates */ FFS_MISC_UNUSED = 0x1F, /**< Unused MISC Flags */ }; -- cgit v1.2.1