Support different log levels.
This will let us add more verbose logs for debugging but have them
compiled out most of the time.
Change-Id: Iaae468e41025a165b5e67fa6fec5422f004c6a44
diff --git a/src/spci_architected_message.c b/src/spci_architected_message.c
index e9860bb..2dc2899 100644
--- a/src/spci_architected_message.c
+++ b/src/spci_architected_message.c
@@ -616,7 +616,7 @@
memory_to_attributes = MM_MODE_R | MM_MODE_W | MM_MODE_X;
break;
default:
- dlog("Invalid memory sharing message.\n");
+ dlog_error("Invalid memory sharing message.\n");
return spci_error(SPCI_INVALID_PARAMETERS);
}