From: Kevin O'Connor Date: Mon, 18 Feb 2013 16:49:53 +0000 (-0500) Subject: Disable handle_post() on CSM builds. X-Git-Tag: rel-1.7.3~75 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4cf2067f7cbf42be809e40e98a34cd00897667b0;p=seabios.git Disable handle_post() on CSM builds. This reduces the size of the CSM binary by a few bytes. Signed-off-by: Kevin O'Connor --- 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);