diff mbox

[U-Boot] nitrogen6x: Remove unused OCOTP options

Message ID 1383916117-6741-1-git-send-email-fabio.estevam@freescale.com
State Accepted
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Nov. 8, 2013, 1:08 p.m. UTC
OCOTP driver is currently selected via CONFIG_MXC_OCOTP option.

Remove the old OCOTP related options, as they are not used anymore.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/nitrogen6x.h | 10 ----------
 1 file changed, 10 deletions(-)

Comments

Eric Nelson Nov. 8, 2013, 2:49 p.m. UTC | #1
Thanks Fabio,

On 11/08/2013 06:08 AM, Fabio Estevam wrote:
> OCOTP driver is currently selected via CONFIG_MXC_OCOTP option.
>
> Remove the old OCOTP related options, as they are not used anymore.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>   include/configs/nitrogen6x.h | 10 ----------
>   1 file changed, 10 deletions(-)
>
> diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
> index 3454b86..d2eb853 100644
> --- a/include/configs/nitrogen6x.h
> +++ b/include/configs/nitrogen6x.h
> @@ -56,16 +56,6 @@
>   #define CONFIG_I2C_MXC
>   #define CONFIG_SYS_I2C_SPEED		100000
>
> -/* OCOTP Configs */
> -#define CONFIG_CMD_IMXOTP
> -#ifdef CONFIG_CMD_IMXOTP
> -#define CONFIG_IMX_OTP
> -#define IMX_OTP_BASE			OCOTP_BASE_ADDR
> -#define IMX_OTP_ADDR_MAX		0x7F
> -#define IMX_OTP_DATA_ERROR_VAL		0xBADABADA
> -#define IMX_OTPWRITE_ENABLED
> -#endif
> -
>   /* MMC Configs */
>   #define CONFIG_FSL_ESDHC
>   #define CONFIG_FSL_USDHC
>

Acked-by: Eric Nelson <eric.nelson@boundarydevices.com>
Stefano Babic Nov. 27, 2013, 8:25 a.m. UTC | #2
On 08/11/2013 14:08, Fabio Estevam wrote:
> OCOTP driver is currently selected via CONFIG_MXC_OCOTP option.
> 
> Remove the old OCOTP related options, as they are not used anymore.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---


Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
index 3454b86..d2eb853 100644
--- a/include/configs/nitrogen6x.h
+++ b/include/configs/nitrogen6x.h
@@ -56,16 +56,6 @@ 
 #define CONFIG_I2C_MXC
 #define CONFIG_SYS_I2C_SPEED		100000
 
-/* OCOTP Configs */
-#define CONFIG_CMD_IMXOTP
-#ifdef CONFIG_CMD_IMXOTP
-#define CONFIG_IMX_OTP
-#define IMX_OTP_BASE			OCOTP_BASE_ADDR
-#define IMX_OTP_ADDR_MAX		0x7F
-#define IMX_OTP_DATA_ERROR_VAL		0xBADABADA
-#define IMX_OTPWRITE_ENABLED
-#endif
-
 /* MMC Configs */
 #define CONFIG_FSL_ESDHC
 #define CONFIG_FSL_USDHC