src/console/init.c: Make get_log_level static inline again
CB:55356 removed static inline declarations from get_log_level(). This commit puts them back. It also changes the method of accessing static symbols in tests/console/routing-test to source file inclusion like in CB:46458 to avoid changing tested source file. Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: Iaa5dcbccb327f819374967be51ef642b1fb25e7b Reviewed-on: https://review.coreboot.org/c/coreboot/+/55473 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
2d2d61c7e1
commit
ab0bcaf732
@@ -4,11 +4,7 @@ tests-y += routing-with-cbmemcons-test
|
||||
tests-y += routing-without-cbmemcons-test
|
||||
|
||||
routing-with-cbmemcons-test-srcs += tests/console/routing-test.c
|
||||
routing-with-cbmemcons-test-srcs += src/console/init.c
|
||||
routing-with-cbmemcons-test-config += CONFIG_CONSOLE_CBMEM=1
|
||||
routing-with-cbmemcons-test-mocks += get_log_level
|
||||
|
||||
routing-without-cbmemcons-test-srcs += tests/console/routing-test.c
|
||||
routing-without-cbmemcons-test-srcs += src/console/init.c
|
||||
routing-without-cbmemcons-test-config += CONFIG_CONSOLE_CBMEM=0
|
||||
routing-without-cbmemcons-test-mocks += get_log_level
|
||||
|
Reference in New Issue
Block a user