diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-18 04:42:25 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 12:46:12 -0500 |
commit | 53d98958f585517f362733a1dbdb69e2dc5153a3 (patch) | |
tree | 58f7a5754853da864feed40cedff7bc46e906782 | |
parent | 4368902bb90f0e208387f336c3fce0e6b2a110fc (diff) |
ARC: [Review] Multi-platform image #1: Kconfig enablement
This mini patchseries addresses the lack of multi-platform-image support
in ARC port.
Older build system only supported one platform(soc) to build at a time
and further only one board of that platform could be built. There was no
technical reason for that - we just didn't have the need.
So the first step towards multi-platform (and multi-board) builds it to
allow build system to do that.
So as applicable, <choice .. endchoice> => <menu .. endmenu>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arc/Kconfig | 6 | ||||
-rw-r--r-- | arch/arc/plat-arcfpga/Kconfig | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 2dab40dd8161..3fdd6a53e5d6 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig | |||
@@ -82,9 +82,7 @@ source "kernel/Kconfig.freezer" | |||
82 | 82 | ||
83 | menu "ARC Architecture Configuration" | 83 | menu "ARC Architecture Configuration" |
84 | 84 | ||
85 | choice | 85 | menu "ARC Platform/SoC" |
86 | prompt "ARC Platform" | ||
87 | default ARC_PLAT_FPGA_LEGACY | ||
88 | 86 | ||
89 | config ARC_PLAT_FPGA_LEGACY | 87 | config ARC_PLAT_FPGA_LEGACY |
90 | bool "\"Legacy\" ARC FPGA dev platform" | 88 | bool "\"Legacy\" ARC FPGA dev platform" |
@@ -96,7 +94,7 @@ config ARC_PLAT_FPGA_LEGACY | |||
96 | - MetaWare ISS | 94 | - MetaWare ISS |
97 | 95 | ||
98 | #New platform adds here | 96 | #New platform adds here |
99 | endchoice | 97 | endmenu |
100 | 98 | ||
101 | menu "ARC CPU Configuration" | 99 | menu "ARC CPU Configuration" |
102 | 100 | ||
diff --git a/arch/arc/plat-arcfpga/Kconfig b/arch/arc/plat-arcfpga/Kconfig index 9912d9c107a0..ae2c017151fa 100644 --- a/arch/arc/plat-arcfpga/Kconfig +++ b/arch/arc/plat-arcfpga/Kconfig | |||
@@ -8,8 +8,7 @@ | |||
8 | 8 | ||
9 | if ARC_PLAT_FPGA_LEGACY | 9 | if ARC_PLAT_FPGA_LEGACY |
10 | 10 | ||
11 | choice | 11 | menu "FPGA Board" |
12 | prompt "FPGA Board" | ||
13 | 12 | ||
14 | config ARC_BOARD_ANGEL4 | 13 | config ARC_BOARD_ANGEL4 |
15 | bool "ARC Angel4" | 14 | bool "ARC Angel4" |
@@ -35,7 +34,7 @@ config ISS_SMP_EXTN | |||
35 | -XTL (To enable CPU start/stop/set-PC for another CPU) | 34 | -XTL (To enable CPU start/stop/set-PC for another CPU) |
36 | It doesn't provide coherent Caches and/or Atomic Ops (LLOCK/SCOND) | 35 | It doesn't provide coherent Caches and/or Atomic Ops (LLOCK/SCOND) |
37 | 36 | ||
38 | endchoice | 37 | endmenu |
39 | 38 | ||
40 | config ARC_SERIAL_BAUD | 39 | config ARC_SERIAL_BAUD |
41 | int "UART Baud rate" | 40 | int "UART Baud rate" |