distro_defaults: mmcargs always set bootargs in the past...

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 10 years ago
parent 4e799a2242
commit a2310998d7

@ -85,12 +85,13 @@ for i in 1 2 3 4 5 6 7 ; do
fi;
if test -n ${mmcargs}; then
run mmcargs;
fi;
else
if test -n ${set_boot_args}; then
run set_boot_args;
else
setenv bootargs console=${console} ${optargs} root=${root} rootfstype=${rootfstype} rootwait fixrtc ${systemd} ${cmdline};
fi;
fi;
echo debug: [${bootargs}] ... ;
echo debug: [bootz ${kernel_addr_r} ${ramdisk_addr_r}:${initrd_size} ${fdt_addr_r}] ... ;
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${initrd_size} ${fdt_addr_r}
@ -98,12 +99,13 @@ for i in 1 2 3 4 5 6 7 ; do
echo Not using Linux initial RAM disk: [initrd.img-${uname_r}] ...;
if test -n ${mmcargs}; then
run mmcargs;
fi;
else
if test -n ${set_boot_args}; then
run set_boot_args;
else
setenv bootargs console=${console} ${optargs} root=${root} rootfstype=${rootfstype} rootwait fixrtc ${systemd} ${cmdline};
fi;
fi;
echo debug: [${bootargs}] ... ;
echo debug: [bootz ${kernel_addr_r} - ${fdt_addr_r}] ... ;
bootz ${kernel_addr_r} - ${fdt_addr_r}

Loading…
Cancel
Save