]> git.sur5r.net Git - u-boot/blobdiff - lib/vsprintf.c
MX5: Add AHB clock reporting and fix IPG clock reporting
[u-boot] / lib / vsprintf.c
index c029fbbc48191d58c1afd14c25af8e4ab2bc4971..79dead3996eb14bc82f40a68966be743e0743216 100644 (file)
@@ -730,3 +730,11 @@ void panic(const char *fmt, ...)
        while (1)
                ;
 }
+
+void __assert_fail(const char *assertion, const char *file, unsigned line,
+                  const char *function)
+{
+       /* This will not return */
+       panic("%s:%u: %s: Assertion `%s' failed.", file, line, function,
+             assertion);
+}