From: Lukasz Majewski Date: Sun, 9 Jun 2019 20:54:44 +0000 (+0200) Subject: ARM: display5: Remove U_BOOT_DEVICE definition of serial_mxc X-Git-Tag: v2019.10-rc1~9^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41d185d142365625700f2df5d5d7b237da4bc58d;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Peng Fan --- diff --git a/board/liebherr/display5/display5.c b/board/liebherr/display5/display5.c index 6b7ff0a..ea49b71 100644 --- a/board/liebherr/display5/display5.c +++ b/board/liebherr/display5/display5.c @@ -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, -};