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)
commit12c81b2f4196ed7eb9f2d7d377b34280b1ca26c1
treec5f781d1a09b9f58ad35d2cb6c72ab8c27b60d1e
parentdaade119aa4b49d5ff6b1ebbdfeab0a8775c9344
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