blob: e4cc468e723a963c2e7f90f53b0d0f6a967bc1cc [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
Marek Vasut567356a2015-11-23 17:06:27 +010025config TARGET_SOCFPGA_EBV_SOCRATES
26 bool "EBV SoCrates (Cyclone V)"
27 select TARGET_SOCFPGA_CYCLONE5
28
Dinh Nguyenc3364da2015-09-01 17:41:52 -050029config TARGET_SOCFPGA_TERASIC_DE0_NANO
30 bool "Terasic DE0-Nano-Atlas (Cyclone V)"
31 select TARGET_SOCFPGA_CYCLONE5
32
Marek Vasutb415bad2015-06-21 17:28:53 +020033config TARGET_SOCFPGA_TERASIC_SOCKIT
34 bool "Terasic SoCkit (Cyclone V)"
35 select TARGET_SOCFPGA_CYCLONE5
36
Masahiro Yamada144a3e02015-04-21 20:38:20 +090037endchoice
38
39config SYS_BOARD
Marek Vasut3f4c5612015-08-10 21:24:53 +020040 default "arria5-socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK
41 default "cyclone5-socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Dinh Nguyenc3364da2015-09-01 17:41:52 -050042 default "de0-nano-soc" if TARGET_SOCFPGA_TERASIC_DE0_NANO
Marek Vasut8e8b62a2015-08-03 01:37:28 +020043 default "mcvevk" if TARGET_SOCFPGA_DENX_MCVEVK
Marek Vasutb415bad2015-06-21 17:28:53 +020044 default "sockit" if TARGET_SOCFPGA_TERASIC_SOCKIT
Marek Vasut567356a2015-11-23 17:06:27 +010045 default "socrates" if TARGET_SOCFPGA_EBV_SOCRATES
Masahiro Yamada144a3e02015-04-21 20:38:20 +090046
47config SYS_VENDOR
Marek Vasut822e7952015-08-02 21:57:57 +020048 default "altera" if TARGET_SOCFPGA_ARRIA5_SOCDK
49 default "altera" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Marek Vasut8e8b62a2015-08-03 01:37:28 +020050 default "denx" if TARGET_SOCFPGA_DENX_MCVEVK
Marek Vasut567356a2015-11-23 17:06:27 +010051 default "ebv" if TARGET_SOCFPGA_EBV_SOCRATES
Dinh Nguyenc3364da2015-09-01 17:41:52 -050052 default "terasic" if TARGET_SOCFPGA_TERASIC_DE0_NANO
Marek Vasutb415bad2015-06-21 17:28:53 +020053 default "terasic" if TARGET_SOCFPGA_TERASIC_SOCKIT
Masahiro Yamada144a3e02015-04-21 20:38:20 +090054
55config SYS_SOC
56 default "socfpga"
57
58config SYS_CONFIG_NAME
Dinh Nguyen16f6ffd2015-09-22 17:01:32 -050059 default "socfpga_arria5_socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK
60 default "socfpga_cyclone5_socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Dinh Nguyenc3364da2015-09-01 17:41:52 -050061 default "socfpga_de0_nano_soc" if TARGET_SOCFPGA_TERASIC_DE0_NANO
Marek Vasut8e8b62a2015-08-03 01:37:28 +020062 default "socfpga_mcvevk" if TARGET_SOCFPGA_DENX_MCVEVK
Marek Vasutb415bad2015-06-21 17:28:53 +020063 default "socfpga_sockit" if TARGET_SOCFPGA_TERASIC_SOCKIT
Marek Vasut567356a2015-11-23 17:06:27 +010064 default "socfpga_socrates" if TARGET_SOCFPGA_EBV_SOCRATES
Masahiro Yamada144a3e02015-04-21 20:38:20 +090065
66endif