Skip to contentSkip to conversation

mx6ul_14x14_evk: Remove CONFIG_CMD_FUSE option

PATCH New Fabio Estevam 2 participants 12 messages Sep 9, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 mx6ul_14x14_evk: Remove CONFIG_CMD_FUSE option

From: Fabio Estevam <[email protected]>

CONFIG_CMD_FUSE and CONFIG_MXC_OCOTP are selected by mx6_common.h, so there is no need to define them locally.

---
 include/configs/mx6ul_14x14_evk.h | 5 -----
 1 file changed, 5 deletions(-)
include/configs/mx6ul_14x14_evk.h +0 -5
index e785925..08738c3 100644
@@ -33,11 +33,6 @@
 #define CONFIG_MXC_UART
 #define CONFIG_MXC_UART_BASE		UART1_BASE
 
-#define CONFIG_CMD_FUSE
-#ifdef CONFIG_CMD_FUSE
-#define CONFIG_MXC_OCOTP
-#endif
-
 /* MMC Configs */
 #ifdef CONFIG_FSL_USDHC
 #define CONFIG_SYS_FSL_ESDHC_ADDR	USDHC2_BASE_ADDR
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/7 mx6ul_14x14_evk: Remove CONFIG_CMD_FUSE option

Hi Fabio,

I have one patch to fix this and 2/7:
https://patchwork.ozlabs.org/patch/512680/

Regards,
Peng.

Quoted 29 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

CONFIG_CMD_FUSE and CONFIG_MXC_OCOTP are selected by mx6_common.h, so there is no need to define them locally.

---
include/configs/mx6ul_14x14_evk.h | 5 -----

1 file changed, 5 deletions(-)
include/configs/mx6ul_14x14_evk.h +0 -5
index e785925..08738c3 100644
@@ -33,11 +33,6 @@
 #define CONFIG_MXC_UART
 #define CONFIG_MXC_UART_BASE		UART1_BASE
 
-#define CONFIG_CMD_FUSE
-#ifdef CONFIG_CMD_FUSE
-#define CONFIG_MXC_OCOTP
-#endif
-
 /* MMC Configs */
 #ifdef CONFIG_FSL_USDHC
 #define CONFIG_SYS_FSL_ESDHC_ADDR	USDHC2_BASE_ADDR
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/7 cgtqmx6eval: Remove CONFIG_CMD_FUSE option

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

CONFIG_CMD_FUSE and CONFIG_MXC_OCOTP are selected by mx6_common.h, so there is no need to define them locally.

---
 include/configs/cgtqmx6eval.h | 5 -----
 1 file changed, 5 deletions(-)
include/configs/cgtqmx6eval.h +0 -5
index 92930c8..0979728 100644
@@ -35,11 +35,6 @@
 /* Thermal support */
 #define CONFIG_IMX6_THERMAL
 
-#define CONFIG_CMD_FUSE
-#if defined(CONFIG_CMD_FUSE) || defined(CONFIG_IMX6_THERMAL)
-#define CONFIG_MXC_OCOTP
-#endif
-
 /* I2C Configs */
 #define CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C
Signature · 1 line
1.9.1
#3 lore raw

PATCH 3/7 mx6ul_14x14_evk: Remove CONFIG_SYS_GENERIC_BOARD

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

CONFIG_SYS_GENERIC_BOARD is selected by mx6_common.h, so there is no need to define it locally.

---
 include/configs/mx6ul_14x14_evk.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/mx6ul_14x14_evk.h +0 -1
index 08738c3..9232414 100644
@@ -20,7 +20,6 @@
 #include "imx6_spl.h"
 
 #define CONFIG_ROM_UNIFIED_SECTIONS
-#define CONFIG_SYS_GENERIC_BOARD
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
Signature · 1 line
1.9.1
#4 lore raw

PATCH 3/7 mx6ul_14x14_evk: Remove CONFIG_SYS_GENERIC_BOARD

Quoted 15 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

CONFIG_SYS_GENERIC_BOARD is selected by mx6_common.h, so there is no need to define it locally.

---
include/configs/mx6ul_14x14_evk.h | 1 -

1 file changed, 1 deletion(-)
include/configs/mx6ul_14x14_evk.h +0 -0
index 08738c3..9232414 100644

include/configs/mx6ul_14x14_evk.h line 24

Quoted 6 lines
include/configs/mx6ul_14x14_evk.h +0 -1
@@ -20,7 +20,6 @@
 #include "imx6_spl.h"
 
 #define CONFIG_ROM_UNIFIED_SECTIONS
-#define CONFIG_SYS_GENERIC_BOARD
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO

Regards,
Peng.

Quoted 4 lines
Signature · 2 lines
-- 
1.9.1
#5 lore raw

PATCH 4/7 mx6ul_14x14_evk: Remove unused config option

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

CONFIG_ROM_UNIFIED_SECTIONS is not used anywhere, so let's remove it.

---
 include/configs/mx6ul_14x14_evk.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/mx6ul_14x14_evk.h +0 -1
index 9232414..b27541d 100644
@@ -19,7 +19,6 @@
 #define CONFIG_SPL_MMC_SUPPORT
 #include "imx6_spl.h"
 
-#define CONFIG_ROM_UNIFIED_SECTIONS
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
Signature · 1 line
1.9.1
#6 lore raw

PATCH 4/7 mx6ul_14x14_evk: Remove unused config option

Quoted 14 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

CONFIG_ROM_UNIFIED_SECTIONS is not used anywhere, so let's remove it.

---
include/configs/mx6ul_14x14_evk.h | 1 -

1 file changed, 1 deletion(-)
include/configs/mx6ul_14x14_evk.h +0 -0
index 9232414..b27541d 100644

include/configs/mx6ul_14x14_evk.h line 23

Quoted 6 lines
include/configs/mx6ul_14x14_evk.h +0 -1
@@ -19,7 +19,6 @@
 #define CONFIG_SPL_MMC_SUPPORT
 #include "imx6_spl.h"
 
-#define CONFIG_ROM_UNIFIED_SECTIONS
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO

Regards,
Peng.

Quoted 4 lines
Signature · 2 lines
-- 
1.9.1
#7 lore raw

PATCH 5/7 mx6ul_14x14_evk: Do not undef config options

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

There is no need to undef the config options.

---
 include/configs/mx6ul_14x14_evk.h | 9 ---------
 1 file changed, 9 deletions(-)
include/configs/mx6ul_14x14_evk.h +0 -9
index b27541d..84f26ec 100644
@@ -45,13 +45,6 @@
 #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
 #endif
 
-#undef CONFIG_BOOTM_NETBSD
-#undef CONFIG_BOOTM_PLAN9
-#undef CONFIG_BOOTM_RTEMS
-
-#undef CONFIG_CMD_EXPORTENV
-#undef CONFIG_CMD_IMPORTENV
-
 /* I2C configs */
 #define CONFIG_CMD_I2C
 #ifdef CONFIG_CMD_I2C
@@ -62,8 +55,6 @@
 
 #define PHYS_SDRAM_SIZE			SZ_512M
 
-#undef CONFIG_CMD_IMLS
-
 #define CONFIG_SYS_MMC_IMG_LOAD_PART	1
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
Signature · 1 line
1.9.1
#8 lore raw

PATCH 5/7 mx6ul_14x14_evk: Do not undef config options

Quoted 28 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

There is no need to undef the config options.

---
include/configs/mx6ul_14x14_evk.h | 9 ---------

1 file changed, 9 deletions(-)
include/configs/mx6ul_14x14_evk.h +0 -7
index b27541d..84f26ec 100644
@@ -45,13 +45,6 @@
 #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
 #endif
 
-#undef CONFIG_BOOTM_NETBSD
-#undef CONFIG_BOOTM_PLAN9
-#undef CONFIG_BOOTM_RTEMS
-
-#undef CONFIG_CMD_EXPORTENV
-#undef CONFIG_CMD_IMPORTENV
-
 /* I2C configs */
 #define CONFIG_CMD_I2C
 #ifdef CONFIG_CMD_I2C

include/configs/mx6ul_14x14_evk.h line 60

Quoted 8 lines
include/configs/mx6ul_14x14_evk.h +0 -2
@@ -62,8 +55,6 @@
 
 #define PHYS_SDRAM_SIZE			SZ_512M
 
-#undef CONFIG_CMD_IMLS
-
 #define CONFIG_SYS_MMC_IMG_LOAD_PART	1
 
 #define CONFIG_EXTRA_ENV_SETTINGS \

Regards,
Peng.

Quoted 3 lines
Signature · 1 line
1.9.1
#9 lore raw

PATCH 6/7 mx6ul_14x14_evk: Remove CONFIG_FEC_DMA_MINALIGN

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

CONFIG_FEC_DMA_MINALIGN is not used anywhere, so let's remove it.

---
 include/configs/mx6ul_14x14_evk.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/mx6ul_14x14_evk.h +0 -1
index 84f26ec..ff4f231 100644
@@ -221,7 +221,6 @@
 
 #define CONFIG_PHYLIB
 #define CONFIG_PHY_MICREL
-#define CONFIG_FEC_DMA_MINALIGN		64
 #endif
 
 #define CONFIG_IMX6_THERMAL
Signature · 1 line
1.9.1
#10 lore raw

PATCH 6/7 mx6ul_14x14_evk: Remove CONFIG_FEC_DMA_MINALIGN

Quoted 14 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

CONFIG_FEC_DMA_MINALIGN is not used anywhere, so let's remove it.

---
include/configs/mx6ul_14x14_evk.h | 1 -

1 file changed, 1 deletion(-)
include/configs/mx6ul_14x14_evk.h +0 -0
index 84f26ec..ff4f231 100644

include/configs/mx6ul_14x14_evk.h line 224

Quoted 5 lines
include/configs/mx6ul_14x14_evk.h +0 -1
@@ -221,7 +221,6 @@
 
 #define CONFIG_PHYLIB
 #define CONFIG_PHY_MICREL
-#define CONFIG_FEC_DMA_MINALIGN		64
 #endif

Regards,
Peng.

Quoted 5 lines
include/configs/mx6ul_14x14_evk.h +0 -0
 #define CONFIG_IMX6_THERMAL
Signature · 1 line
1.9.1
#11 lore raw

PATCH 7/7 mx6ul_14x14_evk: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message:
"Unknown command '' - try 'help'".

Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.

---
 include/configs/mx6ul_14x14_evk.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/mx6ul_14x14_evk.h +0 -3
index ff4f231..4285116 100644
@@ -133,9 +133,6 @@
 	   "else run netboot; fi"
 
 /* Miscellaneous configurable options */
-/* Print Buffer Size */
-#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
-
 #define CONFIG_CMD_MEMTEST
 #define CONFIG_SYS_MEMTEST_START	0x80000000
 #define CONFIG_SYS_MEMTEST_END		(CONFIG_SYS_MEMTEST_START + 0x10000000)
Signature · 1 line
1.9.1