2016-04-22 05:47:09 +08:00
|
|
|
if BOARD_ALTERA_MAX10
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default "altera_max10"
|
|
|
|
|
2018-02-07 00:28:41 +08:00
|
|
|
if FLASH
|
|
|
|
|
|
|
|
config SOC_FLASH_NIOS2_QSPI
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-02-07 00:28:41 +08:00
|
|
|
|
|
|
|
if SOC_FLASH_NIOS2_QSPI
|
|
|
|
|
|
|
|
config SOC_FLASH_NIOS2_QSPI_DEV_NAME
|
|
|
|
default "NIOS2_QSPI_FLASH"
|
|
|
|
|
|
|
|
if DISK_ACCESS_FLASH
|
|
|
|
|
|
|
|
config DISK_FLASH_DEV_NAME
|
|
|
|
default SOC_FLASH_NIOS2_QSPI_DEV_NAME
|
|
|
|
|
|
|
|
config DISK_FLASH_START
|
|
|
|
default 0x0
|
|
|
|
|
|
|
|
config DISK_FLASH_MAX_RW_SIZE
|
|
|
|
default 256
|
|
|
|
|
|
|
|
config DISK_ERASE_BLOCK_SIZE
|
|
|
|
default 0x10000
|
|
|
|
|
|
|
|
config DISK_FLASH_ERASE_ALIGNMENT
|
|
|
|
default 0x10000
|
|
|
|
|
|
|
|
config DISK_VOLUME_SIZE
|
|
|
|
default 0x4000000
|
|
|
|
|
|
|
|
endif # DISK_ACCESS_FLASH
|
|
|
|
|
|
|
|
endif # SOC_FLASH_NIOS2_QSPI
|
|
|
|
|
|
|
|
endif # FLASH
|
|
|
|
|
|
|
|
endif # BOARD_ALTERA_MAX10
|