Re: [U-Boot] [PATCH 1/1] disk: part_dos: correctly detect DOS PBR

2019-11-01 Thread Tom Rini
On Tue, Oct 15, 2019 at 08:43:42PM +0200, Heinrich Schuchardt wrote: > The signature 0x55 0xAA in bytes 510 and 511 of the first sector can either > indicate a DOS partition table of the first sector of a FAT file system. > > The current code tries to check if the partition table is valid by look

[U-Boot] [PATCH 1/1] disk: part_dos: correctly detect DOS PBR

2019-10-15 Thread Heinrich Schuchardt
The signature 0x55 0xAA in bytes 510 and 511 of the first sector can either indicate a DOS partition table of the first sector of a FAT file system. The current code tries to check if the partition table is valid by looking at the boot indicator of the partition entries. But first of all it does n