x86: apl: Only load VBT if CONFIG_HAVE_VBT is enabled
authorBernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Mon, 18 May 2020 10:33:33 +0000 (12:33 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 27 May 2020 06:40:09 +0000 (14:40 +0800)
commit832fee864c6417efa9f39c41d23eb6c73da9e7b2
tree3d344ae329ae13391dafe3bf6f2286b4b84de9b0
parentb032db2725dcd440811465f674e93f6c3a0a2573
x86: apl: Only load VBT if CONFIG_HAVE_VBT is enabled

Only load VBT if it's present in the u-boot.rom.

Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org> (Tested on coral)
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/apollolake/fsp_s.c