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>
This commit is contained in:
parent
a00d84536b
commit
e1058c7c99
1 changed files with 0 additions and 2 deletions
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
#include "ram_calc.h"
|
#include "ram_calc.h"
|
||||||
|
|
||||||
#if !IS_ENABLED(CONFIG_LATE_CBMEM_INIT)
|
|
||||||
static inline uint8_t is_fam15h(void)
|
static inline uint8_t is_fam15h(void)
|
||||||
{
|
{
|
||||||
uint8_t fam15h = 0;
|
uint8_t fam15h = 0;
|
||||||
|
@ -96,4 +95,3 @@ void *cbmem_top(void)
|
||||||
|
|
||||||
return (void *) topmem - get_uma_memory_size(topmem) - get_cc6_memory_size();
|
return (void *) topmem - get_uma_memory_size(topmem) - get_cc6_memory_size();
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in a new issue