summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorJan Samek <jan.samek@siemens.com>2023-01-17 15:39:24 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-01-19 16:33:21 +0000
commit2a959be092ebb2be37f3fa6fa29fc0738bc46725 (patch)
tree9ecac084b1149c4491321b506a163cb8474803f7 /src/mainboard
parent9abc411c8995069d6125d96bee083ca9e75ca7f6 (diff)
mb/siemens/mc_ehl3: Use device/mmio.h instead of device/pci_ops.h
The {read,write}{16,32}() functions used in this file come from the mmio.h header, so include it directly. BUG=none TEST=Read out the SD card controller (device 1a.1) PCI registers in Linux and check whether the values reflect the ones defined in this file. Change-Id: Iff7b55ef2bf98371b7d7d9114ccf3ebed64772a2 Signed-off-by: Jan Samek <jan.samek@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72009 Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/siemens/mc_ehl/variants/mc_ehl3/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl3/mainboard.c b/src/mainboard/siemens/mc_ehl/variants/mc_ehl3/mainboard.c
index e25934848b..ca52e7bbf1 100644
--- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl3/mainboard.c
+++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl3/mainboard.c
@@ -2,7 +2,7 @@
#include <baseboard/variants.h>
#include <bootstate.h>
-#include <device/pci_ops.h>
+#include <device/mmio.h>
#include <gpio.h>
#include <soc/pci_devs.h>