Skip to content

Commit

Permalink
ARC: [Review] Multi-platform image #1: Kconfig enablement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vineet Gupta committed Feb 15, 2013
1 parent 4368902 commit 53d9895
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 2 additions & 4 deletions arch/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ source "kernel/Kconfig.freezer"

menu "ARC Architecture Configuration"

choice
prompt "ARC Platform"
default ARC_PLAT_FPGA_LEGACY
menu "ARC Platform/SoC"

config ARC_PLAT_FPGA_LEGACY
bool "\"Legacy\" ARC FPGA dev platform"
Expand All @@ -96,7 +94,7 @@ config ARC_PLAT_FPGA_LEGACY
- MetaWare ISS

#New platform adds here
endchoice
endmenu

menu "ARC CPU Configuration"

Expand Down
5 changes: 2 additions & 3 deletions arch/arc/plat-arcfpga/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

if ARC_PLAT_FPGA_LEGACY

choice
prompt "FPGA Board"
menu "FPGA Board"

config ARC_BOARD_ANGEL4
bool "ARC Angel4"
Expand All @@ -35,7 +34,7 @@ config ISS_SMP_EXTN
-XTL (To enable CPU start/stop/set-PC for another CPU)
It doesn't provide coherent Caches and/or Atomic Ops (LLOCK/SCOND)

endchoice
endmenu

config ARC_SERIAL_BAUD
int "UART Baud rate"
Expand Down

0 comments on commit 53d9895

Please sign in to comment.