mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 02:08:38 +00:00
7f8967c2b8
This option is fact really related to SPL. For U-Boot proper we always use driver model for block devices, so CONFIG_BLK is enabled if block devices are in use. It is only for SPL that we have two cases: - SPL_BLK is enabled, in which case we use driver model and blk-uclass.c - SPL_BLK is not enabled, in which case (if we need block devices) we must use blk_legacy.c Rename the symbol to SPL_LEGACY_BLOCK to make this clear. This is different enough from BLK and SPL_BLK that there should be no confusion. Signed-off-by: Simon Glass <sjg@chromium.org>
20 lines
523 B
Makefile
20 lines
523 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
obj-$(CONFIG_$(SPL_)BLK) += blk-uclass.o
|
|
|
|
ifndef CONFIG_$(SPL_)BLK
|
|
obj-$(CONFIG_SPL_LEGACY_BLOCK) += blk_legacy.o
|
|
endif
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_IDE) += ide.o
|
|
endif
|
|
obj-$(CONFIG_SANDBOX) += sandbox.o
|
|
obj-$(CONFIG_$(SPL_TPL_)BLOCK_CACHE) += blkcache.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
|