diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-05-03 21:58:47 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-05-03 15:45:49 +0200 |
commit | 4c809aee50f5128f815a7f272cdf2d30a1e1e76e (patch) | |
tree | 41fba222d2362cf5efe94369a81b3828703c3b95 /drivers/cpu/Kconfig | |
parent | d8e775539e6d69a2bf9d4de721f6ad1560de7823 (diff) |
uclass: cpu: Add new API to get udevice for current CPU
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 udevice in
cpu uclass.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'drivers/cpu/Kconfig')
0 files changed, 0 insertions, 0 deletions