* Marc Jones marc.jones@amd.com [080121 22:14]:
Signed-off-by: Marc Jones marc.jones@amd.com
Acked-by: Stefan Reinauer stepan@coresystems.de
Index: LinuxBIOSv3/southbridge/amd/cs5536/smbus_initram.c
--- LinuxBIOSv3.orig/southbridge/amd/cs5536/smbus_initram.c 2008-01-11 15:35:37.000000000 -0700 +++ LinuxBIOSv3/southbridge/amd/cs5536/smbus_initram.c 2008-01-11 15:57:06.000000000 -0700 @@ -343,7 +343,7 @@
- @param address The address.
- @return The data from the SMBus packet area or an error of 0xff (i.e. -1).
*/ -int spd_read_byte(u16 device, u8 address) +u8 spd_read_byte(u16 device, u8 address) { return smbus_read_byte(device, address); }
Signed-off-by: Marc Jones marc.jones@amd.com
Acked-by: Stefan Reinauer stepan@coresystems.de
Index: LinuxBIOSv3/include/lib.h
--- LinuxBIOSv3.orig/include/lib.h 2008-01-11 15:52:52.000000000 -0700 +++ LinuxBIOSv3/include/lib.h 2008-01-11 16:04:12.000000000 -0700 @@ -36,11 +36,4 @@ void beep_short(void); void beep_long(void);
-/* smbus functions */ -int smbus_read_byte(unsigned device, unsigned address);
-/* dram functions */ -void ram_failure(const char *why); -void ram_initialize(int controllers, void *ctrl);
#endif /* LIB_H */