]> git.baikalelectronics.ru Git - uboot.git/commit
x86: spl: Move broadwell-specific code out of generic x86 spl
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:40 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:36 +0000 (13:57 +0800)
commitfaac978d97599733b9131584be24e34ed081ce1c
treec5f781d1a09b9f58ad35d2cb6c72ab8c27b60d1e
parentcf468055c9c6d402dc737a1e484d25b20b9cd1b3
x86: spl: Move broadwell-specific code out of generic x86 spl

When TPL is running, broadwell needs to do different init from SPL. There
is no need for this code to be in the generic x86 SPL file, so move it to
arch_cpu_init().

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/broadwell/cpu.c
arch/x86/cpu/broadwell/cpu_full.c
arch/x86/lib/spl.c