On Thu, Jul 17, 2025 at 08:26:15AM +0200, Michal Simek wrote: > 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.si...@amd.com> > --- > > arch/riscv/cpu/cpu.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycli...@andestech.com>