Edward O'Callaghan submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved Edward O'Callaghan: Looks good to me, approved
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 <victording@google.com>
Change-Id: I69e1fbd87819b0b6370f31e9ee4c474500fb3759
Reviewed-on: https://review.coreboot.org/c/flashrom/+/47394
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
---
M Makefile
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 225db9d..0498624 100644
--- a/Makefile
+++ b/Makefile
@@ -544,6 +544,16 @@
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

To view, visit change 47394. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I69e1fbd87819b0b6370f31e9ee4c474500fb3759
Gerrit-Change-Number: 47394
Gerrit-PatchSet: 2
Gerrit-Owner: Victor Ding <victording@google.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged