From 5f46af6325b5facb9a608b0f86595b92b98ed718 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 24 Jun 2017 13:24:26 -0600 Subject: cpu/amd: add IS_ENABLED() around Kconfig symbol references Some of these can be changed from #if to if(), but that will happen in a follow-on commmit. Change-Id: I9f4155285529ec28e826637a61436478f648704c Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20335 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/cpu/amd/geode_lx/syspreinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/amd/geode_lx') diff --git a/src/cpu/amd/geode_lx/syspreinit.c b/src/cpu/amd/geode_lx/syspreinit.c index 4a59d02c66..de6e141a94 100644 --- a/src/cpu/amd/geode_lx/syspreinit.c +++ b/src/cpu/amd/geode_lx/syspreinit.c @@ -32,7 +32,7 @@ static void StartTimer1(void) void SystemPreInit(void) { /* they want a jump ... */ -#if !CONFIG_CACHE_AS_RAM +#if !IS_ENABLED(CONFIG_CACHE_AS_RAM) __asm__ __volatile__("jmp .+2\ninvd\njmp .+2\n"); #endif StartTimer1(); -- cgit v1.2.3