summaryrefslogtreecommitdiff
path: root/arch/x86/lib/init_helpers.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-06-22 12:09:33 -0400
committerTom Rini <trini@konsulko.com>2019-06-22 12:09:33 -0400
commit5eea874b5e989e62519824ad140aa086432d01ee (patch)
tree0d6a3538406d23917874a9087c896b7ff809d91c /arch/x86/lib/init_helpers.c
parentbdf97b5d393fc94666a847e9bac1c358b2c63c59 (diff)
parentc974a3d1550557f246c98480083651c0a502e7e7 (diff)
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86
- boot failure fix for Intel edison - tangier wdt conversion to driver model
Diffstat (limited to 'arch/x86/lib/init_helpers.c')
-rw-r--r--arch/x86/lib/init_helpers.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/lib/init_helpers.c b/arch/x86/lib/init_helpers.c
index ac85278cdf0..0481f453ca6 100644
--- a/arch/x86/lib/init_helpers.c
+++ b/arch/x86/lib/init_helpers.c
@@ -18,10 +18,7 @@ __weak ulong board_get_usable_ram_top(ulong total_size)
int init_cache_f_r(void)
{
-#if (CONFIG_IS_ENABLED(X86_32BIT_INIT) || \
- (!defined(CONFIG_SPL_BUILD) && \
- !CONFIG_IS_ENABLED(CONFIG_X86_RUN_64BIT))) && \
- !defined(CONFIG_HAVE_FSP)
+#if CONFIG_IS_ENABLED(X86_32BIT_INIT) && !defined(CONFIG_HAVE_FSP)
int ret;
ret = mtrr_commit(false);