summaryrefslogtreecommitdiff
path: root/plat/sun50iw1p1
diff options
context:
space:
mode:
Diffstat (limited to 'plat/sun50iw1p1')
-rw-r--r--plat/sun50iw1p1/scp/include/arisc_dbgs.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/plat/sun50iw1p1/scp/include/arisc_dbgs.h b/plat/sun50iw1p1/scp/include/arisc_dbgs.h
index aef8f5e..79ca603 100644
--- a/plat/sun50iw1p1/scp/include/arisc_dbgs.h
+++ b/plat/sun50iw1p1/scp/include/arisc_dbgs.h
@@ -37,21 +37,21 @@
#define DEBUG_LEVEL_WRN ((uint32_t)1 << 2)
#define DEBUG_LEVEL_ERR ((uint32_t)1 << 3)
-#define ARISC_INF(format, args...) \
+#define ARISC_INF(...) \
if(DEBUG_LEVEL_INF & (0xf0 >> (arisc_debug_level +1))) \
- tf_printf("[SCP] :"format, ##args);
+ tf_printf("[SCP] :" __VA_ARGS__);
-#define ARISC_LOG(format, args...) \
+#define ARISC_LOG(...) \
if(DEBUG_LEVEL_LOG & (0xf0 >> (arisc_debug_level +1))) \
- tf_printf("[SCP] :"format, ##args);
+ tf_printf("[SCP] :" __VA_ARGS__);
-#define ARISC_WRN(format, args...) \
+#define ARISC_WRN(...) \
if(DEBUG_LEVEL_WRN & (0xf0 >> (arisc_debug_level +1))) \
- tf_printf("[SCP WARING] :"format, ##args);
+ tf_printf("[SCP WARING] :" __VA_ARGS__);
-#define ARISC_ERR(format, args...) \
+#define ARISC_ERR(...) \
if(DEBUG_LEVEL_ERR & (0xf0 >> (arisc_debug_level +1))) \
- tf_printf("[SCP ERROR] :"format, ##args);
+ tf_printf("[SCP ERROR] :" __VA_ARGS__);
#else /* ARISC_DEBUG_ON */
#define ARISC_INF(...)