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:
Tom Rini
2024-04-27 08:11:06 -06:00
parent 8d28959d70
commit 9c51981d96
35 changed files with 36 additions and 35 deletions

View File

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

View File

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

View File

@@ -21,7 +21,7 @@
* #endif
*/
#include <common.h>
#include <config.h>
#include <log.h>
#include <post.h>
#include <i2c.h>

View File

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

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
/*
* RTC test

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <cpu_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -7,7 +7,7 @@
* This file is originally a part of the GCC testsuite.
*/
#include <common.h>
#include <config.h>
#include <post.h>

View File

@@ -7,7 +7,7 @@
* This file is originally a part of the GCC testsuite.
*/
#include <common.h>
#include <config.h>
#include <post.h>

View File

@@ -7,7 +7,7 @@
* This file is originally a part of the GCC testsuite.
*/
#include <common.h>
#include <config.h>
#include <post.h>

View File

@@ -7,7 +7,7 @@
* This file is originally a part of the GCC testsuite.
*/
#include <common.h>
#include <config.h>
#include <post.h>

View File

@@ -7,7 +7,7 @@
* This file is originally a part of the GCC testsuite.
*/
#include <common.h>
#include <config.h>
#include <post.h>

View File

@@ -9,7 +9,7 @@
* This file is originally a part of the GCC testsuite.
*/
#include <common.h>
#include <config.h>
#include <post.h>

View File

@@ -6,7 +6,7 @@
* Author: Sergei Poselenov <sposelenov@emcraft.com>
*/
#include <common.h>
#include <config.h>
/*
* FPU test

View File

@@ -9,7 +9,7 @@
* numbers) are rounded to within 0.5 ulp. PR other/14354.
*/
#include <common.h>
#include <config.h>
#include <post.h>

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

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

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <irq_func.h>
/*

View File

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

View File

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