x86: apl: Check low-level init in FSP-S pre-init
authorSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:45:36 +0000 (12:45 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:24 +0000 (11:27 +0800)
commit96bf9be89e02825d70969b3912a4fe859fc1660b
tree462aac1c2ec11433307762c487248f1076b317f1
parenta30898f2a18cd48d5490602dcb6979414a069a21
x86: apl: Check low-level init in FSP-S pre-init

If U-Boot is not running FSP-S it should not do the pre-init either. Add a
condition to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/apollolake/fsp_s.c