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>
This commit is contained in:
Vladimir Serbinenko 2015-10-10 13:50:30 +02:00
parent fb69a69fce
commit d73745178b
1 changed files with 12 additions and 0 deletions

View File

@ -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)