efi: Set the log category throughout lib/efi_client/

All files in this directory relate to EFI, so set the log category
consistently.

Series-to: concept
Series-cc: heinrich
Cover-letter:
efi: A few minor improvements
This series mostly tidies up the efidebug command, but includes a few
other pieces as well.
END

Signed-off-by: Simon Glass <sjg@chromium.org>
Series-links: 1:20
This commit is contained in:
Simon Glass
2025-08-28 15:57:01 -06:00
parent a815b91b97
commit fe127667dc
9 changed files with 17 additions and 0 deletions

View File

@@ -6,6 +6,8 @@
* Copyright 2024 Canonical Ltd
*/
#define LOG_CATEGORY LOGC_EFI
#include <bootm.h>
#include <dm.h>
#include <efi.h>

View File

@@ -10,6 +10,8 @@
* Common EFI functions
*/
#define LOG_CATEGORY LOGC_EFI
#include <debug_uart.h>
#include <errno.h>
#include <malloc.h>

View File

@@ -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>

View File

@@ -4,6 +4,8 @@
*
*/
#define LOG_CATEGORY LOGC_EFI
#define __efi_runtime
#include <errno.h>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>