diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2003-10-01 22:25:36 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2003-10-01 22:25:36 +0000 |
commit | 7cf52c979f784573ad9d9e18207e04afb542945b (patch) | |
tree | 02a057823bd04e2f4d6d35ff27a335afd71d1e6c /src/mainboard/via | |
parent | 14e72218f3d60531733834c7b23ea882420fb0f1 (diff) |
fixes for epia.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1172 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via')
-rw-r--r-- | src/mainboard/via/epia/auto.c | 4 |
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; } |