patacongo commented on a change in pull request #270: Small I2C fixups
URL: https://github.com/apache/incubator-nuttx/pull/270#discussion_r378996148
 
 

 ##########
 File path: drivers/i2c/Kconfig
 ##########
 @@ -54,3 +50,7 @@ config I2CMULTIPLEXER_PCA9540BDP
 endmenu # I2C Multiplexer Support
 
 endif
+
+config ARCH_HAVE_I2CRESET
 
 Review comment:
   You could move the ARCH_HAVE_I2CRESET  item into the drivers/Kconfig file 
before CONFIG_I2C is selected.  That would resolve the problem.
   
   I personally believe that all of the ARCH_HAVE_ definitions belong in the 
arch/Kconfig menu.  That is were they were originally and there is where they 
best belong.  The ARCH naming conventions is only correct if they reside in the 
arch/Kconfig file.  But there were moved all over in a recent PR and now the 
naming is wrong and a lot of dependencies relationships have been broken and 
kludged around like this one.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to