diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2013-09-12 13:46:07 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-10-11 11:03:38 -0500 |
commit | d5adce60c0cc910171c2938e581f187a2083cba7 (patch) | |
tree | 4f7e0470c1d8fd3808f1e47746c8732184b221f3 /src/usr/pnor/common/ffs_hb.H | |
parent | 6d19bd7f6660d4a0f739e883e2f5d0434419a135 (diff) | |
download | talos-hostboot-d5adce60c0cc910171c2938e581f187a2083cba7.tar.gz talos-hostboot-d5adce60c0cc910171c2938e581f187a2083cba7.zip |
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 <iawillia@us.ibm.com>
Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
Diffstat (limited to 'src/usr/pnor/common/ffs_hb.H')
-rw-r--r-- | src/usr/pnor/common/ffs_hb.H | 10 |
1 files changed, 8 insertions, 2 deletions
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 */ }; |