
2 Nov
2019
2 Nov
'19
10:58 a.m.
On Mon, Oct 28, 2019 at 3:52 PM Bin Meng bmeng.cn@gmail.com wrote:
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass sjg@chromium.org wrote:
At present we call spl_init() before identifying the CPU. This is not a good idea - e.g. if bootstage is enabled then it will try to set up the timer which works better if the CPU is identified.
Put explicit code at each entry pointer to identify the CPU.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v3: None Changes in v2: None
arch/x86/cpu/start_from_spl.S | 1 + arch/x86/lib/spl.c | 4 ++++ arch/x86/lib/tpl.c | 5 +++++ 3 files changed, 10 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86, thanks!