diff options
| author | Leo Yu-Chi Liang <[email protected]> | 2021-11-01 17:00:43 +0800 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2021-11-08 15:35:55 +0800 |
| commit | 5f888ab951518d56e5dccaa40ebe14b6f19b342a (patch) | |
| tree | 5623f63d299e438195d8229e852a789f38cf39d1 /scripts | |
| parent | 41635cca6ec40c21d4c602938342babfd8f7dbb7 (diff) | |
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: 2e8d2f88439d ("riscv: Remove OF_PRIOR_STAGE from RISC-V boards")
Signed-off-by: Leo Yu-Chi Liang <[email protected]>
Reviewed-by: Rick Chen <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
