imx: drop CONFIG_MXC_UART_BASE
PATCH 1/1 imx: drop CONFIG_MXC_UART_BASE
From: Peng Fan <[email protected]>
Since these boards has CONFIG_DM_SERIAL and/or CONFIG_SPL_DM_SERIAL, the legacy macro no need to be defined.
--- include/configs/aristainetos2.h | 2 -- include/configs/imx8mm_evk.h | 1 - include/configs/imx8mn_evk.h | 1 - include/configs/imx8mp_evk.h | 1 - include/configs/mx7dsabresd.h | 1 - include/configs/somlabs_visionsom_6ull.h | 1 - include/configs/tbs2910.h | 1 - include/configs/verdin-imx8mm.h | 1 - include/configs/verdin-imx8mp.h | 1 - 9 files changed, 10 deletions(-)
include/configs/aristainetos2.h +0 -2
@@ -14,10 +14,8 @@#define CONFIG_HOSTNAME "aristainetos2"#if (CONFIG_SYS_BOARD_VERSION ==5 ) -#define CONFIG_MXC_UART_BASE UART2_BASE#define CONSOLE_DEV "ttymxc1"#elif (CONFIG_SYS_BOARD_VERSION ==6 ) -#define CONFIG_MXC_UART_BASE UART1_BASE#define CONSOLE_DEV "ttymxc0"#endif
include/configs/imx8mm_evk.h +0 -1
@@ -68,7 +68,6 @@#define PHYS_SDRAM 0x40000000#define PHYS_SDRAM_SIZE 0x80000000/* 2GB DDR */ -#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR/* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 2048
include/configs/imx8mn_evk.h +0 -1
@@ -75,7 +75,6 @@#define PHYS_SDRAM 0x40000000#define PHYS_SDRAM_SIZE 0x80000000/* 2GB DDR */ -#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR/* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 2048
include/configs/imx8mp_evk.h +0 -1
@@ -80,7 +80,6 @@#define PHYS_SDRAM_2 0x100000000#define PHYS_SDRAM_2_SIZE 0xC0000000/* 3 GB */ -#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR/* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 2048
include/configs/mx7dsabresd.h +0 -1
@@ -12,7 +12,6 @@#define PHYS_SDRAM_SIZE SZ_1G -#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR#ifdef CONFIG_IMX_BOOTAUX /* Set to QSPI1 A flash at default */
include/configs/somlabs_visionsom_6ull.h +0 -1
@@ -16,7 +16,6 @@/* SPL options */ #include "imx6_spl.h" -#define CONFIG_MXC_UART_BASE UART1_BASE/* MMC Configs */ #ifdef CONFIG_FSL_USDHC
include/configs/tbs2910.h +0 -1
@@ -25,7 +25,6 @@#define CONFIG_SYS_BOOTMAPSZ 0x10000000/* Serial console */ -#define CONFIG_MXC_UART_BASE UART1_BASE/* select UART1/UART2 */ /* Framebuffer */ #define CONFIG_IMX_HDMI
include/configs/verdin-imx8mm.h +0 -1
@@ -84,7 +84,6 @@#define PHYS_SDRAM_SIZE SZ_2G/* 2GB DDR */ /* UART */ -#define CONFIG_MXC_UART_BASE UART1_BASE_ADDR/* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE SZ_2K
include/configs/verdin-imx8mp.h +0 -1
@@ -101,7 +101,6 @@#define PHYS_SDRAM_2_SIZE (SZ_4G + SZ_1G)/* UART */ -#define CONFIG_MXC_UART_BASE UART3_BASE_ADDR/* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE SZ_2K
Signature · 1 line
2.36.0
Hi Peng,
Quoted 7 lines · Peng Fan (OSS)
From: Peng Fan <[email protected]>
Since these boards has
CONFIG_DM_SERIALand/orCONFIG_SPL_DM_SERIAL, the legacy macro no need to be defined.Signed-off-by Peng Fan <[email protected]>
Thanks for the cleanup:
Hello Peng,
Quoted 6 lines · Peng Fan (OSS)
From: Peng Fan <[email protected]>
Since these boards has
CONFIG_DM_SERIALand/orCONFIG_SPL_DM_SERIAL, the legacy macro no need to be defined.Signed-off-by Peng Fan <[email protected]>
Quoted 11 lines
--- include/configs/aristainetos2.h | 2 -- include/configs/imx8mm_evk.h | 1 - include/configs/imx8mn_evk.h | 1 - include/configs/imx8mp_evk.h | 1 - include/configs/mx7dsabresd.h | 1 - include/configs/somlabs_visionsom_6ull.h | 1 - include/configs/tbs2910.h | 1 - include/configs/verdin-imx8mm.h | 1 - include/configs/verdin-imx8mp.h | 1 - 9 files changed, 10 deletions(-)
Thanks!
bye,
Heiko
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: [email protected]
Quoted 98 lines · Peng Fan (OSS)
From: Peng Fan <[email protected]>
Since these boards has
CONFIG_DM_SERIALand/orCONFIG_SPL_DM_SERIAL, the legacy macro no need to be defined.Signed-off-by Peng Fan <[email protected]>--- include/configs/aristainetos2.h | 2 -- include/configs/imx8mm_evk.h | 1 - include/configs/imx8mn_evk.h | 1 - include/configs/imx8mp_evk.h | 1 - include/configs/mx7dsabresd.h | 1 - include/configs/somlabs_visionsom_6ull.h | 1 - include/configs/tbs2910.h | 1 - include/configs/verdin-imx8mm.h | 1 - include/configs/verdin-imx8mp.h | 1 - 9 files changed, 10 deletions(-)include/configs/aristainetos2.h +0
-2@@ -14,10 +14,8 @@#define CONFIG_HOSTNAME "aristainetos2"#if (CONFIG_SYS_BOARD_VERSION ==5 ) -#define CONFIG_MXC_UART_BASE UART2_BASE#define CONSOLE_DEV "ttymxc1"#elif (CONFIG_SYS_BOARD_VERSION ==6 ) -#define CONFIG_MXC_UART_BASE UART1_BASE#define CONSOLE_DEV "ttymxc0"#endif include/configs/imx8mm_evk.h +0
-1@@ -68,7 +68,6 @@#define PHYS_SDRAM 0x40000000#define PHYS_SDRAM_SIZE 0x80000000/* 2GB DDR */ -#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR/* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 2048include/configs/imx8mn_evk.h +0
-1@@ -75,7 +75,6 @@#define PHYS_SDRAM 0x40000000#define PHYS_SDRAM_SIZE 0x80000000/* 2GB DDR */ -#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR/* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 2048include/configs/imx8mp_evk.h +0
-1@@ -80,7 +80,6 @@#define PHYS_SDRAM_2 0x100000000#define PHYS_SDRAM_2_SIZE 0xC0000000/* 3 GB */ -#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR/* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 2048include/configs/mx7dsabresd.h +0
-1@@ -12,7 +12,6 @@#define PHYS_SDRAM_SIZE SZ_1G -#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR#ifdef CONFIG_IMX_BOOTAUX /* Set to QSPI1 A flash at default */ include/configs/somlabs_visionsom_6ull.h +0
-1@@ -16,7 +16,6 @@/* SPL options */ #include "imx6_spl.h" -#define CONFIG_MXC_UART_BASE UART1_BASE/* MMC Configs */ #ifdef CONFIG_FSL_USDHC include/configs/tbs2910.h +0
-0
include/configs/tbs2910.h line 27
Quoted 3 lines
include/configs/tbs2910.h +0
-0@@ -25,7 +25,6 @@#define CONFIG_SYS_BOOTMAPSZ 0x10000000/* Serial console */
Since the whole section becomes empty, please also remove this comment and the empty line.
Thanks for the cleanup,
Soeren
Quoted 28 lines
include/configs/tbs2910.h +0
-1-#define CONFIG_MXC_UART_BASE UART1_BASE/* select UART1/UART2 */ /* Framebuffer */ #define CONFIG_IMX_HDMI include/configs/verdin-imx8mm.h +0
-1@@ -84,7 +84,6 @@#define PHYS_SDRAM_SIZE SZ_2G/* 2GB DDR */ /* UART */ -#define CONFIG_MXC_UART_BASE UART1_BASE_ADDR/* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE SZ_2Kinclude/configs/verdin-imx8mp.h +0
-1@@ -101,7 +101,6 @@#define PHYS_SDRAM_2_SIZE (SZ_4G + SZ_1G)/* UART */ -#define CONFIG_MXC_UART_BASE UART3_BASE_ADDR/* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE SZ_2K