Skip to contentSkip to conversation

Replace deprecated "ramdisk" with "ramdisk_size" kernel parameter.

PATCH New Detlev Zundel 2 participants 2 messages Feb 22, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Replace deprecated "ramdisk" with "ramdisk_size" kernel parameter.

The Linux commit fac8b209b1084bc85748bd54e13d00c1262b220f ("Remove final traces of long-deprecated "ramdisk" kernel parm") makes these changes neccessary.

---
 board/cm5200/fwupdate.h        |    2 +-
 include/configs/AmigaOneG3SE.h |    2 +-
 include/configs/NX823.h        |    2 +-
 include/configs/zeus.h         |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
board/cm5200/fwupdate.h +1 -1
index 4e3f1e1..3bbcbdc 100644
@@ -39,7 +39,7 @@
 #define FW_DIR		"nx-fw"
 #define RESCUE_IMAGE	"nxrs.img"
 #define LOAD_ADDR	0x400000
-#define RS_BOOTARGS	"ramdisk=8192K"
+#define RS_BOOTARGS	"ramdisk_size=8192K"
 
 /* Main function for fwupdate */
 void cm5200_fwupdate(void);
include/configs/AmigaOneG3SE.h +1 -1
index d914dcc..a992498 100644
@@ -54,7 +54,7 @@
 
 #undef CONFIG_CLOCKS_IN_MHZ		/* clocks passed to Linux in Hz */
 
-#define CONFIG_BOOTARGS		"root=/dev/ram rw ramdisk=4096"
+#define CONFIG_BOOTARGS		"root=/dev/ram rw ramdisk_size=4096"
 
 /*
  * BOOTP options
include/configs/NX823.h +1 -1
index 524aa06..da1c173 100644
@@ -47,7 +47,7 @@
 #undef	CONFIG_8xx_CONS_NONE
 #define CONFIG_BAUDRATE 57600	/* console baudrate = 115kbps	*/
 #define CONFIG_BOOTDELAY	2	/* autoboot after 2 seconds */
-#define CONFIG_BOOTARGS		"ramdisk=8000 "\
+#define CONFIG_BOOTARGS		"ramdisk_size=8000 "\
 				"root=/dev/nfs rw nfsroot=10.77.77.250:/ppcroot "\
 				"nfsaddrs=10.77.77.20:10.77.77.250"
 #define CONFIG_BOOTCOMMAND	"bootm 400e0000"
include/configs/zeus.h +1 -1
index 810a528..cd120df 100644
@@ -333,7 +333,7 @@
 	"nfsargs=setenv bootargs root=/dev/nfs rw"			\
 		" nfsroot=${serverip}:${rootpath}\0"			\
 	"ramargs=setenv bootargs root=/dev/ram rw"			\
-		" ramdisk=${ramdisk_size}\0"				\
+		" ramdisk_size=${ramdisk_size}\0"			\
 	"addip=setenv bootargs ${bootargs} "				\
 		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\
 	        ":${hostname}:${netdev}:off panic=1\0"			\
Signature · 1 line
1.5.4.2
#1 lore raw

PATCH 1/1 Replace deprecated "ramdisk" with "ramdisk_size" kernel parameter.

Quoted 5 lines · In message <[email protected]> you wrote:

The Linux commit fac8b209b1084bc85748bd54e13d00c1262b220f ("Remove final traces of long-deprecated "ramdisk" kernel parm") makes these changes neccessary.

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 8 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
They say, well, meybe it _is_ smelly, maybe it _is_ overcrowded, may-
be it _is_ a bit like Hell would be if they shut the  fires  off  and
stabled  a  herd  of  incontinent cows there for a year, but you must
admit that it is full of sheer, vibrant, dynamic _life_.
                                 - Terry Pratchett, _Moving Pictures_