aboutsummaryrefslogtreecommitdiff
path: root/common/spl/Makefile
diff options
context:
space:
mode:
authorLadislav Michl2016-07-12 20:28:13 +0200
committerTom Rini2016-07-22 09:53:00 -0400
commitbf55cd4f3e3bc0ebf92c81bde1921f983e999451 (patch)
tree9d500618f6927061de9b642ca436df58b702f093 /common/spl/Makefile
parent6f4e7d3c75a81decc20de0218729e9770448ffc0 (diff)
spl: support loading from UBI volumes
Add support for loading from UBI volumes on the top of NAND and OneNAND. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'common/spl/Makefile')
-rw-r--r--common/spl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/spl/Makefile b/common/spl/Makefile
index 2e0f695e46e..b15f0f6dcde 100644
--- a/common/spl/Makefile
+++ b/common/spl/Makefile
@@ -13,8 +13,11 @@ obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
obj-$(CONFIG_SPL_LOAD_FIT) += spl_fit.o
obj-$(CONFIG_SPL_NOR_SUPPORT) += spl_nor.o
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += spl_ymodem.o
+ifndef CONFIG_SPL_UBI
obj-$(CONFIG_SPL_NAND_SUPPORT) += spl_nand.o
obj-$(CONFIG_SPL_ONENAND_SUPPORT) += spl_onenand.o
+endif
+obj-$(CONFIG_SPL_UBI) += spl_ubi.o
obj-$(CONFIG_SPL_NET_SUPPORT) += spl_net.o
obj-$(CONFIG_SPL_MMC_SUPPORT) += spl_mmc.o
obj-$(CONFIG_SPL_USB_SUPPORT) += spl_usb.o