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>
This commit is contained in:
Caleb Connolly 2024-07-15 12:08:00 +02:00
parent f659ba4383
commit 1fbd0582a2
No known key found for this signature in database
GPG key ID: 0583312B195F64B6

View file

@ -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);