ARM: rmobile: Imply SoC per board
Imply all SoCs supported by a given board. This allows building single
U-Boot binary for boards which can have multiple SoCs.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64
index d231263..b2ac1cd 100644
--- a/arch/arm/mach-rmobile/Kconfig.64
+++ b/arch/arm/mach-rmobile/Kconfig.64
@@ -1,7 +1,6 @@
if RCAR_GEN3
-choice
- prompt "Select Target SoC"
+menu "Select Target SoC"
config R8A7795
bool "Renesas SoC R8A7795"
@@ -28,34 +27,41 @@
imply CLK_R8A77995
imply PINCTRL_PFC_R8A77995
-endchoice
+endmenu
choice
- prompt "Renesus ARM64 SoCs board select"
+ prompt "Renesas ARM64 SoCs board select"
optional
config TARGET_DRAAK
bool "Draak board"
+ imply R8A77995
help
Support for Renesas R-Car Gen3 Draak platform
config TARGET_EAGLE
bool "Eagle board"
+ imply R8A77970
help
Support for Renesas R-Car Gen3 Eagle platform
config TARGET_EBISU
bool "Ebisu board"
+ imply R8A77990
help
Support for Renesas R-Car Gen3 Ebisu platform
config TARGET_SALVATOR_X
bool "Salvator-X board"
+ imply R8A7795
+ imply R8A7796
help
Support for Renesas R-Car Gen3 platform
config TARGET_ULCB
bool "ULCB board"
+ imply R8A7795
+ imply R8A7796
help
Support for Renesas R-Car Gen3 ULCB platform