]> git.baikalelectronics.ru Git - uboot.git/commit
cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Oct 2018 08:07:19 +0000 (01:07 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:28 +0000 (09:16 -0800)
commit2387784f52be92408554b86a8eef7288227ef2a4
treeb096503107b3e357ccdf643be0e098d86ffa939e
parentff2986daac88f2dbb9a878b1fe52518869f93c0e
cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers

It turns out commit ce2a5b0890c8 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: ce2a5b0890c8 ("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>
arch/x86/cpu/baytrail/cpu.c
arch/x86/cpu/broadwell/cpu.c
arch/x86/cpu/cpu_x86.c
arch/x86/cpu/ivybridge/model_206ax.c