summaryrefslogtreecommitdiff
path: root/include/configs/harmony.h
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-05-07 23:18:42 +0200
committerTom Warren <twarren@nvidia.com>2018-05-10 16:34:10 -0700
commitfa91fda8c30a66f87d2c4fde4e0c3f7caf69e09e (patch)
tree8df686e621a017807174b0a5f2bcee7da5f5ebe3 /include/configs/harmony.h
parent4b11a6296aab84b628434cdbdd15697fab8a3a93 (diff)
configs: harmony: enable live tree, mtd and ubi
U-Boot on Harmony recently got broken by ongoing driver model resp. live tree migration work: U-Boot 2018.03-rc3 (Feb 21 2018 - 15:43:08 +0100) TEGRA20 Model: NVIDIA Tegra20 Harmony evaluation board Board: NVIDIA Harmony DRAM: 1 GiB Video device 'dc@54200000' cannot allocate frame buffer memory -ensure the device is set up before relocation Error binding driver 'tegra_lcd': -28 Some drivers failed to bind Error binding driver 'generic_simple_bus': -28 Some drivers failed to bind initcall sequence 3ffa86d0 failed at call 00121dc0 (err=-28) This commit fixes this by enabling live tree, MTD and UBI for Harmony as well. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/harmony.h')
-rw-r--r--include/configs/harmony.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/harmony.h b/include/configs/harmony.h
index 3ec9e87fb0..51e284e2e9 100644
--- a/include/configs/harmony.h
+++ b/include/configs/harmony.h
@@ -29,6 +29,10 @@
#define CONFIG_TEGRA_NAND
#define CONFIG_SYS_MAX_NAND_DEVICE 1
+/* Dynamic MTD partition support */
+#define CONFIG_MTD_PARTITIONS
+#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
+
/* Environment in NAND (which is 512M), aligned to start of last sector */
#define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sector size */