diff --git a/mk_mmc.sh b/mk_mmc.sh index 5b75413..bb0fb55 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1504,26 +1504,6 @@ function check_distro { fi } -function check_arch { - IN_VALID_ARCH=1 - - if test "-$ARCH_TYPE-" = "-armel-" - then - ARCH=armel - unset IN_VALID_ARCH - fi - - if test "-$ARCH_TYPE-" = "-armhf-" - then - ARCH=armhf - unset IN_VALID_ARCH - fi - - if [ "$IN_VALID_ARCH" ] ; then - usage - fi -} - function usage { echo "usage: sudo $(basename $0) --mmc /dev/sdX --uboot " cat < - armhf - --addon pico ulcd @@ -1632,11 +1608,6 @@ while [ ! -z "$1" ]; do DISTRO_TYPE="$2" check_distro ;; - --arch) - checkparm $2 - ARCH_TYPE="$2" - check_arch - ;; --firmware) FIRMWARE=1 ;;