Masahiro Yamada | 144a3e0 | 2015-04-21 20:38:20 +0900 | [diff] [blame] | 1 | if ARCH_SOCFPGA |
| 2 | |
Marek Vasut | 822e795 | 2015-08-02 21:57:57 +0200 | [diff] [blame] | 3 | config TARGET_SOCFPGA_ARRIA5 |
| 4 | bool |
| 5 | |
| 6 | config TARGET_SOCFPGA_CYCLONE5 |
| 7 | bool |
| 8 | |
Masahiro Yamada | 144a3e0 | 2015-04-21 20:38:20 +0900 | [diff] [blame] | 9 | choice |
| 10 | prompt "Altera SOCFPGA board select" |
Joe Hershberger | f069960 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 11 | optional |
Masahiro Yamada | 144a3e0 | 2015-04-21 20:38:20 +0900 | [diff] [blame] | 12 | |
Marek Vasut | 822e795 | 2015-08-02 21:57:57 +0200 | [diff] [blame] | 13 | config TARGET_SOCFPGA_ARRIA5_SOCDK |
| 14 | bool "Altera SOCFPGA SoCDK (Arria V)" |
| 15 | select TARGET_SOCFPGA_ARRIA5 |
Masahiro Yamada | 144a3e0 | 2015-04-21 20:38:20 +0900 | [diff] [blame] | 16 | |
Marek Vasut | 822e795 | 2015-08-02 21:57:57 +0200 | [diff] [blame] | 17 | config TARGET_SOCFPGA_CYCLONE5_SOCDK |
| 18 | bool "Altera SOCFPGA SoCDK (Cyclone V)" |
| 19 | select TARGET_SOCFPGA_CYCLONE5 |
Masahiro Yamada | 144a3e0 | 2015-04-21 20:38:20 +0900 | [diff] [blame] | 20 | |
| 21 | endchoice |
| 22 | |
| 23 | config SYS_BOARD |
Marek Vasut | 3f4c561 | 2015-08-10 21:24:53 +0200 | [diff] [blame] | 24 | default "arria5-socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK |
| 25 | default "cyclone5-socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK |
Masahiro Yamada | 144a3e0 | 2015-04-21 20:38:20 +0900 | [diff] [blame] | 26 | |
| 27 | config SYS_VENDOR |
Marek Vasut | 822e795 | 2015-08-02 21:57:57 +0200 | [diff] [blame] | 28 | default "altera" if TARGET_SOCFPGA_ARRIA5_SOCDK |
| 29 | default "altera" if TARGET_SOCFPGA_CYCLONE5_SOCDK |
Masahiro Yamada | 144a3e0 | 2015-04-21 20:38:20 +0900 | [diff] [blame] | 30 | |
| 31 | config SYS_SOC |
| 32 | default "socfpga" |
| 33 | |
| 34 | config SYS_CONFIG_NAME |
Marek Vasut | 822e795 | 2015-08-02 21:57:57 +0200 | [diff] [blame] | 35 | default "socfpga_arria5" if TARGET_SOCFPGA_ARRIA5_SOCDK |
| 36 | default "socfpga_cyclone5" if TARGET_SOCFPGA_CYCLONE5_SOCDK |
Masahiro Yamada | 144a3e0 | 2015-04-21 20:38:20 +0900 | [diff] [blame] | 37 | |
| 38 | endif |