summaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/a38x/ddr3_logging_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ddr/marvell/a38x/ddr3_logging_def.h')
-rw-r--r--drivers/ddr/marvell/a38x/ddr3_logging_def.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/ddr/marvell/a38x/ddr3_logging_def.h b/drivers/ddr/marvell/a38x/ddr3_logging_def.h
index fe929bb72a..ad9da1cfff 100644
--- a/drivers/ddr/marvell/a38x/ddr3_logging_def.h
+++ b/drivers/ddr/marvell/a38x/ddr3_logging_def.h
@@ -73,10 +73,14 @@
#endif
#endif
+
/* Logging defines */
-#define DEBUG_LEVEL_TRACE 1
-#define DEBUG_LEVEL_INFO 2
-#define DEBUG_LEVEL_ERROR 3
+enum mv_ddr_debug_level {
+ DEBUG_LEVEL_TRACE = 1,
+ DEBUG_LEVEL_INFO = 2,
+ DEBUG_LEVEL_ERROR = 3,
+ DEBUG_LEVEL_LAST
+};
enum ddr_lib_debug_block {
DEBUG_BLOCK_STATIC,