aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/bcom/winnetp680/romstage.c4
-rw-r--r--src/mainboard/jetway/j7f2/romstage.c4
-rw-r--r--src/mainboard/via/epia-cn/romstage.c4
-rw-r--r--src/mainboard/via/pc2500e/romstage.c4
4 files changed, 4 insertions, 12 deletions
diff --git a/src/mainboard/bcom/winnetp680/romstage.c b/src/mainboard/bcom/winnetp680/romstage.c
index 5f6f29a33a..0c56074398 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;
diff --git a/src/mainboard/jetway/j7f2/romstage.c b/src/mainboard/jetway/j7f2/romstage.c
index d479072223..393f5e6764 100644
--- a/src/mainboard/jetway/j7f2/romstage.c
+++ b/src/mainboard/jetway/j7f2/romstage.c
@@ -37,13 +37,11 @@
#define SERIAL_DEV PNP_DEV(0x2e, F71805F_SP1)
#endif
-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;
diff --git a/src/mainboard/via/epia-cn/romstage.c b/src/mainboard/via/epia-cn/romstage.c
index 3ecb97bc21..5293aa6387 100644
--- a/src/mainboard/via/epia-cn/romstage.c
+++ b/src/mainboard/via/epia-cn/romstage.c
@@ -30,13 +30,11 @@
#include "southbridge/via/vt8237r/early_serial.c"
#include <spd.h>
-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;
diff --git a/src/mainboard/via/pc2500e/romstage.c b/src/mainboard/via/pc2500e/romstage.c
index 7d12e872d2..2f002be40e 100644
--- a/src/mainboard/via/pc2500e/romstage.c
+++ b/src/mainboard/via/pc2500e/romstage.c
@@ -33,13 +33,11 @@
#define SERIAL_DEV PNP_DEV(0x2e, IT8716F_SP1)
-static int spd_read_byte(u16 device, u16 address)
+int spd_read_byte(unsigned device, unsigned address)
{
return smbus_read_byte(device, address);
}
-#include "northbridge/via/cn700/raminit.c"
-
static const struct mem_controller ctrl = {
.d0f0 = 0x0000,
.d0f2 = 0x2000,