]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: sunxi: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Tue, 30 Apr 2024 13:35:33 +0000 (07:35 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 6 May 2024 21:06:33 +0000 (15:06 -0600)
Remove <common.h> from all mach-sunxi and board/sunxi files and when
needed add missing include files directly.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
15 files changed:
arch/arm/cpu/armv7/sunxi/psci.c
arch/arm/cpu/armv7/sunxi/sram.c
arch/arm/mach-sunxi/dram_timings/ddr2_v3s.c
arch/arm/mach-sunxi/dram_timings/ddr3_1333.c
arch/arm/mach-sunxi/dram_timings/h616_ddr3_1333.c
arch/arm/mach-sunxi/dram_timings/h616_lpddr3.c
arch/arm/mach-sunxi/dram_timings/h616_lpddr4_2133.c
arch/arm/mach-sunxi/dram_timings/h6_ddr3_1333.c
arch/arm/mach-sunxi/dram_timings/h6_lpddr3.c
arch/arm/mach-sunxi/dram_timings/lpddr3_stock.c
board/sunxi/board.c
board/sunxi/chip.c
board/sunxi/dram_sun4i_auto.c
board/sunxi/dram_sun5i_auto.c
board/sunxi/gmac.c

index 5cb8cfa6cf3fc0035a5a25651f48de8dba2c3986..4c30f3294b7ac5b286419e22d612cb0b0fdcfec9 100644 (file)
@@ -7,7 +7,6 @@
  * which was based on code by Carl van Schaik <carl@ok-labs.com>.
  */
 #include <config.h>
-#include <common.h>
 #include <asm/cache.h>
 
 #include <asm/arch/cpu.h>
index 28ff6a1b7c23071d6124596fb5dc243a9beda199..bc25719c9c465deed97c7f5e291f5c282b86af75 100644 (file)
@@ -9,7 +9,6 @@
  * SRAM init for older sunxi SoCs.
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
index 9077f86a8b4cffd59f4d87294306041d24608b3d..3666dddca15c3844d58358f0920a4cd9196129d9 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index 0471e8a49e586e87f53e26be38bd5e6421ea5ff7..ceaafd6ec6fac3e6ea1a0d1424eac2f462c01349 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index 232b4fe2df7f226d315e2f16148d9145a67aced3..3faf8d5bd9743cb58944370ddd4f5b1921bacdb0 100644 (file)
@@ -11,7 +11,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index b6d6a6874682da9d8340a7e0c1ee1fdd41cc8b70..ce2ffa7a020e9558f5eaf365baa20fcc3c7a9e37 100644 (file)
@@ -11,7 +11,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index c11cb8678f64bf746b2245632674072f38b6bb52..e6446b9180da4d54b0fc045bee9b67427d95971c 100644 (file)
@@ -9,7 +9,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index 2136ca3a4cb0107221ac074819001ee99e1fea35..afe8e25c7f58c9d4f49ec807bc3b04798bc3be58 100644 (file)
@@ -19,7 +19,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index 10008601134ab47390d0135e4ab5fda85b5a09f9..c243b574406de13941851e29bd399ca5fce87298 100644 (file)
@@ -6,7 +6,6 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index bd57e2f6aac2907d5f94e2d2a751bdad1b233327..bc47a4638533c7e0658460d411f677a07ba980c6 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <asm/arch/dram.h>
 #include <asm/arch/cpu.h>
 
index 1313b01dcea555a9818eeceaf2c8b95497f8cc85..ed86f1df5dc4197ca914b03de9ebecfddc32db1f 100644 (file)
@@ -10,7 +10,6 @@
  * Some board init for the Allwinner A10-evb board.
  */
 
-#include <common.h>
 #include <clock_legacy.h>
 #include <dm.h>
 #include <env.h>
index eeee6319e7991748e283c44cc5bd15a691124d69..270af2506d21a777065ec48742883871445eb50e 100644 (file)
@@ -5,7 +5,6 @@
  * Based on initial code from Maxime Ripard
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <dm.h>
 #include <w1.h>
index 547d1c0cb4dea3fe2a261b47f0e9c8769f302824..4b78919a5baac2772f3d8b6e092295e60a685b1f 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <init.h>
 #include <asm/arch/dram.h>
 
index 517506ccc4f0f5f457a51d5fb452fbe2b36768aa..8976e3b16d68b25bd30cba50eeb1cba8e4b22c92 100644 (file)
@@ -1,6 +1,5 @@
 /* DRAM parameters for auto dram configuration on sun5i and sun7i */
 
-#include <common.h>
 #include <init.h>
 #include <asm/arch/dram.h>
 
index 2a885305ebe028f071b1c2f970cd523fb3cac325..710e821e3fc8977fdb46c87c740c8b7d07d8a8fd 100644 (file)
@@ -1,4 +1,3 @@
-#include <common.h>
 #include <netdev.h>
 #include <miiphy.h>
 #include <asm/io.h>