summaryrefslogtreecommitdiff
path: root/board/keymile/km83xx/Kconfig
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-01-21 09:17:30 +0100
committerMario Six <mario.six@gdsys.cc>2019-05-20 13:50:34 +0200
commit0e0674fcab819e829929716aa5aa0f10d7feb75a (patch)
tree69283fcc0da4f36cedec2d5441598dc21b61a300 /board/keymile/km83xx/Kconfig
parent8439e99ddb54872f124b86f671d10d8a66cf9693 (diff)
keymile: Make distinct kmtegr1, kmvect1, suvd3 configs
The kmtegr1, kmvect1, and suvd3 boards all use the same config include file with lots of #ifdefs in it. The Kconfig migation will become easier if we get rid of these #ifdefs first. Hence, create distinct config include files for these boards, and unwind the #ifdef logic in these config files to only include the options necessary for each board. Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'board/keymile/km83xx/Kconfig')
-rw-r--r--board/keymile/km83xx/Kconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/board/keymile/km83xx/Kconfig b/board/keymile/km83xx/Kconfig
index d6c594c96a..d52ee9117b 100644
--- a/board/keymile/km83xx/Kconfig
+++ b/board/keymile/km83xx/Kconfig
@@ -11,6 +11,32 @@ config SYS_CONFIG_NAME
endif
+if TARGET_KMVECT1
+
+config SYS_BOARD
+ default "km83xx"
+
+config SYS_VENDOR
+ default "keymile"
+
+config SYS_CONFIG_NAME
+ default "kmvect1"
+
+endif
+
+if TARGET_KMTEGR1
+
+config SYS_BOARD
+ default "km83xx"
+
+config SYS_VENDOR
+ default "keymile"
+
+config SYS_CONFIG_NAME
+ default "kmtegr1"
+
+endif
+
if TARGET_SUVD3
config SYS_BOARD