mx6sxsabreauto: Remove legacy CONFIG_PCA953X
PATCH 1/1 mx6sxsabreauto: Remove legacy CONFIG_PCA953X
When this board was switched to using more DM drivers we didn't disable the legacy PCA953X driver. This in turn learn to a build time warning about implicit functions as i2c.h would not say anything about 'i2c_read' nor 'i2c_write'. But this was not a fatal error as none of the legacy driver would be linked in either.
--- include/configs/mx6sxsabreauto.h | 3 --- 1 file changed, 3 deletions(-)
include/configs/mx6sxsabreauto.h +0 -3
@@ -182,7 +182,4 @@#define CONFIG_SYS_MMC_ENV_DEV 0/*USDHC3*/ #endif -#define CONFIG_PCA953X -#define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x30, 8}, {0x32, 8}, {0x34, 8} } -#endif /* __CONFIG_H */
Signature · 1 line
1.9.1
PATCH 1/1 mx6sxsabreauto: Remove legacy CONFIG_PCA953X
Quoted 18 lines · Tom Rini
When this board was switched to using more DM drivers we didn't disable the legacy PCA953X driver. This in turn learn to a build time warning about implicit functions as
i2c.hwould not say anything about 'i2c_read' nor 'i2c_write'. But this was not a fatal error as none of the legacy driver would be linked in either.Fixes e389033f72b5 ("imx: mx6sxsabreauto: enable more dm drivers")Signed-off-by Tom Rini <[email protected]>--- include/configs/mx6sxsabreauto.h | 3 --- 1 file changed, 3 deletions(-)include/configs/mx6sxsabreauto.h +0
-0
include/configs/mx6sxsabreauto.h line 185
Quoted 7 lines
include/configs/mx6sxsabreauto.h +0
-3@@ -182,7 +182,4 @@#define CONFIG_SYS_MMC_ENV_DEV 0/*USDHC3*/ #endif -#define CONFIG_PCA953X -#define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x30, 8}, {0x32, 8}, {0x34, 8} } -#endif /* __CONFIG_H */
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH 1/1 mx6sxsabreauto: Remove legacy CONFIG_PCA953X
Quoted 21 lines · Stefano Babic
Quoted 20 lines · Tom Rini
When this board was switched to using more DM drivers we didn't disable the legacy PCA953X driver. This in turn learn to a build time warning about implicit functions as
i2c.hwould not say anything about 'i2c_read' nor 'i2c_write'. But this was not a fatal error as none of the legacy driver would be linked in either.Fixes e389033f72b5 ("imx: mx6sxsabreauto: enable more dm drivers")Signed-off-by Tom Rini <[email protected]>--- include/configs/mx6sxsabreauto.h | 3 --- 1 file changed, 3 deletions(-)include/configs/mx6sxsabreauto.h +0
-0@@ -182,7 +182,4 @@#define CONFIG_SYS_MMC_ENV_DEV 0/*USDHC3*/ #endif
Quoted 7 lines
include/configs/mx6sxsabreauto.h line 185
Quoted 5 lines
include/configs/mx6sxsabreauto.h +0
-3-#define CONFIG_PCA953X -#define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x30, 8}, {0x32, 8}, {0x34, 8} } -#endif /* __CONFIG_H */ Reviewed-by Stefano Babic <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170405/76fdb44b/attachment.sig>