Re: [PATCH 1/7] uclass: cpu: Add new API to get udevice for current CPU

2020-04-29 Thread Simon Glass
Hi Peng, On Tue, 28 Apr 2020 at 19:54, Peng Fan wrote: > > When running on SoC with multiple clusters, the boot CPU may > not be fixed, saying booting from cluster A or cluster B. > Add a API that can return the udevice for current boot CPU. > Cpu driver needs to implement is_current_cpu interfac

[PATCH 1/7] uclass: cpu: Add new API to get udevice for current CPU

2020-04-28 Thread Peng Fan
When running on SoC with multiple clusters, the boot CPU may not be fixed, saying booting from cluster A or cluster B. Add a API that can return the udevice for current boot CPU. Cpu driver needs to implement is_current_cpu interface for this feature, otherwise the API only returns the first udevic