From b89df30acf2ca24ef487cd6d86524419332fde6c Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Sat, 27 Apr 2013 09:45:56 -0500 Subject: [PATCH] cleanup: simpfily: use new u-boot variable Signed-off-by: Robert Nelson --- mk_mmc.sh | 37 ++++--------------------------------- 1 file changed, 4 insertions(+), 33 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 4955f90..72a7376 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -458,46 +458,17 @@ boot_uenv_txt_template () { __EOF__ case "${SYSTEM}" in - beagle_bx|beagle_cx) + beagle_bx|beagle_cx|beagle_xm) cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__ optargs=VIDEO_CONSOLE - expansion_args=setenv expansion buddy=\${buddy} buddy2=\${buddy2} musb_hdrc.fifo_mode=5 + expansion_args=setenv expansion buddy=\${buddy} buddy2=\${buddy2} camera=\${camera} \${musb} __EOF__ cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__ - expansion_args=setenv expansion buddy=\${buddy} buddy2=\${buddy2} musb_hdrc.fifo_mode=5 + expansion_args=setenv expansion buddy=\${buddy} buddy2=\${buddy2} camera=\${camera} \${musb} __EOF__ ;; - beagle_xm) - cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__ - optargs=VIDEO_CONSOLE - expansion_args=setenv expansion buddy=\${buddy} buddy2=\${buddy2} - __EOF__ - - cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__ - expansion_args=setenv expansion buddy=\${buddy} buddy2=\${buddy2} - __EOF__ - ;; - mx6qsabrelite) - cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__ - optargs=VIDEO_CONSOLE - expansion_args=setenv expansion - __EOF__ - - cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__ - expansion_args=setenv expansion - __EOF__ - ;; - bone|bone_dtb) - cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__ - expansion_args=setenv expansion ip=\${ip_method} - __EOF__ - - cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__ - expansion_args=setenv expansion ip=\${ip_method} - __EOF__ - ;; - video) + video|bone|bone_dtb|mx6qsabrelite) cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__ optargs=VIDEO_CONSOLE expansion_args=setenv expansion