mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 05:58:49 +00:00
lib: Remove <common.h> inclusion from these files
After some header file cleanups to add missing include files, remove common.h from all files in the lib directory. This primarily means just dropping the line but in a few cases we need to add in other header files now. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
1e8ce11a0b
commit
467382ca03
97 changed files with 36 additions and 103 deletions
|
@ -7,7 +7,6 @@
|
|||
*/
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
#include <common.h>
|
||||
#include <malloc.h>
|
||||
#include <mapmem.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Copyright 2023 Google LLC
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <mapmem.h>
|
||||
#include <acpi/acpi_table.h>
|
||||
#include <asm/global_data.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Mostly taken from coreboot file of the same name
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <irq.h>
|
||||
#include <log.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Mostly taken from coreboot file acpi_device.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Copyright 2019 Google LLC
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <cpu.h>
|
||||
#include <log.h>
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_ACPI
|
||||
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
#include <mapmem.h>
|
||||
#include <acpi/acpi_table.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <dm/acpi.h>
|
||||
#include <linux/errno.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_ACPI
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <uuid.h>
|
||||
|
|
|
@ -7,12 +7,13 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_ACPI
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi/acpi_table.h>
|
||||
#include <dm/acpi.h>
|
||||
#include <mapmem.h>
|
||||
#include <tables_csum.h>
|
||||
#include <linux/sizes.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
void acpi_write_rsdp(struct acpi_rsdp *rsdp, struct acpi_rsdt *rsdt,
|
||||
struct acpi_xsdt *xsdt)
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_ACPI
|
||||
|
||||
#include <common.h>
|
||||
#include <mapmem.h>
|
||||
#include <tables_csum.h>
|
||||
#include <acpi/acpi_table.h>
|
||||
#include <dm/acpi.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
__weak int acpi_fill_csrt(struct acpi_ctx *ctx)
|
||||
{
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_ACPI
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi/acpi_table.h>
|
||||
#include <dm/acpi.h>
|
||||
#include <tables_csum.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
/*
|
||||
* IASL compiles the dsdt entries and writes the hex values
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_ACPI
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi/acpi_table.h>
|
||||
#include <dm/acpi.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
int acpi_write_facs(struct acpi_ctx *ctx, const struct acpi_writer *entry)
|
||||
{
|
||||
|
|
|
@ -7,11 +7,13 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_ACPI
|
||||
|
||||
#include <common.h>
|
||||
#include <mapmem.h>
|
||||
#include <tables_csum.h>
|
||||
#include <acpi/acpi_table.h>
|
||||
#include <dm/acpi.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
int acpi_create_mcfg_mmconfig(struct acpi_mcfg_mmconfig *mmconfig, u32 base,
|
||||
u16 seg_nr, u8 start, u8 end)
|
||||
|
|
|
@ -7,10 +7,11 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_ACPI
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi/acpi_table.h>
|
||||
#include <dm/acpi.h>
|
||||
#include <tables_csum.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
int acpi_write_ssdt(struct acpi_ctx *ctx, const struct acpi_writer *entry)
|
||||
{
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright 2008 Freescale Semiconductor, Inc.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <addr_map.h>
|
||||
#include <mapmem.h>
|
||||
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
*/
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
#include <common.h>
|
||||
#include <display_options.h>
|
||||
#include <log.h>
|
||||
#include <linux/string.h>
|
||||
#else
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
*/
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
#include <common.h>
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#include <image.h>
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
* #defines from the assembly-language output.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm-offsets.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/u-boot.h>
|
||||
|
||||
#include <linux/kbuild.h>
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Wenyou.Yang <wenyou.yang@microchip.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <atmel_lcd.h>
|
||||
|
||||
#include "atmel_logo_8bpp.h"
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
*/
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
#include <ubi_uboot.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <binman.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <malloc.h>
|
||||
#include <watchdog.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/*
|
||||
* This file is a modified version of bzlib.c from the bzip2-1.0.2
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <watchdog.h>
|
||||
|
||||
/*-------------------------------------------------------------*/
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Copyright (c) 2017 Rob Clark
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <charset.h>
|
||||
#include <capitalization.h>
|
||||
#include <cp437.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Gerry Hamel, geh@ti.com, Texas Instruments
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
|
||||
#ifdef USE_HOSTCC
|
||||
#include <arpa/inet.h>
|
||||
#else
|
||||
#include <common.h>
|
||||
#endif
|
||||
#include <u-boot/crc.h>
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#ifdef USE_HOSTCC
|
||||
#include <arpa/inet.h>
|
||||
#else
|
||||
#include <common.h>
|
||||
#include <efi_loader.h>
|
||||
#endif
|
||||
#include <compiler.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
* any later version.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <compiler.h>
|
||||
|
||||
uint32_t crc32c_cal(uint32_t crc, const char *data, int length,
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
|
||||
#ifdef USE_HOSTCC
|
||||
#include <arpa/inet.h>
|
||||
#else
|
||||
#include <common.h>
|
||||
#endif
|
||||
#include <u-boot/crc.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/* Copyright (C) 2020 Steffen Jaeckel <jaeckel-floss@eyet-services.de> */
|
||||
|
||||
#include <linux/errno.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/types.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* Copyright (C) 2020 Steffen Jaeckel <jaeckel-floss@eyet-services.de> */
|
||||
|
||||
#include <common.h>
|
||||
#include <crypt.h>
|
||||
#include "crypt-port.h"
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
#define pr_fmt(fmt) "X.509: "fmt
|
||||
#ifdef __UBOOT__
|
||||
#include <common.h>
|
||||
#include <image.h>
|
||||
#include <dm/devres.h>
|
||||
#include <linux/compat.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <errno.h>
|
||||
#include <rtc.h>
|
||||
|
|
|
@ -3,9 +3,10 @@
|
|||
* (C) Copyright 2015 Google, Inc
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <div64.h>
|
||||
#include <time.h>
|
||||
#include <vsprintf.h>
|
||||
#include "dhry.h"
|
||||
|
||||
static int do_dhry(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
***************************************************************************/
|
||||
char SCCSid[] = "@(#) @(#)dhry_1.c:3.4 -- 5/15/91 19:30:21";
|
||||
|
||||
#include <common.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "dhry.h"
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
****************************************************************************/
|
||||
/* SCCSid is defined in dhry_1.c */
|
||||
|
||||
#include <common.h>
|
||||
#include <linux/string.h>
|
||||
#include "dhry.h"
|
||||
|
||||
#ifndef REG
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
* Common EFI functions
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <debug_uart.h>
|
||||
#include <errno.h>
|
||||
#include <malloc.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* This file implements U-Boot running as an EFI application.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <debug_uart.h>
|
||||
#include <dm.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Access to the EFI information table
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <efi.h>
|
||||
#include <errno.h>
|
||||
#include <mapmem.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
* EFI application. It can be built either in 32-bit or 64-bit mode.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <debug_uart.h>
|
||||
#include <efi.h>
|
||||
#include <efi_api.h>
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
* iPXE uses the simple file protocol to load Grub or the Linux Kernel.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <blk.h>
|
||||
#include <dm.h>
|
||||
#include <efi_driver.h>
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
* controllers.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <efi_driver.h>
|
||||
#include <log.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
*
|
||||
* Copyright (C) 2021 Arm Ltd.
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <efi_loader.h>
|
||||
#include <efi_selftest.h>
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* This EFI application triggers an exception.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <efi_api.h>
|
||||
#include <host_arch.h>
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* It uses the Exit boot service to return.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <efi_selftest.h>
|
||||
|
||||
static efi_guid_t loaded_image_protocol_guid = EFI_LOADED_IMAGE_PROTOCOL_GUID;
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* It returns directly without calling the Exit boot service.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <efi_api.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
Copyright (c) 2001 William L. Pitts
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <cpu_func.h>
|
||||
#include <elf.h>
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* SDPX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
#define ERRNO_MSG(errno, msg) msg
|
||||
#define SAME_AS(x) (const char *)&errno_message[x]
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
*/
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
#include <common.h>
|
||||
#include <boot_fit.h>
|
||||
#include <display_options.h>
|
||||
#include <dm.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
*/
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <linux/libfdt.h>
|
||||
#include <fdtdec.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Copyright (c) 2011 The Chromium OS Authors.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <fdtdec.h>
|
||||
#include <linux/libfdt.h>
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_CORE
|
||||
|
||||
#include <common.h>
|
||||
#include <getopt.h>
|
||||
#include <log.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
void getopt_init_state(struct getopt_state *gs)
|
||||
{
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <blk.h>
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Lei Wen <leiwen@marvell.com>, Marvell Inc.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <watchdog.h>
|
||||
#include <command.h>
|
||||
#include <gzip.h>
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
* u-boot.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootstage.h>
|
||||
#include <hang.h>
|
||||
#include <stdio.h>
|
||||
#include <os.h>
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
*/
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
#include <common.h>
|
||||
#include <fdtdec.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <linux/errno.h>
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
# endif
|
||||
# endif
|
||||
#else /* U-Boot build */
|
||||
# include <common.h>
|
||||
# include <linux/string.h>
|
||||
# include <linux/ctype.h>
|
||||
#endif
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
* more details.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <hexdump.h>
|
||||
#include <mapmem.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/compat.h>
|
||||
#include <linux/log2.h>
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <blk.h>
|
||||
#include <image-sparse.h>
|
||||
#include <div64.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (c) 2013 The Chromium OS Authors.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <efi.h>
|
||||
#include <initcall.h>
|
||||
#include <log.h>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <malloc.h>
|
||||
#include <memalign.h>
|
||||
#include <asm/cache.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <linux/slab.h>
|
||||
#else
|
||||
#include <linux/compat.h>
|
||||
#include <common.h>
|
||||
#include <malloc.h>
|
||||
#include <linux/printk.h>
|
||||
#endif
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Copyright (C) 2001 Peter Bergner.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <efi_loader.h>
|
||||
#include <image.h>
|
||||
#include <mapmem.h>
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
* - LZ4 homepage : http://www.lz4.org
|
||||
* - LZ4 source repository : https://github.com/lz4/lz4
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <compiler.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/types.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright 2015 Google Inc.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <compiler.h>
|
||||
#include <image.h>
|
||||
#include <linux/kernel.h>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
2009-09-20 : Igor Pavlov : Public domain */
|
||||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <watchdog.h>
|
||||
#include "LzmaDec.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <watchdog.h>
|
||||
|
||||
|
|
|
@ -11,8 +11,9 @@
|
|||
* Richard Purdie <rpurdie@openedhand.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/lzo.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <asm/unaligned.h>
|
||||
#include "lzodefs.h"
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include "compiler.h"
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
#include <common.h>
|
||||
#include <watchdog.h>
|
||||
#endif /* USE_HOSTCC */
|
||||
#include <u-boot/md5.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Copyright (c) 1992 Simon Glass
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
* Copyright 2009 Dirk Behme, dirk.behme@googlemail.com
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <net.h>
|
||||
#include <net6.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
struct in_addr string_to_ip(const char *s)
|
||||
{
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_DT
|
||||
|
||||
#include <common.h>
|
||||
#include <abuf.h>
|
||||
#include <log.h>
|
||||
#include <linux/libfdt.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Bryan O'Donoghue <bryan.odonoghue@linaro.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <fdtdec.h>
|
||||
#include <image.h>
|
||||
#include <log.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
* Wirzenius wrote this portably, Torvalds fucked it up :-)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <hang.h>
|
||||
#if !defined(CONFIG_PANIC_HANG)
|
||||
#include <command.h>
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
* Software Foundation.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <mapmem.h>
|
||||
#include <physmem.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
phys_addr_t __weak arch_phys_memset(phys_addr_t s, int c, phys_size_t n)
|
||||
{
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
#include <log.h>
|
||||
#include <linux/types.h>
|
||||
#include <common.h>
|
||||
#include <exports.h>
|
||||
#include <sort.h>
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* Michael Walle <michael@walle.cc>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <rand.h>
|
||||
|
||||
static unsigned int y = 1U;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
* Rivest Cipher 4 (RC4) implementation
|
||||
*/
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
#include <common.h>
|
||||
#endif
|
||||
#include <rc4.h>
|
||||
|
||||
void rc4_encode(unsigned char *buf, unsigned int len, const unsigned char key[16])
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
* Copyright (c) 2016 Thomas Pornin <pornin@bolet.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <image.h>
|
||||
#include <malloc.h>
|
||||
#include <crypto/internal/rsa.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
*/
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
#include <common.h>
|
||||
#include <fdtdec.h>
|
||||
#include <log.h>
|
||||
#include <asm/types.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
*/
|
||||
|
||||
#ifndef USE_HOSTCC
|
||||
#include <common.h>
|
||||
#include <fdtdec.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
* - January is month 1.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <rtc.h>
|
||||
#include <linux/math64.h>
|
||||
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
* Copyright 2014 Broadcom Corporation
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <semihosting.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
#define SYSOPEN 0x01
|
||||
#define SYSCLOSE 0x02
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#include <string.h>
|
||||
#else
|
||||
#include <log.h>
|
||||
#include <common.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/string.h>
|
||||
#endif /* SLRE_TEST */
|
||||
|
||||
#include <errno.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_BOOT
|
||||
|
||||
#include <common.h>
|
||||
#include <smbios.h>
|
||||
|
||||
static inline int verify_checksum(const struct smbios_entry *e)
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Adapted from coreboot src/arch/x86/smbios.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <linux/stringify.h>
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
* Wirzenius wrote this portably, Torvalds fucked it up :-)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <malloc.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/ctype.h>
|
||||
|
||||
/* from lib/kstrtox.c */
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
u8 table_compute_checksum(void *v, int len)
|
||||
{
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <clock_legacy.h>
|
||||
#include <bootstage.h>
|
||||
#include <dm.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* Copyright (C) 2004,2008 Kustaa Nyholm
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <serial.h>
|
||||
#include <stdarg.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#define LOG_CATEGORY UCLASS_TPM
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <asm/unaligned.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#define LOG_CATEGORY UCLASS_TPM
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <asm/unaligned.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Author: Miquel Raynal <miquel.raynal@bootlin.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <dm/of_access.h>
|
||||
#include <tpm_api.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright 2019 Google LLC
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <tpm_api.h>
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
* Copyright (c) 2012 The Chromium OS Authors.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <mapmem.h>
|
||||
#include <time.h>
|
||||
#include <trace.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/sections.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#define LOG_CATEGOT LOGC_CORE
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <efi_api.h>
|
||||
#include <env.h>
|
||||
|
@ -18,7 +17,6 @@
|
|||
#include <uuid.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <errno.h>
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <part_efi.h>
|
||||
#include <malloc.h>
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* from hush: simple_itoa() was lifted from boa-0.93.15
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <charset.h>
|
||||
#include <efi_loader.h>
|
||||
#include <div64.h>
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
|
||||
#define LOG_CATEGORY LOGC_BOOT
|
||||
|
||||
#include <common.h>
|
||||
#include <abuf.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/zstd.h>
|
||||
|
||||
int zstd_decompress(struct abuf *in, struct abuf *out)
|
||||
|
|
Loading…
Add table
Reference in a new issue