summaryrefslogtreecommitdiff
path: root/src/mainboard/via/epia
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-10-01 22:25:36 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-10-01 22:25:36 +0000
commit7cf52c979f784573ad9d9e18207e04afb542945b (patch)
tree02a057823bd04e2f4d6d35ff27a335afd71d1e6c /src/mainboard/via/epia
parent14e72218f3d60531733834c7b23ea882420fb0f1 (diff)
downloadcoreboot-7cf52c979f784573ad9d9e18207e04afb542945b.tar.xz
fixes for epia.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1172 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via/epia')
-rw-r--r--src/mainboard/via/epia/auto.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/via/epia/auto.c b/src/mainboard/via/epia/auto.c
index fe999b0608..c11f57297f 100644
--- a/src/mainboard/via/epia/auto.c
+++ b/src/mainboard/via/epia/auto.c
@@ -40,7 +40,9 @@ static void memreset(int controllers, const struct mem_controller *ctrl)
*/
static inline int spd_read_byte(unsigned device, unsigned address)
{
- return smbus_read_byte(device, address);
+ unsigned char c;
+ c = smbus_read_byte(device, address);
+ return c;
}