summaryrefslogtreecommitdiff
path: root/src/mainboard/arima/hdama
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2015-09-07 03:06:31 -0700
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2015-09-07 23:51:25 +0000
commit9647094672eb2ea31c6192de92028614164b9d9c (patch)
tree620b443ba6719e62712627829b7d1b258a29735a /src/mainboard/arima/hdama
parent8ac492999a57aa112fbcc063c6e0689d2c5d4776 (diff)
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>
Diffstat (limited to 'src/mainboard/arima/hdama')
0 files changed, 0 insertions, 0 deletions