test: cpu: test current cpu
authorPeng Fan <peng.fan@nxp.com>
Sun, 3 May 2020 13:58:49 +0000 (21:58 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 3 May 2020 13:45:49 +0000 (15:45 +0200)
commit143f0eeddda915bfbd6c8024a667c37084d4bdc2
tree330919c79e5601e6ea1362e179ea08bbefdbbe05
parentb1e894ff500819654cea82ab2f20cd4d91b4c5c2
test: cpu: test current cpu

Add test whether the CPU is U-Boot is running from.

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