From a59333941b7e7d8ab509472807d73b2682bdb2ac Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Fri, 1 Jun 2018 15:54:14 +0200 Subject: device: Only expose VGA_ROM_RUN on supported architectures The yabel emulator depends on IO ports, that aren't available on ARM and MIPS. Add additional dependencies to fix compilation errors with the default configuration. Change-Id: If0e28b356c01cb3ae0739a54aa3531a2acedbfbb Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/26754 Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- src/device/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/device/Kconfig b/src/device/Kconfig index a36b2e1f4d..3d1d3fe52a 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -85,7 +85,7 @@ config MAINBOARD_USE_LIBGFXINIT # TODO: Explain differences (if any) for onboard cards. config VGA_ROM_RUN bool "Run VGA Option ROMs" - depends on PCI && !MAINBOARD_FORCE_NATIVE_VGA_INIT + depends on PCI && (ARCH_X86 || ARCH_POWER8) && !MAINBOARD_FORCE_NATIVE_VGA_INIT select HAVE_VGA_TEXT_FRAMEBUFFER help Execute VGA Option ROMs in coreboot if found. This can be used -- cgit v1.2.3