summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/assert.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/assert.h b/src/include/assert.h
index 346e76961e..9f624a931f 100644
--- a/src/include/assert.h
+++ b/src/include/assert.h
@@ -20,6 +20,8 @@
#ifndef __ASSERT_H__
#define __ASSERT_H__
+#include <console/console.h>
+
#if defined(__PRE_RAM__) && !CONFIG_CACHE_AS_RAM
/* ROMCC versions */
@@ -59,6 +61,8 @@
/* die(""); */ \
}
-#endif
+#endif /* defined(__PRE_RAM__) && !CONFIG_CACHE_AS_RAM */
+
+#define assert(statement) ASSERT(statement)
#endif // __ASSERT_H__