Skip to content

Commit

Permalink
common: Drop init.h from common header
Browse files Browse the repository at this point in the history
Move this 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 4d72caa commit 691d719
Show file tree
Hide file tree
Showing 536 changed files with 536 additions and 2 deletions.
1 change: 1 addition & 0 deletions arch/arc/lib/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <init.h>
#include <malloc.h>
#include <vsprintf.h>
#include <asm/arcregs.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arc/lib/init_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved.
*/

#include <init.h>
#include <asm/cache.h>
#include <common.h>

Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm1136/mx31/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <common.h>
#include <div64.h>
#include <init.h>
#include <asm/arch/imx-regs.h>
#include <asm/arch/clock.h>
#include <asm/io.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm1136/mx31/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <init.h>
#include <asm/arch/imx-regs.h>
#include <asm/io.h>

Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm1136/mx35/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <common.h>
#include <clock_legacy.h>
#include <div64.h>
#include <init.h>
#include <net.h>
#include <asm/io.h>
#include <linux/errno.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm1136/mx35/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <common.h>
#include <init.h>
#include <asm/io.h>
#include <asm/arch/imx-regs.h>
#include <asm/arch/crm_regs.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm920t/ep93xx/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>
#include <linux/types.h>
#include <asm/arch/ep93xx.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm926ejs/armada100/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <asm/arch/cpu.h>
#include <asm/arch/armada100.h>

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

#include <common.h>
#include <init.h>
#include <asm/io.h>
#include <asm/arch/armada100.h>

Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm926ejs/armada100/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <time.h>
#include <asm/arch/cpu.h>
#include <asm/arch/armada100.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm926ejs/mx25/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <common.h>
#include <clock_legacy.h>
#include <div64.h>
#include <init.h>
#include <net.h>
#include <netdev.h>
#include <vsprintf.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm926ejs/mx25/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*/

#include <common.h>
#include <init.h>
#include <asm/io.h>
#include <asm/arch/imx-regs.h>

Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm926ejs/mx27/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <common.h>
#include <div64.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/imx-regs.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm926ejs/mxs/mxs.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <common.h>
#include <cpu_func.h>
#include <hang.h>
#include <init.h>
#include <net.h>
#include <linux/errno.h>
#include <asm/io.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm926ejs/mxs/spl_boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <common.h>
#include <config.h>
#include <init.h>
#include <serial.h>
#include <asm/io.h>
#include <asm/arch/imx-regs.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm926ejs/mxs/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/imx-regs.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm926ejs/spear/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <init.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/spr_misc.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm926ejs/spear/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <common.h>
#include <init.h>
#include <spl.h>
#include <version.h>
#include <asm/io.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/arm926ejs/spear/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/arch_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <div64.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/iproc-common/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <div64.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <asm/iproc-common/timer.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/ls102xa/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <net.h>
#include <vsprintf.h>
#include <asm/arch/clock.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/ls102xa/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <div64.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/s5p-common/cpu_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
#include <common.h>
#include <fdtdec.h>
#include <init.h>
#include <asm/io.h>
#include <asm/arch/clk.h>

Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/s5p-common/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <common.h>
#include <div64.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/pwm.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/stv0991/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch-stv0991/hardware.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/sunxi/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/timer.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/vf610/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <common.h>
#include <clock_legacy.h>
#include <cpu_func.h>
#include <init.h>
#include <net.h>
#include <asm/cache.h>
#include <asm/io.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/vf610/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <div64.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7m/systick-timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>

Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv8/fsl-layerscape/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <cpu_func.h>
#include <env.h>
#include <image.h>
#include <init.h>
#include <spl.h>
#include <asm/cache.h>
#include <asm/io.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv8/s32v234/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <asm/cache.h>
#include <asm/io.h>
#include <asm/system.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv8/s32v234/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <common.h>
#include <clock_legacy.h>
#include <cpu_func.h>
#include <init.h>
#include <net.h>
#include <asm/io.h>
#include <asm/arch/imx-regs.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/pxa/cpuinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <common.h>
#include <init.h>
#include <asm/io.h>
#include <errno.h>
#include <linux/compiler.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/pxa/pxa2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <irq_func.h>
#include <asm/arch/pxa-regs.h>
#include <asm/cache.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/pxa/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

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

int timer_init(void)
Expand Down
1 change: 1 addition & 0 deletions arch/arm/lib/spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <common.h>
#include <config.h>
#include <init.h>
#include <spl.h>
#include <image.h>
#include <asm/cache.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/lib/stack.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* Marius Groeger <[email protected]>
*/
#include <common.h>
#include <init.h>

DECLARE_GLOBAL_DATA_PTR;

Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-aspeed/ast2500-board.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/
#include <common.h>
#include <dm.h>
#include <init.h>
#include <ram.h>
#include <timer.h>
#include <asm/io.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-at91/arm920t/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/

#include <common.h>
#include <init.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/clk.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-at91/arm920t/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>

#include <asm/io.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-at91/arm926ejs/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <common.h>
#include <init.h>
#include <vsprintf.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-at91/arm926ejs/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-at91/armv7/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <vsprintf.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-at91/armv7/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

#include <common.h>
#include <init.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-at91/spl_at91.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include <common.h>
#include <hang.h>
#include <init.h>
#include <asm/io.h>
#include <asm/arch/at91_common.h>
#include <asm/arch/at91sam9_matrix.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-at91/spl_atmel.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <common.h>
#include <hang.h>
#include <init.h>
#include <asm/io.h>
#include <asm/arch/at91_common.h>
#include <asm/arch/at91_pit.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-bcm283x/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <dm/device.h>
#include <fdt_support.h>

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

#include <common.h>
#include <init.h>
#include <asm/arch/hardware.h>
#include <asm/io.h>

Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-davinci/da850_lowlevel.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Heiko Schocher, DENX Software Engineering, [email protected].
*/
#include <common.h>
#include <init.h>
#include <nand.h>
#include <ns16550.h>
#include <post.h>
Expand Down
Loading

0 comments on commit 691d719

Please sign in to comment.