artik: config: use uInitrd instead of initrd
authorChanho Park <chanho61.park@samsung.com>
Thu, 6 Aug 2015 11:04:02 +0000 (20:04 +0900)
committerChanho Park <chanho61.park@samsung.com>
Thu, 6 Aug 2015 11:04:02 +0000 (20:04 +0900)
This patch changes the default initrd file to uInitrd. The uInitrd is
the default initrd format of u-boot. It don't need to pass initrd size
because the size is calculated during making the uInitrd.

Change-Id: I11743df10f12ebf7ad9f662174290ca4c57c7bfa
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
include/configs/artik_common.h

index 61582a06cb12ce10d17154e280a5253f4abc2c4e..3d3c4feb90fc97216481b45c0d1e676f661d088a 100644 (file)
        "kernel_file=zImage\0"                                          \
        "kernel_addr=40008000\0"                                        \
        "fdtaddr=40800000\0"                                            \
-       "initrd_file=initrd\0"                                          \
+       "initrd_file=uInitrd\0"                                         \
        "initrd_addr=43000000\0"                                        \
        "boot_cmd=fatload mmc 0:1 $kernel_addr $kernel_file;"           \
                "fatload mmc 0:1 $fdtaddr $fdtfile;"                    \
                "fatload mmc 0:1 $initrd_addr $initrd_file;"            \
                "bootz $kernel_addr $initrd_addr $fdtaddr\0"            \
        "ramfsboot=setenv bootargs ${console} root=/dev/ram0 "          \
-               "rootfstype=ext2 initrd=0x$initrd_addr,"                \
-               __stringify(CONFIG_RAMDISK_PART_SIZE)"M ${opts};"       \
+               "rootfstype=ext2 ${opts};"                              \
                "run boot_cmd\0"                                        \
        "mmcboot=setenv bootargs ${console} "                           \
                "root=/dev/mmcblk${rootdev}p${rootpart} ${root_rw} "    \