diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:00 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 17:33:33 -0400 |
commit | 52f24238046ca28085f6de946d0358e5c7c7cbe8 (patch) | |
tree | 960e1e8fd0ab37ccb58817f4acc1dffb018801e8 | |
parent | b67eefdb6ec9467c41b1c0081f0823bbfff36b00 (diff) | |
download | u-boot-52f24238046ca28085f6de946d0358e5c7c7cbe8.zip u-boot-52f24238046ca28085f6de946d0358e5c7c7cbe8.tar.gz u-boot-52f24238046ca28085f6de946d0358e5c7c7cbe8.tar.bz2 |
common: Drop bootstage.h from common header
Move this fairly uncommon header out of the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
61 files changed, 61 insertions, 2 deletions
diff --git a/arch/arc/lib/bootm.c b/arch/arc/lib/bootm.c index d38c18e..1b08ffe 100644 --- a/arch/arc/lib/bootm.c +++ b/arch/arc/lib/bootm.c @@ -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; diff --git a/arch/arm/cpu/armv8/generic_timer.c b/arch/arm/cpu/armv8/generic_timer.c index 46e6329..6fe3ede 100644 --- a/arch/arm/cpu/armv8/generic_timer.c +++ b/arch/arm/cpu/armv8/generic_timer.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <time.h> #include <asm/system.h> diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index dc845a9..c189bdc 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -12,6 +12,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <cpu_func.h> #include <dm.h> diff --git a/arch/m68k/lib/bootm.c b/arch/m68k/lib/bootm.c index 19445b3..fb1170d 100644 --- a/arch/m68k/lib/bootm.c +++ b/arch/m68k/lib/bootm.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <env.h> #include <image.h> diff --git a/arch/microblaze/lib/bootm.c b/arch/microblaze/lib/bootm.c index 87d2d6e..f7303b7 100644 --- a/arch/microblaze/lib/bootm.c +++ b/arch/microblaze/lib/bootm.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <cpu_func.h> #include <env.h> diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index f1db6d2..6a6764a 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/mips/lib/bootm.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <bootstage.h> #include <env.h> #include <image.h> #include <fdt_support.h> diff --git a/arch/nds32/lib/bootm.c b/arch/nds32/lib/bootm.c index 1003bc8..b173686 100644 --- a/arch/nds32/lib/bootm.c +++ b/arch/nds32/lib/bootm.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <env.h> #include <hang.h> diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c index 390e8c0..1cef75c 100644 --- a/arch/powerpc/lib/bootm.c +++ b/arch/powerpc/lib/bootm.c @@ -8,6 +8,7 @@ #include <common.h> +#include <bootstage.h> #include <cpu_func.h> #include <env.h> #include <init.h> diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c index 0d06095..c24aba1 100644 --- a/arch/riscv/lib/bootm.c +++ b/arch/riscv/lib/bootm.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <dm.h> #include <fdt_support.h> diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index 56ee3f5..842640c 100644 --- a/arch/sandbox/cpu/cpu.c +++ b/arch/sandbox/cpu/cpu.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <bootstage.h> #include <cpu_func.h> #include <dm.h> #include <errno.h> diff --git a/arch/sandbox/lib/bootm.c b/arch/sandbox/lib/bootm.c index 2de03fb..d38c316 100644 --- a/arch/sandbox/lib/bootm.c +++ b/arch/sandbox/lib/bootm.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <bootstage.h> #include <asm/io.h> #define LINUX_ARM_ZIMAGE_MAGIC 0x016f2818 diff --git a/arch/x86/cpu/apollolake/fsp_s.c b/arch/x86/cpu/apollolake/fsp_s.c index 7ef169b..fd6e73d 100644 --- a/arch/x86/cpu/apollolake/fsp_s.c +++ b/arch/x86/cpu/apollolake/fsp_s.c @@ -6,6 +6,7 @@ #include <common.h> #include <binman.h> +#include <bootstage.h> #include <dm.h> #include <irq.h> #include <malloc.h> diff --git a/arch/x86/cpu/apollolake/spl.c b/arch/x86/cpu/apollolake/spl.c index d32f2a9..a555e6c 100644 --- a/arch/x86/cpu/apollolake/spl.c +++ b/arch/x86/cpu/apollolake/spl.c @@ -5,6 +5,7 @@ #include <common.h> #include <binman_sym.h> +#include <bootstage.h> #include <dm.h> #include <malloc.h> #include <spi.h> diff --git a/arch/x86/cpu/coreboot/timestamp.c b/arch/x86/cpu/coreboot/timestamp.c index e8ccaf2..0162597 100644 --- a/arch/x86/cpu/coreboot/timestamp.c +++ b/arch/x86/cpu/coreboot/timestamp.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <bootstage.h> #include <asm/arch/timestamp.h> #include <asm/arch/sysinfo.h> #include <linux/compiler.h> diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index 2e5d0dd..e0f23bb 100644 --- a/arch/x86/cpu/cpu.c +++ b/arch/x86/cpu/cpu.c @@ -19,6 +19,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <cpu_func.h> #include <dm.h> diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c index 07d8f1f..0837655 100644 --- a/arch/x86/lib/bootm.c +++ b/arch/x86/lib/bootm.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <hang.h> #include <dm/device.h> diff --git a/arch/x86/lib/fsp2/fsp_init.c b/arch/x86/lib/fsp2/fsp_init.c index c7dc2ea..008e8ae 100644 --- a/arch/x86/lib/fsp2/fsp_init.c +++ b/arch/x86/lib/fsp2/fsp_init.c @@ -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> diff --git a/arch/x86/lib/fsp2/fsp_meminit.c b/arch/x86/lib/fsp2/fsp_meminit.c index 300be8b..117f36a 100644 --- a/arch/x86/lib/fsp2/fsp_meminit.c +++ b/arch/x86/lib/fsp2/fsp_meminit.c @@ -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> diff --git a/arch/x86/lib/fsp2/fsp_silicon_init.c b/arch/x86/lib/fsp2/fsp_silicon_init.c index 66a3cb3..28c15a2 100644 --- a/arch/x86/lib/fsp2/fsp_silicon_init.c +++ b/arch/x86/lib/fsp2/fsp_silicon_init.c @@ -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> diff --git a/arch/xtensa/lib/bootm.c b/arch/xtensa/lib/bootm.c index 057b229..458eaf9 100644 --- a/arch/xtensa/lib/bootm.c +++ b/arch/xtensa/lib/bootm.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <cpu_func.h> #include <env.h> diff --git a/board/Seagate/dockstar/dockstar.c b/board/Seagate/dockstar/dockstar.c index 5a8c6e2..0ff8a90 100644 --- a/board/Seagate/dockstar/dockstar.c +++ b/board/Seagate/dockstar/dockstar.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <bootstage.h> #include <miiphy.h> #include <net.h> #include <asm/arch/soc.h> diff --git a/board/Seagate/goflexhome/goflexhome.c b/board/Seagate/goflexhome/goflexhome.c index 1e4477a..fd2f0df 100644 --- a/board/Seagate/goflexhome/goflexhome.c +++ b/board/Seagate/goflexhome/goflexhome.c @@ -12,6 +12,7 @@ */ #include <common.h> +#include <bootstage.h> #include <miiphy.h> #include <net.h> #include <asm/mach-types.h> diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c index 32e4933..ac6462d 100644 --- a/board/armltd/integrator/integrator.c +++ b/board/armltd/integrator/integrator.c @@ -17,6 +17,7 @@ */ #include <common.h> +#include <bootstage.h> #include <cpu_func.h> #include <dm.h> #include <env.h> diff --git a/board/armltd/vexpress/vexpress_common.c b/board/armltd/vexpress/vexpress_common.c index ebd3322..9dc26b9 100644 --- a/board/armltd/vexpress/vexpress_common.c +++ b/board/armltd/vexpress/vexpress_common.c @@ -16,6 +16,7 @@ * Philippe Robin, <philippe.robin@arm.com> */ #include <common.h> +#include <bootstage.h> #include <cpu_func.h> #include <init.h> #include <malloc.h> diff --git a/board/bosch/shc/board.c b/board/bosch/shc/board.c index 9698d8e..6e0ad4b 100644 --- a/board/bosch/shc/board.c +++ b/board/bosch/shc/board.c @@ -12,6 +12,7 @@ */ #include <common.h> +#include <bootstage.h> #include <cpu_func.h> #include <env.h> #include <errno.h> diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c index aa64125..56a2c29 100644 --- a/board/buffalo/lsxl/lsxl.c +++ b/board/buffalo/lsxl/lsxl.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <bootstage.h> #include <env.h> #include <env_internal.h> #include <flash.h> diff --git a/board/gdsys/p1022/controlcenterd-id.c b/board/gdsys/p1022/controlcenterd-id.c index ad56dd7..3da5005 100644 --- a/board/gdsys/p1022/controlcenterd-id.c +++ b/board/gdsys/p1022/controlcenterd-id.c @@ -11,6 +11,7 @@ #endif #include <common.h> +#include <bootstage.h> #include <command.h> #include <dm.h> #include <env.h> diff --git a/board/st/stv0991/stv0991.c b/board/st/stv0991/stv0991.c index f193e83..fbcb870 100644 --- a/board/st/stv0991/stv0991.c +++ b/board/st/stv0991/stv0991.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> #include <miiphy.h> #include <net.h> diff --git a/board/technexion/tao3530/tao3530.c b/board/technexion/tao3530/tao3530.c index 7d7c427..b604ee9 100644 --- a/board/technexion/tao3530/tao3530.c +++ b/board/technexion/tao3530/tao3530.c @@ -4,6 +4,7 @@ * Tapani Utriainen <linuxfae@technexion.com> */ #include <common.h> +#include <bootstage.h> #include <malloc.h> #include <netdev.h> #include <twl4030.h> diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index cb3a12e..439b023 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -13,6 +13,7 @@ * */ #include <common.h> +#include <bootstage.h> #include <dm.h> #include <env.h> #include <net.h> diff --git a/cmd/bootstage.c b/cmd/bootstage.c index ed0b0ff..f1ea4e9 100644 --- a/cmd/bootstage.c +++ b/cmd/bootstage.c @@ -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[]) @@ -4,6 +4,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <cpu_func.h> #include <image.h> @@ -20,6 +20,7 @@ */ #include <common.h> +#include <bootstage.h> #include <image.h> #include <asm/cache.h> #include <linux/mtd/mtd.h> @@ -8,6 +8,7 @@ * Boot support */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <env.h> #include <image.h> @@ -12,6 +12,7 @@ #include <common.h> #include <blk.h> +#include <bootstage.h> #include <command.h> #include <console.h> #include <dm.h> diff --git a/common/board_f.c b/common/board_f.c index c4247cd..b9b5b8d 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -11,6 +11,7 @@ #include <common.h> #include <bloblist.h> +#include <bootstage.h> #include <clock_legacy.h> #include <console.h> #include <cpu.h> diff --git a/common/board_r.c b/common/board_r.c index bd1ac35..a79a273 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -11,6 +11,7 @@ #include <common.h> #include <api.h> +#include <bootstage.h> #include <cpu_func.h> #include <exports.h> #include <flash.h> diff --git a/common/bootm_os.c b/common/bootm_os.c index 1d58462..4402353 100644 --- a/common/bootm_os.c +++ b/common/bootm_os.c @@ -6,6 +6,7 @@ #include <common.h> #include <bootm.h> +#include <bootstage.h> #include <cpu_func.h> #include <efi_loader.h> #include <env.h> diff --git a/common/bootstage.c b/common/bootstage.c index d2ed336..817f85a 100644 --- a/common/bootstage.c +++ b/common/bootstage.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <bootstage.h> #include <hang.h> #include <malloc.h> #include <sort.h> diff --git a/common/cli.c b/common/cli.c index 38bba17..e5e5894 100644 --- a/common/cli.c +++ b/common/cli.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <bootstage.h> #include <cli.h> #include <cli_hush.h> #include <command.h> diff --git a/common/image.c b/common/image.c index 14e27fb..20fa4bd 100644 --- a/common/image.c +++ b/common/image.c @@ -8,6 +8,7 @@ #ifndef USE_HOSTCC #include <common.h> +#include <bootstage.h> #include <cpu_func.h> #include <env.h> #include <malloc.h> diff --git a/common/init/board_init.c b/common/init/board_init.c index f7c8a17..4c4f0ce 100644 --- a/common/init/board_init.c +++ b/common/init/board_init.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <bootstage.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/common/main.c b/common/main.c index 64287f7..4b3cd30 100644 --- a/common/main.c +++ b/common/main.c @@ -8,6 +8,7 @@ #include <common.h> #include <autoboot.h> +#include <bootstage.h> #include <cli.h> #include <command.h> #include <console.h> diff --git a/common/spl/spl.c b/common/spl/spl.c index 163e960..b33905e 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -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> diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index 6b17f18..2f3d40c 100644 --- a/drivers/pci/pci_rom.c +++ b/drivers/pci/pci_rom.c @@ -24,6 +24,7 @@ #include <common.h> #include <bios_emul.h> +#include <bootstage.h> #include <dm.h> #include <errno.h> #include <init.h> diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 849c42f..949e364 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c @@ -6,6 +6,7 @@ #include <common.h> #include <blk.h> +#include <bootstage.h> #include <dm.h> #include <env.h> #include <part.h> diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index a9d7715..990a5ff 100644 --- a/drivers/spi/ich.c +++ b/drivers/spi/ich.c @@ -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> diff --git a/drivers/timer/cadence-ttc.c b/drivers/timer/cadence-ttc.c index ed48a14..4837b06 100644 --- a/drivers/timer/cadence-ttc.c +++ b/drivers/timer/cadence-ttc.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> #include <errno.h> #include <timer.h> diff --git a/drivers/timer/rockchip_timer.c b/drivers/timer/rockchip_timer.c index 54956e5..0cbdc27 100644 --- a/drivers/timer/rockchip_timer.c +++ b/drivers/timer/rockchip_timer.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> #include <dm/ofnode.h> #include <mapmem.h> diff --git a/drivers/timer/tsc_timer.c b/drivers/timer/tsc_timer.c index 43cb2d8..04596ff 100644 --- a/drivers/timer/tsc_timer.c +++ b/drivers/timer/tsc_timer.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> #include <malloc.h> #include <time.h> diff --git a/drivers/video/broadwell_igd.c b/drivers/video/broadwell_igd.c index c23421d..86c4c10 100644 --- a/drivers/video/broadwell_igd.c +++ b/drivers/video/broadwell_igd.c @@ -7,6 +7,7 @@ #include <common.h> #include <bios_emul.h> +#include <bootstage.h> #include <dm.h> #include <init.h> #include <vbe.h> diff --git a/drivers/video/tegra124/display.c b/drivers/video/tegra124/display.c index 913beab..a552f38 100644 --- a/drivers/video/tegra124/display.c +++ b/drivers/video/tegra124/display.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> #include <edid.h> #include <errno.h> diff --git a/env/common.c b/env/common.c index 1fd1bd0..0256b3e 100644 --- a/env/common.c +++ b/env/common.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <env.h> #include <env_internal.h> diff --git a/include/common.h b/include/common.h index 85a2115..fd3e2de 100644 --- a/include/common.h +++ b/include/common.h @@ -35,7 +35,6 @@ #include <init.h> #include <display_options.h> #include <vsprintf.h> -#include <bootstage.h> #endif /* __ASSEMBLY__ */ /* Pull in stuff for the build system */ @@ -5,6 +5,7 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> #include <errno.h> #include <time.h> diff --git a/net/bootp.c b/net/bootp.c index 2c918d8..05bfede 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <env.h> #include <efi_loader.h> diff --git a/net/eth-uclass.c b/net/eth-uclass.c index 48560d5..5682b3a 100644 --- a/net/eth-uclass.c +++ b/net/eth-uclass.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> #include <env.h> #include <net.h> diff --git a/net/eth_common.c b/net/eth_common.c index ed26b1b..58f899a 100644 --- a/net/eth_common.c +++ b/net/eth_common.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> #include <env.h> #include <miiphy.h> diff --git a/net/eth_legacy.c b/net/eth_legacy.c index 5d6b0d7..e0ef4a1 100644 --- a/net/eth_legacy.c +++ b/net/eth_legacy.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <bootstage.h> #include <command.h> #include <env.h> #include <net.h> @@ -88,6 +88,7 @@ #include <common.h> +#include <bootstage.h> #include <command.h> #include <console.h> #include <env.h> diff --git a/post/post.c b/post/post.c index 696a60f..0f977fe 100644 --- a/post/post.c +++ b/post/post.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <bootstage.h> #include <env.h> #include <malloc.h> #include <stdio_dev.h> |