hc
2023-11-20 69d6da3c1c63675524a25e7dc92a4f43c4164cef
u-boot/include/linux/mtd/mtd.h
....@@ -551,30 +551,6 @@
551551 }
552552 #endif
553553
554
-#ifdef __UBOOT__
555
-/*
556
- * Debugging macro and defines
557
- */
558
-#define MTD_DEBUG_LEVEL0 (0) /* Quiet */
559
-#define MTD_DEBUG_LEVEL1 (1) /* Audible */
560
-#define MTD_DEBUG_LEVEL2 (2) /* Loud */
561
-#define MTD_DEBUG_LEVEL3 (3) /* Noisy */
562
-
563
-#ifdef CONFIG_MTD_DEBUG
564
-#define MTDDEBUG(n, args...) \
565
- do { \
566
- if (n <= CONFIG_MTD_DEBUG_VERBOSE) \
567
- printk(KERN_INFO args); \
568
- } while(0)
569
-#else /* CONFIG_MTD_DEBUG */
570
-#define MTDDEBUG(n, args...) \
571
- do { \
572
- if (0) \
573
- printk(KERN_INFO args); \
574
- } while(0)
575
-#endif /* CONFIG_MTD_DEBUG */
576
-#endif
577
-
578554 static inline int mtd_is_bitflip(int err) {
579555 return err == -EUCLEAN;
580556 }