]> Git Repo - u-boot.git/commit
simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver
authorLukas Auer <[email protected]>
Wed, 10 Apr 2019 12:46:07 +0000 (14:46 +0200)
committerSimon Glass <[email protected]>
Wed, 24 Apr 2019 02:26:43 +0000 (20:26 -0600)
commit3a7c45f6a7725808e2e82908be4bc90d4d78e737
tree8d7105f4ee08b058e1889df14aeb5376c2ef0eb0
parent569cec5e840601a1491d899e5c434ee59c70cb57
simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver

Boards such as qemu-riscv, which receive their device tree at runtime,
for example from QEMU or firmware, are unable to add the appropriate
device tree properties to make devices available pre relocation.
Instead, they must rely on the DM_FLAG_PRE_RELOC flag to be set for the
required drivers.

Add the DM_FLAG_PRE_RELOC flag to the simple-bus driver to make devices
under it with drivers that have set the flag as well available pre
relocation for these boards.

Signed-off-by: Lukas Auer <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>
drivers/core/simple-bus.c
This page took 0.033704 seconds and 4 git commands to generate.