diff options
author | Vladimir Vid <vladimir.vid@sartura.hr> | 2018-07-13 12:56:00 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2018-08-07 11:53:52 +0300 |
commit | 79a0188679df53862e06fd7c8fecb7f3d7d44502 (patch) | |
tree | 27514cf8878c667faef9d8768d5c7cb040cd6ded /include/configs/mvebu_armada-37xx.h | |
parent | 4469bd7b53acea642915e2bf0e3cb5dfa378a47e (diff) | |
download | u-boot-79a0188679df53862e06fd7c8fecb7f3d7d44502.tar.xz |
arm64: a37xx: add CONFIG_MTD_DEVICE and CONFIG_MTD_PARTITIONS
CONFIG_MTD_DEVICE is required for the mtdparts command and but it is missing from the mvebu_armada-37xx.h
CONFIG_MTD_PARTITIONS is needed for the ubi support. Some of the Marvell based devices may require this as well.
Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/mvebu_armada-37xx.h')
-rw-r--r-- | include/configs/mvebu_armada-37xx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h index d1331096f2..5015bc74bb 100644 --- a/include/configs/mvebu_armada-37xx.h +++ b/include/configs/mvebu_armada-37xx.h @@ -66,6 +66,8 @@ #define CONFIG_SF_DEFAULT_SPEED 1000000 #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0 #define CONFIG_ENV_SPI_MODE CONFIG_SF_DEFAULT_MODE +#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ +#define CONFIG_MTD_PARTITIONS /* required for UBI partition support */ /* Environment in SPI NOR flash */ #define CONFIG_ENV_OFFSET 0x180000 /* as Marvell U-Boot version */ |