Newer
Older
barebox / arch / arm / boards / efika-mx-smartbook / env / init / bootsource
@Sascha Hauer Sascha Hauer on 3 Apr 2013 224 bytes ARM: i.MX: rename barebox_loc to bootsource
#!/bin/sh

# by default pick kernel from MMC card if booting from
# it, otherwise default to boot from internal harddisk

if [ $bootsource = mmc ]; then
	global.boot.default=mmc-left
else
	global.boot.default=hd-internal
fi