From 747ec9df6dfaec564609fb00894bc0fa89418ad5 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 29 Jul 2014 09:24:54 -0500 Subject: [PATCH] cleanup: use uboot_CONFIG_SUPPORT_RAW_INITRD Signed-off-by: Robert Nelson --- mk_mmc.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index d6c9c79..65af1c5 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1001,10 +1001,10 @@ populate_boot () { cp -v ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/boot/initrd.img-current if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then - if [ ${mkimage_initrd} ] ; then - mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/uInitrd.net - else + if [ "x${uboot_CONFIG_SUPPORT_RAW_INITRD}" = "xenable" ] ; then cp -v ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/initrd.net + else + mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/uInitrd.net fi fi echo "-----------------------------" @@ -1262,7 +1262,6 @@ process_dtb_conf () { conf_net_initrd_file=initrd.net initrd=/boot/initrd.img-current else - mkimage_initrd=1 conf_normal_initrd_file=uInitrd conf_net_initrd_file=uInitrd.net initrd=/boot/uInitrd