summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/config-board
blob: b620ac1abaadcbd5e241a9891d2f1f2dd71238af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# board defaults, do not change in running system. Change /env/config
# instead

global.hostname=pfla03
global.linux.bootargs.base="console=ttyO0,115200"

if [ $bootsource = mmc ]; then
	global.boot.default="mmc nand spi net"
elif [ $boosource = nand ]; then
	global.boot.default="nand spi mmc net"
elif [ $boosource = spi ]; then
	global.boot.default="spi nand mmc net"
elif [ $boosource = net ]; then
	global.boot.default="net nand spi mmc"
fi