diff options
author | Cyril Bur <cyril.bur@au1.ibm.com> | 2016-01-07 14:33:59 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-01-15 14:46:24 +1100 |
commit | 91cebdcd557dfc2dfc8050a34edb11a43facaf74 (patch) | |
tree | 8ac77625f3886a9cbeefa3f0b69cade98465c8e6 /asm | |
parent | 09d10f9c6146f67d0b3f897a6249990b69f686b9 (diff) | |
download | skiboot-91cebdcd557dfc2dfc8050a34edb11a43facaf74.zip skiboot-91cebdcd557dfc2dfc8050a34edb11a43facaf74.tar.gz skiboot-91cebdcd557dfc2dfc8050a34edb11a43facaf74.tar.bz2 |
external/gard: Fix displaying 'cleared' gard records
When a garded component is replaced hostboot detects this and updates the
gard partition.
What hostboot does is set the record_id field to 0xFFFFFFFF but leaves the
rest of the flash untouched, this has caused issues with the gard tool the
thinking was that an entire record of all 0xFF bytes would signal not a
valid record.
This patch add rectifies this issue and `gard list` will no longer show any
record with an id of 0xFFFFFFFF.
Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com>
Reviewed-by: Sam Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm')
0 files changed, 0 insertions, 0 deletions