Skip to content
Commit 5f888ab9 authored by Leo Yu-Chi Liang's avatar Leo Yu-Chi Liang
Browse files

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.

Fixes: 2e8d2f88 ("riscv: Remove OF_PRIOR_STAGE from RISC-V boards")

Signed-off-by: default avatarLeo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: default avatarRick Chen <rick@andestech.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 41635cca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment