diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2017-06-11 09:39:11 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-06-13 18:57:24 +0200 |
commit | e1058c7c996fa70e6a82d5709cba6f2b836f0e18 (patch) | |
tree | fc3f0602be76ae4e9b5f7266cc9833faa3c65b1d | |
parent | a00d84536be8f870da9e350bb375c1e4cccfde7c (diff) |
cpu/amd/fam10/ram_calc: Remove superfluous guard
AMD_FAM10H code enables early cbmem by default.
Change-Id: Ifad007f6604bb612d544cf1387938a8fef1cceb4
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/20148
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
-rw-r--r-- | src/cpu/amd/family_10h-family_15h/ram_calc.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 |