mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
d8063dc373
Add a block driver which handles read/write for EFI block devices. This driver actually already exists ('efi_block') but is not really suitable for use as a real U-Boot driver: - The operations do not provide a udevice - The code is designed for running as part of EFI loader, so uses EFI_PRINT() and EFI_CALL(). - The bind method probes the device, which is not permitted - It uses 'EFI' as its parent device The new driver is more 'normal', just requiring its platform data be set up in advance. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
20 lines
524 B
Makefile
20 lines
524 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_HAVE_BLOCK_DEVICE) += 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
|