ppc4xx_i2c: Implement basic I2C functions
commit7709dbf12c0bb9a86c186c2c0f7ae67ce363dc80
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 16 Dec 2017 22:42:14 +0000 (16 23:42 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 10 Jan 2018 01:52:59 +0000 (10 12:52 +1100)
tree16d5d2b7b0c52196be550523fe1c68a0cb35f652
parent5690d9ecefb946100a4974d57ae03bc5ee11775a
ppc4xx_i2c: Implement basic I2C functions

Enough to please U-Boot and make it able to detect SDRAM SPD EEPROMs

Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/i2c/ppc4xx_i2c.c
include/hw/i2c/ppc4xx_i2c.h