coreboot-kgpe-d16/payloads
Duncan Laurie 98409cff92 libpayload: corebootfb: Add null check for framebuffer address
If the framebuffer address is zero the corebootfb_init() function
should abort and not attempt to use it for video, otherwise it
will likely hang.

This was tested by booting on a board that does not have a display
attached and includes the previous patch to zero the framebuffer
structure in the coreboot tables.

Change-Id: I53ca2e947a7915cebb31b51e11ac6c310d9d6c55
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/20368
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2017-06-27 02:16:10 +00:00
..
bayou payloads: change coreboot to lowercase 2017-06-07 12:08:55 +02:00
coreinfo payloads: change coreboot to lowercase 2017-06-07 12:08:55 +02:00
external payloads: change coreboot to lowercase 2017-06-07 12:08:55 +02:00
libpayload libpayload: corebootfb: Add null check for framebuffer address 2017-06-27 02:16:10 +00:00
nvramcui nvramcui: Use regular `if` over `#if` for `IS_ENABLED` 2017-06-06 23:34:19 +02:00
Kconfig payloads/Kconfig: Add NO_DEFAULT_PAYLOAD 2017-06-07 13:10:48 +02:00
Makefile.inc tint: Fix tint and add Kconfig option 2016-06-28 18:29:48 +02:00