config: rename HASMLO to SPL_BOOT

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 44c97f912c
commit fd1554bf42

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

Loading…
Cancel
Save