arm/sama5: fix recursive dependency

arch/arm/src/sama5/Kconfig:819:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
arch/arm/src/sama5/Kconfig:819:	choice <choice> contains symbol SAMA5_FLEXCOM0_USART
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
arch/arm/src/sama5/Kconfig:824:	symbol SAMA5_FLEXCOM0_USART is part of choice SAMA5_FLEXCOM0_USART
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
arch/arm/src/sama5/Kconfig:824:	symbol SAMA5_FLEXCOM0_USART is part of choice <choice>

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-12-01 01:55:50 +08:00 committed by Xiang Xiao
parent a0bce18192
commit 12b0fa9ec3
1 changed files with 0 additions and 5 deletions

View File

@ -823,7 +823,6 @@ choice
config SAMA5_FLEXCOM0_USART
bool "USART"
select SAMA5_FLEXCOM0_USART
select SAMA5_FLEXCOM_USART
select USART0_SERIALDRIVER
select ARCH_HAVE_SERIAL_TERMIOS
@ -845,7 +844,6 @@ choice
config SAMA5_FLEXCOM1_USART
bool "USART"
select SAMA5_FLEXCOM1_USART
select SAMA5_FLEXCOM_USART
select USART1_SERIALDRIVER
select ARCH_HAVE_SERIAL_TERMIOS
@ -867,7 +865,6 @@ choice
config SAMA5_FLEXCOM2_USART
bool "USART"
select SAMA5_FLEXCOM2_USART
select SAMA5_FLEXCOM_USART
select USART2_SERIALDRIVER
select ARCH_HAVE_SERIAL_TERMIOS
@ -889,7 +886,6 @@ choice
config SAMA5_FLEXCOM3_USART
bool "USART"
select SAMA5_FLEXCOM3_USART
select SAMA5_FLEXCOM_USART
select USART3_SERIALDRIVER
select ARCH_HAVE_SERIAL_TERMIOS
@ -911,7 +907,6 @@ choice
config SAMA5_FLEXCOM4_USART
bool "USART"
select SAMA5_FLEXCOM4_USART
select SAMA5_FLEXCOM_USART
select USART4_SERIALDRIVER
select ARCH_HAVE_SERIAL_TERMIOS