Skip to content
Snippets Groups Projects
Commit 7a4605f0 authored by Bob Mottram's avatar Bob Mottram
Browse files

Change variable name

parent c58da1a0
No related branches found
No related tags found
No related merge requests found
......@@ -164,13 +164,13 @@ arm_setup_boot() {
arm_boot_dev=
arm_boot_console='ttyO0,115200n8'
arm_arch=arm
arm_pack_kernel=
arm_uenv=
case "$dtb" in
"am"*) arm_loadaddr='0x82000000'
arm_initrd_addr='0x88080000'
arm_fdtaddr='0x88000000'
arm_pack_kernel=1
arm_uenv=1
if [ "$EXTERNAL_DRIVE" ]; then
arm_boot_dev='bootdev=0:1'
arm_boot_device="usb \${bootdev}"
......@@ -195,7 +195,7 @@ arm_setup_boot() {
;;
esac
if [ $arm_pack_kernel ]; then
if [ $arm_uenv ]; then
cat >> /boot/uEnv.txt <<EOF
mmcroot=/dev/${arm_root_device} ro
mmcrootfstype=$fstype rootwait fixrtc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment