blob: beb7afe9c28e9a5569f7f1719f69bae41b9535ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
if [ -n "$nv.boot.default" ]; then
exit
fi
if [ $bootsource = mmc ]; then
if [ $bootsource_instance = 0 ]; then
global.boot.default="mmc emmc nand spi net"
elif [ $bootsource_instance = 1 ]; then
global.boot.default="emmc mmc nand spi net"
fi
elif [ $bootsource = nand ]; then
global.boot.default="nand spi mmc net"
elif [ $bootsource = net ]; then
global.boot.default="net nand spi mmc"
fi
|