Re: [PATCH 01/12] of: Add of_get_cpu_hwid() to read hardware ID from CPU nodes

2021-10-18 Thread Sudeep Holla
On Wed, Oct 06, 2021 at 11:43:21AM -0500, Rob Herring wrote: > 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,

[PATCH 01/12] of: Add of_get_cpu_hwid() to read hardware ID from CPU nodes

2021-10-06 Thread Rob Herring
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 Signed-off-by: