Skip to content
Commit 4a36be9b authored by Darwin Dingel's avatar Darwin Dingel Committed by Tom Rini
Browse files

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: default avatarDarwin Dingel <darwin.dingel@alliedtelesis.co.nz>
parent 15c939f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment