[PATCH] riscv: ae350: Use #if defined instead of CONFIG_IS_ENABLED
Bin Meng
bmeng.cn at gmail.com
Mon Nov 1 07:04:48 CET 2021
Hi Leo,
On Wed, Oct 27, 2021 at 4:59 PM Leo Yu-Chi Liang <ycliang at andestech.com> wrote:
>
> 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.
Why is the change?
>
> 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(-)
>
Regards,
Bin
More information about the U-Boot
mailing list