summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/barebox-mx6-defaultenv/init/bootsource
blob: ba0480949ec8defc22dd595d4edf058b28877c88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [ -n "$nv.boot.default" ]; then
	exit
fi


if [ $bootsource = mmc ]; then
	detect mmc$bootsource_instance
	global.boot.default="mmc$bootsource_instance net"
else
	global.boot.default="net mmc1 mmc2 mmc3"
fi