diff --git a/distrib/utils/embedded/files/armv7_boot.cmd b/distrib/utils/embedded/files/armv7_boot.cmd index 9d7933d806c2..29db85d475f1 100644 --- a/distrib/utils/embedded/files/armv7_boot.cmd +++ b/distrib/utils/embedded/files/armv7_boot.cmd @@ -1,3 +1,8 @@ +if test "${board}" = "am335x" ; then + setenv kernel netbsd-BEAGLEBONE.ub + setenv mmcpart 0:1 + setenv bootargs root=ld0a +fi if test "${soc}" = "exynos" ; then setenv kernel netbsd-EXYNOS.ub setenv bootargs 'root=ld1a' @@ -25,11 +30,6 @@ if test "${soc}" = "tegra210" ; then # enable PCIe pci enum fi -if test "${board}" = "am335x" ; then - setenv kernel netbsd-BEAGLEBONE.ub - setenv mmcpart 0:1 - setenv bootargs root=ld0a -fi if test "${kernel}" = "" ; then echo '>>>'