Skip to content

Commit

Permalink
common: Drop bootstage.h from common header
Browse files Browse the repository at this point in the history
Move this fairly uncommon header out of the common header.

Signed-off-by: Simon Glass <[email protected]>
  • Loading branch information
sjg20 authored and trini committed May 18, 2020
1 parent b67eefd commit 52f2423
Show file tree
Hide file tree
Showing 61 changed files with 61 additions and 2 deletions.
3 changes: 2 additions & 1 deletion arch/arc/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
* Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
*/

#include <common.h>
#include <bootstage.h>
#include <irq_func.h>
#include <asm/cache.h>
#include <common.h>

DECLARE_GLOBAL_DATA_PTR;

Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv8/generic_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <time.h>
#include <asm/system.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <cpu_func.h>
#include <dm.h>
Expand Down
1 change: 1 addition & 0 deletions arch/m68k/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <env.h>
#include <image.h>
Expand Down
1 change: 1 addition & 0 deletions arch/microblaze/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <cpu_func.h>
#include <env.h>
Expand Down
1 change: 1 addition & 0 deletions arch/mips/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <env.h>
#include <image.h>
#include <fdt_support.h>
Expand Down
1 change: 1 addition & 0 deletions arch/nds32/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <env.h>
#include <hang.h>
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


#include <common.h>
#include <bootstage.h>
#include <cpu_func.h>
#include <env.h>
#include <init.h>
Expand Down
1 change: 1 addition & 0 deletions arch/riscv/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <dm.h>
#include <fdt_support.h>
Expand Down
1 change: 1 addition & 0 deletions arch/sandbox/cpu/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <cpu_func.h>
#include <dm.h>
#include <errno.h>
Expand Down
1 change: 1 addition & 0 deletions arch/sandbox/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <asm/io.h>

#define LINUX_ARM_ZIMAGE_MAGIC 0x016f2818
Expand Down
1 change: 1 addition & 0 deletions arch/x86/cpu/apollolake/fsp_s.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <common.h>
#include <binman.h>
#include <bootstage.h>
#include <dm.h>
#include <irq.h>
#include <malloc.h>
Expand Down
1 change: 1 addition & 0 deletions arch/x86/cpu/apollolake/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <binman_sym.h>
#include <bootstage.h>
#include <dm.h>
#include <malloc.h>
#include <spi.h>
Expand Down
1 change: 1 addition & 0 deletions arch/x86/cpu/coreboot/timestamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <asm/arch/timestamp.h>
#include <asm/arch/sysinfo.h>
#include <linux/compiler.h>
Expand Down
1 change: 1 addition & 0 deletions arch/x86/cpu/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <cpu_func.h>
#include <dm.h>
Expand Down
1 change: 1 addition & 0 deletions arch/x86/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <hang.h>
#include <dm/device.h>
Expand Down
1 change: 1 addition & 0 deletions arch/x86/lib/fsp2/fsp_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <common.h>
#include <binman.h>
#include <binman_sym.h>
#include <bootstage.h>
#include <cbfs.h>
#include <dm.h>
#include <init.h>
Expand Down
1 change: 1 addition & 0 deletions arch/x86/lib/fsp2/fsp_meminit.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <common.h>
#include <binman.h>
#include <bootstage.h>
#include <asm/mrccache.h>
#include <asm/fsp/fsp_infoheader.h>
#include <asm/fsp2/fsp_api.h>
Expand Down
1 change: 1 addition & 0 deletions arch/x86/lib/fsp2/fsp_silicon_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include <common.h>
#include <binman.h>
#include <bootstage.h>
#include <dm.h>
#include <asm/arch/fsp/fsp_configs.h>
#include <asm/arch/fsp/fsp_s_upd.h>
Expand Down
1 change: 1 addition & 0 deletions arch/xtensa/lib/bootm.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <cpu_func.h>
#include <env.h>
Expand Down
1 change: 1 addition & 0 deletions board/Seagate/dockstar/dockstar.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <miiphy.h>
#include <net.h>
#include <asm/arch/soc.h>
Expand Down
1 change: 1 addition & 0 deletions board/Seagate/goflexhome/goflexhome.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <miiphy.h>
#include <net.h>
#include <asm/mach-types.h>
Expand Down
1 change: 1 addition & 0 deletions board/armltd/integrator/integrator.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <cpu_func.h>
#include <dm.h>
#include <env.h>
Expand Down
1 change: 1 addition & 0 deletions board/armltd/vexpress/vexpress_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* Philippe Robin, <[email protected]>
*/
#include <common.h>
#include <bootstage.h>
#include <cpu_func.h>
#include <init.h>
#include <malloc.h>
Expand Down
1 change: 1 addition & 0 deletions board/bosch/shc/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <cpu_func.h>
#include <env.h>
#include <errno.h>
Expand Down
1 change: 1 addition & 0 deletions board/buffalo/lsxl/lsxl.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <env.h>
#include <env_internal.h>
#include <flash.h>
Expand Down
1 change: 1 addition & 0 deletions board/gdsys/p1022/controlcenterd-id.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#endif

#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <dm.h>
#include <env.h>
Expand Down
1 change: 1 addition & 0 deletions board/st/stv0991/stv0991.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <dm.h>
#include <miiphy.h>
#include <net.h>
Expand Down
1 change: 1 addition & 0 deletions board/technexion/tao3530/tao3530.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Tapani Utriainen <[email protected]>
*/
#include <common.h>
#include <bootstage.h>
#include <malloc.h>
#include <netdev.h>
#include <twl4030.h>
Expand Down
1 change: 1 addition & 0 deletions board/ti/beagle/beagle.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
*
*/
#include <common.h>
#include <bootstage.h>
#include <dm.h>
#include <env.h>
#include <net.h>
Expand Down
1 change: 1 addition & 0 deletions cmd/bootstage.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <bootstage.h>

static int do_bootstage_report(cmd_tbl_t *cmdtp, int flag, int argc,
char * const argv[])
Expand Down
1 change: 1 addition & 0 deletions cmd/disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, [email protected].
*/
#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <cpu_func.h>
#include <image.h>
Expand Down
1 change: 1 addition & 0 deletions cmd/nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <image.h>
#include <asm/cache.h>
#include <linux/mtd/mtd.h>
Expand Down
1 change: 1 addition & 0 deletions cmd/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* Boot support
*/
#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <env.h>
#include <image.h>
Expand Down
1 change: 1 addition & 0 deletions cmd/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#include <common.h>
#include <blk.h>
#include <bootstage.h>
#include <command.h>
#include <console.h>
#include <dm.h>
Expand Down
1 change: 1 addition & 0 deletions common/board_f.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include <common.h>
#include <bloblist.h>
#include <bootstage.h>
#include <clock_legacy.h>
#include <console.h>
#include <cpu.h>
Expand Down
1 change: 1 addition & 0 deletions common/board_r.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include <common.h>
#include <api.h>
#include <bootstage.h>
#include <cpu_func.h>
#include <exports.h>
#include <flash.h>
Expand Down
1 change: 1 addition & 0 deletions common/bootm_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <common.h>
#include <bootm.h>
#include <bootstage.h>
#include <cpu_func.h>
#include <efi_loader.h>
#include <env.h>
Expand Down
1 change: 1 addition & 0 deletions common/bootstage.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <hang.h>
#include <malloc.h>
#include <sort.h>
Expand Down
1 change: 1 addition & 0 deletions common/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <cli.h>
#include <cli_hush.h>
#include <command.h>
Expand Down
1 change: 1 addition & 0 deletions common/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#ifndef USE_HOSTCC
#include <common.h>
#include <bootstage.h>
#include <cpu_func.h>
#include <env.h>
#include <malloc.h>
Expand Down
1 change: 1 addition & 0 deletions common/init/board_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <common.h>
#include <bootstage.h>

DECLARE_GLOBAL_DATA_PTR;

Expand Down
1 change: 1 addition & 0 deletions common/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <common.h>
#include <autoboot.h>
#include <bootstage.h>
#include <cli.h>
#include <command.h>
#include <console.h>
Expand Down
1 change: 1 addition & 0 deletions common/spl/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <common.h>
#include <bloblist.h>
#include <binman_sym.h>
#include <bootstage.h>
#include <dm.h>
#include <handoff.h>
#include <hang.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/pci_rom.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include <common.h>
#include <bios_emul.h>
#include <bootstage.h>
#include <dm.h>
#include <errno.h>
#include <init.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/scsi/scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <common.h>
#include <blk.h>
#include <bootstage.h>
#include <dm.h>
#include <env.h>
#include <part.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/spi/ich.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#define LOG_CATEGORY UCLASS_SPI

#include <common.h>
#include <bootstage.h>
#include <div64.h>
#include <dm.h>
#include <dt-structs.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/timer/cadence-ttc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <dm.h>
#include <errno.h>
#include <timer.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/timer/rockchip_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <bootstage.h>
#include <dm.h>
#include <dm/ofnode.h>
#include <mapmem.h>
Expand Down
Loading

0 comments on commit 52f2423

Please sign in to comment.