summaryrefslogtreecommitdiff
path: root/src/vendorcode/mediatek/mt8195/include/print.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/mediatek/mt8195/include/print.h')
-rw-r--r--src/vendorcode/mediatek/mt8195/include/print.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vendorcode/mediatek/mt8195/include/print.h b/src/vendorcode/mediatek/mt8195/include/print.h
new file mode 100644
index 0000000000..78fc840d6f
--- /dev/null
+++ b/src/vendorcode/mediatek/mt8195/include/print.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
+#ifndef PRINT_H
+#define PRINT_H
+
+#include <console/console.h>
+
+//int print(const char *fmt, ...);
+#define print(_x_...) printk(BIOS_INFO, _x_)
+#define printf print
+
+#endif