This reduces the size of the CSM binary by a few bytes.

Signed-off-by: Kevin O'Connor <ke...@koconnor.net>
---
 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
SeaBIOS@seabios.org
http://www.seabios.org/mailman/listinfo/seabios

Reply via email to