Skip to content
Commit 1949c0eb authored by Rob Herring's avatar Rob Herring Committed by Stephen Boyd
Browse files

clk: mvebu: Use of_get_cpu_hwid() to read CPU ID



Use of_get_cpu_hwid() rather than the open coded reading of the CPU
nodes "reg" property. The existing code is in fact wrong as the "reg"
address cells size is 2 cells for arm64. The existing code happens to
work because the DTS files are wrong as well.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230327-mvebu-clk-fixes-v2-2-8333729ee45d@kernel.org


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 1ab39168
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment