]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc: mpc83xx: Rework includes slightly
authorTom Rini <trini@konsulko.com>
Wed, 1 Nov 2023 16:28:11 +0000 (12:28 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Nov 2023 19:50:51 +0000 (14:50 -0500)
In order to not rely on common.h providing a number of common includes,
cleanup what we include directly in order to be able to drop common.h
later.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/powerpc/cpu/mpc83xx/cpu_init.c
arch/powerpc/cpu/mpc83xx/start.S
include/mpc83xx.h

index 8e6d3d28fc63b39044b47d58c10d531700394f95..340f9a0da56c49e513c8ef9774d7fd93c65bbfed 100644 (file)
@@ -18,6 +18,8 @@
 #ifdef CONFIG_QE
 #include <fsl_qe.h>
 #endif
+#include <asm/ppc.h>
+#include <asm/fsl_lbc.h>
 
 #include "lblaw/lblaw.h"
 #include "elbc/elbc.h"
index d72d3147f63d7e2bdbe4d3bce127d2b8d7047a8a..ceb548678946ffdfe698c64fc6ec106e27c298f2 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <asm/cache.h>
 #include <asm/mmu.h>
+#include <asm/fsl_lbc.h>
 #include <asm/u-boot.h>
 
 #include "hrcw/hrcw.h"
index 5926c8090a48ad1e76623397d27ba261398b6834..aa8803413cd529eb65dac73afadcbd9ea248a8ba 100644 (file)
@@ -6,8 +6,6 @@
 #ifndef __MPC83XX_H__
 #define __MPC83XX_H__
 
-#include <config.h>
-#include <asm/fsl_lbc.h>
 #if defined(CONFIG_E300)
 #include <asm/e300.h>
 #endif