[coreboot-gerrit] Change in coreboot[master]: [TEST]cpu/amd/fam10/ram_calc: Remove superfluous guard

Arthur Heymans (Code Review) gerrit at coreboot.org
Sun Jun 11 09:38:59 CEST 2017


Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/20148


Change subject: [TEST]cpu/amd/fam10/ram_calc: Remove superfluous guard
......................................................................

[TEST]cpu/amd/fam10/ram_calc: Remove superfluous guard

Change-Id: Ifad007f6604bb612d544cf1387938a8fef1cceb4
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
M src/cpu/amd/family_10h-family_15h/ram_calc.c
1 file changed, 0 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/20148/1

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 4fe997e..62b7da3 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 @@
 
 	return (void *) topmem - get_uma_memory_size(topmem) - get_cc6_memory_size();
 }
-#endif

-- 
To view, visit https://review.coreboot.org/20148
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifad007f6604bb612d544cf1387938a8fef1cceb4
Gerrit-Change-Number: 20148
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>



More information about the coreboot-gerrit mailing list