summaryrefslogtreecommitdiffstats
path: root/src/mainboard/bcom
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-04-03 15:50:39 +0200
committerMartin Roth <martinroth@google.com>2017-04-06 05:09:56 +0200
commit8bd6c538741a75d89a8f5e6d08d8b1ae9b2dba07 (patch)
treee6993ee088a1e1b1cf7ea936680c4b5368d91194 /src/mainboard/bcom
parent05a6f29d32c246569b7a0561d35ccbf49eec1fb8 (diff)
downloadcoreboot-8bd6c538741a75d89a8f5e6d08d8b1ae9b2dba07.tar.gz
coreboot-8bd6c538741a75d89a8f5e6d08d8b1ae9b2dba07.tar.bz2
coreboot-8bd6c538741a75d89a8f5e6d08d8b1ae9b2dba07.zip
northbridge/via/cn700: Get rid of #include raminit.c
Using linker instead of '#include *.c'. Change-Id: Ie1bc538aa29c4f18dd6f31a83d3da58f196f2078 Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Reviewed-on: https://review.coreboot.org/19081 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/bcom')
-rw-r--r--src/mainboard/bcom/winnetp680/romstage.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/bcom/winnetp680/romstage.c b/src/mainboard/bcom/winnetp680/romstage.c
index 5f6f29a33a7c..0c560743982f 100644
--- a/src/mainboard/bcom/winnetp680/romstage.c
+++ b/src/mainboard/bcom/winnetp680/romstage.c
@@ -33,13 +33,11 @@
#define SERIAL_DEV PNP_DEV(0x2e, W83697HF_SP1)
-static inline int spd_read_byte(unsigned device, unsigned address)
+int spd_read_byte(unsigned device, unsigned address)
{
return smbus_read_byte(device, address);
}
-#include "northbridge/via/cn700/raminit.c"
-
static void enable_mainboard_devices(void)
{
pci_devfn_t dev;