u-boot/drivers
Lukasz Majewski 1b8c986b68 IMX: serial: dm: Set DM_FLAG_PRE_RELOC in the IMX uart driver
The DM_FLAG_PRE_RELOC shall be set unconditionally as this driver is going
to be re-used in both early SPL and U-Boot proper's pre-reloc.

For i.MX based devices it is crucial to have available the serial console
before relocation (otherwise the board may hand).

The device definition may be provided either via device tree description or
with U_BOOT_DEVICE(mxc_serial) definition. In the latter case the device
will not bind in U-Boot proper when DM_FLAG_PRE_RELOC is not set.

The !CONFIG_IS_ENABLED(OF_CONTROL) #if check was set as a "workaround" for
DM problem described in following commit 4687919684
("serial: Remove DM_FLAG_PRE_RELOC flag in various drivers").

Let's look on this check more thoroughly - we add this flag if the board
doesn't support OF_CONTROL. This is a bit strange as the serial_mxc.c can
be used with CONFIG_DM_SERIAL but without corresponding device tree
description (OF_CONTROL). In such case the aforementioned
U_BOOT_DEVICE(mxc_serial) definition is used.

Other boards/SoCs have this flag set unconditionally for serial driver.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
2019-07-19 20:14:50 +02:00
..
adc adc: stm32: Fix warnings when compiling with W=1 2019-07-12 11:50:55 +02:00
ata ata: fsl_ahci: Add sata DM support for Freescale powerpc socs 2019-05-23 19:53:09 +05:30
axi drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bios_emulator bios_emulator: remove assignment without effect 2018-07-23 14:33:21 -04:00
block blk: Invalidate block cache when switching hwpart 2019-07-18 11:31:31 -04:00
board board: gazerbeam: Fix SC detection 2019-05-21 08:03:38 +02:00
bootcount bootcount: add a DM RTC backing store for bootcount 2018-12-10 10:04:45 +01:00
cache dm: cache: add the pl310 cache controller driver 2019-05-05 08:48:50 -04:00
clk clk: sandbox: Add sandbox test code for Common Clock Framework [CCF] 2019-07-19 14:50:30 +02:00
core regmap: Add API regmap_init_mem_index() 2019-07-17 11:12:08 -04:00
cpu cpu: Bind timer driver for boot hart 2019-02-27 09:12:33 +08:00
crypto Revert "drivers/crypto/fsl: assign job-rings to non-TrustZone" 2019-06-11 10:42:48 +02:00
ddr mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE 2019-05-21 07:52:33 +02:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu dfu: mmc: call fs functions instead of run_command 2019-01-30 21:22:53 -05:00
dma CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
fastboot fastboot: Check if partition really exist in getvar_has_slot() 2019-06-14 12:39:54 +02:00
firmware firmware: ti_sci: Always request response from firmware 2019-05-03 07:23:17 -04:00
fpga spl: socfpga: Implement fpga bitstream loading with socfpga loadfs 2019-05-10 22:48:11 +02:00
gpio gpio: Add missing parenthesis to the GPIO_TO_PORT define 2019-07-19 20:14:50 +02:00
hwspinlock hwspinlock: add stm32 hardware spinlock support 2018-12-06 23:26:33 -05:00
i2c i2c: omap24xx_i2c: Adapt driver to support K3 devices 2019-07-17 11:12:54 -04:00
input Kconfig: tegra: Migrate TEGRA_KEYBOARD 2019-02-20 09:01:45 -07:00
led led: bcm6858: allow to use this driver on ARCH_963158 2019-04-23 17:57:22 -04:00
mailbox mailbox: introduce stm32-ipcc driver 2019-07-12 11:18:53 +02:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc misc: imx8: add sc_misc_get_temp 2019-07-19 15:16:54 +02:00
mmc mmc: am654_sdhci: Allow driver to probe without PDs specified 2019-07-17 11:12:54 -04:00
mtd i.MX6: nand: add nandbcb command for imx 2019-07-19 14:51:25 +02:00
net net: fec: Enable support for i.MX28 DM_ETH in the fec_mxc.c driver 2019-07-19 14:57:14 +02:00
nvme nvme: Fix warning of cast from pointer to integer of different size 2019-05-19 16:17:33 +08:00
pch pch: Add ioctl support 2019-02-20 15:27:08 +08:00
pci pci: ensure enumeration of all devices in pci_init 2019-07-12 21:07:58 -04:00
pci_endpoint pci_ep: fix wrong addressing to barno 2019-07-18 11:31:32 -04:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy sunxi: phy: Add USB PHY support for Allwinner H6 2019-07-16 17:13:15 +05:30
pinctrl pinctrl: mxs: Add support for i.MX2[38] mxs pinctrl driver 2019-07-19 14:57:14 +02:00
power regulator: bd718x7: support ROHM BD71837 and BD71847 PMICs 2019-07-19 15:18:47 +02:00
pwm pwm: imx: add DM_PWM support 2019-07-19 20:14:50 +02:00
qe configs: Migrate CONFIG_FMAN_ENET and some related options to Kconfig 2019-05-26 14:40:50 -04:00
ram ram: stm32mp1_ram: Fix warnings when compiling with W=1 2019-07-12 11:50:56 +02:00
remoteproc remoteproc: k3_system_controller: Increase rx timeout 2019-05-09 20:22:05 -04:00
reset reset: socfpga: convert to livetree 2019-05-10 22:48:11 +02:00
rtc rtc: Add DM support to ds3231 2019-07-18 11:31:23 -04:00
scsi dm: scsi: report correct device number 2019-02-19 08:55:43 -05:00
serial IMX: serial: dm: Set DM_FLAG_PRE_RELOC in the IMX uart driver 2019-07-19 20:14:50 +02:00
smem drivers: smem: sandbox 2018-07-19 16:31:38 -04:00
soc soc: keystone: Merge into ti specific directory 2019-04-11 20:07:12 -04:00
sound sound: tegra: Add a sound driver 2019-05-24 10:14:10 -07:00
spi spi: mxs: Add support DM/DTS for i.MX28 mxs SPI driver (DM_SPI conversion) 2019-07-19 14:57:14 +02:00
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset - syscon: add support for power off 2019-07-14 09:09:49 -04:00
tee test/py: avb: fix test_avb_persistent_values fail 2019-05-09 19:52:55 -04:00
thermal thermal: add i.MX8 thermal driver 2019-07-19 15:17:05 +02:00
timer timer: dw-apb: remove unused DECLARE_GLOBAL_DATA_PTR 2019-05-10 22:48:11 +02:00
tpm tpm: wait for valid status 2019-07-11 14:11:18 -04:00
usb usb: musb-new: omap2430: Fix compilation warning with USB_MUSB_GADGET 2019-07-13 11:11:27 -04:00
video fdt: Allow indicating a node is for U-Boot proper only 2019-07-10 16:52:58 -06:00
virtio virtio: Add a Sandbox transport driver 2018-11-14 09:16:28 -08:00
w1 w1: Add driver for i.MX bus master controller 2019-01-01 14:12:18 +01:00
w1-eeprom w1-eeprom: Add support for Maxim DS2502 add only memory 2018-11-16 16:51:55 -05:00
watchdog watchdog: imx: Add DM support 2019-07-19 20:14:50 +02:00
Kconfig drivers: pci_ep: Introduce UCLASS_PCI_EP uclass 2019-07-11 10:05:15 -04:00
Makefile drivers: pci_ep: Introduce UCLASS_PCI_EP uclass 2019-07-11 10:05:15 -04:00