external/gard: Update record clearing to match Hostboots expectations
external/gard: Update record clearing to match Hostboots expectations

When the gard tool is told to clear all the gard records it actually erases
the entire flash and inserts ECC bytes only for the size of the first gard
record.

The current method appears to have stopped working, Hostboot expects the
entire partition to have ECC bytes throughout the entire partition, and as
such the current method causes Hostboot to error and be unable to bring up
machines.

Signed-off-by: Cyril Bur <6ce38dade8c4b52fd55c193fae70fd1d1275c3c3@au1.ibm.com>
Reviewed-by: Samuel Mendoza-Jonas <ce35fd21fe38dbd75c01124bec431654a5f8eea9@au1.ibm.com>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

shenki/skiboot,shenki/skiboot,shenki/skiboot,apopple/skiboot,apopple/skiboot,qemu/skiboot,open-power/skiboot,legoater/skiboot,stewart-ibm/skiboot,open-power/skiboot,shenki/skiboot,qemu/skiboot,legoater/skiboot,mikey/skiboot,apopple/skiboot,legoater/skiboot,mikey/skiboot,stewart-ibm/skiboot,qemu/skiboot,mikey/skiboot,qemu/skiboot,shenki/skiboot,legoater/skiboot,open-power/skiboot,csmart/skiboot,stewart-ibm/skiboot,legoater/skiboot,open-power/skiboot,csmart/skiboot,csmart/skiboot,open-power/skiboot,qemu/skiboot