From e1796ad7e8d9708e5911815053b2aebfbd8f8231 Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Thu, 6 Aug 2015 20:04:02 +0900 Subject: [PATCH] artik: config: use uInitrd instead of initrd 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 --- include/configs/artik_common.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/configs/artik_common.h b/include/configs/artik_common.h index 61582a06c..3d3c4feb9 100644 --- a/include/configs/artik_common.h +++ b/include/configs/artik_common.h @@ -257,15 +257,14 @@ "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} " \ -- 2.34.1