[U-Boot] [RFC 6/9] pico-imx7d-pico: defconfig: Switch to DM for UART

Fabio Estevam festevam at gmail.com
Thu Feb 14 12:17:47 UTC 2019


On Sun, Jan 20, 2019 at 7:56 PM Joris Offouga <offougajoris at gmail.com> wrote:
>
> This commit switches to DM UART for pico-imx7d-pico.
>
> Signed-off-by: Joris Offouga <offougajoris at gmail.com>
> ---
>  arch/arm/dts/imx7d-pico-pi.dts  | 4 ++++
>  configs/pico-pi-imx7d_defconfig | 1 +
>  2 files changed, 5 insertions(+)
>
> diff --git a/arch/arm/dts/imx7d-pico-pi.dts b/arch/arm/dts/imx7d-pico-pi.dts
> index d4aca96..806a2f9 100644
> --- a/arch/arm/dts/imx7d-pico-pi.dts
> +++ b/arch/arm/dts/imx7d-pico-pi.dts
> @@ -12,6 +12,10 @@
>                 mmc0 = &usdhc3;
>         };
>
> +       chosen {
> +         stdout-path = &uart5;
> +    };
> +
>         leds {
>                 compatible = "gpio-leds";
>                 pinctrl-names = "default";
> diff --git a/configs/pico-pi-imx7d_defconfig b/configs/pico-pi-imx7d_defconfig
> index dd8af7f..868abb0 100644
> --- a/configs/pico-pi-imx7d_defconfig
> +++ b/configs/pico-pi-imx7d_defconfig
> @@ -28,6 +28,7 @@ CONFIG_PINCTRL=y
>  CONFIG_PINCTRL_IMX7=y
>  CONFIG_DM_GPIO=y
>  CONFIG_DM_I2C=y
> +CONFIG_DM_SERIAL=y

After converting the other imx7 pico defconfigs you can add:

Reviewed-by: Fabio Estevam <festevam at gmail.com>


More information about the U-Boot mailing list