diff mbox series

[02/22] imx: imx8m[m/n/p]_venice: Enable SPL_DM_SERIAL

Message ID 20220523124034.12813-3-peng.fan@oss.nxp.com
State Not Applicable
Delegated to: Stefano Babic
Headers show
Series imx: patches in queue | expand

Commit Message

Peng Fan (OSS) May 23, 2022, 12:40 p.m. UTC
From: Peng Fan <peng.fan@nxp.com>

Enable CONFIG_SPL_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
---
 include/configs/imx8mm_venice.h | 3 ---
 include/configs/imx8mn_venice.h | 3 ---
 include/configs/imx8mp_venice.h | 3 ---
 3 files changed, 9 deletions(-)

Comments

Tim Harvey May 23, 2022, 5:10 p.m. UTC | #1
On Mon, May 23, 2022 at 4:58 AM Peng Fan (OSS) <peng.fan@oss.nxp.com> wrote:
>
> From: Peng Fan <peng.fan@nxp.com>
>
> Enable CONFIG_SPL_DM_SERIAL. uart2 and its pinmux was already
> marked with u-boot,dm-spl.
> Move preloader_console_init after spl_early_init to make sure driver
> model work.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> Acked-by: Tim Harvey <tharvey@gateworks.com>
> Reviewed-by: Fabio Estevam <festevam@denx.de>
> ---
>  include/configs/imx8mm_venice.h | 3 ---
>  include/configs/imx8mn_venice.h | 3 ---
>  include/configs/imx8mp_venice.h | 3 ---
>  3 files changed, 9 deletions(-)
>
> diff --git a/include/configs/imx8mm_venice.h b/include/configs/imx8mm_venice.h
> index 9836d5b73ca..90e8941a254 100644
> --- a/include/configs/imx8mm_venice.h
> +++ b/include/configs/imx8mm_venice.h
> @@ -101,9 +101,6 @@
>  #define PHYS_SDRAM_SIZE                        SZ_4G
>  #define CONFIG_SYS_BOOTM_LEN           SZ_256M
>
> -/* UART */
> -#define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(2)
> -
>  /* Monitor Command Prompt */
>  #define CONFIG_SYS_CBSIZE              SZ_2K
>  #define CONFIG_SYS_MAXARGS             64
> diff --git a/include/configs/imx8mn_venice.h b/include/configs/imx8mn_venice.h
> index 3cbe11a9035..6555dd4349c 100644
> --- a/include/configs/imx8mn_venice.h
> +++ b/include/configs/imx8mn_venice.h
> @@ -97,9 +97,6 @@
>  #define PHYS_SDRAM_SIZE                        SZ_4G
>  #define CONFIG_SYS_BOOTM_LEN           SZ_256M
>
> -/* UART */
> -#define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(2)
> -
>  /* Monitor Command Prompt */
>  #define CONFIG_SYS_CBSIZE              SZ_2K
>  #define CONFIG_SYS_MAXARGS             64
> diff --git a/include/configs/imx8mp_venice.h b/include/configs/imx8mp_venice.h
> index 4120e4cc6ba..c09a1b4572a 100644
> --- a/include/configs/imx8mp_venice.h
> +++ b/include/configs/imx8mp_venice.h
> @@ -97,9 +97,6 @@
>  #define PHYS_SDRAM_SIZE                        SZ_4G
>  #define CONFIG_SYS_BOOTM_LEN           SZ_256M
>
> -/* UART */
> -#define CONFIG_MXC_UART_BASE           UART2_BASE_ADDR
> -
>  /* Monitor Command Prompt */
>  #define CONFIG_SYS_CBSIZE              SZ_2K
>  #define CONFIG_SYS_MAXARGS             64
> --
> 2.36.0
>

Thanks Peng,

Tested-By: Tim Harvey <tharvey@gateworks.com>

Best Regards,

Tim
diff mbox series

Patch

diff --git a/include/configs/imx8mm_venice.h b/include/configs/imx8mm_venice.h
index 9836d5b73ca..90e8941a254 100644
--- a/include/configs/imx8mm_venice.h
+++ b/include/configs/imx8mm_venice.h
@@ -101,9 +101,6 @@ 
 #define PHYS_SDRAM_SIZE			SZ_4G
 #define CONFIG_SYS_BOOTM_LEN		SZ_256M
 
-/* UART */
-#define CONFIG_MXC_UART_BASE		UART_BASE_ADDR(2)
-
 /* Monitor Command Prompt */
 #define CONFIG_SYS_CBSIZE		SZ_2K
 #define CONFIG_SYS_MAXARGS		64
diff --git a/include/configs/imx8mn_venice.h b/include/configs/imx8mn_venice.h
index 3cbe11a9035..6555dd4349c 100644
--- a/include/configs/imx8mn_venice.h
+++ b/include/configs/imx8mn_venice.h
@@ -97,9 +97,6 @@ 
 #define PHYS_SDRAM_SIZE			SZ_4G
 #define CONFIG_SYS_BOOTM_LEN		SZ_256M
 
-/* UART */
-#define CONFIG_MXC_UART_BASE		UART_BASE_ADDR(2)
-
 /* Monitor Command Prompt */
 #define CONFIG_SYS_CBSIZE		SZ_2K
 #define CONFIG_SYS_MAXARGS		64
diff --git a/include/configs/imx8mp_venice.h b/include/configs/imx8mp_venice.h
index 4120e4cc6ba..c09a1b4572a 100644
--- a/include/configs/imx8mp_venice.h
+++ b/include/configs/imx8mp_venice.h
@@ -97,9 +97,6 @@ 
 #define PHYS_SDRAM_SIZE			SZ_4G
 #define CONFIG_SYS_BOOTM_LEN		SZ_256M
 
-/* UART */
-#define CONFIG_MXC_UART_BASE		UART2_BASE_ADDR
-
 /* Monitor Command Prompt */
 #define CONFIG_SYS_CBSIZE		SZ_2K
 #define CONFIG_SYS_MAXARGS		64