diff options
author | Darwin Dingel <darwin.dingel@alliedtelesis.co.nz> | 2014-06-06 15:48:26 +1200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-11 16:27:05 -0400 |
commit | 4a36be9bdb42157401618681c9ac28e3824c120e (patch) | |
tree | 15fcd75350b722e1d9ba9457c287073fc3af24fd /tools/Makefile | |
parent | 15c939f970ed147c47f2965539973bc979c71ecc (diff) | |
download | u-boot-imx-4a36be9bdb42157401618681c9ac28e3824c120e.zip u-boot-imx-4a36be9bdb42157401618681c9ac28e3824c120e.tar.gz u-boot-imx-4a36be9bdb42157401618681c9ac28e3824c120e.tar.bz2 |
disk: part_dos.c: Add a PBR check when MBR checking fails
Bug: SDCard with a messed up partition but still has a FAT signature
intact is readable in Linux but unreadable in uboot with 'fatls'.
Fix: When partition info checking fails, there is no checking for a
FAT signature (DOS_PBR) which will fail 'fatls'. FAT signature checking
is done when no valid partition is found in partition table. If FAT
signature is found, the disk will be read as PBR and continue
processing.
Signed-off-by: Darwin Dingel <darwin.dingel@alliedtelesis.co.nz>
Diffstat (limited to 'tools/Makefile')
0 files changed, 0 insertions, 0 deletions