From 9035aa949b655d671e6ea2cefcdbe227db03d563 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Mon, 21 Nov 2011 14:51:24 -0600 Subject: [PATCH] cleanup: drop dl_xload_uboot and set_defaults functions Signed-off-by: Robert Nelson --- mk_mmc.sh | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) 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