Hello Tom, On 01.05.24 04:42, Tom Rini wrote: > Remove <common.h> from this board vendor directory and when needed > add missing include files directly. > > Signed-off-by: Tom Rini <trini@konsulko.com> > --- > Cc: Heiko Schocher <hs@denx.de> > --- > board/socrates/ddr.c | 1 - > board/socrates/law.c | 2 +- > board/socrates/nand.c | 2 +- > board/socrates/sdram.c | 2 +- > board/socrates/socrates.c | 2 +- > board/socrates/tlb.c | 3 ++- > 6 files changed, 6 insertions(+), 6 deletions(-) Thanks! Reviewed-by: Heiko Schocher <hs@denx.de> bye, Heiko
diff --git a/board/socrates/ddr.c b/board/socrates/ddr.c index 3a94f7beccd3..bf4894eff671 100644 --- a/board/socrates/ddr.c +++ b/board/socrates/ddr.c @@ -3,7 +3,6 @@ * Copyright 2008 Freescale Semiconductor, Inc. */ -#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> diff --git a/board/socrates/law.c b/board/socrates/law.c index e4427ecff1bc..446fdbcaba31 100644 --- a/board/socrates/law.c +++ b/board/socrates/law.c @@ -9,7 +9,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <common.h> +#include <config.h> #include <asm/fsl_law.h> #include <asm/mmu.h> diff --git a/board/socrates/nand.c b/board/socrates/nand.c index b1e38c511e5f..517a4a0af6ab 100644 --- a/board/socrates/nand.c +++ b/board/socrates/nand.c @@ -4,7 +4,7 @@ * Sergei Poselenov, Emcraft Systems, sposelenov@emcraft.com. */ -#include <common.h> +#include <config.h> #if defined(CFG_SYS_NAND_BASE) #include <nand.h> diff --git a/board/socrates/sdram.c b/board/socrates/sdram.c index 61402a554b78..d0415d26ce72 100644 --- a/board/socrates/sdram.c +++ b/board/socrates/sdram.c @@ -4,7 +4,7 @@ * Sergei Poselenov, Emcraft Systems, sposelenov@emcraft.com. */ -#include <common.h> +#include <config.h> #include <init.h> #include <asm/processor.h> #include <asm/immap_85xx.h> diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c index 1d63c81a9c81..6e6e276cc741 100644 --- a/board/socrates/socrates.c +++ b/board/socrates/socrates.c @@ -10,7 +10,7 @@ * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com> */ -#include <common.h> +#include <config.h> #include <clock_legacy.h> #include <env.h> #include <init.h> diff --git a/board/socrates/tlb.c b/board/socrates/tlb.c index 631f6c340755..0cc675781d16 100644 --- a/board/socrates/tlb.c +++ b/board/socrates/tlb.c @@ -9,8 +9,9 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <common.h> +#include <config.h> #include <asm/mmu.h> +#include <asm/ppc.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */
Remove <common.h> from this board vendor directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com> --- Cc: Heiko Schocher <hs@denx.de> --- board/socrates/ddr.c | 1 - board/socrates/law.c | 2 +- board/socrates/nand.c | 2 +- board/socrates/sdram.c | 2 +- board/socrates/socrates.c | 2 +- board/socrates/tlb.c | 3 ++- 6 files changed, 6 insertions(+), 6 deletions(-)