From 1b4de5c600f333ef32706db8d2883642b078f8bd Mon Sep 17 00:00:00 2001 From: Victor Ding Date: Tue, 10 Nov 2020 23:46:04 +1100 Subject: Disable ENE_LPC and MEC1308 on non-x86 arch Both requires PCI port I/O and hence works only on x86. TEST=builds on Ubuntu for Raspberry Pi Signed-off-by: Victor Ding Change-Id: I69e1fbd87819b0b6370f31e9ee4c474500fb3759 Reviewed-on: https://review.coreboot.org/c/flashrom/+/47394 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Edward O'Callaghan --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 225db9d6..04986240 100644 --- a/Makefile +++ b/Makefile @@ -544,6 +544,16 @@ UNSUPPORTED_FEATURES += CONFIG_SATAMV=yes else override CONFIG_SATAMV = no endif +ifeq ($(CONFIG_ENE_LPC), yes) +UNSUPPORTED_FEATURES += CONFIG_ENE_LPC=yes +else +override CONFIG_ENE_LPC = no +endif +ifeq ($(CONFIG_MEC1308), yes) +UNSUPPORTED_FEATURES += CONFIG_MEC1308=yes +else +override CONFIG_MEC1308 = no +endif endif # Disable all drivers needing raw access (memory, PCI, port I/O) on -- cgit v1.2.3