From 3c73b0a49a5c974bb313f8087dd0cfc54ea90ad2 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 24 Jun 2015 17:09:46 +0100 Subject: imx6: standardise OCOTP and fuse config to mx6_common According to README.mxc_ocotp the OCOTP is a stanard i.MX6 SoC feature so centralise the config in mx6_common.h so functionality is standard across all boards Signed-off-by: Peter Robinson Acked-by: Stefano Babic --- include/configs/warp.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/configs/warp.h') diff --git a/include/configs/warp.h b/include/configs/warp.h index 48e2058..2331767 100644 --- a/include/configs/warp.h +++ b/include/configs/warp.h @@ -94,10 +94,6 @@ #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M #define DFU_DEFAULT_POLL_TIMEOUT 300 -/* Fuses */ -#define CONFIG_CMD_FUSE -#define CONFIG_MXC_OCOTP - #define CONFIG_EXTRA_ENV_SETTINGS \ "script=boot.scr\0" \ "image=zImage\0" \ -- cgit v1.1 From 44f98f9c8e178942ad51b77b6d2a66820fa9d3cc Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Tue, 21 Jul 2015 19:48:41 -0300 Subject: warp: Add MAX77696 support Warp has a MAX77696 PMIC connected via I2C1 bus. Add support for it. Signed-off-by: Fabio Estevam --- include/configs/warp.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/configs/warp.h') diff --git a/include/configs/warp.h b/include/configs/warp.h index 2331767..d5c3215 100644 --- a/include/configs/warp.h +++ b/include/configs/warp.h @@ -94,6 +94,17 @@ #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M #define DFU_DEFAULT_POLL_TIMEOUT 300 +/* I2C Configs */ +#define CONFIG_CMD_I2C +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_MXC +#define CONFIG_SYS_I2C_SPEED 100000 + +/* PMIC */ +#define CONFIG_POWER +#define CONFIG_POWER_I2C +#define CONFIG_POWER_MAX77696 + #define CONFIG_EXTRA_ENV_SETTINGS \ "script=boot.scr\0" \ "image=zImage\0" \ -- cgit v1.1