mk_mmc cleanup for kms support

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 43c5a2a9c3
commit 6c559818b5

@ -1577,145 +1577,115 @@ function is_imx53 {
} }
function check_uboot_type { function check_uboot_type {
unset DO_UBOOT unset DO_UBOOT
unset IN_VALID_UBOOT
case "$UBOOT_TYPE" in
beagle_bx) case "${UBOOT_TYPE}" in
beagle_bx)
SYSTEM=beagle_bx SYSTEM="beagle_bx"
unset IN_VALID_UBOOT DO_UBOOT=1
DO_UBOOT=1 BOOTLOADER="BEAGLEBOARD_BX"
BOOTLOADER="BEAGLEBOARD_BX" SERIAL="ttyO2"
SERIAL="ttyO2" USE_UENV=1
USE_UENV=1 is_omap
is_omap echo "-----------------------------"
echo "-----------------------------" echo "Warning: Support for the Original BeagleBoard Ax/Bx is broken.. (board locks up during hardware detect)"
echo "Warning: Support for the Original BeagleBoard Ax/Bx is broken.. (board locks up during hardware detect)" echo "Please use the Demo Images Instead"
echo "Please use the Demo Images Instead" echo "-----------------------------"
echo "-----------------------------" ;;
beagle_cx)
;; SYSTEM="beagle_cx"
beagle_cx) DO_UBOOT=1
BOOTLOADER="BEAGLEBOARD_CX"
SYSTEM=beagle_cx SERIAL="ttyO2"
unset IN_VALID_UBOOT USE_UENV=1
DO_UBOOT=1 is_omap
BOOTLOADER="BEAGLEBOARD_CX" echo "-----------------------------"
SERIAL="ttyO2" echo "Warning: Support for the BeagleBoard C1/C2 is broken.. (board locks up during hardware detect)"
USE_UENV=1 echo "Please use the Demo Images Instead"
is_omap echo "BeagleBoard: C4/C5 Users, can ignore this message.."
echo "-----------------------------" echo "-----------------------------"
echo "Warning: Support for the BeagleBoard C1/C2 is broken.. (board locks up during hardware detect)" ;;
echo "Please use the Demo Images Instead" beagle_xm)
echo "BeagleBoard: C4/C5 Users, can ignore this message.." SYSTEM="beagle_xm"
echo "-----------------------------" DO_UBOOT=1
BOOTLOADER="BEAGLEBOARD_XM"
;; SERIAL="ttyO2"
beagle_xm) USE_UENV=1
is_omap
SYSTEM=beagle_xm ;;
unset IN_VALID_UBOOT bone)
DO_UBOOT=1 SYSTEM="bone"
BOOTLOADER="BEAGLEBOARD_XM" DO_UBOOT=1
SERIAL="ttyO2" BOOTLOADER="BEAGLEBONE_A"
USE_UENV=1 SERIAL="ttyO0"
is_omap USE_UENV=1
is_omap
;;
bone) SUBARCH="omap-psp"
SERIAL_MODE=1
SYSTEM=bone ;;
unset IN_VALID_UBOOT igepv2)
DO_UBOOT=1 SYSTEM="igepv2"
BOOTLOADER="BEAGLEBONE_A" DO_UBOOT=1
SERIAL="ttyO0" BOOTLOADER="IGEP00X0"
USE_UENV=1 SERIAL="ttyO2"
is_omap is_omap
# mmc driver fails to load with this setting
# UIMAGE_ADDR="0x80200000" SERIAL_MODE=1
# UINITRD_ADDR="0x80A00000" ;;
panda)
SERIAL_MODE=1 SYSTEM="panda"
SUBARCH="omap-psp" DO_UBOOT=1
;; BOOTLOADER="PANDABOARD"
igepv2) SMSC95XX_MOREMEM=1
SERIAL="ttyO2"
SYSTEM=igepv2 USE_UENV=1
unset IN_VALID_UBOOT is_omap
DO_UBOOT=1 VIDEO_OMAP_RAM="16MB"
BOOTLOADER="IGEP00X0" ;;
SERIAL="ttyO2" panda_es)
is_omap SYSTEM="panda_es"
DO_UBOOT=1
SERIAL_MODE=1 BOOTLOADER="PANDABOARD_ES"
;; SMSC95XX_MOREMEM=1
panda) SERIAL="ttyO2"
USE_UENV=1
SYSTEM=panda is_omap
unset IN_VALID_UBOOT VIDEO_OMAP_RAM="16MB"
DO_UBOOT=1 ;;
BOOTLOADER="PANDABOARD" touchbook)
SMSC95XX_MOREMEM=1 SYSTEM="touchbook"
SERIAL="ttyO2" DO_UBOOT=1
USE_UENV=1 BOOTLOADER="TOUCHBOOK"
is_omap SERIAL="ttyO2"
VIDEO_OMAP_RAM="16MB" is_omap
VIDEO_TIMING="1024x600MR-16@60"
;;
panda_es) BETA_KERNEL=1
SERIAL_MODE=1
SYSTEM=panda_es ;;
unset IN_VALID_UBOOT crane)
DO_UBOOT=1 SYSTEM="crane"
BOOTLOADER="PANDABOARD_ES" DO_UBOOT=1
SMSC95XX_MOREMEM=1 BOOTLOADER="CRANEBOARD"
SERIAL="ttyO2" SERIAL="ttyO2"
USE_UENV=1 USE_UENV=1
is_omap is_omap
VIDEO_OMAP_RAM="16MB"
BETA_KERNEL=1
;; SERIAL_MODE=1
touchbook) ;;
mx53loco)
SYSTEM=touchbook SYSTEM="mx53loco"
unset IN_VALID_UBOOT DO_UBOOT=1
DO_UBOOT=1 DD_UBOOT=1
BOOTLOADER="TOUCHBOOK" BOOTLOADER="MX53LOCO"
SERIAL="ttyO2" SERIAL="ttymxc0"
is_omap is_imx53
VIDEO_TIMING="1024x600MR-16@60" ;;
BETA_KERNEL=1
SERIAL_MODE=1
;;
crane)
SYSTEM=crane
unset IN_VALID_UBOOT
DO_UBOOT=1
BOOTLOADER="CRANEBOARD"
SERIAL="ttyO2"
USE_UENV=1
is_omap
#with the crane, we need the beta kernel and serial-more
BETA_KERNEL=1
SERIAL_MODE=1
;;
mx53loco)
SYSTEM=mx53loco
unset IN_VALID_UBOOT
DO_UBOOT=1
DD_UBOOT=1
BOOTLOADER="MX53LOCO"
SERIAL="ttymxc0"
is_imx53
;;
*) *)
IN_VALID_UBOOT=1
cat <<-__EOF__ cat <<-__EOF__
----------------------------- -----------------------------
ERROR: This script does not currently recognize the selected: [--uboot ${UBOOT_TYPE}] option.. ERROR: This script does not currently recognize the selected: [--uboot ${UBOOT_TYPE}] option..

Loading…
Cancel
Save