Browse Source

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>
Simon Glass 4 years ago
parent
commit
52f2423804
61 changed files with 61 additions and 2 deletions
  1. 2 1
      arch/arc/lib/bootm.c
  2. 1 0
      arch/arm/cpu/armv8/generic_timer.c
  3. 1 0
      arch/arm/lib/bootm.c
  4. 1 0
      arch/m68k/lib/bootm.c
  5. 1 0
      arch/microblaze/lib/bootm.c
  6. 1 0
      arch/mips/lib/bootm.c
  7. 1 0
      arch/nds32/lib/bootm.c
  8. 1 0
      arch/powerpc/lib/bootm.c
  9. 1 0
      arch/riscv/lib/bootm.c
  10. 1 0
      arch/sandbox/cpu/cpu.c
  11. 1 0
      arch/sandbox/lib/bootm.c
  12. 1 0
      arch/x86/cpu/apollolake/fsp_s.c
  13. 1 0
      arch/x86/cpu/apollolake/spl.c
  14. 1 0
      arch/x86/cpu/coreboot/timestamp.c
  15. 1 0
      arch/x86/cpu/cpu.c
  16. 1 0
      arch/x86/lib/bootm.c
  17. 1 0
      arch/x86/lib/fsp2/fsp_init.c
  18. 1 0
      arch/x86/lib/fsp2/fsp_meminit.c
  19. 1 0
      arch/x86/lib/fsp2/fsp_silicon_init.c
  20. 1 0
      arch/xtensa/lib/bootm.c
  21. 1 0
      board/Seagate/dockstar/dockstar.c
  22. 1 0
      board/Seagate/goflexhome/goflexhome.c
  23. 1 0
      board/armltd/integrator/integrator.c
  24. 1 0
      board/armltd/vexpress/vexpress_common.c
  25. 1 0
      board/bosch/shc/board.c
  26. 1 0
      board/buffalo/lsxl/lsxl.c
  27. 1 0
      board/gdsys/p1022/controlcenterd-id.c
  28. 1 0
      board/st/stv0991/stv0991.c
  29. 1 0
      board/technexion/tao3530/tao3530.c
  30. 1 0
      board/ti/beagle/beagle.c
  31. 1 0
      cmd/bootstage.c
  32. 1 0
      cmd/disk.c
  33. 1 0
      cmd/nand.c
  34. 1 0
      cmd/net.c
  35. 1 0
      cmd/usb.c
  36. 1 0
      common/board_f.c
  37. 1 0
      common/board_r.c
  38. 1 0
      common/bootm_os.c
  39. 1 0
      common/bootstage.c
  40. 1 0
      common/cli.c
  41. 1 0
      common/image.c
  42. 1 0
      common/init/board_init.c
  43. 1 0
      common/main.c
  44. 1 0
      common/spl/spl.c
  45. 1 0
      drivers/pci/pci_rom.c
  46. 1 0
      drivers/scsi/scsi.c
  47. 1 0
      drivers/spi/ich.c
  48. 1 0
      drivers/timer/cadence-ttc.c
  49. 1 0
      drivers/timer/rockchip_timer.c
  50. 1 0
      drivers/timer/tsc_timer.c
  51. 1 0
      drivers/video/broadwell_igd.c
  52. 1 0
      drivers/video/tegra124/display.c
  53. 1 0
      env/common.c
  54. 0 1
      include/common.h
  55. 1 0
      lib/time.c
  56. 1 0
      net/bootp.c
  57. 1 0
      net/eth-uclass.c
  58. 1 0
      net/eth_common.c
  59. 1 0
      net/eth_legacy.c
  60. 1 0
      net/net.c
  61. 1 0
      post/post.c

+ 2 - 1
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;
 

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
arch/m68k/lib/bootm.c

@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <image.h>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
arch/nds32/lib/bootm.c

@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <hang.h>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
board/st/stv0991/stv0991.c

@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <miiphy.h>
 #include <net.h>

+ 1 - 0
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>

+ 1 - 0
board/ti/beagle/beagle.c

@@ -13,6 +13,7 @@
  *
  */
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <env.h>
 #include <net.h>

+ 1 - 0
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[])

+ 1 - 0
cmd/disk.c

@@ -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>

+ 1 - 0
cmd/nand.c

@@ -20,6 +20,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <image.h>
 #include <asm/cache.h>
 #include <linux/mtd/mtd.h>

+ 1 - 0
cmd/net.c

@@ -8,6 +8,7 @@
  * Boot support
  */
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <image.h>

+ 1 - 0
cmd/usb.c

@@ -12,6 +12,7 @@
 
 #include <common.h>
 #include <blk.h>
+#include <bootstage.h>
 #include <command.h>
 #include <console.h>
 #include <dm.h>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
common/bootstage.c

@@ -10,6 +10,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <hang.h>
 #include <malloc.h>
 #include <sort.h>

+ 1 - 0
common/cli.c

@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <cli.h>
 #include <cli_hush.h>
 #include <command.h>

+ 1 - 0
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>

+ 1 - 0
common/init/board_init.c

@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
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>

+ 1 - 0
drivers/timer/cadence-ttc.c

@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <errno.h>
 #include <timer.h>

+ 1 - 0
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>

+ 1 - 0
drivers/timer/tsc_timer.c

@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <malloc.h>
 #include <time.h>

+ 1 - 0
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>

+ 1 - 0
drivers/video/tegra124/display.c

@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <edid.h>
 #include <errno.h>

+ 1 - 0
env/common.c

@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <env_internal.h>

+ 0 - 1
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 */

+ 1 - 0
lib/time.c

@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <errno.h>
 #include <time.h>

+ 1 - 0
net/bootp.c

@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <efi_loader.h>

+ 1 - 0
net/eth-uclass.c

@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <env.h>
 #include <net.h>

+ 1 - 0
net/eth_common.c

@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <dm.h>
 #include <env.h>
 #include <miiphy.h>

+ 1 - 0
net/eth_legacy.c

@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <env.h>
 #include <net.h>

+ 1 - 0
net/net.c

@@ -88,6 +88,7 @@
 
 
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <console.h>
 #include <env.h>

+ 1 - 0
post/post.c

@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <bootstage.h>
 #include <env.h>
 #include <malloc.h>
 #include <stdio_dev.h>