cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers
It turns out commit c0434407 broke some boards which have DM CPU driver with CONFIG_DISPLAY_CPUINFO option on. These boards just fail to boot when print_cpuinfo() is called during boot. Fixes: c0434407 ("board_f: Use static print_cpuinfo if CONFIG_CPU is active") Reported-by:Stefan Roese <sr@denx.de> Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de> Tested-by:
Stefan Roese <sr@denx.de>
Showing
- arch/x86/cpu/baytrail/cpu.c 1 addition, 0 deletionsarch/x86/cpu/baytrail/cpu.c
- arch/x86/cpu/broadwell/cpu.c 1 addition, 0 deletionsarch/x86/cpu/broadwell/cpu.c
- arch/x86/cpu/cpu_x86.c 1 addition, 0 deletionsarch/x86/cpu/cpu_x86.c
- arch/x86/cpu/ivybridge/model_206ax.c 1 addition, 0 deletionsarch/x86/cpu/ivybridge/model_206ax.c
Loading
Please register or sign in to comment