]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx6: standardise OCOTP and fuse config to mx6_common
authorPeter Robinson <pbrobinson@gmail.com>
Wed, 24 Jun 2015 16:09:46 +0000 (17:09 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 10 Jul 2015 07:34:16 +0000 (09:34 +0200)
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 <pbrobinson@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>
16 files changed:
include/configs/aristainetos-common.h
include/configs/embestmx6boards.h
include/configs/gw_ventana.h
include/configs/mx6_common.h
include/configs/mx6cuboxi.h
include/configs/mx6sabre_common.h
include/configs/mx6slevk.h
include/configs/mx6sxsabresd.h
include/configs/nitrogen6x.h
include/configs/novena.h
include/configs/ot1200.h
include/configs/platinum.h
include/configs/tbs2910.h
include/configs/tqma6.h
include/configs/wandboard.h
include/configs/warp.h

index dd012f1c3e3ee1bdefed42fbd94bf98e9a2e6277..4a5d4fb0802cee4f3dbb01ef8504da057b462478 100644 (file)
@@ -26,9 +26,6 @@
 
 #define CONFIG_MXC_UART
 
-#define CONFIG_CMD_FUSE
-#define CONFIG_MXC_OCOTP
-
 /* MMC Configs */
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 
index cba58aa70f4958918b634c038b0b8c67f7c1b38a..12744a61432dc89ac8b3506f57fac6d6e6d34a66 100644 (file)
 
 #define CONFIG_MXC_UART
 
-#define CONFIG_CMD_FUSE
-#ifdef CONFIG_CMD_FUSE
-#define CONFIG_MXC_OCOTP
-#endif
-
 /* I2C Configs */
 #define CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C
index 902ec2c5362a875c9b0c5157bfbf414e41cb1b04..df1ff434e50aa841c5259acba2de512e0a01ae39 100644 (file)
 #define CONFIG_CMD_EECONFIG      /* Gateworks EEPROM config cmd */
 #define CONFIG_CMD_UBI
 #define CONFIG_RBTREE
-#define CONFIG_CMD_FUSE          /* eFUSE read/write support */
-#ifdef CONFIG_CMD_FUSE
-#define CONFIG_MXC_OCOTP
-#endif
-
 
 /* Ethernet support */
 #define CONFIG_FEC_MXC
index 86d7b1677750a584ce942a512b9bc0be50e9770b..54ab890a7907dab522b83796802052fa5d733821 100644 (file)
 #define CONFIG_FSL_ESDHC
 #define CONFIG_FSL_USDHC
 
+/* Fuses */
+#define CONFIG_CMD_FUSE
+#define CONFIG_MXC_OCOTP
+
 #endif
index 3d5bba75d3845d76e358d98268b54786058bd70a..634a09f34928fd8e7e33233a223b9d139f484ec5 100644 (file)
@@ -20,8 +20,6 @@
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_LATE_INIT
 #define CONFIG_MXC_UART
-#define CONFIG_CMD_FUSE
-#define CONFIG_MXC_OCOTP
 
 /* MMC Configs */
 #define CONFIG_SYS_FSL_ESDHC_ADDR      USDHC2_BASE_ADDR
index 6c3c52e3e009c8d53b8210f39f317377baa3b635..e42dfc90453dc3dec4de2d1de5d1f24516bc6abb 100644 (file)
 
 #define CONFIG_MXC_UART
 
-#define CONFIG_CMD_FUSE
-#if defined(CONFIG_CMD_FUSE) || defined(CONFIG_IMX6_THERMAL)
-#define CONFIG_MXC_OCOTP
-#endif
-
 /* MMC Configs */
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 
index a7da111ee919b991b8c57e1ef5d4b9b7d679e9b6..3cecd94039dac5b473e9a22361c865c91c2936bc 100644 (file)
 
 #define CONFIG_IMX6_THERMAL
 
-#define CONFIG_CMD_FUSE
-#if defined(CONFIG_CMD_FUSE) || defined(CONFIG_IMX6_THERMAL)
-#define CONFIG_MXC_OCOTP
-#endif
-
 #endif                         /* __CONFIG_H */
index 2b278a8ab4ae0e3194ac0c23e76b062861817767..848bdcd674cd7cd5df0dcccdb844a6375e7c206b 100644 (file)
 
 #define CONFIG_IMX6_THERMAL
 
-#define CONFIG_CMD_FUSE
-#if defined(CONFIG_CMD_FUSE) || defined(CONFIG_IMX6_THERMAL)
-#define CONFIG_MXC_OCOTP
-#endif
-
 #define CONFIG_CMD_TIME
 
 #define CONFIG_FSL_QSPI
index 67a3c97f8bb3b38def8b535bb939bf592613ec9d..2e81ad46daed7aac009c767878601ed53c8c4edc 100644 (file)
 #define CONFIG_USB_ETH_CDC
 #define CONFIG_NETCONSOLE
 
-#define CONFIG_CMD_FUSE
-#ifdef CONFIG_CMD_FUSE
-#define CONFIG_MXC_OCOTP
-#endif
-
 #define CONFIG_MXC_UART
 #define CONFIG_MXC_UART_BASE          UART2_BASE
 
index d9b7250cad750db324efdcdee560f38306ca1fcb..0970fd75483e7ab9628bd76ff163bc0532587436 100644 (file)
@@ -25,7 +25,6 @@
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_I2C
 #define CONFIG_FAT_WRITE
-#define CONFIG_CMD_FUSE
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_PING
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 
-/* OCOTP Configs */
-#ifdef CONFIG_CMD_FUSE
-#define CONFIG_MXC_OCOTP
-#endif
-
 /* PCI express */
 #ifdef CONFIG_CMD_PCI
 #define CONFIG_PCI
index fb58acf5085ef1bc265ae07bce3cd1c07b3c905e..0d06fce1eb28b53c5b4947bd4cd2a8a9e63763b1 100644 (file)
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_MISC_INIT_R
 
-/* FUSE Configs */
-#define CONFIG_CMD_FUSE
-#define CONFIG_MXC_OCOTP
-
 /* UART Configs */
 #define CONFIG_MXC_UART
 #define CONFIG_MXC_UART_BASE           UART1_BASE
index fd1946160a3c8c9dd1e584217f6734bcfa8d8775..d65143240b6459244b1d81ace0956aa1c90537c1 100644 (file)
@@ -23,7 +23,6 @@
 
 #define CONFIG_CMD_BMODE
 #define CONFIG_CMD_DHCP
-#define CONFIG_CMD_FUSE
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_MTDPARTS
 #define CONFIG_APBH_DMA_BURST
 #define CONFIG_APBH_DMA_BURST8
 
-/* Fuse support */
-#define CONFIG_MXC_OCOTP
-
 /* Environment in NAND */
 #define CONFIG_ENV_IS_IN_NAND
 #define CONFIG_ENV_OFFSET              (16 << 20)
index 42e5821807493d06288a2aee72faf875f4f93bb9..5bc1209192a37f42dcdedb0c80d2fd7440a02942 100644 (file)
 #define CONFIG_I2C_EDID
 #endif
 
-/* Fuses */
-#define CONFIG_CMD_FUSE
-#ifdef CONFIG_CMD_FUSE
-#define CONFIG_MXC_OCOTP
-#endif
-
 /* Environment organization */
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV         2
index e0c4ada711dde9b9a46294dd9e913cc50991969d..bd93ec713274c581a5004d69d36aef133662eef3 100644 (file)
 #define CONFIG_USB_MAX_CONTROLLER_COUNT        2
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET       /* For OTG port */
 
-/* Fuses */
-#define CONFIG_MXC_OCOTP
-#define CONFIG_CMD_FUSE
-
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_MII
index f05b55a0e29cdf0558bab7ce11a9a89771c2a1ba..f4e9cf20c53c3520758b8d7dd4fde6e80351c55d 100644 (file)
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
 
-#define CONFIG_CMD_FUSE
-#ifdef CONFIG_CMD_FUSE
-#define CONFIG_MXC_OCOTP
-#endif
-
 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "script=boot.scr\0" \
index 48e2058f5f0224ffd798b36797d1869dbed9a7e0..2331767b13aef25e0ad8be59a578cd352b7406b0 100644 (file)
 #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" \