From f61f21c477e8be3de94d5e4c16416309a73bd788 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 14 Nov 2013 12:00:03 -0600 Subject: [PATCH] drop --addon pico Signed-off-by: Robert Nelson --- INSTALL.Debian | 4 ---- README | 3 --- mk_mmc.sh | 43 +------------------------------------------ 3 files changed, 1 insertion(+), 49 deletions(-) diff --git a/INSTALL.Debian b/INSTALL.Debian index 6f86bd1..dda424a 100644 --- a/INSTALL.Debian +++ b/INSTALL.Debian @@ -63,10 +63,6 @@ Optional: natty oneiric ---addon - pico - ulcd - --firmware Add distro firmware diff --git a/README b/README index d27451b..4d42c21 100644 --- a/README +++ b/README @@ -40,9 +40,6 @@ Optional: raring (13.04) (armv7-a) (EOL: January 2014) saucy (13.10) (armv7-a) (EOL: July 2014) ---addon - pico - --firmware diff --git a/mk_mmc.sh b/mk_mmc.sh index d518bc1..6560614 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -59,22 +59,6 @@ is_element_of () { return 1 } -######################################################################### -# -# Define valid "--addon" values. -# -######################################################################### - -VALID_ADDONS="pico" - -is_valid_addon () { - if is_element_of $1 "${VALID_ADDONS}" ] ; then - return 0 - else - return 1 - fi -} - check_root () { if ! [ $(id -u) = 0 ] ; then echo "$0 must be run as sudo user or root" @@ -501,13 +485,6 @@ boot_uenv_txt_template () { tweak_boot_scripts () { unset KMS_OVERRIDE - if [ "x${ADDON}" = "xpico" ] ; then - VIDEO_TIMING="640x480MR-16@60" - KMS_OVERRIDE=1 - KMS_VIDEOA="video=DVI-D-1" - KMS_VIDEO_RESOLUTION="640x480" - fi - if [ "${SVIDEO_NTSC}" ] ; then VIDEO_TIMING="ntsc" VIDEO_OMAPFB_MODE="tv" @@ -535,12 +512,7 @@ tweak_boot_scripts () { sed -i -e 's:UENV_FB:#defaultdisplay=VIDEO_OMAPFB_MODE:g' ${TEMPDIR}/bootscripts/${ALL} sed -i -e 's:VIDEO_OMAPFB_MODE:'$VIDEO_OMAPFB_MODE':g' ${TEMPDIR}/bootscripts/${ALL} - #UENV_TIMING -> dvimode=1280x720MR-16@60 - if [ "x${ADDON}" = "xpico" ] ; then - sed -i -e 's:UENV_TIMING:dvimode=VIDEO_TIMING:g' ${TEMPDIR}/bootscripts/${ALL} - else - sed -i -e 's:UENV_TIMING:#dvimode=VIDEO_TIMING:g' ${TEMPDIR}/bootscripts/${ALL} - fi + sed -i -e 's:UENV_TIMING:#dvimode=VIDEO_TIMING:g' ${TEMPDIR}/bootscripts/${ALL} sed -i -e 's:VIDEO_TIMING:'$VIDEO_TIMING':g' ${TEMPDIR}/bootscripts/${ALL} #optargs=VIDEO_CONSOLE -> optargs=console=tty0 @@ -1659,9 +1631,6 @@ usage () { raring (13.04) (armv7-a) saucy (13.10) (armv7-a) - --addon - pico - --firmware @@ -1798,16 +1767,6 @@ if [ "${error_invalid_dtb}" ] ; then exit fi -if [ -n "${ADDON}" ] ; then - if ! is_valid_addon ${ADDON} ; then - echo "ERROR: ${ADDON} is not a valid addon type" - echo "-----------------------------" - echo "Supported --addon options:" - echo " pico" - exit - fi -fi - echo "" echo "Script Version git: ${GIT_VERSION}" echo "-----------------------------"