diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-19 19:02:56 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-25 17:31:39 -0400 |
commit | 4cf36dfbf37edeb3f537296bb532008b8f206455 (patch) | |
tree | 43dec0bf1cd4f0f1cf59ce394fa3cfcd32cf41e5 /bootloader/x1000/main.c | |
parent | 5b011c8dca39a082cd020d0713199b4e269c0270 (diff) | |
download | rockbox-4cf36dfbf37edeb3f537296bb532008b8f206455.tar.gz rockbox-4cf36dfbf37edeb3f537296bb532008b8f206455.zip |
x1000: bootloader: skip bad blocks when loading flashed kernels
Bad blocks in a kernel flash partition seem to be handled by skipping
ahead to the next block; this is a common bad block management scheme
for simple software like bootloaders (and is the default method for
reading NAND partitions in u-boot).
Extend the uImage flash reader to skip bad blocks while reading.
Change-Id: I815875e83a2418e2642f736e04a3437c31b354ba
Diffstat (limited to 'bootloader/x1000/main.c')
0 files changed, 0 insertions, 0 deletions