On Sun, 13 Aug 2023 at 17:49, Marek Vasut <marek.vasut+rene...@mailbox.org> wrote: > > Block devices with 4k sectors imply the MBR sectors are also 4k instead > of regular 512B. Avoid hard-coding the 512B sector size and isntead read > the current block device sector size from it, and if the sector size is > larger than 512B, use the block device sector size. > > Signed-off-by: Marek Vasut <marek.vasut+rene...@mailbox.org> > --- > Cc: Simon Glass <s...@chromium.org> > --- > disk/part_dos.c | 17 ++++++++++++++--- > 1 file changed, 14 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>