[LinuxBIOS] patch: add spd_read_byte prototype to spd.h

ron minnich rminnich at gmail.com
Tue Nov 27 16:55:22 CET 2007

I just put this inline, it's simple.

Add an spd_read_byte prototype to spd.h. This is because I am going to
in a later patch make sure all dram
functions call spd_read_byte, not smbus_read_byte.

Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>

Index: include/spd.h
--- include/spd.h       (revision 524)
+++ include/spd.h       (working copy)
@@ -139,5 +139,8 @@
 #define MODULE_BUFFERED                  1
 #define MODULE_REGISTERED                2

+/* prototypes for dealing with spd */
+u8 spd_read_byte(u16 device, u8 address);
 #endif /* _SPD_H_ */

More information about the coreboot mailing list