u-boot/board/AndesTech
Leo Yu-Chi Liang 5f888ab951 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: 2e8d2f8843 ("riscv: Remove OF_PRIOR_STAGE from RISC-V boards")

Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2021-11-08 15:35:55 +08:00
..
adp-ae3xx common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
adp-ag101p common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ax25-ae350 riscv: ae350: Use #if defined instead of CONFIG_IS_ENABLED 2021-11-08 15:35:55 +08:00