From: DrEagle <dreagle@doukki.net>
Date: Sun, 7 Sep 2014 16:01:22 +0000 (+0200)
Subject: ARM: sheevaplug: add MTD defaults
X-Git-Tag: v2025.01-rc5-pxa1908~14583^2~1^2~3
X-Git-Url: http://git.dujemihanovic.xyz/contact?a=commitdiff_plain;h=65ae9523d9a5868075be40ef2582c75190cee6af;p=u-boot.git

ARM: sheevaplug: add MTD defaults

This patch add MTDIDS and MTDPARTS defaults settings to sheevaplug

Signed-off-by: Gerald Kerma <drEagle@doukki.net>

 Changes in v1:
 - add MTDIDS and MTDPARTS default to sheevaplug
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
---

diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 9661b8fd36..0a3118d82a 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -83,6 +83,11 @@
 	"x_bootcmd_usb=usb start\0" \
 	"x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
 
+#define MTDIDS_DEFAULT	"nand0=orion_nand"
+
+#define MTDPARTS_DEFAULT	\
+	"mtdparts="CONFIG_MTDPARTS
+
 /*
  * Ethernet Driver configuration
  */