summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorRouven Czerwinski <rouven@czerwinskis.de>2018-11-29 14:49:05 +0100
committerRouven Czerwinski <r.czerwinski@pengutronix.de>2018-12-07 15:52:29 +0100
commit41b92c8acd54e3d408cd196e4ab1b3dfcd9b9c1d (patch)
tree5d49b09525fd6d44d6b3db73a72b18efa38332de /configs
parentb8cc2d0bece348d25b7d3ca5a1a2fceb06106d4a (diff)
downloadDistroKit-41b92c8acd54e3d408cd196e4ab1b3dfcd9b9c1d.tar.gz
DistroKit-41b92c8acd54e3d408cd196e4ab1b3dfcd9b9c1d.tar.xz
barebox-vexpress: disable state and bootchooser and remove files
This disables broken support for state and bootchooser for barebox-vexpress. We also remove the nv files and the bootsource file, the later is unsupported since the vexpress platform will always report the bootsource as unknown. Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
Diffstat (limited to 'configs')
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/init/bootsource13
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.retry1
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.state_prefix1
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.boot1
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.default_attempts1
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.default_priority1
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.boot1
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.default_attempts1
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.default_priority1
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.targets1
-rw-r--r--configs/platform-v7a/barebox-vexpress.config9
11 files changed, 2 insertions, 29 deletions
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/init/bootsource b/configs/platform-v7a/barebox-vexpress-defaultenv/init/bootsource
deleted file mode 100644
index ed0692f..0000000
--- a/configs/platform-v7a/barebox-vexpress-defaultenv/init/bootsource
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-if [ -n "$nv.boot.default" ]; then
- exit
-fi
-
-if [ $bootsource = mmc ]; then
- global.boot.default="bootchooser net"
-elif [ $bootsource = net ]; then
- global.boot.default="net bootchooser"
-else
- global.boot.default="disk0.0 net"
-fi
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.retry b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.retry
deleted file mode 100644
index 27ba77d..0000000
--- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.retry
+++ /dev/null
@@ -1 +0,0 @@
-true
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.state_prefix b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.state_prefix
deleted file mode 100644
index 6246412..0000000
--- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.state_prefix
+++ /dev/null
@@ -1 +0,0 @@
-state.bootstate
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.boot b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.boot
deleted file mode 100644
index 961e29f..0000000
--- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.boot
+++ /dev/null
@@ -1 +0,0 @@
-disk0.0
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.default_attempts b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.default_attempts
deleted file mode 100644
index 00750ed..0000000
--- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.default_attempts
+++ /dev/null
@@ -1 +0,0 @@
-3
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.default_priority b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.default_priority
deleted file mode 100644
index 209e3ef..0000000
--- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.default_priority
+++ /dev/null
@@ -1 +0,0 @@
-20
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.boot b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.boot
deleted file mode 100644
index 5676f86..0000000
--- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.boot
+++ /dev/null
@@ -1 +0,0 @@
-disk0.1
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.default_attempts b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.default_attempts
deleted file mode 100644
index 00750ed..0000000
--- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.default_attempts
+++ /dev/null
@@ -1 +0,0 @@
-3
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.default_priority b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.default_priority
deleted file mode 100644
index f599e28..0000000
--- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.default_priority
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.targets b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.targets
deleted file mode 100644
index f0fb14e..0000000
--- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.targets
+++ /dev/null
@@ -1 +0,0 @@
-system0 system1
diff --git a/configs/platform-v7a/barebox-vexpress.config b/configs/platform-v7a/barebox-vexpress.config
index 5abe71e..f9f50b3 100644
--- a/configs/platform-v7a/barebox-vexpress.config
+++ b/configs/platform-v7a/barebox-vexpress.config
@@ -167,10 +167,8 @@ CONFIG_DEFAULT_ENVIRONMENT_PATH=".ptxdist-defaultenv"
# CONFIG_BAREBOXENV_TARGET is not set
# CONFIG_BAREBOXCRC32_TARGET is not set
CONFIG_POLLER=y
-CONFIG_STATE=y
-# CONFIG_STATE_CRYPTO is not set
-# CONFIG_STATE_BACKWARD_COMPATIBLE is not set
-CONFIG_BOOTCHOOSER=y
+# CONFIG_STATE is not set
+# CONFIG_BOOTCHOOSER is not set
CONFIG_RESET_SOURCE=y
#
@@ -335,8 +333,6 @@ CONFIG_CMD_OF_DUMP=y
# CONFIG_CMD_OF_FIXUP_STATUS is not set
CONFIG_CMD_OFTREE=y
# CONFIG_CMD_TIME is not set
-CONFIG_CMD_STATE=y
-CONFIG_CMD_BOOTCHOOSER=y
# CONFIG_CMD_DHRYSTONE is not set
# CONFIG_CMD_SPD_DECODE is not set
# CONFIG_CMD_SEED is not set
@@ -483,7 +479,6 @@ CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
# Misc devices
#
CONFIG_SRAM=y
-CONFIG_STATE_DRV=y
# CONFIG_LED is not set
#