diff options
author | Tom Rini <trini@konsulko.com> | 2024-08-13 10:09:45 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-13 10:09:45 -0600 |
commit | 638ecd85b329806cf017c5ec017b58a140438bef (patch) | |
tree | 3164df95a7e620560c6fdaec8519a460b98793f9 /drivers/ddr/fsl/main.c | |
parent | f4f845b859266790b97421f0740efce36bc9b8d2 (diff) | |
parent | 710b9c89f2c2f19436f6c21d092af1a2b24a26a6 (diff) |
Merge tag 'i2c-dm-updates-for-v2024-10-next' of https://source.denx.de/u-boot/custodians/u-boot-i2c into next
i2c DM updates for v2024.10 next
- Add series from Simon, which removes old content in i2c.h
so that we can move towards having just the dm API.
It does not remove any boards, but instead removes functionality.
Diffstat (limited to 'drivers/ddr/fsl/main.c')
-rw-r--r-- | drivers/ddr/fsl/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ddr/fsl/main.c b/drivers/ddr/fsl/main.c index 31091bb4495..888dfb7ff33 100644 --- a/drivers/ddr/fsl/main.c +++ b/drivers/ddr/fsl/main.c @@ -111,7 +111,7 @@ static int ddr_i2c_read(DEV_TYPE *dev, unsigned int addr, #if CONFIG_IS_ENABLED(DM_I2C) ret = dm_i2c_read(dev, 0, buf, len); #else - ret = i2c_read(dev->chip, addr, alen, buf, len); + ret = 0; #endif return ret; @@ -162,7 +162,6 @@ static void __get_spd(generic_spd_eeprom_t *spd, u8 i2c_address) }; dev = &ldev; - i2c_set_bus_num(CONFIG_SYS_SPD_BUS_NUM); #endif #ifdef CONFIG_SYS_FSL_DDR4 |