Re: [PATCH] riscv: ae350: Use #if defined instead of CONFIG_IS_ENABLED

1 Nov
2021
1 Nov
'21
6:41 a.m.
From: Leo Yu-Chi Liang(梁育齊) ycliang@andestech.com Sent: Wednesday, October 27, 2021 4:59 PM To: Rick Jian-Zhi Chen(陳建志) rick@andestech.com; Leo Yu-Chi Liang(梁育齊) ycliang@andestech.com Cc: u-boot@lists.denx.de Subject: [PATCH] riscv: ae350: Use #if defined instead of CONFIG_IS_ENABLED
According to ./include/linux/kconfig.h, CONFIG_IS_ENABLED(OF_BOARD) expands to 0 when CONFIG_SPL_BUILD is defined because there is no CONFIG_SPL_OF_BOARD.
Use #if defined instead.
Signed-off-by: Leo Yu-Chi Liang ycliang@andestech.com
board/AndesTech/ax25-ae350/ax25-ae350.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Rick Chen rick@andestech.com
1282
Age (days ago)
1282
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rick Chen