summaryrefslogtreecommitdiff
path: root/include/sbi_utils/timer
diff options
context:
space:
mode:
authorInochi Amaoto <[email protected]>2023-11-17 20:13:09 +0800
committerAnup Patel <[email protected]>2023-12-11 10:35:32 +0530
commit6112d584d435d2d2f2685cfcd8321c389056636b (patch)
tree4e34fc7de22cfad3e06c31a836e2bf8844cf4732 /include/sbi_utils/timer
parenta2e254e88162a589c42f0e4f382170fb0d7a6d85 (diff)
lib: utils/fdt: Allow to use reg-names when parsing ACLINT
Currently, the fdt_parse_aclint_node() follows a fixed order to parse ACLINT timer. This may cause the undesirable result when the ACLINT device does not support mtime without adding an empty entry for it in the DT. To be robust, make fdt_parse_aclint_node() support "reg-names" property, so it can parse the DT in an order independent way. For compatibility, fdt_parse_aclint_node() only use "reg-names" when parsing ACLINT timer, and will fallback to the old way if "reg-names" property is not found. Link: https://lore.kernel.org/all/20231114-skedaddle-precinct-66c8897227bb@squawk/ Signed-off-by: Inochi Amaoto <[email protected]> Reviewed-by: Anup patel <[email protected]>
Diffstat (limited to 'include/sbi_utils/timer')
0 files changed, 0 insertions, 0 deletions