aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2021-10-06 11:43:21 -0500
committerRob Herring <[email protected]>2021-10-20 13:36:16 -0500
commit795e92ec5fd79027648bd7f779d34bad5b6f2f55 (patch)
tree7ed34ab33981d96f3527ec4b5a49fbc7c08d544c /lib/mpi/mpi-cmp.c
parent378be0cca602cbee8aa441a14f836e9e41e25314 (diff)
of: Add of_get_cpu_hwid() to read hardware ID from CPU nodes
There are various open coded implementions parsing the CPU node 'reg' property which contains the CPU's hardware ID. Introduce a new function, of_get_cpu_hwid(), to read the hardware ID. All the callers should be DT only code, so no need for an empty function. Cc: Frank Rowand <[email protected]> Signed-off-by: Rob Herring <[email protected]> Tested-by: Florian Fainelli <[email protected]> Reviewed-by: Sudeep Holla <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions