HAOUAS Elyes has uploaded this change for review.

View Change

mb/apple/macbook21: Use DEBUG_RAM_SETUP

Also, the loglevel is never set to value of > 8.

Change-Id: Ief29e07be6ac075956bf0f9aee85b14eb89af44c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
---
M src/mainboard/apple/macbook21/romstage.c
1 file changed, 2 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/36496/1
diff --git a/src/mainboard/apple/macbook21/romstage.c b/src/mainboard/apple/macbook21/romstage.c
index ee5ba80..34cd378 100644
--- a/src/mainboard/apple/macbook21/romstage.c
+++ b/src/mainboard/apple/macbook21/romstage.c
@@ -226,9 +226,8 @@
/* Enable SPD ROMs and DDR-II DRAM */
enable_smbus();

-#if CONFIG_DEFAULT_CONSOLE_LOGLEVEL > 8
- dump_spd_registers();
-#endif
+ if (CONFIG(DEBUG_RAM_SETUP))
+ dump_spd_registers();

sdram_initialize(s3resume ? 2 : 0, spd_addrmap);


To view, visit change 36496. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ief29e07be6ac075956bf0f9aee85b14eb89af44c
Gerrit-Change-Number: 36496
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-MessageType: newchange