Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(857)

Unified Diff: firmware/include/utility.h

Issue 2810026: Add VBDEBUG macro for debug output. (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Makefile ('k') | firmware/lib/cgptlib/cgptlib.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: firmware/include/utility.h
diff --git a/firmware/include/utility.h b/firmware/include/utility.h
index 4cfb076b0ef7e3bfbbf968a13357600177830c1c..c1709384cc27cd9aa20cb876015656ba40e5a162 100644
--- a/firmware/include/utility.h
+++ b/firmware/include/utility.h
@@ -12,6 +12,13 @@
#include "sysincludes.h"
+/* Debug and error output */
+#ifdef VBOOT_DEBUG
+#define VBDEBUG(params) debug params
+#else
+#define VBDEBUG(params)
+#endif
+
/* Outputs an error message and quits. */
void error(const char *format, ...);
« no previous file with comments | « Makefile ('k') | firmware/lib/cgptlib/cgptlib.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698