ARM: display5: Remove U_BOOT_DEVICE definition of serial_mxc
authorLukasz Majewski <lukma@denx.de>
Sun, 9 Jun 2019 20:54:44 +0000 (22:54 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 19 Jul 2019 18:14:50 +0000 (20:14 +0200)
Before the wide DM/DTS adoption in the U-Boot proper, the display5
has been using only DM_SERIAL to provide serial console in
pre-relocation.

After moving to full DM/DTS adoption in the U-Boot proper the
U_BOOT_DEVICE definition is not needed anymore, as it has been
replaced with udevice creation from provided DTS description.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
board/liebherr/display5/display5.c

index 6b7ff0acb68595956195cb0dbbff789a13b72ec1..ea49b7197f930bf3f713830d3fb86e6b4cdd32f3 100644 (file)
@@ -413,12 +413,3 @@ int misc_init_r(void)
 
        return 0;
 }
-
-static struct mxc_serial_platdata mxc_serial_plat = {
-       .reg = (struct mxc_uart *)UART5_BASE,
-};
-
-U_BOOT_DEVICE(mxc_serial) = {
-       .name = "serial_mxc",
-       .platdata = &mxc_serial_plat,
-};