blob: a413ea4d1b4a015293a3a9cd9b70583ecda1c707 [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 Vasut8e8b62a2015-08-03 01:37:28 +020021config TARGET_SOCFPGA_DENX_MCVEVK
22 bool "DENX MCVEVK (Cyclone V)"
23 select TARGET_SOCFPGA_CYCLONE5
24
Dinh Nguyenc3364da2015-09-01 17:41:52 -050025config TARGET_SOCFPGA_TERASIC_DE0_NANO
26 bool "Terasic DE0-Nano-Atlas (Cyclone V)"
27 select TARGET_SOCFPGA_CYCLONE5
28
Marek Vasutb415bad2015-06-21 17:28:53 +020029config TARGET_SOCFPGA_TERASIC_SOCKIT
30 bool "Terasic SoCkit (Cyclone V)"
31 select TARGET_SOCFPGA_CYCLONE5
32
Masahiro Yamada144a3e02015-04-21 20:38:20 +090033endchoice
34
35config SYS_BOARD
Marek Vasut3f4c5612015-08-10 21:24:53 +020036 default "arria5-socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK
37 default "cyclone5-socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Dinh Nguyenc3364da2015-09-01 17:41:52 -050038 default "de0-nano-soc" if TARGET_SOCFPGA_TERASIC_DE0_NANO
Marek Vasut8e8b62a2015-08-03 01:37:28 +020039 default "mcvevk" if TARGET_SOCFPGA_DENX_MCVEVK
Marek Vasutb415bad2015-06-21 17:28:53 +020040 default "sockit" if TARGET_SOCFPGA_TERASIC_SOCKIT
Masahiro Yamada144a3e02015-04-21 20:38:20 +090041
42config SYS_VENDOR
Marek Vasut822e7952015-08-02 21:57:57 +020043 default "altera" if TARGET_SOCFPGA_ARRIA5_SOCDK
44 default "altera" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Marek Vasut8e8b62a2015-08-03 01:37:28 +020045 default "denx" if TARGET_SOCFPGA_DENX_MCVEVK
Dinh Nguyenc3364da2015-09-01 17:41:52 -050046 default "terasic" if TARGET_SOCFPGA_TERASIC_DE0_NANO
Marek Vasutb415bad2015-06-21 17:28:53 +020047 default "terasic" if TARGET_SOCFPGA_TERASIC_SOCKIT
Masahiro Yamada144a3e02015-04-21 20:38:20 +090048
49config SYS_SOC
50 default "socfpga"
51
52config SYS_CONFIG_NAME
Dinh Nguyen16f6ffd2015-09-22 17:01:32 -050053 default "socfpga_arria5_socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK
54 default "socfpga_cyclone5_socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Dinh Nguyenc3364da2015-09-01 17:41:52 -050055 default "socfpga_de0_nano_soc" if TARGET_SOCFPGA_TERASIC_DE0_NANO
Marek Vasut8e8b62a2015-08-03 01:37:28 +020056 default "socfpga_mcvevk" if TARGET_SOCFPGA_DENX_MCVEVK
Marek Vasutb415bad2015-06-21 17:28:53 +020057 default "socfpga_sockit" if TARGET_SOCFPGA_TERASIC_SOCKIT
Masahiro Yamada144a3e02015-04-21 20:38:20 +090058
59endif