diff options
author | Cyril Bur <cyril.bur@au1.ibm.com> | 2015-08-24 13:31:17 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-08-28 15:14:12 +1000 |
commit | 123441e17fc5a9a40e45fde5ecc8209e5c0ad0cc (patch) | |
tree | 669363da7859ab80a62788129a3fa9c5ef3c062c /platforms | |
parent | 1b30e6879819256497d24b46934558166fee5682 (diff) | |
download | skiboot-123441e17fc5a9a40e45fde5ecc8209e5c0ad0cc.zip skiboot-123441e17fc5a9a40e45fde5ecc8209e5c0ad0cc.tar.gz skiboot-123441e17fc5a9a40e45fde5ecc8209e5c0ad0cc.tar.bz2 |
external/gard: Check the validity of the flash
If the GUARD partition has been corrupted such that ECC checks fail and not
even the first gard record can be read then the gard tool will be unable to
do anything. If this happens it is possible that hostboot will have a
similar problem.
The only sane thing to do at is point is probably to wipe the GUARD
partition.
This patch adds a check for this case and provides the user with the option
to wipe the entirety of the GUARD partition to attempt recovery.
Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms')
0 files changed, 0 insertions, 0 deletions