From 7b860ed45e44dc0428f82affe32db1201043eef6 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 28 Apr 2012 10:25:20 -0600 Subject: Add simple PMIO & PMIO2 read/write routines to CIMX wrapper These are the PMIO & PMIO2 read & write routines from src/southbridge/amd/sb800/sb800.c & sb800.h for use in the cimx tree. Currently most platforms using CIMX are calling WritePMIO() directly from the src/vendorcode/amd/cimx/sbX00 directories instead of using a wrapper function. These functions only do byte reads & writes. Change-Id: I881a6e2d4ddbba3dbdf4dd33e06313fe88b3682a Signed-off-by: Martin L Roth Reviewed-on: http://review.coreboot.org/981 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/southbridge/amd/cimx/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/southbridge/amd/cimx/Makefile.inc') diff --git a/src/southbridge/amd/cimx/Makefile.inc b/src/southbridge/amd/cimx/Makefile.inc index 80c6378c0d..a9ea8b9d18 100644 --- a/src/southbridge/amd/cimx/Makefile.inc +++ b/src/southbridge/amd/cimx/Makefile.inc @@ -19,3 +19,7 @@ subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB700) += sb700 subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800) += sb800 subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB900) += sb900 + +romstage-y += cimx_util.c + +ramstage-y += cimx_util.c -- cgit v1.2.3