2015-04-21 11:38:20 +00:00
|
|
|
if ARCH_SOCFPGA
|
|
|
|
|
2017-02-11 01:15:34 +00:00
|
|
|
config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE
|
|
|
|
default 0xa2
|
|
|
|
|
2015-08-02 19:57:57 +00:00
|
|
|
config TARGET_SOCFPGA_ARRIA5
|
|
|
|
bool
|
2015-12-02 19:31:25 +00:00
|
|
|
select TARGET_SOCFPGA_GEN5
|
2015-08-02 19:57:57 +00:00
|
|
|
|
2017-04-25 18:44:48 +00:00
|
|
|
config TARGET_SOCFPGA_ARRIA10
|
|
|
|
bool
|
2017-12-05 07:58:03 +00:00
|
|
|
select ALTERA_SDRAM
|
2018-07-23 13:55:15 +00:00
|
|
|
select SPL_BOARD_INIT if SPL
|
2018-07-30 13:56:19 +00:00
|
|
|
select CLK
|
|
|
|
select SPL_CLK if SPL
|
2018-08-13 16:32:38 +00:00
|
|
|
select DM_I2C
|
2018-08-13 16:32:38 +00:00
|
|
|
select DM_RESET
|
|
|
|
select SPL_DM_RESET if SPL
|
2018-08-13 18:06:46 +00:00
|
|
|
select REGMAP
|
|
|
|
select SPL_REGMAP if SPL
|
|
|
|
select SYSCON
|
|
|
|
select SPL_SYSCON if SPL
|
|
|
|
select ETH_DESIGNWARE_SOCFPGA
|
2017-04-25 18:44:48 +00:00
|
|
|
|
2015-08-02 19:57:57 +00:00
|
|
|
config TARGET_SOCFPGA_CYCLONE5
|
|
|
|
bool
|
2015-12-02 19:31:25 +00:00
|
|
|
select TARGET_SOCFPGA_GEN5
|
|
|
|
|
|
|
|
config TARGET_SOCFPGA_GEN5
|
|
|
|
bool
|
2017-04-05 09:32:51 +00:00
|
|
|
select ALTERA_SDRAM
|
2015-08-02 19:57:57 +00:00
|
|
|
|
2018-05-23 16:17:32 +00:00
|
|
|
config TARGET_SOCFPGA_STRATIX10
|
|
|
|
bool
|
|
|
|
select ARMV8_MULTIENTRY
|
|
|
|
select ARMV8_SET_SMPEN
|
2018-07-23 13:55:15 +00:00
|
|
|
select ARMV8_SPIN_TABLE
|
2018-12-20 02:35:16 +00:00
|
|
|
select FPGA_STRATIX10
|
2018-05-23 16:17:32 +00:00
|
|
|
|
2015-04-21 11:38:20 +00:00
|
|
|
choice
|
|
|
|
prompt "Altera SOCFPGA board select"
|
2015-05-12 19:46:23 +00:00
|
|
|
optional
|
2015-04-21 11:38:20 +00:00
|
|
|
|
2017-04-25 18:44:48 +00:00
|
|
|
config TARGET_SOCFPGA_ARRIA10_SOCDK
|
|
|
|
bool "Altera SOCFPGA SoCDK (Arria 10)"
|
|
|
|
select TARGET_SOCFPGA_ARRIA10
|
|
|
|
|
2015-08-02 19:57:57 +00:00
|
|
|
config TARGET_SOCFPGA_ARRIA5_SOCDK
|
|
|
|
bool "Altera SOCFPGA SoCDK (Arria V)"
|
|
|
|
select TARGET_SOCFPGA_ARRIA5
|
2015-04-21 11:38:20 +00:00
|
|
|
|
2015-08-02 19:57:57 +00:00
|
|
|
config TARGET_SOCFPGA_CYCLONE5_SOCDK
|
|
|
|
bool "Altera SOCFPGA SoCDK (Cyclone V)"
|
|
|
|
select TARGET_SOCFPGA_CYCLONE5
|
2015-04-21 11:38:20 +00:00
|
|
|
|
2018-02-24 22:34:00 +00:00
|
|
|
config TARGET_SOCFPGA_DEVBOARDS_DBM_SOC1
|
|
|
|
bool "Devboards DBM-SoC1 (Cyclone V)"
|
|
|
|
select TARGET_SOCFPGA_CYCLONE5
|
|
|
|
|
2015-11-23 16:06:27 +00:00
|
|
|
config TARGET_SOCFPGA_EBV_SOCRATES
|
|
|
|
bool "EBV SoCrates (Cyclone V)"
|
|
|
|
select TARGET_SOCFPGA_CYCLONE5
|
|
|
|
|
2016-06-07 10:37:23 +00:00
|
|
|
config TARGET_SOCFPGA_IS1
|
|
|
|
bool "IS1 (Cyclone V)"
|
|
|
|
select TARGET_SOCFPGA_CYCLONE5
|
|
|
|
|
2015-12-01 17:09:52 +00:00
|
|
|
config TARGET_SOCFPGA_SAMTEC_VINING_FPGA
|
|
|
|
bool "samtec VIN|ING FPGA (Cyclone V)"
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2015-12-01 17:09:52 +00:00
|
|
|
select TARGET_SOCFPGA_CYCLONE5
|
|
|
|
|
2016-06-08 00:57:05 +00:00
|
|
|
config TARGET_SOCFPGA_SR1500
|
|
|
|
bool "SR1500 (Cyclone V)"
|
|
|
|
select TARGET_SOCFPGA_CYCLONE5
|
|
|
|
|
2018-05-23 16:17:32 +00:00
|
|
|
config TARGET_SOCFPGA_STRATIX10_SOCDK
|
|
|
|
bool "Intel SOCFPGA SoCDK (Stratix 10)"
|
|
|
|
select TARGET_SOCFPGA_STRATIX10
|
|
|
|
|
2015-09-01 22:41:52 +00:00
|
|
|
config TARGET_SOCFPGA_TERASIC_DE0_NANO
|
|
|
|
bool "Terasic DE0-Nano-Atlas (Cyclone V)"
|
|
|
|
select TARGET_SOCFPGA_CYCLONE5
|
|
|
|
|
2017-04-18 15:11:16 +00:00
|
|
|
config TARGET_SOCFPGA_TERASIC_DE10_NANO
|
|
|
|
bool "Terasic DE10-Nano (Cyclone V)"
|
|
|
|
select TARGET_SOCFPGA_CYCLONE5
|
|
|
|
|
2016-11-14 15:07:10 +00:00
|
|
|
config TARGET_SOCFPGA_TERASIC_DE1_SOC
|
|
|
|
bool "Terasic DE1-SoC (Cyclone V)"
|
|
|
|
select TARGET_SOCFPGA_CYCLONE5
|
|
|
|
|
2015-06-21 15:28:53 +00:00
|
|
|
config TARGET_SOCFPGA_TERASIC_SOCKIT
|
|
|
|
bool "Terasic SoCkit (Cyclone V)"
|
|
|
|
select TARGET_SOCFPGA_CYCLONE5
|
|
|
|
|
2015-04-21 11:38:20 +00:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config SYS_BOARD
|
2015-08-10 19:24:53 +00:00
|
|
|
default "arria5-socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK
|
2017-04-25 18:44:48 +00:00
|
|
|
default "arria10-socdk" if TARGET_SOCFPGA_ARRIA10_SOCDK
|
2015-08-10 19:24:53 +00:00
|
|
|
default "cyclone5-socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK
|
2018-02-24 22:34:00 +00:00
|
|
|
default "dbm-soc1" if TARGET_SOCFPGA_DEVBOARDS_DBM_SOC1
|
2015-09-01 22:41:52 +00:00
|
|
|
default "de0-nano-soc" if TARGET_SOCFPGA_TERASIC_DE0_NANO
|
2016-11-14 15:07:10 +00:00
|
|
|
default "de1-soc" if TARGET_SOCFPGA_TERASIC_DE1_SOC
|
2017-04-18 15:11:16 +00:00
|
|
|
default "de10-nano" if TARGET_SOCFPGA_TERASIC_DE10_NANO
|
2016-06-07 10:37:23 +00:00
|
|
|
default "is1" if TARGET_SOCFPGA_IS1
|
2015-06-21 15:28:53 +00:00
|
|
|
default "sockit" if TARGET_SOCFPGA_TERASIC_SOCKIT
|
2015-11-23 16:06:27 +00:00
|
|
|
default "socrates" if TARGET_SOCFPGA_EBV_SOCRATES
|
2015-11-18 10:06:09 +00:00
|
|
|
default "sr1500" if TARGET_SOCFPGA_SR1500
|
2018-05-23 16:17:32 +00:00
|
|
|
default "stratix10-socdk" if TARGET_SOCFPGA_STRATIX10_SOCDK
|
2015-12-01 17:09:52 +00:00
|
|
|
default "vining_fpga" if TARGET_SOCFPGA_SAMTEC_VINING_FPGA
|
2015-04-21 11:38:20 +00:00
|
|
|
|
|
|
|
config SYS_VENDOR
|
2015-08-02 19:57:57 +00:00
|
|
|
default "altera" if TARGET_SOCFPGA_ARRIA5_SOCDK
|
2017-04-25 18:44:48 +00:00
|
|
|
default "altera" if TARGET_SOCFPGA_ARRIA10_SOCDK
|
2015-08-02 19:57:57 +00:00
|
|
|
default "altera" if TARGET_SOCFPGA_CYCLONE5_SOCDK
|
2018-05-23 16:17:32 +00:00
|
|
|
default "altera" if TARGET_SOCFPGA_STRATIX10_SOCDK
|
2018-02-24 22:34:00 +00:00
|
|
|
default "devboards" if TARGET_SOCFPGA_DEVBOARDS_DBM_SOC1
|
2015-11-23 16:06:27 +00:00
|
|
|
default "ebv" if TARGET_SOCFPGA_EBV_SOCRATES
|
2015-12-01 17:09:52 +00:00
|
|
|
default "samtec" if TARGET_SOCFPGA_SAMTEC_VINING_FPGA
|
2015-09-01 22:41:52 +00:00
|
|
|
default "terasic" if TARGET_SOCFPGA_TERASIC_DE0_NANO
|
2016-11-14 15:07:10 +00:00
|
|
|
default "terasic" if TARGET_SOCFPGA_TERASIC_DE1_SOC
|
2017-04-18 15:11:16 +00:00
|
|
|
default "terasic" if TARGET_SOCFPGA_TERASIC_DE10_NANO
|
2015-06-21 15:28:53 +00:00
|
|
|
default "terasic" if TARGET_SOCFPGA_TERASIC_SOCKIT
|
2015-04-21 11:38:20 +00:00
|
|
|
|
|
|
|
config SYS_SOC
|
|
|
|
default "socfpga"
|
|
|
|
|
|
|
|
config SYS_CONFIG_NAME
|
2015-09-22 22:01:32 +00:00
|
|
|
default "socfpga_arria5_socdk" if TARGET_SOCFPGA_ARRIA5_SOCDK
|
2017-04-25 18:44:48 +00:00
|
|
|
default "socfpga_arria10_socdk" if TARGET_SOCFPGA_ARRIA10_SOCDK
|
2015-09-22 22:01:32 +00:00
|
|
|
default "socfpga_cyclone5_socdk" if TARGET_SOCFPGA_CYCLONE5_SOCDK
|
2018-02-24 22:34:00 +00:00
|
|
|
default "socfpga_dbm_soc1" if TARGET_SOCFPGA_DEVBOARDS_DBM_SOC1
|
2015-09-01 22:41:52 +00:00
|
|
|
default "socfpga_de0_nano_soc" if TARGET_SOCFPGA_TERASIC_DE0_NANO
|
2016-11-14 15:07:10 +00:00
|
|
|
default "socfpga_de1_soc" if TARGET_SOCFPGA_TERASIC_DE1_SOC
|
2017-04-18 15:11:16 +00:00
|
|
|
default "socfpga_de10_nano" if TARGET_SOCFPGA_TERASIC_DE10_NANO
|
2016-06-07 10:37:23 +00:00
|
|
|
default "socfpga_is1" if TARGET_SOCFPGA_IS1
|
2015-06-21 15:28:53 +00:00
|
|
|
default "socfpga_sockit" if TARGET_SOCFPGA_TERASIC_SOCKIT
|
2015-11-23 16:06:27 +00:00
|
|
|
default "socfpga_socrates" if TARGET_SOCFPGA_EBV_SOCRATES
|
2015-11-18 10:06:09 +00:00
|
|
|
default "socfpga_sr1500" if TARGET_SOCFPGA_SR1500
|
2018-05-23 16:17:32 +00:00
|
|
|
default "socfpga_stratix10_socdk" if TARGET_SOCFPGA_STRATIX10_SOCDK
|
2015-12-01 17:09:52 +00:00
|
|
|
default "socfpga_vining_fpga" if TARGET_SOCFPGA_SAMTEC_VINING_FPGA
|
2015-04-21 11:38:20 +00:00
|
|
|
|
|
|
|
endif
|