ipq807x: Added support for I2C diagnostics

Diagnostics feature includes read, write and
probe commands.

Change-Id: Ia230a366e35241e4c3812b820bfb38ff0101ad0d
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
This commit is contained in:
Ajay Kishore 2016-07-19 16:00:18 +05:30 committed by Gerrit - the friendly Code Review server
parent 804f626a9a
commit 37ddd8e488

View file

@ -71,6 +71,13 @@
text_base --> |------------|
*/
#define CONFIG_IPQ807x_I2C 1
#ifdef CONFIG_IPQ807x_I2C
#define CONFIG_SYS_I2C_QUP
#define CONFIG_CMD_I2C
#define CONFIG_DM_I2C
#endif
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE -\
CONFIG_SYS_MALLOC_LEN - CONFIG_ENV_SIZE -\
GENERATED_BD_INFO_SIZE)