From: Teresa Remmet <t.remmet@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCH 4/4] arm: boards: phytec-som-am335x: Add bootchooser to bootsource
Date: Mon, 7 Jan 2019 09:17:09 +0100 [thread overview]
Message-ID: <1546849029-47070-5-git-send-email-t.remmet@phytec.de> (raw)
In-Reply-To: <1546849029-47070-1-git-send-email-t.remmet@phytec.de>
From: Daniel Schultz <d.schultz@phytec.de>
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>
---
.../phytec-som-am335x/defaultenv-physom-am335x/init/bootsource | 8 ++++----
1 file 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 61a0879bfb7f..75b5619218c5 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
--
2.7.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2019-01-07 8:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-07 8:17 [PATCH 0/4] arm: boards: phytec-som-am335x: Add bootchooser support Teresa Remmet
2019-01-07 8:17 ` [PATCH 1/4] ARM: configs: omap_defconfig: Add bootchooser Teresa Remmet
2019-01-07 8:17 ` [PATCH 2/4] ARM: dts: am335x-phytec-state: Reduce partition size Teresa Remmet
2019-01-07 8:17 ` [PATCH 3/4] ARM: dts: am335x-phytec-state: Add state partition for bootchooser Teresa Remmet
2019-01-07 8:17 ` Teresa Remmet [this message]
2019-01-08 7:37 ` [PATCH 0/4] arm: boards: phytec-som-am335x: Add bootchooser support Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1546849029-47070-5-git-send-email-t.remmet@phytec.de \
--to=t.remmet@phytec.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox