coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
dramc_common.h
Go to the documentation of this file.
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