cleanup: boot scripts when using dtbs always define

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 4ad84b44a5
commit 2c8f64b779

@ -330,12 +330,14 @@ function boot_uenv_txt_template {
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
initrd_high=0xffffffff
fdt_high=0xffffffff
dtb_file=${dtb_file}
__EOF__
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
initrd_high=0xffffffff
fdt_high=0xffffffff
dtb_file=${dtb_file}
__EOF__
fi
@ -479,23 +481,12 @@ function boot_uenv_txt_template {
expansion_args=setenv expansion
__EOF__
;;
bone)
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__
;;
bone_dtb)
bone|bone_dtb)
cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__
dtb_file=${dtb_file}
expansion_args=setenv expansion ip=\${ip_method}
__EOF__
cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__
dtb_file=${dtb_file}
expansion_args=setenv expansion ip=\${ip_method}
__EOF__
;;

Loading…
Cancel
Save