mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
Merge patch series "Start removing <env.h> from headers when not required"
Tom Rini <trini@konsulko.com> says: Given Simon's series at [1] I started looking in to what brings in <env.h> when not strictly required and in turn has some unintended implicit includes. This series takes care of the places where, commonly, <linux/string.h> or <env.h> itself were required along with a few other less common cases. This sets aside for the moment what to do about net-common.h and env_get_ip() as I'm not entirely sure what's best there. [1]: https://patchwork.ozlabs.org/project/uboot/list/?series=454939&state=* Link: https://lore.kernel.org/r/20250514225002.15361-1-trini@konsulko.com
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <config.h>
|
||||
#include <clock_legacy.h>
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
#include <log.h>
|
||||
#include <asm/cache.h>
|
||||
#include <linux/libfdt.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <dm.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
#include <lmb.h>
|
||||
|
||||
#include <asm/armv8/mmu.h>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <log.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/crm_regs.h>
|
||||
#include <asm/arch/clock.h>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
* Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
|
||||
*/
|
||||
|
||||
#include <env.h>
|
||||
#include <linux/printk.h>
|
||||
#include <linux/types.h>
|
||||
#include <asm/hardware.h>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <vsprintf.h>
|
||||
#include <command.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/psc_defs.h>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <errno.h>
|
||||
#include <env.h>
|
||||
#include <fdtdec.h>
|
||||
#include <log.h>
|
||||
#include <init.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <bootm.h>
|
||||
#include <command.h>
|
||||
#include <dfu.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <asm/arch/stm32prog.h>
|
||||
#include <linux/printk.h>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <command.h>
|
||||
#include <log.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/arch-tegra/crypto.h>
|
||||
#include "bct.h"
|
||||
#include "uboot_aes.h"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <command.h>
|
||||
#include <log.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/arch-tegra/crypto.h>
|
||||
#include "bct.h"
|
||||
#include "uboot_aes.h"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <command.h>
|
||||
#include <log.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/arch-tegra/crypto.h>
|
||||
#include "bct.h"
|
||||
#include "uboot_aes.h"
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <linux/io.h>
|
||||
#include <linux/printk.h>
|
||||
#include <linux/sizes.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
#include "../soc-info.h"
|
||||
#include "ddrmphy-regs.h"
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <linux/io.h>
|
||||
#include <linux/printk.h>
|
||||
#include <linux/sizes.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
#include "../soc-info.h"
|
||||
#include "ddrphy-regs.h"
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/time.h>
|
||||
#include <linux/string.h>
|
||||
#include <i2c.h>
|
||||
#include "qixis.h"
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/io.h>
|
||||
#include "cpld.h"
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/io.h>
|
||||
#include "cpld.h"
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#include "cpld.h"
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/io.h>
|
||||
#include "cpld.h"
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#include "cpld.h"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/io.h>
|
||||
#include "cpld.h"
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#include "cpld.h"
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
* Richard Hu <hakahu@gmail.com>
|
||||
*/
|
||||
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <init.h>
|
||||
#include <asm/arch/clock.h>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <serial.h>
|
||||
#include <watchdog.h>
|
||||
#include <asm/arch/clock.h>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
#include <fwu.h>
|
||||
#include <fwu_mdata.h>
|
||||
#include <memalign.h>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <fuse.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int mfgr_fuse(void)
|
||||
{
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <fuse.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int mfgr_fuse(void)
|
||||
{
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <bootm.h>
|
||||
#include <bootmeth.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <malloc.h>
|
||||
#include <mapmem.h>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "mkimage.h"
|
||||
#else
|
||||
#include <asm/global_data.h>
|
||||
#include <env.h>
|
||||
#include <mapmem.h>
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
#endif /* !USE_HOSTCC*/
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <rand.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
#define SIZE 4
|
||||
static uint score;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <android_image.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <mapmem.h>
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <adc.h>
|
||||
#include <linux/printk.h>
|
||||
|
||||
|
||||
@@ -7,8 +7,10 @@
|
||||
*/
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <env.h>
|
||||
#include <flash.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#define MAX_REGIONS 4
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <android_bootloader_message.h>
|
||||
#include <bcb.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <android_ab.h>
|
||||
#include <display_options.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <blk.h>
|
||||
#include <blkmap.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <malloc.h>
|
||||
#include <dm/device.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <mapmem.h>
|
||||
|
||||
/**
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <bootm.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <irq_func.h>
|
||||
#include <lmb.h>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <bootstd.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <malloc.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <bootstage.h>
|
||||
#include <command.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int do_bootstage_report(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
#define FW_IMAGE_SIG 0xff123456
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <command.h>
|
||||
#include <cpu_func.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int parse_argv(const char *);
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
#include <command.h>
|
||||
#include <post.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
int do_diag(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
|
||||
1
cmd/dm.c
1
cmd/dm.c
@@ -9,6 +9,7 @@
|
||||
#include <command.h>
|
||||
#include <dm/root.h>
|
||||
#include <dm/util.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int do_dm_dump_driver_compat(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char * const argv[])
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int do_echo(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <bootdev.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <malloc.h>
|
||||
#include <extension_board.h>
|
||||
#include <mapmem.h>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <command.h>
|
||||
#include <log.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
#include <u-boot/uuid.h>
|
||||
|
||||
#if defined(CONFIG_CMD_MTDPARTS)
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <mapmem.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int confirm_prog(void)
|
||||
{
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <hash.h>
|
||||
#include <linux/ctype.h>
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <irq_func.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int do_interrupts(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <command.h>
|
||||
#include <status_led.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
struct led_tbl_s {
|
||||
char *string; /* String for use in the command */
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include <blk.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <malloc.h>
|
||||
#include <part.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
#include <bootretry.h>
|
||||
#include <cli.h>
|
||||
#include <command.h>
|
||||
#include <compiler.h>
|
||||
#include <console.h>
|
||||
#include <display_options.h>
|
||||
#include <env.h>
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
#include <flash.h>
|
||||
#endif
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <display_options.h>
|
||||
#include <env.h>
|
||||
#include <mapmem.h>
|
||||
#include <memalign.h>
|
||||
#include <mmc.h>
|
||||
|
||||
1
cmd/mp.c
1
cmd/mp.c
@@ -6,6 +6,7 @@
|
||||
#include <command.h>
|
||||
#include <cpu_func.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int cpu_status_all(void)
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <errno.h>
|
||||
#include <tee.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
#define TA_HELLO_WORLD_CMD_INC_VALUE 0
|
||||
/* This needs to match the UUID of the Hello World TA. */
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
|
||||
static int do_sigsegv(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <nand.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
#include <command.h>
|
||||
#include <hash.h>
|
||||
#include <linux/string.h>
|
||||
#include <u-boot/sha1.h>
|
||||
|
||||
int do_sha1sum(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <time.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int do_sleep(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <linux/arm-smccc.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/psci.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int do_call(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <env.h>
|
||||
#include <malloc.h>
|
||||
#include <vsprintf.h>
|
||||
#include <uthread.h>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int do_test_stackprot_fail(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static char *start_addr, *last_addr;
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <log.h>
|
||||
#include <slre.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
#define OP_INVALID 0
|
||||
#define OP_NOT 1
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <command.h>
|
||||
#include <time.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int do_timer(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <command.h>
|
||||
#include <ufs.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
static int do_ufs(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <alist.h>
|
||||
#include <command.h>
|
||||
#include <display_options.h>
|
||||
#include <env.h>
|
||||
#include <mapmem.h>
|
||||
#include <string.h>
|
||||
#include <upl.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <command.h>
|
||||
#include <log.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/msr.h>
|
||||
#include <asm/mp.h>
|
||||
#include <asm/mtrr.h>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#define LOG_CATEGORY LOGC_BOOT
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <mapmem.h>
|
||||
#include <vsprintf.h>
|
||||
#include <asm/zimage.h>
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <dm/device_compat.h>
|
||||
#include <env.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
#include <memalign.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <i2c.h>
|
||||
#include <pca953x.h>
|
||||
#include <vsprintf.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
/* Default to an address that hopefully won't corrupt other i2c devices */
|
||||
#ifndef CFG_SYS_I2C_PCA953X_ADDR
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <asm/arch/pmic_bus.h>
|
||||
#include <axp_pmic.h>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
#include <tpm-v1.h>
|
||||
#include <tpm-v2.h>
|
||||
#include <linux/string.h>
|
||||
#include <asm/unaligned.h>
|
||||
#include "sandbox_common.h"
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <mapmem.h>
|
||||
#include <malloc.h>
|
||||
#include <linux/compat.h>
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#ifndef __COMMAND_H
|
||||
#define __COMMAND_H
|
||||
|
||||
#include <env.h>
|
||||
#include <linker_lists.h>
|
||||
|
||||
#include <linux/compiler_attributes.h>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <dfu.h>
|
||||
#include <efi_loader.h>
|
||||
#include <efi_variable.h>
|
||||
#include <env.h>
|
||||
#include <fwu.h>
|
||||
#include <image.h>
|
||||
#include <signatures.h>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <dm.h>
|
||||
#include <bootdev.h>
|
||||
#include <bootflow.h>
|
||||
#include <env.h>
|
||||
#include <mapmem.h>
|
||||
#include <os.h>
|
||||
#include <test/ut.h>
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <dm.h>
|
||||
#include <efi.h>
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
#include <expo.h>
|
||||
#include <mapmem.h>
|
||||
#ifdef CONFIG_SANDBOX
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <bootm.h>
|
||||
#include <env.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <test/test.h>
|
||||
#include <test/ut.h>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <bootmeth.h>
|
||||
#include <bootstd.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <test/ut.h>
|
||||
#include "bootstd_common.h"
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <bootm.h>
|
||||
#include <env.h>
|
||||
#include <malloc.h>
|
||||
#include <test/test.h>
|
||||
#include <test/ut.h>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <abuf.h>
|
||||
#include <env.h>
|
||||
#include <mapmem.h>
|
||||
#include <upl.h>
|
||||
#include <dm/ofnode.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <console.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <mapmem.h>
|
||||
#include <asm/global_data.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <dm.h>
|
||||
#include <dm/test.h>
|
||||
#include <test/test.h>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <compiler.h>
|
||||
#include <console.h>
|
||||
#include <mapmem.h>
|
||||
#include <dm/test.h>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <console.h>
|
||||
#include <env.h>
|
||||
#include <mapmem.h>
|
||||
#include <dm/test.h>
|
||||
#include <test/ut.h>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <console.h>
|
||||
#include <env.h>
|
||||
#include <mapmem.h>
|
||||
#include <dm/test.h>
|
||||
#include <test/ut.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <autoboot.h>
|
||||
#include <env.h>
|
||||
#include <test/common.h>
|
||||
#include <test/test.h>
|
||||
#include <test/ut.h>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <blk.h>
|
||||
#include <blkmap.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <asm/test.h>
|
||||
#include <dm/test.h>
|
||||
#include <test/test.h>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <dm.h>
|
||||
#include <adc.h>
|
||||
#include <button.h>
|
||||
#include <env.h>
|
||||
#include <power/regulator.h>
|
||||
#include <power/sandbox_pmic.h>
|
||||
#include <asm/gpio.h>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <fastboot.h>
|
||||
#include <fb_mmc.h>
|
||||
#include <mmc.h>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <mmc.h>
|
||||
#include <part.h>
|
||||
#include <part_efi.h>
|
||||
|
||||
1
test/env/fdt.c
vendored
1
test/env/fdt.c
vendored
@@ -1,4 +1,5 @@
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <env_attr.h>
|
||||
#include <test/env.h>
|
||||
#include <test/ut.h>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <env_attr.h>
|
||||
#include <test/hush.h>
|
||||
#include <test/ut.h>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <env_attr.h>
|
||||
#include <vsprintf.h>
|
||||
#include <test/hush.h>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <env_attr.h>
|
||||
#include <test/hush.h>
|
||||
#include <test/ut.h>
|
||||
|
||||
Reference in New Issue
Block a user