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>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36496
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Evgeny Zinoviev <me@ch1p.io>
This commit is contained in:
Elyes HAOUAS 2019-10-31 08:22:34 +01:00 committed by Patrick Georgi
parent 7011e546e1
commit 57248c2b8c
1 changed files with 2 additions and 3 deletions

View File

@ -226,9 +226,8 @@ void mainboard_romstage_entry(void)
/* Enable SPD ROMs and DDR-II DRAM */
enable_smbus();
#if CONFIG_DEFAULT_CONSOLE_LOGLEVEL > 8
if (CONFIG(DEBUG_RAM_SETUP))
dump_spd_registers();
#endif
sdram_initialize(s3resume ? 2 : 0, spd_addrmap);