colibri_imx7: remove legancy UART platform data
authorStefan Agner <stefan.agner@toradex.com>
Wed, 5 Oct 2016 22:27:08 +0000 (15:27 -0700)
committerStefano Babic <sbabic@denx.de>
Fri, 7 Oct 2016 10:26:15 +0000 (12:26 +0200)
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,
-};