]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: socrates: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Wed, 1 May 2024 02:42:48 +0000 (20:42 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 May 2024 14:00:40 +0000 (08:00 -0600)
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/socrates/ddr.c
board/socrates/law.c
board/socrates/nand.c
board/socrates/sdram.c
board/socrates/socrates.c
board/socrates/tlb.c

index 3a94f7beccd339b7af28d8e972757890b873e4da..bf4894eff671b84bbaf710a5a3969b48b6402b9a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
index e4427ecff1bc682a5761ad2d9b51e0a1f0804e42..446fdbcaba319184ca250f650d3b152287ac3bbb 100644 (file)
@@ -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>
 
index b1e38c511e5f5f66d05330d1ede1e6fd38a7ef5c..517a4a0af6ab5bf505a1f7886c15fed2d764dd2e 100644 (file)
@@ -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>
index 61402a554b784420c6bb1010c2444c2e2e8df6ca..d0415d26ce72701e51bcc6bc1b1356c59a6d44dd 100644 (file)
@@ -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>
index 1d63c81a9c81fde37e73cf813ac8c4cfb96e0f72..6e6e276cc74118f2601c7d2d7996d3bc11282a93 100644 (file)
@@ -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>
index 631f6c3407553b3534a8ffd0cc4108f32979db87..0cc675781d160db476a11fad7b99aa8cc032ac82 100644 (file)
@@ -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 */