mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00
cmd: Remove <common.h> and add needed includes
Remove <common.h> from all "cmd/" files and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
752ed08675
commit
301bac6047
205 changed files with 65 additions and 205 deletions
cmd
2048.cab_select.cabootimg.cacpi.cadc.caddrmap.cadtimg.caes.c
arm
armffa.carmflash.caxi.cbcb.cbdinfo.cbind.cbinop.cblk_common.cblkcache.cblkmap.cblob.cbloblist.cbmp.cboot.cbootcount.cbootdev.cbootflow.cbooti.cbootm.cbootmenu.cbootmeth.cbootstage.cbootz.cbroadcom
btrfs.cbutton.ccache.ccat.ccbfs.ccedit.cclk.cclone.ccls.cconfig.cconitrace.cconsole.ccpu.ccramfs.ccros_ec.ccyclic.cdate.cdemo.cdfu.cdiag.cdisk.cdm.cecho.ceeprom.cefi.cefi_common.ceficonfig.ceficonfig_sbkey.cefidebug.celf.cethsw.cevent.cexit.cext2.cext4.cextension_board.cfastboot.cfat.cfdt.cflash.cfont.cfpga.cfpgad.cfs.cfs_uuid.cfuse.cgettime.cgpio.cgpt.chash.chelp.chistory.chost.ci2c.cide.cini.cio.ciotrace.cirq.citest.cjffs2.ckaslrseed.cled.clegacy-mtd-utils.clegacy_led.c
|
@ -3,10 +3,10 @@
|
|||
|
||||
/* Console version of the game "2048" for GNU/Linux */
|
||||
|
||||
#include <common.h>
|
||||
#include <cli.h>
|
||||
#include <command.h>
|
||||
#include <rand.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define SIZE 4
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (C) 2017 The Android Open Source Project
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <android_ab.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
#include <android_image.h>
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <image.h>
|
||||
#include <mapmem.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright 2019 Google LLC
|
||||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <display_options.h>
|
||||
#include <log.h>
|
||||
|
@ -11,6 +10,7 @@
|
|||
#include <acpi/acpi_table.h>
|
||||
#include <asm/acpi_table.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <linux/errno.h>
|
||||
#include <dm/acpi.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (C) 2018 BayLibre, SAS
|
||||
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <adc.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (C) 2021, Bin Meng <bmeng.cn@gmail.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <addr_map.h>
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <vsprintf.h>
|
||||
#include <image-android-dt.h>
|
||||
#include <common.h>
|
||||
|
||||
#define OPT_INDEX "--index"
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
* Command for en/de-crypting block of memory with AES-[128/192/256]-CBC cipher.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <uboot_aes.h>
|
||||
#include <malloc.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <mapmem.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
u32 aes_get_key_len(char *command)
|
||||
{
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Copyright (c) 2018, Heinrich Schuchardt <xypron.glpk@gmx.de>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <linux/bitops.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Authors:
|
||||
* Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <arm_ffa.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
*
|
||||
* Support for ARM Flash Partitions
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <flash.h>
|
||||
#include <vsprintf.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#define MAX_REGIONS 4
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <axi.h>
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
#include <android_bootloader_message.h>
|
||||
#include <bcb.h>
|
||||
#include <command.h>
|
||||
#include <common.h>
|
||||
#include <display_options.h>
|
||||
#include <log.h>
|
||||
#include <part.h>
|
||||
#include <malloc.h>
|
||||
#include <memalign.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/err.h>
|
||||
|
||||
enum bcb_cmd {
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (c) 2018 JJ Hiblot <jjhiblot@ti.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <dm/device-internal.h>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <hexdump.h>
|
||||
#include <malloc.h>
|
||||
#include <mapmem.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/ctype.h>
|
||||
|
||||
enum {
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <blk.h>
|
||||
#include <command.h>
|
||||
#include <mapmem.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
int blk_common_cmd(int argc, char *const argv[], enum uclass_id uclass_id,
|
||||
int *cur_devnump)
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
*/
|
||||
#include <command.h>
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <malloc.h>
|
||||
#include <part.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
static int blkc_show(struct cmd_tbl *cmdtp, int flag,
|
||||
int argc, char *const argv[])
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include <blk.h>
|
||||
#include <blkmap.h>
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <malloc.h>
|
||||
#include <dm/device.h>
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
* Command for encapsulating/decapsulating blob of memory.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <malloc.h>
|
||||
#include <vsprintf.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <linux/compiler.h>
|
||||
#if defined(CONFIG_ARCH_MX6) || defined(CONFIG_ARCH_MX7) || \
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bloblist.h>
|
||||
#include <command.h>
|
||||
#include <asm/global_data.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* BMP handling routines
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <image.h>
|
||||
#include <mapmem.h>
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
/*
|
||||
* Misc boot support
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <net.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
#ifdef CONFIG_CMD_GO
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <bootcount.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootdev.h>
|
||||
#include <bootflow.h>
|
||||
#include <bootstd.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootdev.h>
|
||||
#include <bootflow.h>
|
||||
#include <bootm.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootm.h>
|
||||
#include <command.h>
|
||||
#include <image.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
/*
|
||||
* Boot support
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <bootm.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#include <charset.h>
|
||||
#include <cli.h>
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <ansi.h>
|
||||
#include <efi_config.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootdev.h>
|
||||
#include <bootmeth.h>
|
||||
#include <bootstd.h>
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
* Copyright (c) 2012, Google Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootstage.h>
|
||||
#include <command.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
static int do_bootstage_report(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootm.h>
|
||||
#include <command.h>
|
||||
#include <image.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright 2020 Broadcom
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <broadcom/chimp.h>
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright 2020 Broadcom
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <broadcom/chimp.h>
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* Copyright 2020 Broadcom
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
#define FW_IMAGE_SIG 0xff123456
|
||||
#define CFG_IMAGE_SIG 0xcf54321a
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* 2017 by Marek Behún <kabel@kernel.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <btrfs.h>
|
||||
#include <fs.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Based on led.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <button.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
/*
|
||||
* Cache support: switch on or off, get status
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <cpu_func.h>
|
||||
#include <linux/compiler.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Roger Knecht <rknecht@pm.de>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <fs.h>
|
||||
#include <malloc.h>
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
/*
|
||||
* CBFS commands
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <cbfs.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
static int do_cbfs_init(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <abuf.h>
|
||||
#include <cedit.h>
|
||||
#include <command.h>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
/*
|
||||
* Copyright (C) 2013 Xilinx, Inc.
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <clk.h>
|
||||
#if defined(CONFIG_DM) && defined(CONFIG_CLK)
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <malloc.h>
|
||||
#include <part.h>
|
||||
#include <blk.h>
|
||||
#include <time.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
#define BUFSIZE (1 * 1024 * 1024)
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
*
|
||||
* cls - clear screen command
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <dm.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (C) 2017 Masahiro Yamada <yamada.masahiro@socionext.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <gzip.h>
|
||||
#include <malloc.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
*
|
||||
* Copyright (c) 2018, Heinrich Schuchardt <xypron.glpk@gmx.de>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
/*
|
||||
* Boot support
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <iomux.h>
|
||||
#include <stdio_dev.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Copyright (c) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <cpu.h>
|
||||
#include <display_options.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
/*
|
||||
* CRAMFS support
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Copyright (c) 2016 National Instruments Corp
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <cros_ec.h>
|
||||
#include <dm.h>
|
||||
|
|
|
@ -8,11 +8,12 @@
|
|||
* Copyright (C) 2022 Stefan Roese <sr@denx.de>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <cyclic.h>
|
||||
#include <div64.h>
|
||||
#include <malloc.h>
|
||||
#include <time.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
struct cyclic_demo_info {
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
/*
|
||||
* RTC, Date & Time support: get and set date & time
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <rtc.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Pavel Herrmann <morpheus.ibis@gmail.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <dm-demo.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
* Lukasz Majewski <l.majewski@samsung.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <watchdog.h>
|
||||
#include <dfu.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
/*
|
||||
* Diagnostics support
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <post.h>
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* (C) Copyright 2000-2011
|
||||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <bootstage.h>
|
||||
#include <command.h>
|
||||
#include <cpu_func.h>
|
||||
|
|
1
cmd/dm.c
1
cmd/dm.c
|
@ -6,7 +6,6 @@
|
|||
* Marek Vasut <marex@denx.de>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm/root.h>
|
||||
#include <dm/util.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
|
||||
static int do_echo(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <eeprom.h>
|
||||
#include <i2c.h>
|
||||
#include <eeprom_layout.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#ifndef I2C_RXTX_LEN
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <efi.h>
|
||||
#include <efi_api.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <efi.h>
|
||||
#include <efi_api.h>
|
||||
#include <uuid.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
#include <ansi.h>
|
||||
#include <cli.h>
|
||||
#include <common.h>
|
||||
#include <charset.h>
|
||||
#include <efi_loader.h>
|
||||
#include <efi_load_initrd.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
*/
|
||||
|
||||
#include <ansi.h>
|
||||
#include <common.h>
|
||||
#include <charset.h>
|
||||
#include <hexdump.h>
|
||||
#include <log.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
*/
|
||||
|
||||
#include <charset.h>
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm/device.h>
|
||||
#include <efi_dt_fixup.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* All rights reserved.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <cpu_func.h>
|
||||
#include <elf.h>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
* Ethernet Switch commands
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <env_flags.h>
|
||||
#include <ethsw.h>
|
||||
#include <net.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
static const char *ethsw_name;
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <event.h>
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
static int do_exit(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
/*
|
||||
* Ext2fs support
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <fs.h>
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
* file in uboot. Added ext4fs ls load and write support.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <part.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Köry Maincent, Bootlin, <kory.maincent@bootlin.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootdev.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* (C) Copyright 2014 Linaro, Ltd.
|
||||
* Rob Herring <robh@kernel.org>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <g_dnl.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
/*
|
||||
* Boot support
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <mapmem.h>
|
||||
#include <fat.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* Matthew McClintock <msm@freescale.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
/*
|
||||
* FLASH support
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <log.h>
|
||||
#include <vsprintf.h>
|
||||
#include <uuid.h>
|
||||
|
||||
#if defined(CONFIG_CMD_MTDPARTS)
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <video.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
/*
|
||||
* FPGA support
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <fpga.h>
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <display_options.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
#include <gdsys_fpga.h>
|
||||
|
||||
|
|
1
cmd/fs.c
1
cmd/fs.c
|
@ -5,7 +5,6 @@
|
|||
* Inspired by cmd_ext_common.c, cmd_fat.c.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <fs.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Copyright (C) 2014, Bachmann electronic GmbH
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <fs.h>
|
||||
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
* Martha Marx <mmarx@silicontkx.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <fuse.h>
|
||||
#include <mapmem.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/errno.h>
|
||||
|
||||
static int strtou32(const char *str, unsigned int base, u32 *result)
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
/*
|
||||
* Get Timer overflows after 2^32 / CONFIG_SYS_HZ (32Khz) = 131072 sec
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <time.h>
|
||||
|
||||
static int do_gettime(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Licensed under the GPL-2 or later.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <errno.h>
|
||||
#include <dm.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
* author: Piotr Wilczek <p.wilczek@samsung.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <blk.h>
|
||||
#include <env.h>
|
||||
#include <log.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <hash.h>
|
||||
#include <linux/ctype.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
|
||||
static int do_help(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <cli.h>
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (c) 2012, Google Inc.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <fs.h>
|
||||
|
|
|
@ -64,7 +64,6 @@
|
|||
* Adapted from cmd_mem.c which is copyright Wolfgang Denk (wd@denx.de).
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootretry.h>
|
||||
#include <cli.h>
|
||||
#include <command.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* IDE support
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <blk.h>
|
||||
#include <dm.h>
|
||||
#include <config.h>
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
* http://code.google.com/p/inih/
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
|
|
2
cmd/io.c
2
cmd/io.c
|
@ -7,9 +7,9 @@
|
|||
* IO space access commands.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <display_options.h>
|
||||
#include <vsprintf.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
/* Display values from last command */
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
* Copyright (c) 2014 Google, Inc
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <iotrace.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
static void do_print_stats(void)
|
||||
{
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright 2008 Freescale Semiconductor, Inc.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <irq_func.h>
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
* A few parts were lifted from bash 'test' command
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <mapmem.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
#include <asm/io.h>
|
||||
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
/*
|
||||
* JFFS2/CRAMFS support
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#if defined(CONFIG_CMD_FLASH)
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Copyright (c) 2021, Chris Morgan <macromorgan@hotmail.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <hexdump.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <led.h>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
#include <common.h>
|
||||
#include <jffs2/jffs2.h>
|
||||
#include <linux/mtd/mtd.h>
|
||||
#include <linux/mtd/partitions.h>
|
||||
|
|
|
@ -9,10 +9,9 @@
|
|||
* Ulf Samuelsson <ulf.samuelsson@atmel.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <status_led.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
struct led_tbl_s {
|
||||
char *string; /* String for use in the command */
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue