[SeaBIOS] [PATCH] Disable handle_post() on CSM builds.
Kevin O'Connor
kevin at koconnor.net
Mon Feb 18 17:50:46 CET 2013
This reduces the size of the CSM binary by a few bytes.
Signed-off-by: Kevin O'Connor <kevin at 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
More information about the SeaBIOS
mailing list