Add bootdev_hunt_fallthrough() test to verify that 'bootflow scan -l'
falls back to a lower-priority bootdev when a higher-priority hunter
fails.
Introduce a simple 'sandbox-bootdev' device for the test. The new
bootdev can be configured to produce an error at the hunting stage.
Introduce new host_set_flags_by_label() API and a flags field to
'host_sb_plat' to simulate a bootdev hunter failure for the test.
Adjust boot{dev,flow} tests which depend on bootdev hunters.
Signed-off-by: Denis Mukhin <dmukhin@ford.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
25 lines
691 B
Makefile
25 lines
691 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
obj-$(CONFIG_$(PHASE_)BLK) += blk-uclass.o
|
|
|
|
ifndef CONFIG_$(PHASE_)BLK
|
|
obj-$(CONFIG_SPL_LEGACY_BLOCK) += blk_legacy.o
|
|
endif
|
|
|
|
ifndef CONFIG_XPL_BUILD
|
|
obj-$(CONFIG_IDE) += ide.o
|
|
obj-$(CONFIG_RKMTD) += rkmtd.o
|
|
endif
|
|
obj-$(CONFIG_SANDBOX) += sandbox.o sandbox-bootdev.o host-uclass.o host_dev.o
|
|
obj-$(CONFIG_$(PHASE_)BLOCK_CACHE) += blkcache.o
|
|
obj-$(CONFIG_$(PHASE_)BLKMAP) += blkmap.o
|
|
obj-$(CONFIG_$(PHASE_)BLKMAP) += blkmap_helper.o
|
|
|
|
obj-$(CONFIG_EFI_MEDIA) += efi-media-uclass.o
|
|
obj-$(CONFIG_EFI_MEDIA_SANDBOX) += sb_efi_media.o
|
|
obj-$(CONFIG_EFI_MEDIA_BLK) += efi_blk.o
|
|
|