diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2015-09-05 17:50:29 -0500 |
---|---|---|
committer | Jonathan A. Kollasch <jakllsch@kollasch.net> | 2015-10-24 21:33:07 +0200 |
commit | 1c4508e77c32e2db7ecba49fe92159242d831f56 (patch) | |
tree | d2b88b87c525a24b02455850245858202016df11 /src/cpu/amd/model_10xxx/ram_calc.c | |
parent | 1fec04b47e3ebcde3a1b34b81120e3b83c88f323 (diff) |
cpu/amd: Add initial support for AMD Socket G34 processors
Change-Id: Iccd034f32c26513edd52ca3a11a30f61c362682d
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/11940
Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Diffstat (limited to 'src/cpu/amd/model_10xxx/ram_calc.c')
-rw-r--r-- | src/cpu/amd/model_10xxx/ram_calc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/amd/model_10xxx/ram_calc.c b/src/cpu/amd/model_10xxx/ram_calc.c index c8637c9fa0..46ccdbd151 100644 --- a/src/cpu/amd/model_10xxx/ram_calc.c +++ b/src/cpu/amd/model_10xxx/ram_calc.c @@ -26,6 +26,7 @@ #include "ram_calc.h" +#if !IS_ENABLED(CONFIG_LATE_CBMEM_INIT) uint64_t get_uma_memory_size(uint64_t topmem) { uint64_t uma_size = 0; @@ -50,3 +51,4 @@ void *cbmem_top(void) return (void *) topmem - get_uma_memory_size(topmem); } +#endif |