u-boot/disk
Alexander Gendin 04291ee0ab cmd: mbr: Allow 4 MBR partitions without need for extended
Current code allows up to 3 MBR partitions without extended one.
If more than 3 partitions are required, then extended partition(s)
must be used.
This commit allows up to 4 primary MBR partitions without the
need for extended partition.

Add mbr test unit. In order to run the test manually, mmc6.img file
of size 12 MiB or greater is required in the same directory as u-boot.
Test also runs automatically via ./test/py/test.py tool.
Running mbr test is only supported in sandbox mode.

Signed-off-by: Alex Gendin <agendin@matrox.com>
[ And due to some further changes for testing ]
Signed-off-by: Simon Glass <sjg@chromium.org>
2023-10-24 17:05:24 -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.c rockchip: dm: prepare rkmtd UCLASS 2023-10-24 15:55:16 +08:00
part_amiga.c part: amiga: Use desc instead of dev_desc 2023-08-25 17:55:18 -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 cmd: mbr: Allow 4 MBR partitions without need for extended 2023-10-24 17:05:24 -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 common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
part_iso.c part: iso: Use desc instead of dev_desc 2023-08-25 17:55:18 -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 part: nac: Use desc instead of dev_desc 2023-08-25 17:55:18 -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