diff options
author | Tom Rini <trini@konsulko.com> | 2024-08-02 14:40:59 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-02 14:40:59 -0600 |
commit | 6becf9ba1ab82af6f4fcf9f4d0da38f9c75212d2 (patch) | |
tree | d684ddd8650880d0792445481c4e7e289fa2e473 /drivers/cpu/cpu_sandbox.c | |
parent | a70d991212c9684e09ed80ece69ce1ff7bfd9f08 (diff) | |
parent | 0ee02e1c252da85a6ac75865ca33accde69072b7 (diff) |
Merge tag 'u-boot-imx-master-20240802' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/21846
- Convert warp7 to OF_UPSTREAM.
- Add 'cpu' command to imx8m and imx93.
- Enable CMD_ERASEENV for imx8mm/mp Phytec boards.
Diffstat (limited to 'drivers/cpu/cpu_sandbox.c')
-rw-r--r-- | drivers/cpu/cpu_sandbox.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/cpu/cpu_sandbox.c b/drivers/cpu/cpu_sandbox.c index e65e1bdc51b..b1527957831 100644 --- a/drivers/cpu/cpu_sandbox.c +++ b/drivers/cpu/cpu_sandbox.c @@ -44,6 +44,11 @@ void cpu_sandbox_set_current(const char *name) cpu_current = name; } +static int cpu_sandbox_release_core(const struct udevice *dev, phys_addr_t addr) +{ + return 0; +} + static int cpu_sandbox_is_current(struct udevice *dev) { if (!strcmp(dev->name, cpu_current)) @@ -58,6 +63,7 @@ static const struct cpu_ops cpu_sandbox_ops = { .get_count = cpu_sandbox_get_count, .get_vendor = cpu_sandbox_get_vendor, .is_current = cpu_sandbox_is_current, + .release_core = cpu_sandbox_release_core, }; static int cpu_sandbox_bind(struct udevice *dev) |