s5pc100: tickertape: added configuration for using ramdisk.
authordaeinki <inki.dae@samsung.com>
Thu, 2 Jul 2009 11:12:17 +0000 (20:12 +0900)
committerdaeinki <inki.dae@samsung.com>
Thu, 2 Jul 2009 11:12:17 +0000 (20:12 +0900)
Signed-off-by: daeinki <inki.dae@samsung.com>
include/configs/s5pc100_tickertape.h

index 98fedaf..2236713 100644 (file)
 #define CONFIG_BOOTCOMMAND     "bootm 0x21008000"
 #endif
 
+#define CONFIG_RAMDISK_BOOT    "root=/dev/ram0 rw rootfstype=ext2" \
+               " console=ttySAC2,115200n8" \
+               " ${meminfo}"
+
 #define CONFIG_COMMON_BOOT     "console=ttySAC2,115200n8" \
                " mem=128M " \
                " " MTDPARTS_DEFAULT
        "nfsboot=set bootargs root=/dev/nfs ubi.mtd=${ubiblock}" \
         " nfsroot=${nfsroot},nolock ip=${ipaddr}:${serverip}:${gatewayip}:" \
         "${netmask}:nowplus:usb0:off " CONFIG_COMMON_BOOT "; run bootk\0" \
+       "ramboot=set bootargs " CONFIG_RAMDISK_BOOT \
+        " initrd=0x23000000,8M ramdisk=8192\0" \
        "rootfstype=cramfs\0" \
        "mtdparts=" MTDPARTS_DEFAULT "\0" \
        "meminfo=mem=128M\0" \
 #define CONFIG_SAMSUNG_USB
 #define CONFIG_OTG_CLK_OSCC
 #define CONFIG_SYS_DOWN_ADDR           CONFIG_SYS_SDRAM_BASE
+#define CONFIG_RAMDISK_ADDR    0x23000000
 
 #endif /* __CONFIG_H */