Skip to contentSkip to conversation

Rename 'addcon' to 'addcons' environment command for Keymile boards.

PATCH New Detlev Zundel 2 participants 4 messages Apr 3, 2008 – Apr 18, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Rename 'addcon' to 'addcons' environment command for Keymile boards.

The latter name with 13 users is already established, so we will use that.

---
 include/configs/mgcoge.h |    4 ++--
 include/configs/mgsuvd.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
include/configs/mgcoge.h +2 -2
index b1e3d53..f0fed06 100644
@@ -105,13 +105,13 @@
 	"ramargs=setenv bootargs root=/dev/ram rw\0"			\
 	"nfsargs=setenv bootargs root=/dev/nfs rw "			\
 		"nfsroot=${serverip}:${rootpath}\0"			\
-	"addcon=setenv bootargs ${bootargs} console=ttyCPM0,${baudrate}\0"	\
+	"addcons=setenv bootargs ${bootargs} console=ttyCPM0,${baudrate}\0"	\
 	"addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"		\
 	"addip=setenv bootargs ${bootargs} "				\
 		"ip=${ipaddr}:${serverip}:${gatewayip}:"		\
 		"${netmask}:${hostname}:${netdev}:off panic=1\0"	\
 	"net_nfs=tftp ${kernel_addr} ${bootfile}; "			\
-		"tftp ${fdt_addr} ${fdt_file}; run nfsargs addip addcon;"\
+		"tftp ${fdt_addr} ${fdt_file}; run nfsargs addip addcons;"\
 		"bootm ${kernel_addr} - ${fdt_addr}\0"			\
 	"net_self=tftp ${kernel_addr} ${bootfile}; "			\
 		"tftp ${fdt_addr} ${fdt_file}; "			\
include/configs/mgsuvd.h +2 -2
index 5482089..aa026d9 100644
@@ -61,7 +61,7 @@
 
 #define CONFIG_EXTRA_ENV_SETTINGS					\
 	"netdev=eth0\0"							\
-	"addcon=setenv bootargs ${bootargs} console=ttyCPM0,${baudrate}\0"	\
+	"addcons=setenv bootargs ${bootargs} console=ttyCPM0,${baudrate}\0"	\
 	"nfsargs=setenv bootargs root=/dev/nfs rw "			\
 		"nfsroot=${serverip}:${rootpath}\0"			\
 	"ramargs=setenv bootargs root=/dev/ram rw\0"			\
@@ -73,7 +73,7 @@
 	"flash_self=run ramargs addip;"					\
 		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\
 	"net_nfs=tftp ${kernel_addr} ${bootfile}; "			\
-		"tftp ${fdt_addr} ${fdt_file}; run nfsargs addip addcon;"\
+		"tftp ${fdt_addr} ${fdt_file}; run nfsargs addip addcons;"\
 		"bootm ${kernel_addr} - ${fdt_addr}\0"			\
 	"rootpath=/opt/eldk/ppc_8xx\0"					\
 	"bootfile=/tftpboot/mgsuvd/uImage\0"				\
Signature · 1 line
1.5.4.2
#1 lore raw

PATCH 1/1 Realign CONFIG_EXTRA_ENV_SETTING for Keymile boards.

---
 include/configs/mgcoge.h |   56 +++++++++++++++++++++++-----------------------
 include/configs/mgsuvd.h |   50 ++++++++++++++++++++--------------------
 2 files changed, 53 insertions(+), 53 deletions(-)
include/configs/mgcoge.h +28 -28
index f0fed06..2924acc 100644
@@ -89,35 +89,35 @@
 /*
  * Default environment settings
  */
-#define CONFIG_EXTRA_ENV_SETTINGS					\
-	"netdev=eth0\0"							\
-	"u-boot_addr=100000\0"						\
-	"kernel_addr=200000\0"						\
-	"fdt_addr=400000\0"						\
-	"rootpath=/opt/eldk-4.2/ppc_82xx\0"				\
-	"u-boot=/tftpboot/mgcoge/u-boot.bin\0"				\
-	"bootfile=/tftpboot/mgcoge/uImage\0"				\
-	"fdt_file=/tftpboot/mgcoge/mgcoge.dtb\0"			\
-	"load=tftp ${u-boot_addr} ${u-boot}\0"				\
-	"update=prot off fe000000 fe03ffff; era fe000000 fe03ffff; "	\
-		"cp.b ${u-boot_addr} fe000000 ${filesize};"		\
-		"prot on fe000000 fe03ffff\0"				\
-	"ramargs=setenv bootargs root=/dev/ram rw\0"			\
-	"nfsargs=setenv bootargs root=/dev/nfs rw "			\
-		"nfsroot=${serverip}:${rootpath}\0"			\
+#define CONFIG_EXTRA_ENV_SETTINGS						\
+	"netdev=eth0\0"								\
+	"u-boot_addr=100000\0"							\
+	"kernel_addr=200000\0"							\
+	"fdt_addr=400000\0"							\
+	"rootpath=/opt/eldk-4.2/ppc_82xx\0"					\
+	"u-boot=/tftpboot/mgcoge/u-boot.bin\0"					\
+	"bootfile=/tftpboot/mgcoge/uImage\0"					\
+	"fdt_file=/tftpboot/mgcoge/mgcoge.dtb\0"				\
+	"load=tftp ${u-boot_addr} ${u-boot}\0"					\
+	"update=prot off fe000000 fe03ffff; era fe000000 fe03ffff; "		\
+		"cp.b ${u-boot_addr} fe000000 ${filesize};"			\
+		"prot on fe000000 fe03ffff\0"					\
+	"ramargs=setenv bootargs root=/dev/ram rw\0"				\
+	"nfsargs=setenv bootargs root=/dev/nfs rw "				\
+		"nfsroot=${serverip}:${rootpath}\0"				\
 	"addcons=setenv bootargs ${bootargs} console=ttyCPM0,${baudrate}\0"	\
-	"addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"		\
-	"addip=setenv bootargs ${bootargs} "				\
-		"ip=${ipaddr}:${serverip}:${gatewayip}:"		\
-		"${netmask}:${hostname}:${netdev}:off panic=1\0"	\
-	"net_nfs=tftp ${kernel_addr} ${bootfile}; "			\
-		"tftp ${fdt_addr} ${fdt_file}; run nfsargs addip addcons;"\
-		"bootm ${kernel_addr} - ${fdt_addr}\0"			\
-	"net_self=tftp ${kernel_addr} ${bootfile}; "			\
-		"tftp ${fdt_addr} ${fdt_file}; "			\
-		"tftp ${ramdisk_addr} ${ramdisk_file}; "		\
-		"run ramargs addip; "					\
-		"bootm ${kernel_addr} ${ramdisk_addr} ${fdt_addr}\0"	\
+	"addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"			\
+	"addip=setenv bootargs ${bootargs} "					\
+		"ip=${ipaddr}:${serverip}:${gatewayip}:"			\
+		"${netmask}:${hostname}:${netdev}:off panic=1\0"		\
+	"net_nfs=tftp ${kernel_addr} ${bootfile}; "				\
+		"tftp ${fdt_addr} ${fdt_file}; run nfsargs addip addcons;"	\
+		"bootm ${kernel_addr} - ${fdt_addr}\0"				\
+	"net_self=tftp ${kernel_addr} ${bootfile}; "				\
+		"tftp ${fdt_addr} ${fdt_file}; "				\
+		"tftp ${ramdisk_addr} ${ramdisk_file}; "			\
+		"run ramargs addip; "						\
+		"bootm ${kernel_addr} ${ramdisk_addr} ${fdt_addr}\0"		\
 	""
 #define CONFIG_BOOTCOMMAND	"run net_nfs"
 #define CONFIG_BOOTDELAY	5	/* autoboot after 5 seconds */
include/configs/mgsuvd.h +25 -25

57 lines not on this page · raw message

Signature · 1 line
1.5.4.2
#2 lore raw

PATCH 1/1 Realign CONFIG_EXTRA_ENV_SETTING for Keymile boards.

Quoted 5 lines · In message <[email protected]> you wrote:
---
 include/configs/mgcoge.h |   56 +++++++++++++++++++++++-----------------------
 include/configs/mgsuvd.h |   50 ++++++++++++++++++++--------------------
 2 files changed, 53 insertions(+), 53 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Alles Gescheite ist schon gedacht worden, man mu? nur versuchen,
es noch einmal zu denken.          -- Goethe, Maximen und Reflexionen
#3 lore raw

PATCH 1/1 Rename 'addcon' to 'addcons' environment command for Keymile boards.

In reply to Detlev Zundel
Quoted 8 lines · In message <[email protected]> you wrote:

The latter name with 13 users is already established, so we will use that.

---
 include/configs/mgcoge.h |    4 ++--
 include/configs/mgsuvd.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Speed of a tortoise breaking the sound barrier         = 1 Machturtle