From e1058c7c996fa70e6a82d5709cba6f2b836f0e18 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sun, 11 Jun 2017 09:39:11 +0200 Subject: cpu/amd/fam10/ram_calc: Remove superfluous guard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AMD_FAM10H code enables early cbmem by default. Change-Id: Ifad007f6604bb612d544cf1387938a8fef1cceb4 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/20148 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Philippe Mathieu-Daudé --- src/cpu/amd/family_10h-family_15h/ram_calc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/cpu') diff --git a/src/cpu/amd/family_10h-family_15h/ram_calc.c b/src/cpu/amd/family_10h-family_15h/ram_calc.c index 4fe997e0fa..62b7da377c 100644 --- a/src/cpu/amd/family_10h-family_15h/ram_calc.c +++ b/src/cpu/amd/family_10h-family_15h/ram_calc.c @@ -26,7 +26,6 @@ #include "ram_calc.h" -#if !IS_ENABLED(CONFIG_LATE_CBMEM_INIT) static inline uint8_t is_fam15h(void) { uint8_t fam15h = 0; @@ -96,4 +95,3 @@ void *cbmem_top(void) return (void *) topmem - get_uma_memory_size(topmem) - get_cc6_memory_size(); } -#endif -- cgit v1.2.3