flash: Use blocklevel to do ECC reads
flash: Use blocklevel to do ECC reads

flash_read_corrected() assumes the passed blocklevel device is an
actual flash device. However the blocklevel flash abstraction supports
automatically reading ECC protected data so use that instead.

Signed-off-by: Alistair Popple <e9adbcf81c8a36ccc628e09bc92d0e25e1c8e501@popple.id.au>
[Cyril added true to last param to ffs_init() in flash_register()]
[Cyril rebased onto 46c006f core/console: use char literals instead of
numeric]
Signed-off-by: Cyril Bur <6ce38dade8c4b52fd55c193fae70fd1d1275c3c3@au1.ibm.com>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

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