diff options
author | Simon Glass <sjg@chromium.org> | 2015-08-04 12:34:02 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-05 08:44:08 -0600 |
commit | b4302582f309b49a08c770960a37af6fe1f3afb3 (patch) | |
tree | 44a890e542d467cd0265abdc163f2b703602f98f /arch/x86/cpu/baytrail/cpu.c | |
parent | 8e3665087559092ef7fba861e65f633060896ede (diff) | |
download | talos-obmc-uboot-b4302582f309b49a08c770960a37af6fe1f3afb3.tar.gz talos-obmc-uboot-b4302582f309b49a08c770960a37af6fe1f3afb3.zip |
x86: baytrail: Support operation as an EFI payload
Disable a few things which interfere with the EFI init. This allows the
Minnowboard MAX to boot into EFI, load a U-Boot payload then boot to the
U-Boot prompt.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/baytrail/cpu.c')
-rw-r--r-- | arch/x86/cpu/baytrail/cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/baytrail/cpu.c b/arch/x86/cpu/baytrail/cpu.c index a0117308ae..b1faf8ca32 100644 --- a/arch/x86/cpu/baytrail/cpu.c +++ b/arch/x86/cpu/baytrail/cpu.c @@ -45,6 +45,8 @@ static void set_max_freq(void) static int cpu_x86_baytrail_probe(struct udevice *dev) { + if (!ll_boot_init()) + return 0; debug("Init BayTrail core\n"); /* |