Commit 41d185d142365625700f2df5d5d7b237da4bc58d

Authored by Lukasz Majewski
Committed by Stefano Babic
1 parent bf99b63c59

ARM: display5: Remove U_BOOT_DEVICE definition of serial_mxc

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>

Showing 1 changed file with 0 additions and 9 deletions Side-by-side Diff

board/liebherr/display5/display5.c
... ... @@ -413,13 +413,4 @@
413 413  
414 414 return 0;
415 415 }
416   -
417   -static struct mxc_serial_platdata mxc_serial_plat = {
418   - .reg = (struct mxc_uart *)UART5_BASE,
419   -};
420   -
421   -U_BOOT_DEVICE(mxc_serial) = {
422   - .name = "serial_mxc",
423   - .platdata = &mxc_serial_plat,
424   -};