Skip to contentSkip to conversation

mx7_common: Remove unexisting options

PATCH New Fabio Estevam 2 participants 4 messages Feb 22, 2016 – Mar 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mx7_common: Remove unexisting options

From: Fabio Estevam <[email protected]>

CONFIG_IMX_FIXED_IVT_OFFSET and CONFIG_FSL_CLK are not used anywhere, so just remove them.

---
 include/configs/mx7_common.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/mx7_common.h +0 -3
index fac7c3f..b2a8756 100644
@@ -27,7 +27,6 @@
 
 /* Enable iomux-lpsr support */
 #define CONFIG_IOMUX_LPSR
-#define CONFIG_IMX_FIXED_IVT_OFFSET
 
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN           (32 * SZ_1M)
@@ -38,8 +37,6 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_FSL_CLK
-
 #define CONFIG_LOADADDR                 0x80800000
 #define CONFIG_SYS_TEXT_BASE            0x87800000
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 mx7dsabresd: Define serial port locally

From: Fabio Estevam <[email protected]>

CONFIG_MXC_UART_BASE should not be defined in mx7_common.h as the console port can vary from board to board.

Define CONFIG_MXC_UART_BASE locally instead.

---
 include/configs/mx7_common.h  | 1 -
 include/configs/mx7dsabresd.h | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)
include/configs/mx7_common.h +0 -1
index b2a8756..bfad696 100644
@@ -77,7 +77,6 @@
 
 /* UART */
 #define CONFIG_MXC_UART
-#define CONFIG_MXC_UART_BASE            UART1_IPS_BASE_ADDR
 
 /* MMC */
 #define CONFIG_MMC
include/configs/mx7dsabresd.h +2 -0
index 2c981e0..b8b5b45 100644
@@ -14,6 +14,8 @@
 #define CONFIG_DBG_MONITOR
 #define PHYS_SDRAM_SIZE			SZ_1G
 
+#define CONFIG_MXC_UART_BASE            UART1_IPS_BASE_ADDR
+
 /* Uncomment to enable secure boot support */
 /* #define CONFIG_SECURE_BOOT */
 #define CONFIG_CSF_SIZE			0x4000
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 mx7dsabresd: Define serial port locally

Quoted 31 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

CONFIG_MXC_UART_BASE should not be defined in mx7_common.h as the console port can vary from board to board.

Define CONFIG_MXC_UART_BASE locally instead.

---
 include/configs/mx7_common.h  | 1 -
 include/configs/mx7dsabresd.h | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)
include/configs/mx7_common.h +0 -1
index b2a8756..bfad696 100644
@@ -77,7 +77,6 @@
 
 /* UART */
 #define CONFIG_MXC_UART
-#define CONFIG_MXC_UART_BASE            UART1_IPS_BASE_ADDR
 
 /* MMC */
 #define CONFIG_MMC
include/configs/mx7dsabresd.h +0 -0
index 2c981e0..b8b5b45 100644

include/configs/mx7dsabresd.h line 21

Quoted 8 lines
include/configs/mx7dsabresd.h +2 -0
@@ -14,6 +14,8 @@
 #define CONFIG_DBG_MONITOR
 #define PHYS_SDRAM_SIZE			SZ_1G
 
+#define CONFIG_MXC_UART_BASE            UART1_IPS_BASE_ADDR
+
 /* Uncomment to enable secure boot support */
 /* #define CONFIG_SECURE_BOOT */
 #define CONFIG_CSF_SIZE			0x4000

Applied to -next, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#3 lore raw

PATCH 1/2 mx7_common: Remove unexisting options

In reply to Fabio Estevam
Quoted 24 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

CONFIG_IMX_FIXED_IVT_OFFSET and CONFIG_FSL_CLK are not used anywhere, so just remove them.

---
 include/configs/mx7_common.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/mx7_common.h +0 -1
index fac7c3f..b2a8756 100644
@@ -27,7 +27,6 @@
 
 /* Enable iomux-lpsr support */
 #define CONFIG_IOMUX_LPSR
-#define CONFIG_IMX_FIXED_IVT_OFFSET
 
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN           (32 * SZ_1M)

include/configs/mx7_common.h line 42

Quoted 8 lines
include/configs/mx7_common.h +0 -2
@@ -38,8 +37,6 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-#define CONFIG_FSL_CLK
-
 #define CONFIG_LOADADDR                 0x80800000
 #define CONFIG_SYS_TEXT_BASE            0x87800000
 

Applied to -next, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================