[U-Boot] [RFC 6/9] pico-imx7d-pico: defconfig: Switch to DM for UART
Joris Offouga
offougajoris at gmail.com
Sun Jan 20 21:18:55 UTC 2019
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
# CONFIG_CMD_BOOTD is not set
CONFIG_CMD_BOOTMENU=y
# CONFIG_CMD_IMI is not set
--
2.7.4
More information about the U-Boot
mailing list