mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: lib/coreboot_tables: Remove weak fill_lb_framebuffer()
Remove the weak function stub fill_lb_framebuffer() and guard with the
new `CONFIG_LINEAR_FRAMEBUFFER` instead.
BUG=none
BRANCH=none
TEST=none
Change-Id: Ibd4095700b0e89eb9c933df30af00e7acb43bb7f
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: ce768f3baf
Original-Change-Id: Ia9e477c2d501b249a632968b5636ac803323895a
Original-Signed-off-by: Nico Huber <nico.h@gmx.de>
Original-Reviewed-on: https://review.coreboot.org/19807
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Reviewed-on: https://chromium-review.googlesource.com/533049
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
This commit is contained in:
parent
e12e3b7a17
commit
5aec84cd4a
1 changed files with 1 additions and 6 deletions
|
@ -135,17 +135,12 @@ void lb_add_console(uint16_t consoletype, void *data)
|
|||
console->type = consoletype;
|
||||
}
|
||||
|
||||
int __attribute__((weak)) fill_lb_framebuffer(struct lb_framebuffer *fb)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
static void lb_framebuffer(struct lb_header *header)
|
||||
{
|
||||
struct lb_framebuffer *framebuffer;
|
||||
struct lb_framebuffer fb;
|
||||
|
||||
if (fill_lb_framebuffer(&fb))
|
||||
if (!IS_ENABLED(CONFIG_LINEAR_FRAMEBUFFER) || fill_lb_framebuffer(&fb))
|
||||
return;
|
||||
|
||||
framebuffer = (struct lb_framebuffer *)lb_new_record(header);
|
||||
|
|
Loading…
Add table
Reference in a new issue