x86: apl: Set the correct boot mode in the FSP-M code
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 03:22:32 +0000 (21:22 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commitefd31328525629db9fc8b48f1e5b33f8ee1de4d7
treefec8a9c1c960f85c2a67031d43631e41cd9c9d09
parentb336a2b8f61ace1181e114f445322c02b16bd373
x86: apl: Set the correct boot mode in the FSP-M code

If there is MRC information we should run FSP-M with a different
boot_mode flag since it is supposed to do a 'fast path' through the
memory init. Fix this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/apollolake/fsp_m.c