diff options
author | Patrick Rudolph <siro@das-labor.org> | 2018-10-14 11:34:04 +0200 |
---|---|---|
committer | Patrick Rudolph <siro@das-labor.org> | 2018-11-12 18:41:12 +0000 |
commit | aece006b38d7ee166f35b8affca4c2f02fd501f9 (patch) | |
tree | b5acd8ef85e52cedb8cc69dce047005bb6b3a08f /util/showdevicetree | |
parent | 1af89237094246216c6f60d77d74690a39907999 (diff) |
util/intelvbttool: Cleanup and fixes
* Clear remalloced memory
* Fix check for invalid VBT offset in header
* Fix VBIOS checksum generation
* Fix VBIOS size field
* Align VBIOS size to multiple of 512
* Reassign pointers after use of remalloc
* Don't leak on error path
Current version is enough to allow the proprietary Windows Intel GMA
driver to find the VBT in the legacy VBIOS area and it doesn't BSOD
any more.
The LVDS screen remains black, due to an unknown issue with the
proprietary driver, while the VGA works.
Tested with libgfxinit and native graphics init.
Change-Id: If07b1bb51d8fb3499d13102f70fedb36c020fb72
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/29099
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/showdevicetree')
0 files changed, 0 insertions, 0 deletions