mk_mmc.sh: cleanup: drop SYSTEM

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 11 years ago
parent c63e16ed78
commit 68144ad5bd

@ -49,8 +49,6 @@ conf_fdtaddr="0x11000000"
conf_initrdaddr="0x12A00000"
conf_fdtfile="imx6q-sabrelite.dtb"
SYSTEM="video"
SERIAL="ttymxc1"
SERIAL_CONSOLE="${SERIAL},115200n8"

@ -405,30 +405,21 @@ boot_uenv_txt_template () {
__EOF__
fi
case "${SYSTEM}" in
video)
if [ ! "x${di_serial_mode}" = "xenable" ] ; then
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
optargs=VIDEO_CONSOLE
__EOF__
;;
esac
fi
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
mmcargs=setenv bootargs console=\${console} \${optargs} \${kms_force_mode} root=\${mmcroot} rootfstype=\${mmcrootfstype}
__EOF__
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
optargs=${conf_optargs}
mmcargs=setenv bootargs console=\${console} \${optargs} \${kms_force_mode} root=\${mmcroot}
__EOF__
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
${conf_entrypt}=run boot_fdt; run mmcargs; ${conf_bootcmd} ${conf_loadaddr} ${conf_initrdaddr}:\${initrd_size} ${conf_fdtaddr}
__EOF__
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
optargs=${conf_optargs}
mmcargs=setenv bootargs console=\${console} \${optargs} \${kms_force_mode} root=\${mmcroot}
${conf_entrypt}=run xyz_message; run boot_fdt; run mmcargs; ${conf_bootcmd} ${conf_loadaddr} ${conf_initrdaddr}:\${initrd_size} ${conf_fdtaddr}
__EOF__

Loading…
Cancel
Save