X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=cpu%2Fmpc8220%2Fi2c.c;h=76ecdf11e214e3e539c67535f140cffec33c3c5d;hb=b097d552bc9ee0351bb0c3d1219856e845df59f9;hp=d67936dc31c2f3b7a11242f506823015d134115b;hpb=7a635e004ec12bd2a0bae9f90fbb5769b524a42e;p=karo-tx-uboot.git diff --git a/cpu/mpc8220/i2c.c b/cpu/mpc8220/i2c.c index d67936dc31..76ecdf11e2 100644 --- a/cpu/mpc8220/i2c.c +++ b/cpu/mpc8220/i2c.c @@ -387,20 +387,4 @@ int i2c_write (uchar chip, uint addr, int alen, uchar * buf, int len) return ret; } -uchar i2c_reg_read (uchar chip, uchar reg) -{ - uchar buf; - - i2c_read (chip, reg, 1, &buf, 1); - - return buf; -} - -void i2c_reg_write (uchar chip, uchar reg, uchar val) -{ - i2c_write (chip, reg, 1, &val, 1); - - return; -} - #endif /* CONFIG_HARD_I2C */