xref: /aosp_15_r20/external/coreboot/src/soc/mediatek/common/include/soc/dramc_common.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __SOC_MEDIATEK_DRAMC_COMMON_H__
4 #define __SOC_MEDIATEK_DRAMC_COMMON_H__
5 
6 #include <console/console.h>
7 
8 #define dramc_err(_x_...)  printk(BIOS_ERR, _x_)
9 #define dramc_info(_x_...) printk(BIOS_INFO, _x_)
10 #define dramc_show         dramc_info
11 #define dramc_dbg(_x_...) \
12 	do { \
13 		if (CONFIG(DEBUG_RAM_SETUP)) \
14 			printk(BIOS_INFO, _x_); \
15 	} while (0)
16 
17 #endif
18