diff options
author | Caleb Connolly | 2024-07-15 12:08:00 +0200 |
---|---|---|
committer | Caleb Connolly | 2024-07-26 01:28:09 +0200 |
commit | 1fbd0582a28d108c77d7f9135a7f2c3da2398b72 (patch) | |
tree | 2f3946da098e64f65a36d490e6b0f63d5cc4b7f7 | |
parent | f659ba43837e5ae5a35fdff3736c8e13f9062abd (diff) |
dm: core: scan reserved-memory nodes
Qualcomm platforms may have drivers that bind to reserved memory nodes
(cmd-db [1] and smem [2]) which are relevant to U-Boot. Include
/reserved-memory in dm_extended_scan() so that these will be handled
correctly.
[1]: https://www.kernel.org/doc/Documentation/devicetree/bindings/reserved-memory/qcom%2Ccmd-db.yaml
[2]: https://www.kernel.org/doc/Documentation/devicetree/bindings/soc/qcom/qcom%2Csmem.yaml
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
-rw-r--r-- | drivers/core/root.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/core/root.c b/drivers/core/root.c index 7cf6607a9b7..7a714f5478a 100644 --- a/drivers/core/root.c +++ b/drivers/core/root.c @@ -243,7 +243,8 @@ int dm_extended_scan(bool pre_reloc_only) const char * const nodes[] = { "/chosen", "/clocks", - "/firmware" + "/firmware", + "/reserved-memory", }; ret = dm_scan_fdt(pre_reloc_only); |