summaryrefslogtreecommitdiff
path: root/src/soc/cavium/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/cavium/common')
-rw-r--r--src/soc/cavium/common/include/soc/ecam.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/soc/cavium/common/include/soc/ecam.h b/src/soc/cavium/common/include/soc/ecam.h
index b0f10dc32e..534c165d73 100644
--- a/src/soc/cavium/common/include/soc/ecam.h
+++ b/src/soc/cavium/common/include/soc/ecam.h
@@ -3,14 +3,8 @@
#ifndef __COREBOOT_SRC_SOC_CAVIUM_COMMON_INCLUDE_SOC_ECAM_H
#define __COREBOOT_SRC_SOC_CAVIUM_COMMON_INCLUDE_SOC_ECAM_H
-#ifdef __SIMPLE_DEVICE__
#include <device/pci_type.h>
uint64_t ecam0_get_bar_val(pci_devfn_t dev, u8 bar);
-#else
-#include <device/device.h>
-
-uint64_t ecam0_get_bar_val(struct device *dev, u8 bar);
-#endif
#endif