mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-27 08:33:10 +01:00 
			
		
		
		
	post: Remove <common.h> and add needed includes
Remove <common.h> from all "post/" files and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
		| @@ -8,7 +8,7 @@ | ||||
|  * Dave Liu <daveliu@freescale.com> | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <cpu_func.h> | ||||
| #include <irq_func.h> | ||||
| #include <log.h> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -21,7 +21,7 @@ | ||||
|  * #endif | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <log.h> | ||||
| #include <post.h> | ||||
| #include <i2c.h> | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <log.h> | ||||
| #include <asm/global_data.h> | ||||
|  | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
|  | ||||
| /* | ||||
|  * RTC test | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <cpu_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
|  * This file is originally a part of the GCC testsuite. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
|  | ||||
| #include <post.h> | ||||
|  | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
|  * This file is originally a part of the GCC testsuite. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
|  | ||||
| #include <post.h> | ||||
|  | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
|  * This file is originally a part of the GCC testsuite. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
|  | ||||
| #include <post.h> | ||||
|  | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
|  * This file is originally a part of the GCC testsuite. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
|  | ||||
| #include <post.h> | ||||
|  | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
|  * This file is originally a part of the GCC testsuite. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
|  | ||||
| #include <post.h> | ||||
|  | ||||
|   | ||||
| @@ -9,7 +9,7 @@ | ||||
|  * This file is originally a part of the GCC testsuite. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
|  | ||||
| #include <post.h> | ||||
|  | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
|  * Author: Sergei Poselenov <sposelenov@emcraft.com> | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
|  | ||||
| /* | ||||
|  * FPU test | ||||
|   | ||||
| @@ -9,7 +9,7 @@ | ||||
|  * numbers) are rounded to within 0.5 ulp.  PR other/14354. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
|  | ||||
| #include <post.h> | ||||
|  | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
| #include <log.h> | ||||
|  | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <irq_func.h> | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <bootstage.h> | ||||
| #include <env.h> | ||||
| #include <log.h> | ||||
|   | ||||
| @@ -4,7 +4,8 @@ | ||||
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
|  */ | ||||
|  | ||||
| #include <common.h> | ||||
| #include <config.h> | ||||
| #include <linux/kernel.h> | ||||
|  | ||||
| #include <post.h> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user