diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-18 10:42:20 +0100 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-11 15:30:25 +0100 |
commit | cfdbc2e16e65c1ec1c23057640607cee98d1a1bd (patch) | |
tree | 8954eab255b91ae91ac474bb187a64810a14a917 /arch/arc/plat-arcfpga/Kconfig | |
parent | ARC: Generic Headers (diff) | |
download | linux-cfdbc2e16e65c1ec1c23057640607cee98d1a1bd.tar.xz linux-cfdbc2e16e65c1ec1c23057640607cee98d1a1bd.zip |
ARC: Build system: Makefiles, Kconfig, Linker script
Arnd in his review pointed out that arch Kconfig organisation has several
deficiencies:
* Build time entries for things which can be runtime extracted from DT
(e.g. SDRAM size, core clk frequency..)
* Not multi-platform-image-build friendly (choice .. endchoice constructs)
* cpu variants support (750/770) is exclusive.
The first 2 have been fixed in subsequent patches.
Due to the nature of the 750 and 770, it is not possible to build for
both together, w/o special runtime glue code which would hurt
performance.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/arc/plat-arcfpga/Kconfig')
-rw-r--r-- | arch/arc/plat-arcfpga/Kconfig | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arc/plat-arcfpga/Kconfig b/arch/arc/plat-arcfpga/Kconfig new file mode 100644 index 000000000000..7af3a4e7f7d2 --- /dev/null +++ b/arch/arc/plat-arcfpga/Kconfig @@ -0,0 +1,33 @@ +# +# Copyright (C) 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# + +if ARC_PLAT_FPGA_LEGACY + +choice + prompt "FPGA Board" + +config ARC_BOARD_ANGEL4 + bool "ARC Angel4" + help + ARC Angel4 FPGA Ref Platform (Xilinx Virtex Based) + +config ARC_BOARD_ML509 + bool "ML509" + help + ARC ML509 FPGA Ref Platform (Xilinx Virtex-5 Based) + +endchoice + +config ARC_SERIAL_BAUD + int "UART Baud rate" + default "115200" + depends on SERIAL_ARC || SERIAL_ARC_CONSOLE + help + Baud rate for the ARC UART + +endif |