summaryrefslogtreecommitdiff
path: root/src/mainboard/pcengines
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2013-06-04 17:34:35 +0200
committerRonald G. Minnich <rminnich@gmail.com>2013-06-04 17:56:35 +0200
commitc4e07bb50345f1b95ae2f80fc42694d3533c628e (patch)
tree50a352906a905c42535819cbe7ec4a6ef991c5be /src/mainboard/pcengines
parent4eb5aa2894b1115909a672470bb22c7804c20561 (diff)
downloadcoreboot-c4e07bb50345f1b95ae2f80fc42694d3533c628e.tar.xz
AMD Northbridge LX: convert spd_read_byte() to non-static version
Change-Id: Ie329606852dfd7109acb694e9a9ff851b023cc63 Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-on: http://review.coreboot.org/3369 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/pcengines')
-rw-r--r--src/mainboard/pcengines/alix1c/romstage.c2
-rw-r--r--src/mainboard/pcengines/alix2d/romstage.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/pcengines/alix1c/romstage.c b/src/mainboard/pcengines/alix1c/romstage.c
index 165940ddee..3bed6b11c4 100644
--- a/src/mainboard/pcengines/alix1c/romstage.c
+++ b/src/mainboard/pcengines/alix1c/romstage.c
@@ -80,7 +80,7 @@ static const u8 spdbytes[] = {
[SPD_tRRD] = 10,
};
-static u8 spd_read_byte(u8 device, u8 address)
+int spd_read_byte(unsigned int device, unsigned int address)
{
print_debug("spd_read_byte dev ");
print_debug_hex8(device);
diff --git a/src/mainboard/pcengines/alix2d/romstage.c b/src/mainboard/pcengines/alix2d/romstage.c
index 377b193d3b..2f63a6975b 100644
--- a/src/mainboard/pcengines/alix2d/romstage.c
+++ b/src/mainboard/pcengines/alix2d/romstage.c
@@ -79,7 +79,7 @@ static const u8 spdbytes[] = {
[SPD_tRRD] = 10,
};
-static u8 spd_read_byte(u8 device, u8 address)
+int spd_read_byte(unsigned int device, unsigned int address)
{
print_debug("spd_read_byte dev ");
print_debug_hex8(device);