summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorSam Day <[email protected]>2025-01-23 12:12:14 +0000
committerCaleb Connolly <[email protected]>2025-03-17 13:38:18 +0000
commit11ff5a57e2fb82c8a8cef3aa8d2727452c282815 (patch)
treef329353a49f1b73f7c66693c3f48a99d40c63f65 /doc/develop
parent2babb61428dcb55067a81f88bbc2124924807345 (diff)
mach-snapdragon: support parsing memory info from external FDT
qcom_parse_memory is updated to return a -ENODATA error if the passed FDT does not contain a /memory node, or that node is incomplete (size=0) board_fdt_blob_setup first tries to call qcom_parse_memory with the internal FDT (if present+valid). If that fails, it tries again with the external FDT (again, if present+valid). When booting with an internal FDT from upstream, it's likely that this change results in a slight performance hit, since virtually all upstream qcom DTs lack a fully specified memory node. The impact should be negligible, though. qcom_parse_memory was given a detailed docstring adapted from Caleb's original commit message that introduced the function. Reviewed-by: Caleb Connolly <[email protected]> Signed-off-by: Sam Day <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Caleb Connolly <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions