diff options
author | Stefan Roese <sr@denx.de> | 2021-11-18 09:19:38 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-12-19 09:50:47 +0100 |
commit | 0cbd3d8121189690130257009aa9363232c888d5 (patch) | |
tree | 2493d8ddb76e5908a90cf37bcf6b0fe8d64d38cd /drivers/ddr/marvell/axp/ddr3_init.h | |
parent | 622882893d83e73e63d6c8c03c81bbbd2f04c19a (diff) |
arm: mvebu: axp: ddr: Switch to using DM I2C API
No functional change intended. This patch switches from the legacy I2C
API to the DM I2C API, so that this code can be used with DM I2C
enabled.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/ddr/marvell/axp/ddr3_init.h')
-rw-r--r-- | drivers/ddr/marvell/axp/ddr3_init.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ddr/marvell/axp/ddr3_init.h b/drivers/ddr/marvell/axp/ddr3_init.h index 9a21886ac3..a26bd2a120 100644 --- a/drivers/ddr/marvell/axp/ddr3_init.h +++ b/drivers/ddr/marvell/axp/ddr3_init.h @@ -101,7 +101,7 @@ void fix_pll_val(u8 target_fab); u32 ddr3_get_fab_opt(void); u32 ddr3_get_cpu_freq(void); u32 ddr3_get_vco_freq(void); -int ddr3_check_config(u32 addr, MV_CONFIG_TYPE config_type); +int ddr3_check_config(struct udevice *udev, MV_CONFIG_TYPE config_type); u32 ddr3_get_static_mc_value(u32 reg_addr, u32 offset1, u32 mask1, u32 offset2, u32 mask2); u32 ddr3_cl_to_valid_cl(u32 cl); |