[PATCH] defenv-2: migrate guf-vincell to config-board
Michael Olbrich
m.olbrich at pengutronix.de
Fri Jan 25 04:30:08 EST 2013
Signed-off-by: Michael Olbrich <m.olbrich at pengutronix.de>
---
arch/arm/boards/guf-vincell/env/init/bootargs-base | 8 --------
arch/arm/boards/guf-vincell/env/init/config-board | 7 +++++++
arch/arm/boards/guf-vincell/env/init/hostname | 8 --------
3 files changed, 7 insertions(+), 16 deletions(-)
delete mode 100644 arch/arm/boards/guf-vincell/env/init/bootargs-base
create mode 100644 arch/arm/boards/guf-vincell/env/init/config-board
delete mode 100644 arch/arm/boards/guf-vincell/env/init/hostname
diff --git a/arch/arm/boards/guf-vincell/env/init/bootargs-base b/arch/arm/boards/guf-vincell/env/init/bootargs-base
deleted file mode 100644
index d869754..0000000
--- a/arch/arm/boards/guf-vincell/env/init/bootargs-base
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-if [ "$1" = menu ]; then
- init-menu-add-entry "$0" "Base bootargs"
- exit
-fi
-
-global.linux.bootargs.base="console=ttymxc0,115200"
diff --git a/arch/arm/boards/guf-vincell/env/init/config-board b/arch/arm/boards/guf-vincell/env/init/config-board
new file mode 100644
index 0000000..77e9fc8
--- /dev/null
+++ b/arch/arm/boards/guf-vincell/env/init/config-board
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# board defaults, do not change in running system. Change /env/config
+# instead
+
+global.hostname=vincell
+global.linux.bootargs.base="console=ttymxc0,115200"
diff --git a/arch/arm/boards/guf-vincell/env/init/hostname b/arch/arm/boards/guf-vincell/env/init/hostname
deleted file mode 100644
index ca2789d..0000000
--- a/arch/arm/boards/guf-vincell/env/init/hostname
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-if [ "$1" = menu ]; then
- init-menu-add-entry "$0" "hostname"
- exit
-fi
-
-global.hostname=vincell
--
1.7.10.4
More information about the barebox
mailing list