u-boot/test
Sean Anderson de1728ce4c fastboot: Allow u-boot-style partitions
This adds support for partitions of the form "dev.hwpart:part" and
"dev#partname". This allows one to flash to eMMC boot partitions without
having to use CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT. It also allows one to
flash to an entire device without needing CONFIG_FASTBOOT_MMC_USER_NAME.
Lastly, one can also flash MMC devices other than
CONFIG_FASTBOOT_FLASH_MMC_DEV.

Because devices can be specified explicitly, CONFIG_FASTBOOT_FLASH_MMC_DEV
is used only when necessary for existing functionality. For those cases,
fastboot_mmc_get_dev has been added as a helper function. This allows

There should be no conflicts with the existing system, but just in case, I
have ordered detection of these names after all existing names.

The fastboot_mmc_part test has been updated for these new names.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-02-26 15:30:55 +01:00
..
cmd test: missing dependency for test/cmd/setexpr.c 2021-02-24 16:51:48 -05:00
dm fastboot: Allow u-boot-style partitions 2021-02-26 15:30:55 +01:00
env env: Allow returning errors from hdelete_r() 2020-12-04 16:09:06 -05:00
fs Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
image test: Update test-imagetools.sh to match new syntax 2019-03-08 11:31:44 -05:00
lib common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
log common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
optee common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
overlay common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
py test: py: add pygit2 and pyelftools to requirements.txt 2021-02-16 11:48:20 -05:00
stdint Remove <inttypes.h> includes and PRI* usages in printf() entirely 2018-09-10 20:48:17 -04:00
trace SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bloblist.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bootm.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
cmd_ut.c test: missing dependency for test/cmd/setexpr.c 2021-02-24 16:51:48 -05:00
command_ut.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
common.sh Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
compression.c test: Use ut_asserteq_mem() where possible 2020-05-19 14:01:47 -04:00
Kconfig test: linking test/compression.c fails 2020-11-05 09:11:31 -07:00
Makefile test: inconsistent bootm tests 2021-01-29 10:36:49 -05:00
nokia_rx51_test.sh Nokia RX-51: Add test for U-Boot serial console 2021-01-12 10:59:04 +05:30
print_ut.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
run test: Run SPL unit tests 2020-10-29 14:42:18 -06:00
str_ut.c test: correct the test prefix in ut str 2021-01-16 14:49:09 -05:00
time_ut.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
unicode_ut.c efi_loader: Add size checks to efi_create_indexed_name() 2020-12-31 14:33:23 +01:00
ut.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00