This stub needs to link SPL properly.
Signed-off-by: Oleksandr Suvorov <[email protected]>
---
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