diff options
author | Tom Rini <trini@konsulko.com> | 2023-11-01 12:28:11 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-07 14:50:51 -0500 |
commit | dd1365c2e93563e589892fded756a18a39bd8815 (patch) | |
tree | 4740f9ff621199fe5fa828a123b8e871c8a30dec | |
parent | 362d84c6a2b44a70689da29cec31de8a02f1ed47 (diff) | |
download | u-boot-dd1365c2e93563e589892fded756a18a39bd8815.zip u-boot-dd1365c2e93563e589892fded756a18a39bd8815.tar.gz u-boot-dd1365c2e93563e589892fded756a18a39bd8815.tar.bz2 |
powerpc: mpc83xx: Rework includes slightly
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>
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/start.S | 1 | ||||
-rw-r--r-- | include/mpc83xx.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c index 8e6d3d2..340f9a0 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc83xx/cpu_init.c @@ -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" diff --git a/arch/powerpc/cpu/mpc83xx/start.S b/arch/powerpc/cpu/mpc83xx/start.S index d72d314..ceb5486 100644 --- a/arch/powerpc/cpu/mpc83xx/start.S +++ b/arch/powerpc/cpu/mpc83xx/start.S @@ -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" diff --git a/include/mpc83xx.h b/include/mpc83xx.h index 5926c80..aa88034 100644 --- a/include/mpc83xx.h +++ b/include/mpc83xx.h @@ -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 |