From e9c3f1c74ec30236b2066768c7996b6419e454d5 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 13 Aug 2013 10:48:28 -0500 Subject: [PATCH] cleanup/merge: error_invalid_uboot_dtb -> error_invalid_dtb Signed-off-by: Robert Nelson --- mk_mmc.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 57c92ab..21a23a5 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -43,7 +43,6 @@ unset EXPERIMENTAL_KERNEL unset KERNEL_DEB GIT_VERSION=$(git rev-parse --short HEAD) -error_invalid_uboot_dtb=1 DIST=wheezy ARCH=armhf @@ -1537,7 +1536,7 @@ process_dtb_conf () { } check_dtb_board () { - error_invalid_uboot_dtb=1 + error_invalid_dtb=1 #/hwpack/${dtb_board}.conf unset leading_slash @@ -1551,7 +1550,7 @@ check_dtb_board () { if [ -f "${DIR}"/hwpack/${dtb_board}.conf ] ; then . "${DIR}"/hwpack/${dtb_board}.conf populate_dtbs=1 - unset error_invalid_uboot_dtb + unset error_invalid_dtb process_dtb_conf else uboot_dtb_error @@ -1693,7 +1692,7 @@ checkparm () { fi } -error_invalid_uboot_dtb=1 +error_invalid_dtb=1 # parse commandline options while [ ! -z "$1" ] ; do @@ -1792,9 +1791,9 @@ if [ ! "${media}" ] ; then usage fi -if [ "${error_invalid_uboot_dtb}" ] ; then +if [ "${error_invalid_dtb}" ] ; then echo "-----------------------------" - echo "ERROR: --uboot/--dtb undefined" + echo "ERROR: --dtb undefined" echo "-----------------------------" uboot_dtb_error exit