aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMario Six2019-01-21 09:17:30 +0100
committerMario Six2019-05-20 13:50:34 +0200
commit0e0674fcab819e829929716aa5aa0f10d7feb75a (patch)
tree69283fcc0da4f36cedec2d5441598dc21b61a300 /arch/powerpc
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 'arch/powerpc')
-rw-r--r--arch/powerpc/cpu/mpc83xx/Kconfig16
1 files changed, 13 insertions, 3 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig
index e41f4d1f9a3..59e0c9a8d08 100644
--- a/arch/powerpc/cpu/mpc83xx/Kconfig
+++ b/arch/powerpc/cpu/mpc83xx/Kconfig
@@ -89,9 +89,19 @@ config TARGET_KM8360
config TARGET_SUVD3
bool "Support suvd3"
- select ARCH_MPC8309 if SYS_EXTRA_OPTIONS="KMTEGR1"
- select ARCH_MPC8309 if SYS_EXTRA_OPTIONS="KMVECT1"
- select ARCH_MPC832X if SYS_EXTRA_OPTIONS="SUVD3"
+ select ARCH_MPC832X
+ imply CMD_CRAMFS
+ imply FS_CRAMFS
+
+config TARGET_KMVECT1
+ bool "Support kmvect1"
+ select ARCH_MPC8309
+ imply CMD_CRAMFS
+ imply FS_CRAMFS
+
+config TARGET_KMTEGR1
+ bool "Support kmtegr1"
+ select ARCH_MPC8309
imply CMD_CRAMFS
imply FS_CRAMFS