soc/amd/common/psp/psp_def.h: increase P2C_BUFFER_MAXSIZE
[coreboot2.git] / src / include / console / debug.h
blob174c287c6ae1a70beab25d422dce11ed8089a9b8
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef _CONSOLE_DEBUG_H_
4 #define _CONSOLE_DEBUG_H_
6 #if CONFIG(DEBUG_FUNC)
7 #include <console/console.h>
9 #define FUNC_ENTER() \
10 printk(BIOS_SPEW, "%s:%s:%d: ENTER\n", __FILE__, __func__, __LINE__)
12 #define FUNC_EXIT() \
13 printk(BIOS_SPEW, "%s:%s:%d: EXIT\n", __FILE__, __func__, __LINE__)
15 #else /* FUNC_DEBUG */
17 #define FUNC_ENTER()
18 #define FUNC_EXIT()
20 #endif /* FUNC_DEBUG */
22 #endif