u-boot/drivers/serial
Simon Glass ea14778d06 dm: core: Call ofdata_to_platdata() with of-platdata
At present this function is never called when of-platdata is enabled since
we never have a device tree. However, this function is responsible for
copying over the of-platdata, so we must call it. Otherwise the probe()
method would have to be used.

Correct this and fix the sandbox serial driver to not read from the device
tree and try to write to what is read-only platdata on some platforms.

Fixes: 396e343b3d (dm: core: Allow binding a device from a live tree)
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-10-08 13:57:38 +08:00
..
altera_jtag_uart.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
altera_uart.c serial: altera_uart: convert to livetree 2019-05-10 22:48:11 +02:00
arm_dcc.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
atmel_usart.c serial: atmel_usart: Use fixed clock value in SPL version with DM_SERIAL 2019-04-09 09:28:50 +03:00
atmel_usart.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig Kconfig: Varios: Fix more SPL, TPL dependencies 2019-08-26 11:46:29 -04:00
lpc32xx_hsuart.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile drivers: serial: Add SiFive UART driver 2018-12-18 09:56:54 +08:00
mcfuart.c drivers: serial: mcfuart: add DT support 2019-05-24 08:11:58 -04:00
ns16550.c serial: ns16550: Allow serial to enabled/disabled in SPL 2019-10-08 13:51:01 +08:00
sandbox.c dm: core: Call ofdata_to_platdata() with of-platdata 2019-10-08 13:57:38 +08:00
serial-uclass.c env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
serial.c env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
serial_ar933x.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_arc.c serial_arc: Allocate buffer for private data 2019-01-25 08:40:26 +03:00
serial_bcm283x_mu.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_bcm283x_pl011.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_bcm6345.c serial: bcm6345: switch to raw I/O functions 2018-12-07 08:13:46 -05:00
serial_efi.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_intel_mid.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_linflexuart.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial_lpuart.c serial_lpuart: Fix config check issue when using clk driver in SPL 2019-08-11 16:43:41 -04:00
serial_meson.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_mpc8xx.c drivers: serial: get rid of non DM mpc8xx driver 2018-12-03 10:44:10 -05:00
serial_msm.c serial: serial_msm: added pinmux & config 2018-05-26 18:19:17 -04:00
serial_mtk.c serial: MediaTek: add high-speed uart driver for MediaTek SoCs 2018-11-28 23:04:53 -05:00
serial_mvebu_a3700.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_mxc.c serial: mxc: Add compatibles to NXP's serial driver (for imx21 and imx53) 2019-07-19 20:32:24 +02:00
serial_ns16550.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial_nulldev.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial_omap.c serial: omap: Add code for early debugging 2018-12-07 08:13:49 -05:00
serial_owl.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_pic32.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_pl01x.c drivers: serial: dm: Enable DM_FLAG_PRE_RELOC in SBSA pl011 uart driver 2019-02-09 07:50:55 -05:00
serial_pl01x_internal.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial_pxa.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial_rockchip.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
serial_s5p.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_sh.c serial: sh: Drop assorted SH3, SH4, SH5 macros 2019-05-10 22:43:18 +02:00
serial_sh.h sh: sh3: Remove CPU support 2019-05-10 22:43:18 +02:00
serial_sifive.c riscv : serial: use rx watermark to indicate rx data is present 2019-08-15 13:42:28 +08:00
serial_sti_asc.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_stm32.c serial: stm32: add Framing error support 2019-08-27 11:19:23 +02:00
serial_stm32.h serial: stm32: add Framing error support 2019-08-27 11:19:23 +02:00
serial_uniphier.c serial: uniphier: set clock rate without clock-frequency property 2018-06-23 01:28:15 +09:00
serial_xuartlite.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_zynq.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
usbtty.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
usbtty.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00