All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm64: a37xx: add CONFIG_MTD_DEVICE and CONFIG_MTD_PARTITIONS
       [not found] <arm64: a37xx: add CONFIG_MTD_DEVICE and CONFIG_MTD_PARTITIONS>
@ 2018-07-13  9:56 ` Vladimir Vid
  0 siblings, 0 replies; only message in thread
From: Vladimir Vid @ 2018-07-13  9:56 UTC (permalink / raw)
  To: u-boot

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>
---
 include/configs/mvebu_armada-37xx.h | 2 ++
 1 file changed, 2 insertions(+)

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 */
-- 
2.16.2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-13  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <arm64: a37xx: add CONFIG_MTD_DEVICE and CONFIG_MTD_PARTITIONS>
2018-07-13  9:56 ` [U-Boot] [PATCH] arm64: a37xx: add CONFIG_MTD_DEVICE and CONFIG_MTD_PARTITIONS Vladimir Vid

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.