diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/coreboot_table.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c index f3cdb0bb14..aa6c7a51d6 100644 --- a/src/lib/coreboot_table.c +++ b/src/lib/coreboot_table.c @@ -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); |