blob: 690e3628aac0e335f2f0073d6455f3b10311a6fc [file] [log] [blame]
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09001if ARCH_SOCFPGA
2
Marek Vasutcd9b7312015-08-02 21:57:57 +02003config TARGET_SOCFPGA_ARRIA5
4 bool
5
6config TARGET_SOCFPGA_CYCLONE5
7 bool
8
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09009choice
10 prompt "Altera SOCFPGA board select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050011 optional
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090012
Marek Vasutcd9b7312015-08-02 21:57:57 +020013config TARGET_SOCFPGA_ARRIA5_SOCDK
14 bool "Altera SOCFPGA SoCDK (Arria V)"
15 select TARGET_SOCFPGA_ARRIA5
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090016
Marek Vasutcd9b7312015-08-02 21:57:57 +020017config TARGET_SOCFPGA_CYCLONE5_SOCDK
18 bool "Altera SOCFPGA SoCDK (Cyclone V)"
19 select TARGET_SOCFPGA_CYCLONE5
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090020
21endchoice
22
23config SYS_BOARD
Marek Vasutf0892402015-08-10 21:24:53 +020024 default "arria5-socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK
25 default "cyclone5-socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090026
27config SYS_VENDOR
Marek Vasutcd9b7312015-08-02 21:57:57 +020028 default "altera" if TARGET_SOCFPGA_ARRIA5_SOCDK
29 default "altera" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090030
31config SYS_SOC
32 default "socfpga"
33
34config SYS_CONFIG_NAME
Marek Vasutcd9b7312015-08-02 21:57:57 +020035 default "socfpga_arria5" if TARGET_SOCFPGA_ARRIA5_SOCDK
36 default "socfpga_cyclone5" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090037
38endif