summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/edid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/edid.c b/src/lib/edid.c
index 4d2d55db7b..2242d1c3d5 100644
--- a/src/lib/edid.c
+++ b/src/lib/edid.c
@@ -1489,6 +1489,7 @@ void set_vbe_mode_info_valid(struct edid *edid, uintptr_t fb_addr)
vbe_valid = 1;
}
+#if IS_ENABLED(CONFIG_NATIVE_VGA_INIT_USE_EDID)
int vbe_mode_info_valid(void)
{
return vbe_valid;
@@ -1498,3 +1499,4 @@ void fill_lb_framebuffer(struct lb_framebuffer *framebuffer)
{
*framebuffer = edid_fb;
}
+#endif