You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/01/26 02:19:33 UTC

(nuttx) branch master updated: samv7: fix QSPI DMA option not showing in menuconfig

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new addfa1c030 samv7: fix QSPI DMA option not showing in menuconfig
addfa1c030 is described below

commit addfa1c03069b8efe16b7ea0b9c669cfd33b6cbd
Author: Michal Lenc <mi...@seznam.cz>
AuthorDate: Thu Jan 25 20:20:16 2024 +0100

    samv7: fix QSPI DMA option not showing in menuconfig
    
    Commit 03e5c02 introduced option to have both standard SPI and QSPI
    in SPI mode on one system. However this change broke the appearance of
    QSPI driver configuration menu entry in menuconfig as it was dependent
    on !SAMV7_QSPI_IS_SPI (which is now true for all MCUs having standard
    SPI ability in QSPI driver).
    
    This change makes sure the menu is correctly shown when QSPI driver
    used.
    
    Signed-off-by: Michal Lenc <mi...@seznam.cz>
---
 arch/arm/src/samv7/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/samv7/Kconfig b/arch/arm/src/samv7/Kconfig
index d072fe81f5..1aeaca8b40 100644
--- a/arch/arm/src/samv7/Kconfig
+++ b/arch/arm/src/samv7/Kconfig
@@ -1873,7 +1873,7 @@ config SAMV7_SPI_REGDEBUG
 endmenu # SPI device driver options
 
 menu "QSPI Device Driver Configuration"
-	depends on SAMV7_QSPI && !SAMV7_QSPI_IS_SPI
+	depends on SAMV7_QSPI && !SAMV7_QSPI_SPI_MODE
 
 config SAMV7_QSPI_DLYBS
 	int "Delay Before QSCK (nsec)"