summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/barebox-stm32mp-defaultenv
diff options
context:
space:
mode:
Diffstat (limited to 'configs/platform-v7a/barebox-stm32mp-defaultenv')
-rwxr-xr-xconfigs/platform-v7a/barebox-stm32mp-defaultenv/init/bootsource2
-rw-r--r--configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.state_prefix1
-rw-r--r--configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system0.boot1
-rw-r--r--configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system1.boot1
4 files changed, 4 insertions, 1 deletions
diff --git a/configs/platform-v7a/barebox-stm32mp-defaultenv/init/bootsource b/configs/platform-v7a/barebox-stm32mp-defaultenv/init/bootsource
index b529384..edce471 100755
--- a/configs/platform-v7a/barebox-stm32mp-defaultenv/init/bootsource
+++ b/configs/platform-v7a/barebox-stm32mp-defaultenv/init/bootsource
@@ -5,5 +5,5 @@ if [ -n "$nv.boot.default" ]; then
fi
if [ $bootsource = mmc ]; then
- global.boot.default="mmc${bootsource_instance}.root net"
+ global.boot.default="bootchooser net"
fi
diff --git a/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.state_prefix b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.state_prefix
new file mode 100644
index 0000000..6246412
--- /dev/null
+++ b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.state_prefix
@@ -0,0 +1 @@
+state.bootstate
diff --git a/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system0.boot b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system0.boot
new file mode 100644
index 0000000..f3c4d03
--- /dev/null
+++ b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system0.boot
@@ -0,0 +1 @@
+mmc0.root-a
diff --git a/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system1.boot b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system1.boot
new file mode 100644
index 0000000..6fab494
--- /dev/null
+++ b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/bootchooser.system1.boot
@@ -0,0 +1 @@
+mmc0.root-b