[U-Boot-Users] [PATCH] Replace deprecated "ramdisk" with "ramdisk_size" kernel parameter.
Detlev Zundel
dzu at denx.de
Fri Feb 22 17:21:32 CET 2008
The Linux commit fac8b209b1084bc85748bd54e13d00c1262b220f ("Remove
final traces of long-deprecated "ramdisk" kernel parm") makes these
changes neccessary.
Signed-off-by: Detlev Zundel <dzu at denx.de>
---
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(-)
diff --git a/board/cm5200/fwupdate.h b/board/cm5200/fwupdate.h
index 4e3f1e1..3bbcbdc 100644
--- a/board/cm5200/fwupdate.h
+++ b/board/cm5200/fwupdate.h
@@ -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);
diff --git a/include/configs/AmigaOneG3SE.h b/include/configs/AmigaOneG3SE.h
index d914dcc..a992498 100644
--- a/include/configs/AmigaOneG3SE.h
+++ b/include/configs/AmigaOneG3SE.h
@@ -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
diff --git a/include/configs/NX823.h b/include/configs/NX823.h
index 524aa06..da1c173 100644
--- a/include/configs/NX823.h
+++ b/include/configs/NX823.h
@@ -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"
diff --git a/include/configs/zeus.h b/include/configs/zeus.h
index 810a528..cd120df 100644
--- a/include/configs/zeus.h
+++ b/include/configs/zeus.h
@@ -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" \
--
1.5.4.2
More information about the U-Boot
mailing list