summaryrefslogtreecommitdiff
path: root/src/soc/cavium/common/Makefile.inc
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2019-02-22 12:05:16 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-02-25 11:18:32 +0000
commitb94ecc4e696cc63e2772657c915670c3fe057f5c (patch)
tree60dc5bb25d18e29a52fadf89542f702f2732334a /src/soc/cavium/common/Makefile.inc
parent99850600d06f837759d2404f03dc908969ed42c3 (diff)
soc/cavium/common: Make ecam0_get_bar_val common
Move ecam0_get_bar_val into the common folder and make it public. Compile it for romstage and ramstage. To be used by romstage PCI code. Tested on OpenCellular Elgon. Change-Id: I18b1ede56795bf8c1f9476592291b8ea610eccd4 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/31566 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/cavium/common/Makefile.inc')
-rw-r--r--src/soc/cavium/common/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/cavium/common/Makefile.inc b/src/soc/cavium/common/Makefile.inc
index ecde220667..96e38c3b0c 100644
--- a/src/soc/cavium/common/Makefile.inc
+++ b/src/soc/cavium/common/Makefile.inc
@@ -25,11 +25,13 @@ bootblock-$(CONFIG_BOOTBLOCK_CUSTOM) += bootblock.c
# romstage
romstage-y += bdk-coreboot.c
+romstage-y += ecam.c
################################################################################
# ramstage
ramstage-y += bdk-coreboot.c
+ramstage-y += ecam.c
CPPFLAGS_common += -Isrc/soc/cavium/common/include