1 1.1 jmcneill if test "${board}" = "am335x" ; then 2 1.1 jmcneill setenv kernel netbsd-BEAGLEBONE.ub 3 1.1 jmcneill setenv mmcpart 0:1 4 1.1 jmcneill setenv bootargs root=ld0a 5 1.5.4.1 christos else 6 1.5.4.1 christos setenv use_efi 1 7 1.1 jmcneill fi 8 1.1 jmcneill 9 1.5.4.1 christos if test "${soc}" = "tegra210" ; then 10 1.5.4.1 christos # enable PCIe 11 1.5.4.1 christos pci enum 12 1.1 jmcneill fi 13 1.1 jmcneill 14 1.5.4.1 christos if test "${use_efi}" = "1" ; then 15 1.5.4.1 christos setenv boot_scripts 16 1.5.4.1 christos setenv boot_script_dhcp 17 1.5.4.1 christos run distro_bootcmd 18 1.1 jmcneill else 19 1.1 jmcneill fatload mmc ${mmcpart} ${kernel_addr_r} ${kernel} 20 1.1 jmcneill bootm ${kernel_addr_r} ${bootargs} 21 1.1 jmcneill fi 22