[coreboot] v3 compilation failures
rminnich at gmail.com
Mon Jan 21 21:04:36 CET 2008
On Jan 21, 2008 10:12 AM, Marc Jones <marc.jones at amd.com> wrote:
> > ./include/device/smbus.h:int smbus_read_byte(struct device *dev, u8 addr);
> > ./device/smbus_ops.c:int smbus_read_byte(struct device *dev, u8 addr)
> > (introduced in r307)
> > ./include/lib.h:int smbus_read_byte(unsigned device, unsigned address);
> > ./mainboard/artecgroup/dbe61/initram.c:int smbus_read_byte(unsigned
> > device, unsigned address)
> > (introduced in r349)
> > ./southbridge/amd/cs5536/smbus_initram.c:int smbus_read_byte(u16 device,
> > u8 address)
> > (introduced in r344)
I recommend u16 device, u16 address. The address can be up to 10 bits
as I understand it
on some versions of smbus. Am I wrong on this however?
> > Patches appreciated.
> > Hints:
> > - artecgroup/dbe61 first failed in r527 with "undefined reference to
> > 'spd_read_byte'"
> > - adl/msm800sev and amd/norwich first failed in r537 with "conflicting
> > types for 'spd_read_byte'", which was uncovered by the new combined
> > compilation, but the root cause (conflicting types) had been there for
> > dozens of revisions.
This is probably mostly my fault, I will try to fix.
More information about the coreboot