]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Add some log categories
authorSimon Glass <sjg@chromium.org>
Thu, 7 Sep 2023 15:58:15 +0000 (09:58 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 21 Sep 2023 22:03:46 +0000 (06:03 +0800)
Add some missing log categories to a few files.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/broadwell/sdram.c
arch/x86/lib/tpl.c

index f477d513efce1152d4e4f2ed3a4ab23678fe78de..d30ebee021ead6563ae5e1786a841b9bbff20d6d 100644 (file)
@@ -5,6 +5,8 @@
  * From coreboot src/soc/intel/broadwell/romstage/raminit.c
  */
 
+#define LOG_CATEGORY UCLASS_RAM
+
 #include <common.h>
 #include <dm.h>
 #include <init.h>
index 18b05b2f67208de0e2561cdd94036619c5ed8257..273e9c8e1ca157238fcb6d30fd8f1c0aa2012ae3 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (c) 2018 Google, Inc
  */
 
+#define LOG_CATEGORY   LOGC_BOOT
+
 #include <common.h>
 #include <debug_uart.h>
 #include <dm.h>