From: Simon Glass <sjg@chromium.org>
All files in this directory relate to EFI, so set the log category
consistently.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
lib/efi_client/app_run.c | 2 ++
lib/efi_client/efi.c | 2 ++
lib/efi_client/efi_info.c | 2 ++
lib/efi_client/efi_vars.c | 2 ++
lib/efi_client/sdram.c | 2 ++
lib/efi_client/stub.c | 2 ++
lib/efi_client/stub_arm64.c | 1 +
lib/efi_client/stub_x86.c | 2 ++
lib/efi_client/sync_dt.c | 2 ++
9 files changed, 17 insertions(+)
@@ -6,6 +6,8 @@
* Copyright 2024 Canonical Ltd
*/
+#define LOG_CATEGORY LOGC_EFI
+
#include <bootm.h>
#include <dm.h>
#include <efi.h>
@@ -10,6 +10,8 @@
* Common EFI functions
*/
+#define LOG_CATEGORY LOGC_EFI
+
#include <debug_uart.h>
#include <errno.h>
#include <malloc.h>
@@ -5,6 +5,8 @@
* Access to the EFI information table
*/
+#define LOG_CATEGORY LOGC_EFI
+
#include <efi.h>
#include <efi_loader.h>
#include <efi_stub.h>
@@ -4,6 +4,8 @@
*
*/
+#define LOG_CATEGORY LOGC_EFI
+
#define __efi_runtime
#include <errno.h>
@@ -3,6 +3,8 @@
* Copyright (c) 2015 Google, Inc
*/
+#define LOG_CATEGORY LOGC_EFI
+
#include <efi.h>
#include <init.h>
#include <asm/global_data.h>
@@ -8,6 +8,8 @@
* Provides helper functions for use with the stub
*/
+#define LOG_CATEGORY LOGC_EFI
+
#include <debug_uart.h>
#include <efi.h>
#include <efi_api.h>
@@ -9,6 +9,7 @@
* Call ExitBootServices() and launch U-Boot from an EFI environment.
*/
+#define LOG_CATEGORY LOGC_EFI
#include <debug_uart.h>
#include <efi.h>
#include <efi_api.h>
@@ -9,6 +9,8 @@
* EFI application. It can be built either in 32-bit or 64-bit mode.
*/
+#define LOG_CATEGORY LOGC_EFI
+
#include <debug_uart.h>
#include <efi.h>
#include <efi_api.h>
@@ -5,6 +5,8 @@
* Copyright 2025 Simon Glass <sjg@chromium.org>
*/
+#define LOG_CATEGORY LOGC_EFI
+
#include <efi.h>
#include <efi_api.h>
#include <fdt_support.h>