arch: add a flag indicating that the chip doesn't support DMA transfer from/to FLASH

This commit is contained in:
raiden00pl
2023-09-29 11:29:18 +02:00
committed by Xiang Xiao
parent cb04c0a928
commit 761bddcab8
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -355,6 +355,10 @@ config ARCH_DMA
bool
default n
config ARCH_DMA_NO_FLASH_TRANSFER
bool
default n
config ARCH_HAVE_IRQPRIO
bool
default n
+3
View File
@@ -284,6 +284,7 @@ config ARCH_CHIP_NRF52
select ARCH_HAVE_FPU
select ARCH_HAVE_PWM_MULTICHAN
select ARCH_HAVE_SERIAL_TERMIOS
select ARCH_DMA_NO_FLASH_TRANSFER
---help---
Nordic nRF52 architectures (ARM Cortex-M4).
@@ -291,6 +292,7 @@ config ARCH_CHIP_NRF53
bool "Nordic nRF53"
select ARCH_CORTEXM33
select ARCH_HAVE_PWM_MULTICHAN
select ARCH_DMA_NO_FLASH_TRANSFER
depends on EXPERIMENTAL
---help---
Nordic nRF53 architectures (ARM dual Cortex-M33).
@@ -301,6 +303,7 @@ config ARCH_CHIP_NRF91
select ARCH_HAVE_PWM_MULTICHAN
select ARCH_HAVE_TRUSTZONE
select ARCH_HAVE_TICKLESS
select ARCH_DMA_NO_FLASH_TRANSFER
depends on EXPERIMENTAL
---help---
Nordic nRF91 architectures (ARM Cortex-M33 with integrated