aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorHolger Brunck2022-12-02 18:22:38 +0100
committerTom Rini2022-12-12 16:48:33 -0500
commit0cc0c098c8fbbf61378081df9681e660829c48eb (patch)
treea59f99c95d0b8abb10e923faa436b59025322bfb /board
parent553d7607c681806a40550696d56e15dcd9a2b0e6 (diff)
km/powerpc: migrate to env.txt file
Use already present common.env file and add a powerpc specific env so that we can move all the environment defines to text files. Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
Diffstat (limited to 'board')
-rw-r--r--board/keymile/km83xx/km83xx.env21
1 files changed, 21 insertions, 0 deletions
diff --git a/board/keymile/km83xx/km83xx.env b/board/keymile/km83xx/km83xx.env
new file mode 100644
index 00000000000..ed2487c028d
--- /dev/null
+++ b/board/keymile/km83xx/km83xx.env
@@ -0,0 +1,21 @@
+#if CONFIG_TARGET_KMCOGE5NE
+#define WCOM_UBI_PARTITION_APP
+hostname=kmcoge5ne
+netdev=eth1
+uimage=ecc_bch_uImage
+#elif CONFIG_TARGET_KMETER1
+hostname=kmeter1
+netdev=eth2
+uimage=uImage
+#else
+hostname=kmeter1
+netdev=eth0
+uimage=uImage
+#endif
+
+#include <environment/pg-wcom/common.env>
+#include <environment/pg-wcom/powerpc.env>
+
+#if CONFIG_TARGET_KMCOGE5NE
+add_default+= eccmode=bch
+#endif