[U-Boot] [PATCH 5/5] sh7763rdp: Add correct MTDIDS/MTDPARTS

Tom Rini trini at konsulko.com
Sat Feb 17 22:30:42 UTC 2018


Based on v4.15, add MTDIDS / MTDPARTS that match the in-kernel defaults.

Cc: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 configs/sh7763rdp_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/sh7763rdp_defconfig b/configs/sh7763rdp_defconfig
index 9683c7a6cabf..ff8011793016 100644
--- a/configs/sh7763rdp_defconfig
+++ b/configs/sh7763rdp_defconfig
@@ -24,6 +24,8 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_MISC is not set
 CONFIG_CMD_JFFS2=y
+CONFIG_MTDIDS_DEFAULT="nor0=physmap-flash.0"
+CONFIG_MTDPARTS_DEFAULT="mtdparts=physmap-flash.0:256k(U-Boot),2560k(Linux-Kernel),-(Root Filesystem)"
 CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_NETDEVICES=y
-- 
2.7.4



More information about the U-Boot mailing list