mk_mmc: kms support fixes

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent c7949332da
commit 266bc76662

@ -737,20 +737,20 @@ esac
} }
function tweak_boot_scripts { function tweak_boot_scripts {
#debug -|- # debug -|-
# echo "NetInstall Boot Script: Generic" # echo "NetInstall Boot Script: Generic"
# echo "-----------------------------" # echo "-----------------------------"
# cat ${TEMPDIR}/bootscripts/netinstall.cmd # cat ${TEMPDIR}/bootscripts/netinstall.cmd
if test "-$ADDON-" = "-pico-" if ["x${ADDON}" == "xpico" ] ; then
then VIDEO_TIMING="640x480MR-16@60"
VIDEO_TIMING="640x480MR-16@60" KMS_VIDEO_RESOLUTION="640x48"
fi fi
if test "-$ADDON-" = "-ulcd-" if ["x${ADDON}" == "xulcd" ] ; then
then VIDEO_TIMING="800x480MR-16@60"
VIDEO_TIMING="800x480MR-16@60" KMS_VIDEO_RESOLUTION="800x480"
fi fi
if [ "$SVIDEO_NTSC" ];then if [ "$SVIDEO_NTSC" ];then
VIDEO_TIMING="ntsc" VIDEO_TIMING="ntsc"
@ -1574,7 +1574,7 @@ function is_omap {
# Unknown-1 might be s-video.. # Unknown-1 might be s-video..
KMS_VIDEO_RESOLUTION="1280x720" KMS_VIDEO_RESOLUTION="1280x720"
KMS_VIDEOA="video=DVI-D-1" KMS_VIDEOA="video=DVI-D-1"
KMS_VIDEOB="" unset KMS_VIDEOB
} }
function is_imx53 { function is_imx53 {
@ -1637,6 +1637,7 @@ function check_uboot_type {
SUBARCH="omap-psp" SUBARCH="omap-psp"
SERIAL_MODE=1 SERIAL_MODE=1
unset KMS_VIDEOA
;; ;;
igepv2) igepv2)
SYSTEM="igepv2" SYSTEM="igepv2"
@ -1676,6 +1677,7 @@ function check_uboot_type {
SERIAL="ttyO2" SERIAL="ttyO2"
is_omap is_omap
VIDEO_TIMING="1024x600MR-16@60" VIDEO_TIMING="1024x600MR-16@60"
KMS_VIDEO_RESOLUTION="1024x600"
BETA_KERNEL=1 BETA_KERNEL=1
SERIAL_MODE=1 SERIAL_MODE=1

Loading…
Cancel
Save