[PATCH] spl: provide weak empty stub for reset_cpu()
Oleksandr Suvorov
oleksandr.suvorov at foundries.io
Thu Aug 17 16:35:37 CEST 2023
This stub needs to link SPL properly.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
---
common/spl/spl.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 0062f3f45d9..781858891b9 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -1026,3 +1026,11 @@ ulong bootcount_load(void)
return 0;
}
#endif
+
+/**
+ * Weak default function for board-specific reset. Provide empty stub only.
+ */
+__weak void reset_cpu(void)
+{
+ /* Nothing to do! */
+}
--
2.41.0
More information about the U-Boot
mailing list