mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
x86: coreboot: Don't setup MTRR when booting from coreboot
This currently hangs and it is not necessary in any case. Drop the code when booting from coreboot. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
9087e468c7
commit
70f5c99d60
1 changed files with 3 additions and 3 deletions
|
@ -18,6 +18,9 @@ int init_cache_f_r(void)
|
|||
IS_ENABLED(CONFIG_FSP_VERSION2);
|
||||
int ret;
|
||||
|
||||
if (!ll_boot_init())
|
||||
return 0;
|
||||
|
||||
do_mtrr &= !IS_ENABLED(CONFIG_FSP_VERSION1) &&
|
||||
!IS_ENABLED(CONFIG_SYS_SLIMBOOTLOADER);
|
||||
|
||||
|
@ -31,9 +34,6 @@ int init_cache_f_r(void)
|
|||
return ret;
|
||||
}
|
||||
|
||||
if (!ll_boot_init())
|
||||
return 0;
|
||||
|
||||
/* Initialise the CPU cache(s) */
|
||||
return init_cache();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue