diff --git a/mk_mmc.sh b/mk_mmc.sh index 5ebe09b..16fa1da 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -30,7 +30,7 @@ unset BETA_KERNEL unset EXPERIMENTAL_KERNEL unset USB_ROOTFS unset PRINTK -unset HASMLO +unset SPL_BOOT unset ABI_VER unset SMSC95XX_MOREMEM unset DO_UBOOT_DD @@ -262,13 +262,13 @@ function dl_bootloader { ABI="ABI" fi - if [ "${HASMLO}" ] ; then + if [ "${SPL_BOOT}" ] ; then MLO=$(cat ${TEMPDIR}/dl/bootloader | grep "${ABI}:${ABI_VER}:MLO" | awk '{print $2}') fi UBOOT=$(cat ${TEMPDIR}/dl/bootloader | grep "${ABI}:${ABI_VER}:UBOOT" | awk '{print $2}') - if [ "${HASMLO}" ] ; then + if [ "${SPL_BOOT}" ] ; then wget -c --no-verbose --directory-prefix=${TEMPDIR}/dl/ ${MLO} MLO=${MLO##*/} fi @@ -708,7 +708,7 @@ fi mkdir ${TEMPDIR}/disk mount ${MMC}${PARTITION_PREFIX}1 ${TEMPDIR}/disk -if [ "${HASMLO}" ] ; then +if [ "${SPL_BOOT}" ] ; then if ls ${TEMPDIR}/dl/${MLO} >/dev/null 2>&1;then cp -v ${TEMPDIR}/dl/${MLO} ${TEMPDIR}/disk/MLO fi @@ -929,7 +929,7 @@ function check_mmc { } function is_omap { - HASMLO=1 + SPL_BOOT=1 UIMAGE_ADDR="0x80300000" UINITRD_ADDR="0x81600000" SERIAL_CONSOLE="${SERIAL},115200n8"