[U-Boot] [PATCH v3 06/10] colibri_imx7: remove legancy UART platform data

Stefan Agner stefan at agner.ch
Thu Oct 6 00:27:08 CEST 2016


From: Stefan Agner <stefan.agner at toradex.com>

We now use device tree to provide SoC data to the UART driver, there
is no need for the legancy UART platform data.

Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
---

 board/toradex/colibri_imx7/colibri_imx7.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c
index ddb3085..bd7d5bc 100644
--- a/board/toradex/colibri_imx7/colibri_imx7.c
+++ b/board/toradex/colibri_imx7/colibri_imx7.c
@@ -368,13 +368,3 @@ int board_ehci_hcd_init(int port)
 	return 0;
 }
 #endif
-
-static struct mxc_serial_platdata mxc_serial_plat = {
-	.reg = (struct mxc_uart *)UART1_IPS_BASE_ADDR,
-	.use_dte = true,
-};
-
-U_BOOT_DEVICE(mxc_serial) = {
-	.name = "serial_mxc",
-	.platdata = &mxc_serial_plat,
-};
-- 
2.10.0



More information about the U-Boot mailing list