[U-Boot] unused-const-variable warnings in FSL I2C driver

Thomas Schaefer Thomas.Schaefer at kontron.com
Thu Feb 9 10:42:52 UTC 2017


Hi all,


When compiling latest u-boot with gcc 6.3 for a T1024RDB system, I get a 'unused-const-variable' warning in the FSL I2C driver. Affected variable is fsl_i2c_speed_map.

I guess this warning can be fixed with the patch applied, but I'm not sure. What do you think?

Best regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drivers_i2c_fsl_i2c.patch
Type: application/octet-stream
Size: 504 bytes
Desc: drivers_i2c_fsl_i2c.patch
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170209/ab52a20a/attachment.obj>


More information about the U-Boot mailing list