diff options
author | Julius Werner <jwerner@chromium.org> | 2019-06-27 16:52:37 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2019-06-29 00:31:14 +0000 |
commit | ce4d39d2d74817e88c8804c1a55ad417301466f7 (patch) | |
tree | 00bc640a171bf416036cf012308f702971def9c9 /src/lib/string.c | |
parent | c22ebc9339bf75ab55bbb885ede0c63314f46014 (diff) |
libpayload: cbgfx: Run cbgfx_init() before we need it for draw_box()
calculate_color() uses the 'fbinfo' global that is initialized by
cbgfx_init(), so we need to run the latter before we can run the former
or we get a null pointer access.
Change-Id: I73ca8e20ca36f64d699379d504fd41dc2084f157
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33855
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'src/lib/string.c')
0 files changed, 0 insertions, 0 deletions