drivers: bcm283x: Set pre-location flag for OF_BOARD 58/219658/1
authorMatthias Brugger <mbrugger@suse.com>
Fri, 8 Nov 2019 13:49:48 +0000 (14:49 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 9 Dec 2019 05:23:48 +0000 (14:23 +0900)
commit01da938c4d4740e9295126d13b8b850512e44d52
treecbb3c55b2917d75d5a74a9f9ae67c9b5f2b35a18
parent14a50ded6b3c1db9a12b1148186b26e9f981bf17
drivers: bcm283x: Set pre-location flag for OF_BOARD

U-Boot support on Raspberry Pi 4 relies on the device-tree
provided by the firmware. The blob does not contain the
U-Boot specific pre-loc-rel properties. The result is, that
the U-Boot banner is not printed.

We fix this by setting the DM_FLAG_PRE_RELOC flag in the driver,
if we rely on a device-tree provided by the firmware.

Change-Id: I7b9d5958ba00643e1feb17a570d748f80e6e660a
Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
drivers/pinctrl/broadcom/pinctrl-bcm283x.c
drivers/serial/serial_bcm283x_mu.c
drivers/serial/serial_bcm283x_pl011.c