mk_mmc bootscript cleanup ulcd

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

@ -573,23 +573,19 @@ function boot_uenv_txt_template {
mmc_load_uinitrd=fatload mmc 0:1 \${address_uinitrd} \${bootinitrd} mmc_load_uinitrd=fatload mmc 0:1 \${address_uinitrd} \${bootinitrd}
__EOF__ __EOF__
if test "-$ADDON-" = "-ulcd-" if [ "x${ADDON}" == "xulcd" ] ; then
then cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
lcd1=i2c mw 40 00 00; i2c mw 40 04 80; i2c mw 40 0d 05
uenvcmd=i2c dev 1; run lcd1; i2c dev 0
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<ulcd_uenv_netinstall_cmd __EOF__
lcd1=i2c mw 40 00 00; i2c mw 40 04 80; i2c mw 40 0d 05
uenvcmd=i2c dev 1; run lcd1; i2c dev 0
ulcd_uenv_netinstall_cmd
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<ulcd_uenv_normalboot_cmd
lcd1=i2c mw 40 00 00; i2c mw 40 04 80; i2c mw 40 0d 05 cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
uenvcmd=i2c dev 1; run lcd1; i2c dev 0 lcd1=i2c mw 40 00 00; i2c mw 40 04 80; i2c mw 40 0d 05
uenvcmd=i2c dev 1; run lcd1; i2c dev 0
ulcd_uenv_normalboot_cmd __EOF__
fi fi
case "$SYSTEM" in case "$SYSTEM" in
beagle_bx) beagle_bx)

Loading…
Cancel
Save