summaryrefslogtreecommitdiff
path: root/drivers/fpga/sandbox.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2025-07-17 08:26:15 +0200
committerLeo Yu-Chi Liang <ycliang@andestech.com>2025-08-14 14:32:00 +0800
commitc64fc632a86a58e343cb3f181cd8d5642a28894a (patch)
treed5a0dc2631f60be17bc3a7a80fba344fc4a6e01a /drivers/fpga/sandbox.c
parent869217ee2907595919261b6d4ae81fd76a8ddd81 (diff)
riscv: cpu: Use CONFIG_IS_ENABLED(CPU) instead of plain ifdef
ifdef CONFIG_CPU only works in U-Boot proper but macro is not working when XPL phases are used. In this case CONFIG_SPL_CPU is also defined and can be disabled which is causing compilation error. Signed-off-by: Michal Simek <michal.simek@amd.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'drivers/fpga/sandbox.c')
0 files changed, 0 insertions, 0 deletions