summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-06-01 15:54:14 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-04 08:24:33 +0000
commita59333941b7e7d8ab509472807d73b2682bdb2ac (patch)
treeb56947a6a999abad339880d0792d3a29e66eb101 /src
parent24635338335e30ebca94c7fe81b536622923481f (diff)
downloadcoreboot-a59333941b7e7d8ab509472807d73b2682bdb2ac.tar.xz
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 <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/26754 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/device/Kconfig2
1 files changed, 1 insertions, 1 deletions
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