diff --git a/mk_mmc.sh b/mk_mmc.sh index 713381e..cc5150b 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -496,8 +496,7 @@ fi fi } -function set_defaults { - +function setup_bootscripts { if [ "$USE_UENV" ];then boot_uenv_txt_template tweak_boot_scripts @@ -517,21 +516,6 @@ function set_defaults { } -function dl_xload_uboot { - - - -if [ "${FIRMWARE}" ] ; then - - echo "" - echo "Downloading Firmware" - echo "" - - -fi - -} - function prepare_uimage { mkdir -p ${TEMPDIR}/kernel cd ${TEMPDIR}/kernel @@ -1380,10 +1364,8 @@ fi if [ "${FIRMWARE}" ] ; then dl_firmware fi + setup_bootscripts - boot_files_template - set_defaults - dl_xload_uboot prepare_initrd prepare_uimage unmount_all_drive_partitions