[coreboot-gerrit] Patch set updated for coreboot: realmode/x86: Export vbe_mode_info_valid also in text mode.
Vladimir Serbinenko (phcoder@gmail.com)
gerrit at coreboot.org
Sat Oct 10 23:21:09 CEST 2015
Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11848
-gerrit
commit ec39502fff16acc7256b3ea038cc8ff34b192957
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date: Sat Oct 10 13:50:30 2015 +0200
realmode/x86: Export vbe_mode_info_valid also in text mode.
Fixes linking error. Specifies that we're in text mode.
Change-Id: I7ad258961039c19e1491e2b3832b003671d8a5c7
Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
src/device/oprom/realmode/x86.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/device/oprom/realmode/x86.c b/src/device/oprom/realmode/x86.c
index 796c9fe..b8f54f3 100644
--- a/src/device/oprom/realmode/x86.c
+++ b/src/device/oprom/realmode/x86.c
@@ -316,6 +316,18 @@ void fill_lb_framebuffer(struct lb_framebuffer *framebuffer)
framebuffer->reserved_mask_pos = mode_info.vesa.reserved_mask_pos;
framebuffer->reserved_mask_size = mode_info.vesa.reserved_mask_size;
}
+
+#else
+
+int vbe_mode_info_valid(void)
+{
+ return 0;
+}
+
+void fill_lb_framebuffer(struct lb_framebuffer *framebuffer)
+{
+}
+
#endif
void run_bios(struct device *dev, unsigned long addr)
More information about the coreboot-gerrit
mailing list