mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
powerpc, 8xx: remove support for 8xx
There was for long time no activity in the 8xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8xx, so remove it (with a heavy heart, knowing that I remove here the root of U-Boot). Signed-off-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
@@ -323,11 +323,6 @@ uint8_t i2c_reg_read(uint8_t addr, uint8_t reg)
|
||||
{
|
||||
uint8_t buf;
|
||||
|
||||
#ifdef CONFIG_8xx
|
||||
/* MPC8xx needs this. Maybe one day we can get rid of it. */
|
||||
/* maybe it is now the time for it ... */
|
||||
i2c_set_bus_num(i2c_get_bus_num());
|
||||
#endif
|
||||
i2c_read(addr, reg, 1, &buf, 1);
|
||||
|
||||
#ifdef DEBUG
|
||||
@@ -340,12 +335,6 @@ uint8_t i2c_reg_read(uint8_t addr, uint8_t reg)
|
||||
|
||||
void i2c_reg_write(uint8_t addr, uint8_t reg, uint8_t val)
|
||||
{
|
||||
#ifdef CONFIG_8xx
|
||||
/* MPC8xx needs this. Maybe one day we can get rid of it. */
|
||||
/* maybe it is now the time for it ... */
|
||||
i2c_set_bus_num(i2c_get_bus_num());
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("%s: bus=%d addr=0x%02x, reg=0x%02x, val=0x%02x\n",
|
||||
__func__, i2c_get_bus_num(), addr, reg, val);
|
||||
|
Reference in New Issue
Block a user