"Das U-Boot" Source Tree

cpu: sandbox: implement release_core callback

Add empty release CPU core function for testing.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

authored by

Hou Zhiqiang and committed by
Fabio Estevam
3694edca f2c306cd

+6
+6
drivers/cpu/cpu_sandbox.c
··· 44 44 cpu_current = name; 45 45 } 46 46 47 + static int cpu_sandbox_release_core(const struct udevice *dev, phys_addr_t addr) 48 + { 49 + return 0; 50 + } 51 + 47 52 static int cpu_sandbox_is_current(struct udevice *dev) 48 53 { 49 54 if (!strcmp(dev->name, cpu_current)) ··· 58 63 .get_count = cpu_sandbox_get_count, 59 64 .get_vendor = cpu_sandbox_get_vendor, 60 65 .is_current = cpu_sandbox_is_current, 66 + .release_core = cpu_sandbox_release_core, 61 67 }; 62 68 63 69 static int cpu_sandbox_bind(struct udevice *dev)