diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2015-10-10 13:50:30 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2015-10-11 15:01:18 +0000 |
commit | d73745178b6215f7c012ffa59bbebe9404e706ac (patch) | |
tree | 89ed751610be720a05c4d01ad417b6e802a2de44 /src/device/oprom/realmode | |
parent | fb69a69fce13d1a40d7ef1cb16a85586c6aabd1b (diff) |
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@gmail.com>
Reviewed-on: http://review.coreboot.org/11848
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'src/device/oprom/realmode')
-rw-r--r-- | src/device/oprom/realmode/x86.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/device/oprom/realmode/x86.c b/src/device/oprom/realmode/x86.c index 796c9fea93..b8f54f3039 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) |