]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
include/efi_loader.h, include/efi_tcg2.h: Audit include list
authorTom Rini <trini@konsulko.com>
Wed, 21 May 2025 22:51:17 +0000 (16:51 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 2 Jun 2025 23:26:15 +0000 (17:26 -0600)
In include/efi_loader.h we do not directly need <log.h>, <part_efi.h>,
<pe.h> nor <linux/oid_registry.h> so remove them. In include/efi_tcg2.h
we make use of <part_efi.h> but did not include it, so add it directly.

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
include/efi_loader.h
include/efi_tcg2.h

index 84e8cfe320e2b83932f177d1f0e3b7481120cec7..f3c85ae8d6634c0a002fd61d89f7fe47c437dace 100644 (file)
 
 #include <blk.h>
 #include <event.h>
-#include <log.h>
-#include <part_efi.h>
 #include <efi_api.h>
 #include <image.h>
-#include <pe.h>
 #include <setjmp.h>
 #include <linux/list.h>
 #include <linux/sizes.h>
-#include <linux/oid_registry.h>
 
 struct blk_desc;
 struct bootflow;
index 7ed88809913b05a70032de108807eb56cb35c446..34a3d4a0434688f7feb096959efd3e6884f09017 100644 (file)
@@ -17,6 +17,7 @@
 #define _EFI_TCG2_PROTOCOL_H_
 
 #include <efi_api.h>
+#include <part_efi.h>
 #include <tpm-v2.h>
 #include <tpm_tcg2.h>