sdcard script: use a default case instead of IN_VALID_UBOOT

Use a default case instead of IN_VALID_UBOOTfor a valid selected --uboot option.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 05140fcbfd
commit 47b7776c67

@ -1612,11 +1612,27 @@ case "$UBOOT_TYPE" in
is_imx53 is_imx53
;; ;;
esac *)
cat <<-__EOF__
if [ "$IN_VALID_UBOOT" ] ; then -----------------------------
usage ERROR: This script does not currently recognize the selected: [--uboot ${UBOOT_TYPE}] option..
fi Please rerun $(basename $0) with a valid [--uboot <device>] option from the list below:
-----------------------------
-Supported TI Devices:-------
beagle_bx - <BeagleBoard Ax/Bx>
beagle_cx - <BeagleBoard Cx>
beagle_xm - <BeagleBoard xMA/B/C>
bone - <BeagleBone Ax>
igepv2 - <serial mode only>
panda - <PandaBoard Ax>
panda_es - <PandaBoard ES>
-Supported Freescale Devices:
mx53loco - <Quick Start Board>
-----------------------------
__EOF__
exit
;;
esac
} }
function check_addon_type { function check_addon_type {

Loading…
Cancel
Save