summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2019-01-07 09:17:09 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-08 08:36:53 +0100
commitd3e73cb7f496bd88e3b16a4d2228e1c5321c55d3 (patch)
treef7246225ec62514e9a914ee402fc34a683db3b01 /arch
parent1618beb70b285445831d67c87b7512eec64301c3 (diff)
downloadbarebox-d3e73cb7f496bd88e3b16a4d2228e1c5321c55d3.tar.gz
barebox-d3e73cb7f496bd88e3b16a4d2228e1c5321c55d3.tar.xz
arm: boards: phytec-som-am335x: Add bootchooser to bootsource
Add bootchooser as primary boot source for NAND and eMMC. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/init/bootsource8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/init/bootsource b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/init/bootsource
index 61a0879bfb..75b5619218 100644
--- a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/init/bootsource
+++ b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/init/bootsource
@@ -11,13 +11,13 @@ else
fi
if [ $bootsource = mmc -a $bootsource_instance = 1 ]; then
- global.boot.default="emmc mmc spi net"
+ global.boot.default="bootchooser emmc mmc spi net"
elif [ $bootsource = mmc -a $bootsource_instance = 0 ]; then
global.boot.default="mmc $nvmem spi net"
elif [ $bootsource = nand ]; then
- global.boot.default="nand spi mmc net"
+ global.boot.default="bootchooser nand spi mmc net"
elif [ $bootsource = spi ]; then
- global.boot.default="spi $nvmem mmc net"
+ global.boot.default="spi bootchooser $nvmem mmc net"
elif [ $bootsource = net ]; then
- global.boot.default="net $nvmem spi mmc"
+ global.boot.default="net bootchooser $nvmem spi mmc"
fi