remove: --uboot option, redirect too --dtb

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent befe7c8355
commit f9f6942ba3

@ -1414,8 +1414,15 @@ check_mmc () {
} }
uboot_dtb_error () { uboot_dtb_error () {
echo "OR: new: --dtb (device tree)"
if [ "${tried_uboot}" ] ; then
echo "-----------------------------"
echo "[--uboot <board>] has been replaced by [--dtb <board>]"
echo "see the list below..."
echo "-----------------------------"
fi
echo "--dtb (device tree) options..."
cat <<-__EOF__ cat <<-__EOF__
----------------------------- -----------------------------
ERROR: This script does not currently recognize the selected: [--dtb ${dtb_board}] option.. ERROR: This script does not currently recognize the selected: [--dtb ${dtb_board}] option..
@ -1851,7 +1858,9 @@ while [ ! -z "$1" ] ; do
--uboot) --uboot)
checkparm $2 checkparm $2
UBOOT_TYPE="$2" UBOOT_TYPE="$2"
check_uboot_type unset dtb_board
tried_uboot=1
check_dtb_board
;; ;;
--dtb) --dtb)
checkparm $2 checkparm $2

Loading…
Cancel
Save