summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-10-17 13:52:19 -0600
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-25 17:15:58 +0000
commit771806da4996ab6f1b6a920bbf9ba21fb9e45474 (patch)
tree3dd1d8c951cecb8825a5637cfed484c27946469d /src/include
parentf6fea4fd075a82b9ed66515f98e646c5d59d6a58 (diff)
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>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/console/console.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h
index e4090af48b..49bce61470 100644
--- a/src/include/console/console.h
+++ b/src/include/console/console.h
@@ -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, ...) \