mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
efi_loader: Remove <common.h>
We largely do not need <common.h> in these files, so drop it. The only exception here is that efi_freestanding.c needs <linux/types.h> and had been getting that via <common.h>. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
d1f072aa25
commit
c38cb227d3
42 changed files with 1 additions and 42 deletions
|
@ -6,7 +6,6 @@
|
||||||
* to a file.
|
* to a file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_api.h>
|
#include <efi_api.h>
|
||||||
#include <efi_dt_fixup.h>
|
#include <efi_dt_fixup.h>
|
||||||
#include <part.h>
|
#include <part.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
#include <mapmem.h>
|
#include <mapmem.h>
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
|
|
||||||
#include <blk.h>
|
#include <blk.h>
|
||||||
#include <blkmap.h>
|
#include <blkmap.h>
|
||||||
#include <common.h>
|
|
||||||
#include <charset.h>
|
#include <charset.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2016 Alexander Graf
|
* Copyright (c) 2016 Alexander Graf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <bootm.h>
|
#include <bootm.h>
|
||||||
#include <div64.h>
|
#include <div64.h>
|
||||||
#include <dm/device.h>
|
#include <dm/device.h>
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <efi_variable.h>
|
#include <efi_variable.h>
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (C) 2022 Arm Ltd.
|
* Copyright (C) 2022 Arm Ltd.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
#include <efi_api.h>
|
#include <efi_api.h>
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <ansi.h>
|
#include <ansi.h>
|
||||||
#include <common.h>
|
|
||||||
#include <charset.h>
|
#include <charset.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <blk.h>
|
#include <blk.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <dm/root.h>
|
#include <dm/root.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2017 Heinrich Schuchardt
|
* Copyright (c) 2017 Heinrich Schuchardt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <blk.h>
|
#include <blk.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2017 Leif Lindholm
|
* Copyright (c) 2017 Leif Lindholm
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
|
|
||||||
const efi_guid_t efi_guid_device_path_utilities_protocol =
|
const efi_guid_t efi_guid_device_path_utilities_protocol =
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <blk.h>
|
#include <blk.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <dm/device-internal.h>
|
#include <dm/device-internal.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2020 Heinrich Schuchardt
|
* Copyright (c) 2020 Heinrich Schuchardt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_dt_fixup.h>
|
#include <efi_dt_fixup.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <efi_rng.h>
|
#include <efi_rng.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (C) 2021 Arm Ltd.
|
* Copyright (C) 2021 Arm Ltd.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
#include <efi_api.h>
|
#include <efi_api.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2017 Rob Clark
|
* Copyright (c) 2017 Rob Clark
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <charset.h>
|
#include <charset.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
* Author: AKASHI Takahiro
|
* Author: AKASHI Takahiro
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <charset.h>
|
#include <charset.h>
|
||||||
#include <dfu.h>
|
#include <dfu.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
* memset(), and memcmp().
|
* memset(), and memcmp().
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* memcmp() - compare memory areas
|
* memcmp() - compare memory areas
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2016 Alexander Graf
|
* Copyright (c) 2016 Alexander Graf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
#include <common.h>
|
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
* Copyright (c) 2018 AKASHI Takahiro, Linaro Limited
|
* Copyright (c) 2018 AKASHI Takahiro, Linaro Limited
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <asm/unaligned.h>
|
#include <asm/unaligned.h>
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
* the Makefile.
|
* the Makefile.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
|
|
||||||
const efi_guid_t efi_guid_hii_config_routing_protocol
|
const efi_guid_t efi_guid_hii_config_routing_protocol
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <cpu_func.h>
|
#include <cpu_func.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <efi_load_initrd.h>
|
#include <efi_load_initrd.h>
|
||||||
#include <efi_variable.h>
|
#include <efi_variable.h>
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <charset.h>
|
#include <charset.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
* Reset(): EfiSimpleNetworkInitialized -> EfiSimpleNetworkInitialized
|
* Reset(): EfiSimpleNetworkInitialized -> EfiSimpleNetworkInitialized
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <efi_variable.h>
|
#include <efi_variable.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <efi_rng.h>
|
#include <efi_rng.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2018 Heinrich Schuchardt
|
* Copyright (c) 2018 Heinrich Schuchardt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <efi_dt_fixup.h>
|
#include <efi_dt_fixup.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2016 Alexander Graf
|
* Copyright (c) 2016 Alexander Graf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <cpu_func.h>
|
#include <cpu_func.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <efi_variable.h>
|
#include <efi_variable.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* Copyright (c) 2019 Linaro Limited, Author: AKASHI Takahiro
|
* Copyright (c) 2019 Linaro Limited, Author: AKASHI Takahiro
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <charset.h>
|
#include <charset.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <efi_variable.h>
|
#include <efi_variable.h>
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2020 AKASHI Takahiro, Linaro Limited
|
* Copyright (c) 2020 AKASHI Takahiro, Linaro Limited
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <charset.h>
|
#include <charset.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
#include <common.h>
|
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <efi_variable.h>
|
#include <efi_variable.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2018 Heinrich Schuchardt <xypron.glpk@gmx.de>
|
* Copyright (c) 2018 Heinrich Schuchardt <xypron.glpk@gmx.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <charset.h>
|
#include <charset.h>
|
||||||
#include <cp1250.h>
|
#include <cp1250.h>
|
||||||
#include <cp437.h>
|
#include <cp437.h>
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
* Copyright (c) 2020 Linaro Limited, Author: AKASHI Takahiro
|
* Copyright (c) 2020 Linaro Limited, Author: AKASHI Takahiro
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <efi_variable.h>
|
#include <efi_variable.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <charset.h>
|
#include <charset.h>
|
||||||
#include <fs.h>
|
#include <fs.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2020, Heinrich Schuchardt
|
* Copyright (c) 2020, Heinrich Schuchardt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <efi_variable.h>
|
#include <efi_variable.h>
|
||||||
#include <u-boot/crc.h>
|
#include <u-boot/crc.h>
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY LOGC_EFI
|
#define LOG_CATEGORY LOGC_EFI
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
#include <efi_variable.h>
|
#include <efi_variable.h>
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
* Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
|
* Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#if CONFIG_IS_ENABLED(ARM_FFA_TRANSPORT)
|
#if CONFIG_IS_ENABLED(ARM_FFA_TRANSPORT)
|
||||||
#include <arm_ffa.h>
|
#include <arm_ffa.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright (c) 2017 Heinrich Schuchardt
|
* Copyright (c) 2017 Heinrich Schuchardt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
|
|
||||||
/* Conversion factor from seconds to multiples of 100ns */
|
/* Conversion factor from seconds to multiples of 100ns */
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
* clearing of the screen.
|
* clearing of the screen.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <efi_api.h>
|
#include <efi_api.h>
|
||||||
#include <efi_load_initrd.h>
|
#include <efi_load_initrd.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue