u-boot/disk
Marek Vasut e2b5cc608b disk: dos: Infer MBR partition sector size from underlying drive sector size
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+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-08-22 15:17:52 -04:00
..
disk-uclass.c disk: Move part_create_block_devices() to blk uclass 2023-08-22 15:17:52 -04:00
Kconfig disk: Use BOOT_DEFAULTS instead of DISTRO_DEFAULTS 2023-07-17 15:38:11 -04:00
Makefile blk: Rename HAVE_BLOCK_DEVICE 2022-09-16 11:05:16 -04:00
part_amiga.c disk: Use Makefile to omit partition drivers 2022-09-16 11:05:00 -04:00
part_amiga.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
part_dos.c disk: dos: Infer MBR partition sector size from underlying drive sector size 2023-08-22 15:17:52 -04:00
part_dos.h disk: dos: add code for creating MBR partition layout 2021-01-15 15:33:09 -05:00
part_efi.c Correct SPL use of PARTITION_TYPE_GUID 2023-02-10 07:41:39 -05:00
part_iso.c disk: Use Makefile to omit partition drivers 2022-09-16 11:05:00 -04:00
part_iso.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
part_mac.c disk: Use Makefile to omit partition drivers 2022-09-16 11:05:00 -04:00
part_mac.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
part.c part: check CONFIG_IS_ENABLED(ENV_SUPPORT) 2023-07-30 18:51:18 +02:00