]> git.dujemihanovic.xyz Git - u-boot.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)
commitc337e1afd3bd00622a102b4dda10b109d898281f
treeb096503107b3e357ccdf643be0e098d86ffa939e
parent1a6bd4717fe68ca212abca21a0e08af186fdb442
cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers

It turns out commit c0434407b595 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: c0434407b595 ("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