]> code.ossystems Code Review - bsp/u-boot.git/commitdiff
colibri_imx7: remove legancy UART platform data
authorStefan Agner <stefan.agner@toradex.com>
Tue, 2 Aug 2016 05:50:20 +0000 (22:50 -0700)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 16 Sep 2016 17:25:40 +0000 (14:25 -0300)
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@toradex.com>
board/toradex/colibri_imx7/colibri_imx7.c

index ddb308548e2c68e2aa2119b1056bcd56c77400e9..bd7d5bc858485552ef94022e667478b9a5256aa6 100644 (file)
@@ -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,
-};