* Automatic board detection is functional, so remove this workaround.

Signed-off-by: Jacob Stiffler <[email protected]>
---
 setup-uboot-env-am65x.sh | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/setup-uboot-env-am65x.sh b/setup-uboot-env-am65x.sh
index 8d70880..beb7713 100644
--- a/setup-uboot-env-am65x.sh
+++ b/setup-uboot-env-am65x.sh
@@ -82,28 +82,6 @@ kernelimage="Image-""$platform"".bin"
 kernelimagesrc=`ls -1 $cwd/../board-support/prebuilt-images/$kernelimage`
 kernelimagedefault=`basename $kernelimagesrc`
 
-board_name=""
-while [ -z "$board_name" ]
-do
-    echo "Do you have the AM65x EVM or IDK?"
-    echo " 1: UNKOWN"
-    echo " 2: EVM"
-    echo " 3: IDK"
-    echo
-    read -p "[ 1 ] " board
-
-    if [ ! -n "$board" ]; then
-        board="1"
-    fi
-
-    case $board in
-        "1") board_name="am65x";;
-        "2") board_name="am65x_evm";;
-        "3") board_name="am65x_idk";;
-        *) echo "Invalid reponse. Please enter 1-3."; echo;;
-    esac
-done
-
 echo "Select Linux kernel location:"
 echo " 1: TFTP"
 echo " 2: SD card"
@@ -168,7 +146,6 @@ do_expect "\"stop autoboot:\"" "send \" \"" 
$cwd/setupBoard.minicom
 # Configurable settings
 do_expect "\"$prompt\"" "send \"setenv serverip $ip\"" $cwd/setupBoard.minicom
 do_expect "\"$prompt\"" "send \"setenv nfs_root $rootpath\"" 
$cwd/setupBoard.minicom
-do_expect "\"$prompt\"" "send \"setenv board_name $board_name\"" 
$cwd/setupBoard.minicom
 do_expect "\"$prompt\"" "send \"setenv name_kern $kernelimage\"" 
$cwd/setupBoard.minicom
 
 # General macros
-- 
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to