blob: 7520757d394a21813b5f8d6eac1bef217b52dfcd [file] [log] [blame]
Masahiro Yamada144a3e02015-04-21 20:38:20 +09001if ARCH_SOCFPGA
2
Marek Vasut822e7952015-08-02 21:57:57 +02003config TARGET_SOCFPGA_ARRIA5
4 bool
5
6config TARGET_SOCFPGA_CYCLONE5
7 bool
8
Masahiro Yamada144a3e02015-04-21 20:38:20 +09009choice
10 prompt "Altera SOCFPGA board select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050011 optional
Masahiro Yamada144a3e02015-04-21 20:38:20 +090012
Marek Vasut822e7952015-08-02 21:57:57 +020013config TARGET_SOCFPGA_ARRIA5_SOCDK
14 bool "Altera SOCFPGA SoCDK (Arria V)"
15 select TARGET_SOCFPGA_ARRIA5
Masahiro Yamada144a3e02015-04-21 20:38:20 +090016
Marek Vasut822e7952015-08-02 21:57:57 +020017config TARGET_SOCFPGA_CYCLONE5_SOCDK
18 bool "Altera SOCFPGA SoCDK (Cyclone V)"
19 select TARGET_SOCFPGA_CYCLONE5
Masahiro Yamada144a3e02015-04-21 20:38:20 +090020
Marek Vasutb415bad2015-06-21 17:28:53 +020021config TARGET_SOCFPGA_TERASIC_SOCKIT
22 bool "Terasic SoCkit (Cyclone V)"
23 select TARGET_SOCFPGA_CYCLONE5
24
Masahiro Yamada144a3e02015-04-21 20:38:20 +090025endchoice
26
27config SYS_BOARD
Marek Vasut3f4c5612015-08-10 21:24:53 +020028 default "arria5-socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK
29 default "cyclone5-socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Marek Vasutb415bad2015-06-21 17:28:53 +020030 default "sockit" if TARGET_SOCFPGA_TERASIC_SOCKIT
Masahiro Yamada144a3e02015-04-21 20:38:20 +090031
32config SYS_VENDOR
Marek Vasut822e7952015-08-02 21:57:57 +020033 default "altera" if TARGET_SOCFPGA_ARRIA5_SOCDK
34 default "altera" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Marek Vasutb415bad2015-06-21 17:28:53 +020035 default "terasic" if TARGET_SOCFPGA_TERASIC_SOCKIT
Masahiro Yamada144a3e02015-04-21 20:38:20 +090036
37config SYS_SOC
38 default "socfpga"
39
40config SYS_CONFIG_NAME
Marek Vasut822e7952015-08-02 21:57:57 +020041 default "socfpga_arria5" if TARGET_SOCFPGA_ARRIA5_SOCDK
42 default "socfpga_cyclone5" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Marek Vasutb415bad2015-06-21 17:28:53 +020043 default "socfpga_sockit" if TARGET_SOCFPGA_TERASIC_SOCKIT
Masahiro Yamada144a3e02015-04-21 20:38:20 +090044
45endif