summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-02-27 17:22:10 (GMT)
committerJagan Teki <jagan@amarulasolutions.com>2017-04-07 05:53:46 (GMT)
commitd482a8dfba417c6554f054ca74281d8d32384ed7 (patch)
tree431c35b1c5d4865336793004a6d54209604b6196 /cmd
parentadc706b2fef764d359f1049e94d971b13250735a (diff)
downloadu-boot-d482a8dfba417c6554f054ca74281d8d32384ed7.tar.xz
sunxi: Enable UBI and NAND support
Enable the NAND and UBI support in the configuration header so that we can (finally) use it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 661bee2..85fe728 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -452,12 +452,14 @@ config CMD_MMC
config CMD_NAND
bool "nand"
+ default y if ARCH_SUNXI
help
NAND support.
if CMD_NAND
config CMD_NAND_TRIMFFS
bool "nand write.trimffs"
+ default y if ARCH_SUNXI
help
Allows one to skip empty pages when flashing something on a NAND.
@@ -845,6 +847,7 @@ config CMD_UBI
tristate "Enable UBI - Unsorted block images commands"
select CRC32
select MTD_UBI
+ default y if ARCH_SUNXI
help
UBI is a software layer above MTD layer which admits use of LVM-like
logical volumes on top of MTD devices, hides some complexities of
@@ -858,6 +861,7 @@ config CMD_UBIFS
select CRC32
select RBTREE if ARCH_SUNXI
select LZO if ARCH_SUNXI
+ default y if ARCH_SUNXI
help
UBIFS is a file system for flash devices which works on top of UBI.