[PATCH] riscv: ae350: Use #if defined instead of CONFIG_IS_ENABLED
Rick Chen
rickchen36 at gmail.com
Mon Nov 1 06:41:30 CET 2021
> From: Leo Yu-Chi Liang(梁育齊) <ycliang at andestech.com>
> Sent: Wednesday, October 27, 2021 4:59 PM
> To: Rick Jian-Zhi Chen(陳建志) <rick at andestech.com>; Leo Yu-Chi Liang(梁育齊) <ycliang at andestech.com>
> Cc: u-boot at 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 at andestech.com>
> ---
> board/AndesTech/ax25-ae350/ax25-ae350.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Rick Chen <rick at andestech.com>
More information about the U-Boot
mailing list