mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
i2c: imx: Take mx6dqp in consideration in the I2C_PADS_INFO macro
We should take the MX6DP and MX6QP options in consideration in the I2C_PADS_INFO macro. Based on a patch by Pierluigi Passaro <pierluigi.p@variscite.com> Signed-off-by: Eran Matityahu <eran.m@variscite.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
This commit is contained in:
parent
03073a6665
commit
a1ffd9e2e6
1 changed files with 1 additions and 2 deletions
|
@ -88,8 +88,7 @@ struct mxc_i2c_bus {
|
|||
|
||||
|
||||
#define I2C_PADS_INFO(name) \
|
||||
(is_cpu_type(MXC_CPU_MX6Q) || is_cpu_type(MXC_CPU_MX6D)) ? \
|
||||
&mx6q_##name : &mx6s_##name
|
||||
(is_mx6dq() || is_mx6dqp()) ? &mx6q_##name : &mx6s_##name
|
||||
#endif
|
||||
|
||||
int setup_i2c(unsigned i2c_index, int speed, int slave_addr,
|
||||
|
|
Loading…
Reference in a new issue