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 <michallenc@seznam.cz>
This commit is contained in:
parent
a12fdd8876
commit
addfa1c030
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user