mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00

Sandbox supports block devices which can access files on the host machine. At present there is no uclass for this. The devices are attached to the root devic. The block-device type is therefore set to UCLASS_ROOT which is confusing. Block devices should be attached to a 'media' device instead, something which handles access to the actual media and provides the block driver for the block device. Create a new uclass to handle this. It supports two operations, to attach and detach a file on the host machine. For now this is not fully plumbed in. Signed-off-by: Simon Glass <sjg@chromium.org>
20 lines
541 B
Makefile
20 lines
541 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)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 host-uclass.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
|