From 36f0949ef9854b82a9a3154d970da4e3b8d12a61 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 06 Nov 2023 07:23:29 +0000
Subject: [PATCH] rk3568 rkbin init
---
u-boot/drivers/mtd/ubi/debug.h | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/u-boot/drivers/mtd/ubi/debug.h b/u-boot/drivers/mtd/ubi/debug.h
index 215fca7..c4f0bc5 100644
--- a/u-boot/drivers/mtd/ubi/debug.h
+++ b/u-boot/drivers/mtd/ubi/debug.h
@@ -28,13 +28,8 @@
} \
} while (0)
#else
-#define ubi_assert(expr) do { \
- if (unlikely(!(expr))) { \
- pr_debug("UBI assert failed in %s at %u\n", \
- __func__, __LINE__); \
- dump_stack(); \
- } \
-} while (0)
+#include <log.h>
+#define ubi_assert(expr) assert(expr)
#endif
#define ubi_dbg_print_hex_dump(ps, pt, r, g, b, len, a) \
--
Gitblit v1.6.2