summaryrefslogtreecommitdiff
path: root/disk/Makefile
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2022-04-19 10:05:09 +0900
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-04-23 22:05:41 +0200
commit43855fdb2c99eae0cdc9b3c54c2d719262d3b3eb (patch)
tree02cc726f5c18ca426a77453e411660da5383e2eb /disk/Makefile
parent8ff50227befdc778eb2cb239b778ed1ed843bf33 (diff)
downloadu-boot-43855fdb2c99eae0cdc9b3c54c2d719262d3b3eb.tar.gz
dm: disk: add UCLASS_PARTITION
NOTE: probably we have to update config dependencies, in particular, SPL/TPL_PRINTF? With this new function, UCLASS_PARTITION devices will be created as child nodes of UCLASS_BLK device. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Diffstat (limited to 'disk/Makefile')
-rw-r--r--disk/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/disk/Makefile b/disk/Makefile
index 5ca10c5576..ec148832b3 100644
--- a/disk/Makefile
+++ b/disk/Makefile
@@ -6,6 +6,9 @@
#ccflags-y += -DET_DEBUG -DDEBUG
obj-$(CONFIG_$(SPL_TPL_)PARTITIONS) += part.o
+ifdef CONFIG_$(SPL_TPL_)BLK
+obj-$(CONFIG_$(SPL_TPL_)PARTITIONS) += disk-uclass.o
+endif
obj-$(CONFIG_$(SPL_TPL_)MAC_PARTITION) += part_mac.o
obj-$(CONFIG_$(SPL_TPL_)DOS_PARTITION) += part_dos.o
obj-$(CONFIG_$(SPL_TPL_)ISO_PARTITION) += part_iso.o