diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2017-04-16 01:42:44 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-04-24 19:10:09 +0200 |
commit | 6955b9c5b2df5a12f93fb10457330df54a186a17 (patch) | |
tree | 978ef9f9b969b2f2ffcfaa3dc550d0f4cfa416ba /.clang-format | |
parent | ee049fa8027745d8bd90e7abe8aa8a9646d390a8 (diff) |
northbridge/haswell: clean up native graphics init code
Clean up NGI code now that libgfxinit has replaced old C code:
- replace #if preprocessor guards with if (IS_ENABLED(...))
- don't guard variable declarations
- remove code that would only be executed for old NGI / isn't
used by libgfxinit
Test: boot google/wolf with VBIOS, NGI, and UEFI/GOP video init,
observe payload and pre-OS graphics display functional.
Change-Id: I96e74f49ea70e09cbac6f8af561de3e18fa7d260
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/19327
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions