warp7: Switch to DM Serial
authorPierre-Jean Texier <pjtexier@koncepto.io>
Fri, 19 Apr 2019 18:34:11 +0000 (20:34 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 25 Apr 2019 17:20:32 +0000 (19:20 +0200)
This commit switches to DM SERIAL for warp7 and warp7_bl33 defconfigs.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/dts/imx7s-warp.dts
configs/warp7_bl33_defconfig
configs/warp7_defconfig
include/configs/warp7.h

index d28b7ec..4d87348 100644 (file)
                mmc0 = &usdhc3;
        };
 
+       chosen {
+               stdout-path = &uart1;
+       };
+
        gpio-keys {
                compatible = "gpio-keys";
                pinctrl-0 = <&pinctrl_gpio>;
index 6eaf152..d34f76b 100644 (file)
@@ -38,6 +38,8 @@ CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_PFUZE100=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
+CONFIG_SPECIFY_CONSOLE_INDEX=y
+CONFIG_DM_SERIAL=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_MXC_USB_OTG_HACTIVE=y
index 28aa06f..ae424ab 100644 (file)
@@ -47,6 +47,8 @@ CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_PFUZE100=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
+CONFIG_SPECIFY_CONSOLE_INDEX=y
+CONFIG_DM_SERIAL=y
 CONFIG_OPTEE=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 4947597..37649cf 100644 (file)
@@ -24,8 +24,6 @@
 #endif
 #endif
 
-#define CONFIG_MXC_UART_BASE           UART1_IPS_BASE_ADDR
-
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN          (35 * SZ_1M)