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

Corey Osgood corey.osgood at gmail.com
Tue Nov 27 17:00:55 CET 2007


ron minnich wrote:
> 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>
>   

Acked-by: Corey Osgood <corey.osgood 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