Matt Fleming 993c30a04e x86, tools: Consolidate #ifdef code
Instead of littering main() with #ifdef CONFIG_EFI_STUB, move the logic
into separate functions that do nothing if the config option isn't set.
This makes main() much easier to read.

Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
2014-03-04 21:23:35 +00:00
..
2014-03-04 21:23:35 +00:00
2008-04-19 19:19:54 +02:00
2009-03-11 11:00:00 -07:00
2011-12-12 14:26:10 -08:00
2009-07-04 12:56:32 -07:00