cpu: sandbox: support is_current
authorPeng Fan <peng.fan@nxp.com>
Sun, 3 May 2020 13:58:48 +0000 (21:58 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 3 May 2020 13:45:49 +0000 (15:45 +0200)
commitb1e894ff500819654cea82ab2f20cd4d91b4c5c2
treeeda7071b295dd64e703fb8b4537267a84660cf0b
parent4c809aee50f5128f815a7f272cdf2d30a1e1e76e
cpu: sandbox: support is_current

Support querying whether U-Boot is running on current cpu

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/cpu/cpu_sandbox.c