]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mach-snapdragon: configure logging
authorCaleb Connolly <caleb.connolly@linaro.org>
Wed, 13 Nov 2024 05:04:17 +0000 (06:04 +0100)
committerCaleb Connolly <caleb.connolly@linaro.org>
Wed, 20 Nov 2024 16:57:57 +0000 (17:57 +0100)
Set LOG_CATEGORY and pr_fmt. Also fix the time.h include.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
arch/arm/mach-snapdragon/board.c

index 2ab2ceb51389607a974e3be5b697e8e69c588158..bbe9d3de7636c0a6631317847e96edb3caf1114b 100644 (file)
@@ -6,7 +6,9 @@
  * Author: Caleb Connolly <caleb.connolly@linaro.org>
  */
 
-#include "time.h"
+#define LOG_CATEGORY LOGC_BOARD
+#define pr_fmt(fmt) "QCOM: " fmt
+
 #include <asm/armv8/mmu.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
@@ -29,6 +31,7 @@
 #include <fdt_support.h>
 #include <usb.h>
 #include <sort.h>
+#include <time.h>
 
 #include "qcom-priv.h"