This reduces the size of the CSM binary by a few bytes.
Signed-off-by: Kevin O'Connor <[email protected]>
---
src/post.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/post.c b/src/post.c
index cf0d9b4..7f096de 100644
--- a/src/post.c
+++ b/src/post.c
@@ -313,6 +313,9 @@ dopost(void)
void VISIBLE32FLAT
handle_post(void)
{
+ if (!CONFIG_QEMU && !CONFIG_COREBOOT)
+ return;
+
debug_serial_preinit();
dprintf(1, "Start bios (version %s)\n", VERSION);
--
1.7.11.7
_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios