nb/intel/{i945,x4x,pineview}: Remove wrapper spd_read_byte()

Change-Id: Ic9554ad2813ee70d0da16857d534aab5e17d808f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38213
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Kyösti Mälkki
2020-01-05 20:00:18 +02:00
parent 65f5de2bc4
commit bd65985a63
3 changed files with 4 additions and 19 deletions

View File

@ -103,11 +103,6 @@ static inline void barrier(void)
__asm__ __volatile__("": : :"memory");
}
static inline int spd_read_byte(unsigned int device, unsigned int address)
{
return smbus_read_byte(device, address);
}
static int decode_spd(struct dimminfo *d, int i)
{
d->type = 0;