cleanup: drop unused check_uboot_type

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

@ -1582,124 +1582,6 @@ convert_uboot_to_dtb_board () {
process_dtb_conf process_dtb_conf
} }
check_uboot_type () {
#New defines for hwpack:
conf_bl_http="http://rcn-ee.net/deb/tools/latest"
conf_bl_listfile="bootloader-ng"
unset error_invalid_uboot_dtb
unset USE_KMS
unset conf_fdtfile
unset need_dtbs
kernel_repo="STABLE"
unset spl_name
unset boot_name
unset bootloader_location
unset dd_spl_uboot_seek
unset dd_spl_uboot_bs
unset dd_uboot_seek
unset dd_uboot_bs
unset boot_scr_wrapper
unset usbnet_mem
case "${UBOOT_TYPE}" in
beagle_bx)
echo "Note: [--dtb omap3-beagle] now replaces [--uboot beagle_bx]"
. "${DIR}"/hwpack/omap3-beagle.conf
convert_uboot_to_dtb_board
;;
beagle_cx)
echo "Note: [--dtb omap3-beagle] now replaces [--uboot beagle_cx]"
. "${DIR}"/hwpack/omap3-beagle.conf
convert_uboot_to_dtb_board
;;
beagle_xm)
echo "Note: [--dtb omap3-beagle-xm] now replaces [--uboot beagle_xm]"
. "${DIR}"/hwpack/omap3-beagle-xm.conf
convert_uboot_to_dtb_board
;;
bone-serial|bone)
#Bootloader Partition:
conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
need_am335x_firmware="1"
conf_entrypt="uenvcmd"
SYSTEM="bone"
conf_board="BEAGLEBONE_A"
is_omap
SERIAL="ttyO0"
SERIAL_CONSOLE="${SERIAL},115200n8"
kernel_subarch="omap-psp"
SERIAL_MODE=1
unset HAS_OMAPFB_DSS2
unset KMS_VIDEOA
#just to disable the omapfb stuff..
USE_KMS=1
conf_note="Note: During the install use a 5Volt DC power supply as USB does not always provide enough power. If board locks up on boot run [sudo ifconfig usb0 up] on host."
conf_uboot_CONFIG_CMD_BOOTZ=1
conf_uboot_CONFIG_CMD_FS_GENERIC=1
conf_uboot_use_uenvcmd=1
convert_uboot_to_dtb_board
;;
bone-video)
#Bootloader Partition:
conf_boot_fstype="fat"
conf_boot_startmb="1"
conf_boot_endmb="96"
need_am335x_firmware="1"
conf_entrypt="uenvcmd"
SYSTEM="bone"
conf_board="BEAGLEBONE_A"
is_omap
SERIAL="ttyO0"
SERIAL_CONSOLE="${SERIAL},115200n8"
kernel_subarch="omap-psp"
unset HAS_OMAPFB_DSS2
unset KMS_VIDEOA
#just to disable the omapfb stuff..
USE_KMS=1
conf_note="Note: During the install use a 5Volt DC power supply as USB does not always provide enough power. If board locks up on boot run [sudo ifconfig usb0 up] on host."
conf_uboot_CONFIG_CMD_BOOTZ=1
conf_uboot_CONFIG_CMD_FS_GENERIC=1
conf_uboot_use_uenvcmd=1
convert_uboot_to_dtb_board
;;
bone_dt|bone_dtb)
echo "Note: [--dtb am335x-bone-serial] now replaces [--uboot bone_dtb]"
. "${DIR}"/hwpack/am335x-bone-serial.conf
dtb_board="am335x-bone-serial"
convert_uboot_to_dtb_board
;;
panda)
echo "Note: [--dtb omap4-panda] now replaces [--uboot panda]"
. "${DIR}"/hwpack/omap4-panda.conf
convert_uboot_to_dtb_board
;;
panda_es)
echo "Note: [--dtb omap4-panda-es] now replaces [--uboot panda_es]"
. "${DIR}"/hwpack/omap4-panda-es.conf
convert_uboot_to_dtb_board
;;
*)
error_invalid_uboot_dtb=1
uboot_dtb_error
exit
;;
esac
}
check_distro () { check_distro () {
unset IN_VALID_DISTRO unset IN_VALID_DISTRO
ARCH="armhf" ARCH="armhf"

Loading…
Cancel
Save