coreboot-kgpe-d16/payloads/libpayload/drivers
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
..
serial libpayload/libc/console: Flush input driver buffer on init 2017-04-19 19:19:56 +02:00
storage libpayload: Add Cougar Point PCH's AHCI to whitelist 2016-12-08 01:36:01 +01:00
timer libpayload: timer: cast cpu_khz to make sure 64bit math is used 2017-01-06 18:40:44 +01:00
udc
usb libpayload: usbhub: Force enumeration of all connected ports on init 2017-03-15 00:54:23 +01:00
video libpayload: corebootfb: Add null check for framebuffer address 2017-06-27 02:16:10 +00:00
Makefile.inc libpayload: Replace majority of timer drivers with a generic one 2016-10-17 22:43:37 +02:00
cbmem_console.c Turn CBMEM console into a ring buffer that can persist across reboots 2017-04-20 00:29:07 +02:00
hid.c
keyboard.c libpayload/libc/console: Flush input driver buffer on init 2017-04-19 19:19:56 +02:00
nvram.c
options.c
pci.c
speaker.c