diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-02-18 11:49:53 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-18 11:49:53 -0500 |
commit | 4cf2067f7cbf42be809e40e98a34cd00897667b0 (patch) | |
tree | 5ba7b4ef9486188c878d58196dd3ac6ea8b2f181 /src/post.c | |
parent | 41fb363927bf31e3e999fad970d155a0fe5f4e76 (diff) | |
download | seabios-4cf2067f7cbf42be809e40e98a34cd00897667b0.tar.gz |
Disable handle_post() on CSM builds.
This reduces the size of the CSM binary by a few bytes.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/post.c')
-rw-r--r-- | src/post.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |