diff options
author | Hans de Goede | 2017-02-27 18:22:10 +0100 |
---|---|---|
committer | Jagan Teki | 2017-04-07 11:23:46 +0530 |
commit | d482a8dfba417c6554f054ca74281d8d32384ed7 (patch) | |
tree | 431c35b1c5d4865336793004a6d54209604b6196 /include | |
parent | adc706b2fef764d359f1049e94d971b13250735a (diff) |
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 'include')
-rw-r--r-- | include/configs/sunxi-common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index bebbe94088f..51815600d4a 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -125,6 +125,9 @@ #define CONFIG_SYS_NAND_MAX_ECCPOS 1664 #define CONFIG_SYS_NAND_ONFI_DETECTION #define CONFIG_SYS_MAX_NAND_DEVICE 8 + +#define CONFIG_MTD_DEVICE +#define CONFIG_MTD_PARTITIONS #endif #ifdef CONFIG_SPL_SPI_SUNXI |