summaryrefslogtreecommitdiffstats
path: root/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
diff options
context:
space:
mode:
Diffstat (limited to 'configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource')
-rw-r--r--configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource14
1 files changed, 0 insertions, 14 deletions
diff --git a/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource b/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
deleted file mode 100644
index 6a3bb42..0000000
--- a/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-if [ -n "${nv.boot.default}" ]; then
- exit
-fi
-
-if [ "$bootsource" = mmc ]; then
- detect mmc$bootsource_instance
- global.boot.default="mmc$bootsource_instance net"
- of_property -df mmc0 sd-uhs-sdr104
-elif [ "$bootsource" = "spi-nor" ]; then
- usbgadget -A '/dev/mmc0(sd)'
- global.autoboot=abort
-fi