diff options
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/pc80/vga/Kconfig | 5 | ||||
-rw-r--r-- | src/drivers/pc80/vga/Makefile.inc | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/drivers/pc80/vga/Kconfig b/src/drivers/pc80/vga/Kconfig index 7da71afcfb..0df65bc349 100644 --- a/src/drivers/pc80/vga/Kconfig +++ b/src/drivers/pc80/vga/Kconfig @@ -2,3 +2,8 @@ config VGA bool help Include legacy VGA support code. + +config ROMSTAGE_VGA + bool + help + Include legacy VGA support code in romstage. diff --git a/src/drivers/pc80/vga/Makefile.inc b/src/drivers/pc80/vga/Makefile.inc index 3e31de1ddf..f7ec2b5025 100644 --- a/src/drivers/pc80/vga/Makefile.inc +++ b/src/drivers/pc80/vga/Makefile.inc @@ -1,5 +1,10 @@ ifeq ($(CONFIG_ARCH_X86),y) +romstage-$(CONFIG_ROMSTAGE_VGA) += vga_io.c +romstage-$(CONFIG_ROMSTAGE_VGA) += vga_palette.c +romstage-$(CONFIG_ROMSTAGE_VGA) += vga_font_8x16.c +romstage-$(CONFIG_ROMSTAGE_VGA) += vga.c + ramstage-$(CONFIG_VGA) += vga_io.c ramstage-$(CONFIG_VGA) += vga_palette.c ramstage-$(CONFIG_VGA) += vga_font_8x16.c |