powerpc: mpc8xx: Remove usage of common.h

Remove inclusion of common.h and add relevant
includes when necessary.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
This commit is contained in:
Christophe Leroy 2023-11-06 19:12:04 +01:00 committed by Tom Rini
parent fa894a36a9
commit 80ac19fd56
8 changed files with 4 additions and 8 deletions

View file

@ -4,7 +4,6 @@
* Christophe Leroy, CS Systemes d'Information, christophe.leroy@c-s.fr
*/
#include <common.h>
#include <cpu_func.h>
#include <asm/processor.h>
#include <asm/ppc.h>

View file

@ -16,7 +16,6 @@
* Wolfgang Denk <wd@denx.de>
*/
#include <common.h>
#include <cpu_func.h>
#include <display_options.h>
#include <net.h>

View file

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

View file

@ -5,7 +5,6 @@
* Code copied & edited from Freescale mpc85xx stuff.
*/
#include <common.h>
#include <time.h>
#include <asm/global_data.h>
#include <linux/libfdt.h>

View file

@ -8,7 +8,6 @@
* MPC8xx Internal Memory Map Functions
*/
#include <common.h>
#include <command.h>
#include <asm/global_data.h>
@ -16,6 +15,7 @@
#include <asm/cpm_8xx.h>
#include <asm/iopin_8xx.h>
#include <asm/io.h>
#include <asm/ppc.h>
DECLARE_GLOBAL_DATA_PTR;

View file

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

View file

@ -4,12 +4,12 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <clock_legacy.h>
#include <mpc8xx.h>
#include <asm/global_data.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/immap_8xx.h>
DECLARE_GLOBAL_DATA_PTR;

View file

@ -15,7 +15,7 @@
* This file handles the architecture-dependent parts of hardware exceptions
*/
#include <common.h>
#include <vsprintf.h>
#include <asm/ptrace.h>
#include <command.h>
#include <asm/processor.h>