include/console/console.h: Enable console for ENV_TEST
`tests/stubs/console.c` also implements printk for our test functions. Change-Id: Ic6ad8832515b90f4706cb9c5b9d9525a25485992 Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90831 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
parent
71296476a8
commit
cbca308a05
1 changed files with 2 additions and 1 deletions
|
|
@ -45,7 +45,8 @@ static inline int get_console_loglevel(void)
|
|||
((ENV_BOOTBLOCK && CONFIG(BOOTBLOCK_CONSOLE)) || \
|
||||
(ENV_POSTCAR && CONFIG(POSTCAR_CONSOLE)) || \
|
||||
ENV_SEPARATE_VERSTAGE || ENV_SEPARATE_ROMSTAGE || ENV_RAMSTAGE || \
|
||||
ENV_LIBAGESA || (ENV_SMM && CONFIG(DEBUG_SMI)))
|
||||
ENV_LIBAGESA || (ENV_SMM && CONFIG(DEBUG_SMI)) || \
|
||||
ENV_TEST)
|
||||
|
||||
#if __CONSOLE_ENABLE__
|
||||
int get_log_level(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue