summaryrefslogblamecommitdiffstats
path: root/configs/platform-v7a/barebox-at91-defaultenv/init/bootsource
blob: 35ee4d9a5664d9300bed3fadec92b03a52b788ce (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                             
#!/bin/sh

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

if [ $bootsource = mmc ]; then
	global.boot.default="mmc${bootsource_instance}.1 net"
fi