mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-01-07 10:48:54 +00:00
04291ee0ab
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>
33 lines
1,013 B
Makefile
33 lines
1,013 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2013 Google, Inc
|
|
# Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
|
|
|
|
ifdef CONFIG_HUSH_PARSER
|
|
obj-$(CONFIG_CONSOLE_RECORD) += test_echo.o
|
|
endif
|
|
ifdef CONFIG_CONSOLE_RECORD
|
|
obj-$(CONFIG_CMD_PAUSE) += test_pause.o
|
|
endif
|
|
obj-y += exit.o mem.o
|
|
obj-$(CONFIG_CMD_ADDRMAP) += addrmap.o
|
|
obj-$(CONFIG_CMD_BDI) += bdinfo.o
|
|
obj-$(CONFIG_CMD_FDT) += fdt.o
|
|
obj-$(CONFIG_CONSOLE_TRUETYPE) += font.o
|
|
obj-$(CONFIG_CMD_HISTORY) += history.o
|
|
obj-$(CONFIG_CMD_LOADM) += loadm.o
|
|
obj-$(CONFIG_CMD_MEM_SEARCH) += mem_search.o
|
|
ifdef CONFIG_CMD_PCI
|
|
obj-$(CONFIG_CMD_PCI_MPS) += pci_mps.o
|
|
endif
|
|
obj-$(CONFIG_CMD_PINMUX) += pinmux.o
|
|
obj-$(CONFIG_CMD_PWM) += pwm.o
|
|
obj-$(CONFIG_CMD_SEAMA) += seama.o
|
|
ifdef CONFIG_SANDBOX
|
|
obj-$(CONFIG_CMD_MBR) += mbr.o
|
|
obj-$(CONFIG_CMD_READ) += rw.o
|
|
obj-$(CONFIG_CMD_SETEXPR) += setexpr.o
|
|
obj-$(CONFIG_ARM_FFA_TRANSPORT) += armffa.o
|
|
endif
|
|
obj-$(CONFIG_CMD_TEMPERATURE) += temperature.o
|
|
obj-$(CONFIG_CMD_WGET) += wget.o
|