blob: dea4ce569f711844a3b41e53d37a432ee053efd0 [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
Dinh Nguyened77aeb2015-12-02 13:31:25 -06005 select TARGET_SOCFPGA_GEN5
Marek Vasutcd9b7312015-08-02 21:57:57 +02006
7config TARGET_SOCFPGA_CYCLONE5
8 bool
Dinh Nguyened77aeb2015-12-02 13:31:25 -06009 select TARGET_SOCFPGA_GEN5
10
11config TARGET_SOCFPGA_GEN5
12 bool
Marek Vasutcd9b7312015-08-02 21:57:57 +020013
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090014choice
15 prompt "Altera SOCFPGA board select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050016 optional
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090017
Marek Vasutcd9b7312015-08-02 21:57:57 +020018config TARGET_SOCFPGA_ARRIA5_SOCDK
19 bool "Altera SOCFPGA SoCDK (Arria V)"
20 select TARGET_SOCFPGA_ARRIA5
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090021
Marek Vasutcd9b7312015-08-02 21:57:57 +020022config TARGET_SOCFPGA_CYCLONE5_SOCDK
23 bool "Altera SOCFPGA SoCDK (Cyclone V)"
24 select TARGET_SOCFPGA_CYCLONE5
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090025
Marek Vasutd88995a2015-08-03 01:37:28 +020026config TARGET_SOCFPGA_DENX_MCVEVK
27 bool "DENX MCVEVK (Cyclone V)"
28 select TARGET_SOCFPGA_CYCLONE5
29
Stefan Roeseae9996c2015-11-18 11:06:09 +010030config TARGET_SOCFPGA_SR1500
31 bool "SR1500 (Cyclone V)"
32 select TARGET_SOCFPGA_CYCLONE5
33
Marek Vasut856b30d2015-11-23 17:06:27 +010034config TARGET_SOCFPGA_EBV_SOCRATES
35 bool "EBV SoCrates (Cyclone V)"
36 select TARGET_SOCFPGA_CYCLONE5
37
Dinh Nguyen55c7a762015-09-01 17:41:52 -050038config TARGET_SOCFPGA_TERASIC_DE0_NANO
39 bool "Terasic DE0-Nano-Atlas (Cyclone V)"
40 select TARGET_SOCFPGA_CYCLONE5
41
Marek Vasut952caa22015-06-21 17:28:53 +020042config TARGET_SOCFPGA_TERASIC_SOCKIT
43 bool "Terasic SoCkit (Cyclone V)"
44 select TARGET_SOCFPGA_CYCLONE5
45
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090046endchoice
47
48config SYS_BOARD
Marek Vasutf0892402015-08-10 21:24:53 +020049 default "arria5-socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK
50 default "cyclone5-socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Dinh Nguyen55c7a762015-09-01 17:41:52 -050051 default "de0-nano-soc" if TARGET_SOCFPGA_TERASIC_DE0_NANO
Marek Vasutd88995a2015-08-03 01:37:28 +020052 default "mcvevk" if TARGET_SOCFPGA_DENX_MCVEVK
Marek Vasut952caa22015-06-21 17:28:53 +020053 default "sockit" if TARGET_SOCFPGA_TERASIC_SOCKIT
Marek Vasut856b30d2015-11-23 17:06:27 +010054 default "socrates" if TARGET_SOCFPGA_EBV_SOCRATES
Stefan Roeseae9996c2015-11-18 11:06:09 +010055 default "sr1500" if TARGET_SOCFPGA_SR1500
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090056
57config SYS_VENDOR
Marek Vasutcd9b7312015-08-02 21:57:57 +020058 default "altera" if TARGET_SOCFPGA_ARRIA5_SOCDK
59 default "altera" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Marek Vasutd88995a2015-08-03 01:37:28 +020060 default "denx" if TARGET_SOCFPGA_DENX_MCVEVK
Marek Vasut856b30d2015-11-23 17:06:27 +010061 default "ebv" if TARGET_SOCFPGA_EBV_SOCRATES
Dinh Nguyen55c7a762015-09-01 17:41:52 -050062 default "terasic" if TARGET_SOCFPGA_TERASIC_DE0_NANO
Marek Vasut952caa22015-06-21 17:28:53 +020063 default "terasic" if TARGET_SOCFPGA_TERASIC_SOCKIT
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090064
65config SYS_SOC
66 default "socfpga"
67
68config SYS_CONFIG_NAME
Dinh Nguyen3cbc7b82015-09-22 17:01:32 -050069 default "socfpga_arria5_socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK
70 default "socfpga_cyclone5_socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK
Dinh Nguyen55c7a762015-09-01 17:41:52 -050071 default "socfpga_de0_nano_soc" if TARGET_SOCFPGA_TERASIC_DE0_NANO
Marek Vasutd88995a2015-08-03 01:37:28 +020072 default "socfpga_mcvevk" if TARGET_SOCFPGA_DENX_MCVEVK
Marek Vasut952caa22015-06-21 17:28:53 +020073 default "socfpga_sockit" if TARGET_SOCFPGA_TERASIC_SOCKIT
Marek Vasut856b30d2015-11-23 17:06:27 +010074 default "socfpga_socrates" if TARGET_SOCFPGA_EBV_SOCRATES
Stefan Roeseae9996c2015-11-18 11:06:09 +010075 default "socfpga_sr1500" if TARGET_SOCFPGA_SR1500
Masahiro Yamada7865f4b2015-04-21 20:38:20 +090076
77endif