[U-Boot] [PATCH v2 0/4] dm: core: Scan "/firmware" node by default
Michal Simek
michal.simek at xilinx.com
Wed Sep 26 06:33:44 UTC 2018
Hi Simon,
On 19.9.2018 12:43, Rajan Vaja wrote:
> All Linux firmware drivers are put under "/firmware" node
> and it has support to populate "/firmware" node by default.
>
> u-boot and Linux can share same DTB. In this case, driver
> probe for devices under "/firmware" will not be invoked
> as "/firmware" does not have its own "compatible" property.
>
> This patch series scans "/firmware" node by default like "/clocks".
> To avoid duplication of code, first patch moves, node scan code
> into separate function.
>
> This series also test to make sure "/firmware" nodes are scanned
> properly.
>
> Rajan Vaja (4):
> firmware: Add FIRMWARE config prompt string
> dm: core: Move "/clock" node scan into function
> dm: core: Scan "/firmware" node by default
> dm: test: Add "/firmware" node scan test
>
> arch/sandbox/dts/test.dts | 7 +++++++
> drivers/core/root.c | 35 ++++++++++++++++++++++-------------
> drivers/firmware/Kconfig | 2 +-
> drivers/firmware/Makefile | 1 +
> drivers/firmware/firmware-sandbox.c | 20 ++++++++++++++++++++
> test/dm/Makefile | 1 +
> test/dm/firmware.c | 22 ++++++++++++++++++++++
> 7 files changed, 74 insertions(+), 14 deletions(-)
> create mode 100644 drivers/firmware/firmware-sandbox.c
> create mode 100644 test/dm/firmware.c
>
Can you please take it via your tree?
Thanks,
Michal
More information about the U-Boot
mailing list