From 2164c308b45aa6d1e1e45e62b9cec7aeb2c9cb9d Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 26 Jan 2022 13:47:34 +0100 Subject: include/device/dram/ddr3.h: Don't redefine 'printram(x, ...)' 'printram(x, ...)' is already defined in 'include/device/dram/common.h' file Change-Id: I75e19065b9e713df3190202b7ca9e9cd8f3f44a6 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/61403 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/include/device/dram/ddr3.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/include') diff --git a/src/include/device/dram/ddr3.h b/src/include/device/dram/ddr3.h index 9ec5248af7..b109a15a61 100644 --- a/src/include/device/dram/ddr3.h +++ b/src/include/device/dram/ddr3.h @@ -32,21 +32,6 @@ #define SPD_DIMM_PART_LEN 18 /** @} */ -/** - * \brief Convenience macro for enabling printk with CONFIG(DEBUG_RAM_SETUP) - * - * Use this macro instead of printk(); for verbose RAM initialization messages. - * When CONFIG(DEBUG_RAM_SETUP) is not selected, these messages are automatically - * disabled. - * @{ - */ -#if CONFIG(DEBUG_RAM_SETUP) -#define printram(x, ...) printk(BIOS_DEBUG, x, ##__VA_ARGS__) -#else -#define printram(x, ...) -#endif -/** @} */ - /* * Module type (byte 3, bits 3:0) of SPD * This definition is specific to DDR3. DDR2 SPDs have a different structure. -- cgit v1.2.3