Remove <common.h> from a number of places
Subsystems (19)
PATCH 18/18 post: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from all "post/" files and when needed add missing include files directly.
Signed-off-by Tom Rini <[email protected]>
--- post/cpu/mpc83xx/ecc.c | 2 +- post/drivers/flash.c | 2 +- post/drivers/i2c.c | 2 +- post/drivers/memory.c | 2 +- post/drivers/rtc.c | 2 +- post/lib_powerpc/andi.c | 2 +- post/lib_powerpc/b.c | 2 +- post/lib_powerpc/cmp.c | 2 +- post/lib_powerpc/cmpi.c | 2 +- post/lib_powerpc/complex.c | 2 +- post/lib_powerpc/cpu.c | 2 +- post/lib_powerpc/cr.c | 2 +- post/lib_powerpc/fpu/20001122-1.c | 2 +- post/lib_powerpc/fpu/20010114-2.c | 2 +- post/lib_powerpc/fpu/20010226-1.c | 2 +- post/lib_powerpc/fpu/980619-1.c | 2 +- post/lib_powerpc/fpu/acc1.c | 2 +- post/lib_powerpc/fpu/compare-fp-1.c | 2 +- post/lib_powerpc/fpu/fpu.c | 2 +- post/lib_powerpc/fpu/mul-subnormal-single-1.c | 2 +- post/lib_powerpc/load.c | 2 +- post/lib_powerpc/multi.c | 2 +- post/lib_powerpc/rlwimi.c | 2 +- post/lib_powerpc/rlwinm.c | 2 +- post/lib_powerpc/rlwnm.c | 2 +- post/lib_powerpc/srawi.c | 2 +- post/lib_powerpc/store.c | 2 +- post/lib_powerpc/string.c | 2 +- post/lib_powerpc/three.c | 2 +- post/lib_powerpc/threei.c | 2 +- post/lib_powerpc/threex.c | 2 +- post/lib_powerpc/two.c | 2 +- post/lib_powerpc/twox.c | 2 +- post/post.c | 2 +- post/tests.c | 3 ++- 35 files changed, 36 insertions(+), 35 deletions(-)
post/cpu/mpc83xx/ecc.c +1 -1
@@ -8,7 +8,7 @@* Dave Liu <[email protected]> */ -#include <common.h> +#include <config.h> #include <cpu_func.h> #include <irq_func.h> #include <log.h>
post/drivers/flash.c +1 -1
@@ -7,7 +7,7 @@*/ #if CFG_POST &CFG_SYS_POST_FLASH -#include <common.h> +#include <config.h> #include <malloc.h> #include <post.h> #include <flash.h>
post/drivers/i2c.c +1 -1
@@ -21,7 +21,7 @@* #endif */ -#include <common.h> +#include <config.h> #include <log.h> #include <post.h> #include <i2c.h>
post/drivers/memory.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <log.h> #include <asm/global_data.h>
post/drivers/rtc.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> /* * RTC test
post/lib_powerpc/andi.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/b.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/cmp.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/cmpi.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/complex.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/cpu.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <cpu_func.h> /*
post/lib_powerpc/cr.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/fpu/20001122-1.c +1 -1
@@ -7,7 +7,7 @@* This file is originally a part of the GCC testsuite. */ -#include <common.h> +#include <config.h> #include <post.h>
post/lib_powerpc/fpu/20010114-2.c +1 -1
@@ -7,7 +7,7 @@* This file is originally a part of the GCC testsuite. */ -#include <common.h> +#include <config.h> #include <post.h>
post/lib_powerpc/fpu/20010226-1.c +1 -1
@@ -7,7 +7,7 @@* This file is originally a part of the GCC testsuite. */ -#include <common.h> +#include <config.h> #include <post.h>
post/lib_powerpc/fpu/980619-1.c +1 -1
@@ -7,7 +7,7 @@* This file is originally a part of the GCC testsuite. */ -#include <common.h> +#include <config.h> #include <post.h>
post/lib_powerpc/fpu/acc1.c +1 -1
@@ -7,7 +7,7 @@* This file is originally a part of the GCC testsuite. */ -#include <common.h> +#include <config.h> #include <post.h>
post/lib_powerpc/fpu/compare-fp-1.c +1 -1
@@ -9,7 +9,7 @@* This file is originally a part of the GCC testsuite. */ -#include <common.h> +#include <config.h> #include <post.h>
post/lib_powerpc/fpu/fpu.c +1 -1
@@ -6,7 +6,7 @@* Author: Sergei Poselenov <[email protected]> */ -#include <common.h> +#include <config.h> /* * FPU test
post/lib_powerpc/fpu/mul-subnormal-single-1.c +1 -1
@@ -9,7 +9,7 @@* numbers) are rounded to within 0.5 ulp. PR other/14354. */ -#include <common.h> +#include <config.h> #include <post.h>
post/lib_powerpc/load.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/multi.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> #include <log.h>
post/lib_powerpc/rlwimi.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/rlwinm.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/rlwnm.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/srawi.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/store.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/string.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/three.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/threei.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/threex.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/two.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/lib_powerpc/twox.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <irq_func.h> /*
post/post.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <bootstage.h> #include <env.h> #include <log.h>
post/tests.c +2 -1
@@ -4,7 +4,8 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> +#include <linux/kernel.h> #include <post.h>
Signature · 1 line
2.34.1
Quoted 11 lines · Tom Rini
Hey all,
This series is the next step in winding down usage of <
common.h> in order to be able to then remove it. This covers not quite 25% of the remaining users of the file. Of what is left, it's eitherarch/arm/, board/ ordrivers/code. I am likely to start tacklingarch/arm/next, and depending on how exactly I break that down I may try and cover some board/ code as well (for example, tacklearch/arm/mach-omap/andarch/arm/mach-k3and board/ti/ (and then the other vendors too..) in one commit.
Quoted 1 line
[...]
Applied to u-boot/next, thanks!
Signature · 1 line
Tom