drivers: bcm283x: Set pre-location flag for OF_BOARD
authorMatthias Brugger <mbrugger@suse.com>
Fri, 8 Nov 2019 13:49:48 +0000 (14:49 +0100)
committerMatthias Brugger <mbrugger@suse.com>
Sun, 24 Nov 2019 09:46:27 +0000 (10:46 +0100)
commit3f8b8e303655397a15d53660884c8de7c6cdf49f
treea8ccb015c896b8cebb715364f12eddea0bfaafe5
parent5051377a0b2bec1605ce97170585d693a98ec34a
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.

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