coreboot/src
Alexandru Gagniuc 9647094672 intel/sandybridge: Do not guard native VGA init by #ifdefs
We don't build-test with native VGA init, so if the code is broken by
a commit, we won't see it when it's guarded by #ifdefs. This has
already happened in the past. Instead of gurading entire files, use
the IS_ENABLED() macro, and return early. This at least enables us to
build-test the code to some extent, while linker garbage collection
will removed unused parts.

BONUS: Indenting some blocks also makes the difference between
framebuffer init and textmode init clearer.

Change-Id: I334cdee214872f967ae090170d61a0e4951c6b35
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/11586
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2015-09-07 23:51:25 +00:00
..
acpi acpi/sata: add generic sata ssdt port generator 2015-06-07 01:24:47 +02:00
arch Drop "See file CREDITS..." comment 2015-09-07 15:54:50 +00:00
console consoles: remove unused infrastructure 2015-05-26 19:02:54 +02:00
cpu amd/geode_lx: make done_cache_as_ram_main global 2015-09-05 15:26:25 +00:00
device symbols: add '_' to pci_drivers and cpu_drivers symbols 2015-09-05 15:36:23 +00:00
drivers intel: Do not hardcode the position of mrc.cache 2015-09-07 17:40:32 +00:00
ec Drop "See file CREDITS..." comment 2015-09-07 15:54:50 +00:00
include Drop "See file CREDITS..." comment 2015-09-07 15:54:50 +00:00
lib Drop "See file CREDITS..." comment 2015-09-07 15:54:50 +00:00
mainboard intel: Do not hardcode the position of mrc.cache 2015-09-07 17:40:32 +00:00
northbridge intel/sandybridge: Do not guard native VGA init by #ifdefs 2015-09-07 23:51:25 +00:00
soc Drop "See file CREDITS..." comment 2015-09-07 15:54:50 +00:00
southbridge Drop "See file CREDITS..." comment 2015-09-07 15:54:50 +00:00
superio superio/smsc: Add support for SMSC DME1737 2015-07-13 17:11:00 +02:00
vendorcode Chromeos: Remove Kconfig workaround for VIRTUAL_DEV_SWITCH warnings 2015-08-26 15:46:09 +00:00
Kconfig Kconfig: Remove EXPERT mode 2015-08-30 07:50:47 +00:00