console: Add an SoC-specific post-code call

Add a post-code call that SoCs can hook to output or save in any way
that is specific to that SoC.

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I0369e4362840d7506d301105d8e1e2fd865919f4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68545
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Martin Roth
2022-10-17 13:52:19 -06:00
committed by Martin Roth
parent f6fea4fd07
commit 771806da49
2 changed files with 4 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
void post_code(u8 value);
void mainboard_post(u8 value);
void arch_post_code(u8 value);
void soc_post_code(uint8_t value);
void __noreturn die(const char *fmt, ...);
#define die_with_post_code(value, fmt, ...) \