From 37ddd8e488b272cedf36d950c64e41aa56809b7d Mon Sep 17 00:00:00 2001 From: Ajay Kishore Date: Tue, 19 Jul 2016 16:00:18 +0530 Subject: [PATCH] ipq807x: Added support for I2C diagnostics Diagnostics feature includes read, write and probe commands. Change-Id: Ia230a366e35241e4c3812b820bfb38ff0101ad0d Signed-off-by: Ajay Kishore --- include/configs/ipq807x.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/configs/ipq807x.h b/include/configs/ipq807x.h index 92f0febcf8..50684b8ffa 100644 --- a/include/configs/ipq807x.h +++ b/include/configs/ipq807x.h @@ -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)