From 6f1773261ab094dd9d6872a9c079d8b1fbdfbe03 Mon Sep 17 00:00:00 2001 From: "Ye.Li" Date: Mon, 9 Jun 2014 15:50:15 +0800 Subject: ENGR00315894-43 ARM:imx6 Enable OCOTP driver and fuse command Enable the fuse command config "CONFIG_CMD_FUSE" and OCOTP driver "CONFIG_MXC_OCOTP" for imx6. Users can use "sense" and "prog" to access the fuse directly, or use "read" and "override" to access shadow registers. Supported boards: mx6qdlsabresd, mx6qdlsabreauto, mx6qdlarm2, mx6slevk Signed-off-by: Ye.Li Signed-off-by: Ye.Li --- include/configs/mx6qarm2.h | 6 ++++++ include/configs/mx6slevk.h | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'include/configs') diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index b73fcbe..c1dd6f4 100644 --- a/include/configs/mx6qarm2.h +++ b/include/configs/mx6qarm2.h @@ -38,6 +38,12 @@ #define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART4_BASE +/* OCOTP Config */ +#define CONFIG_CMD_FUSE +#ifdef CONFIG_CMD_FUSE +#define CONFIG_MXC_OCOTP +#endif + /* MMC Configs */ #define CONFIG_FSL_ESDHC #define CONFIG_FSL_USDHC diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index 36e5c18..81ccfdb 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -42,6 +42,12 @@ #define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR +/* OCOTP Config */ +#define CONFIG_CMD_FUSE +#ifdef CONFIG_CMD_FUSE +#define CONFIG_MXC_OCOTP +#endif + /* MMC Configs */ #define CONFIG_FSL_ESDHC #define CONFIG_FSL_USDHC -- cgit v1.1