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

Signed-off-by: Tom Rini <trini@konsulko.com>
34 files changed:
arch/arm/mach-at91/arm920t/at91rm9200_devices.c
arch/arm/mach-at91/arm920t/clock.c
arch/arm/mach-at91/arm920t/cpu.c
arch/arm/mach-at91/arm920t/reset.c
arch/arm/mach-at91/arm920t/timer.c
arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9263_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9n12_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9x5_devices.c
arch/arm/mach-at91/arm926ejs/clock.c
arch/arm/mach-at91/arm926ejs/cpu.c
arch/arm/mach-at91/arm926ejs/eflash.c
arch/arm/mach-at91/arm926ejs/reset.c
arch/arm/mach-at91/arm926ejs/sam9x60_devices.c
arch/arm/mach-at91/arm926ejs/timer.c
arch/arm/mach-at91/armv7/clock.c
arch/arm/mach-at91/armv7/cpu.c
arch/arm/mach-at91/armv7/sama5d2_devices.c
arch/arm/mach-at91/armv7/sama5d3_devices.c
arch/arm/mach-at91/armv7/sama5d4_devices.c
arch/arm/mach-at91/armv7/timer.c
arch/arm/mach-at91/atmel_sfr.c
arch/arm/mach-at91/clock.c
arch/arm/mach-at91/include/mach/at91_common.h
arch/arm/mach-at91/matrix.c
arch/arm/mach-at91/mpddrc.c
arch/arm/mach-at91/phy.c
arch/arm/mach-at91/sdram.c
arch/arm/mach-at91/spl.c
arch/arm/mach-at91/spl_at91.c
arch/arm/mach-at91/spl_atmel.c

index c849885bc2bb2a8706fef1c32d3cf4362da1bd0a..459edadb5876c299458b354d75c2380ba22e5215 100644 (file)
@@ -10,7 +10,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index 09ac66d619d24a0fff2b98685deda2a97db32f91..ac55a61be64766c63a4b01080bf6b8c3e4995276 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (C) 2005 Ivan Kokshaysky
  * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  */
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index 9bf03fd68ecc6e8704d3f8899f1de33cd0ded45c..579e76b339d8495d3cbcb2890283085f4a750c60 100644 (file)
@@ -10,7 +10,7 @@
  * Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index 91e375146ad7ff51d2f35e29027acae4d4b621c1..7582cef417fff842f9ff840763b1442ed76fe0c2 100644 (file)
@@ -13,7 +13,6 @@
  * Alex Zuepke <azu@sysgo.de>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index 8ef5764e3153acfdf634d594fb5e51a942a4f5f7..f7b4116344ca5adf40ec92f4cd7ce27c81493795 100644 (file)
@@ -13,7 +13,7 @@
  * Alex Zuepke <azu@sysgo.de>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index c10571fa28a0386dabbe6e890a13f0a3819d2f93..201c99ade4ec95c1bbc3e0f12e7de5ebf4b57f6d 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/io.h>
 #include <asm/arch/at91sam9260_matrix.h>
index 0c2b9f2ecc9bb764a32861f5634802eee73d4aa5..b8d209cbec843566d2a3625cb15b16e6f47f3008 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index 3b8a4623866cb88aec23245561f49b2986da5c08..1749662dae9cee4dcbcf30ee0a1d9ca84e5eddd0 100644 (file)
@@ -9,7 +9,6 @@
  * esd electronic system design gmbh <www.esd.eu>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index d517810c991ad9edf97afe4ebd4b4469ec7f7211..4c481484c3d28d734f682628c2ec5280f1eed062 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index 9f98ce7a45ca932e102904ffc188c2aa0ebdce09..4dc6e51aba831bf568bd3d091970211ed38fc3fa 100644 (file)
@@ -4,7 +4,6 @@
  * Josh Wu <josh.wu@atmel.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/at91_pio.h>
index b4002eb75046de2a677365a56e0a0a8904e8d8f0..4f5bafb8c2e84363c24891a2d3a0add2d95fb594 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index f44760bed31b6603a8babd6c314809762432620b..40c8a58b5635489a7e9e1f8072c81279f165eb11 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2012 Atmel Corporation
  */
 
-#include <common.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/gpio.h>
index 013daf43b742469be895b459185eda00d34430b7..241de6a5378837dd91ea6379da975706bb75f6e6 100644 (file)
@@ -7,7 +7,8 @@
  * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  */
 
-#include <common.h>
+#include <config.h>
+#include <time.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index 5e84b0a40e1388b5e430e377a83c459c9839ecfc..e476cd5bcf3d2c1bb16fe4c0015d227199d4390c 100644 (file)
@@ -6,7 +6,7 @@
  * Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <vsprintf.h>
 #include <asm/io.h>
index aade13cc014b83fbdc2bb0a457a9482aee6612d3..bb66700566e5f4f0eedf10e30d5f3bdc573b25db 100644 (file)
@@ -42,7 +42,6 @@
  *     someone puts a jffs2 into them)
  * do a read-modify-write for partially programmed pages
  */
-#include <common.h>
 #include <display_options.h>
 #include <flash.h>
 #include <log.h>
index 6acbfa33011dfefd430a214b587a575b4d3d390c..01b2663f96c9288395b14d0209ff332ac527b976 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index e3d3dd880cad2446e5d11242209095551f2af46f..97c572deaaf0e30af984f682c4b0283b0d744b27 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Microchip Technology Inc. and its subsidiaries
  */
 
-#include <common.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/gpio.h>
index a8cf0e4bd7992aa9a05414ee761141f3da70301e..137a5e5b8fd0bd36ccd2d9201ffaf9d9c9381432 100644 (file)
@@ -5,7 +5,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index 6bfa02d1d0a3ac06e646f964f3fe3e6c1b41f16b..5357b4cffc2cc711f732b1314bd2a221e4e39f05 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright (C) 2015 Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index 5ea7e2609f59df55fb808a02c14769bfe088769b..f4b2f4f351cb85e374f7e068093a673909e4a1f1 100644 (file)
@@ -8,7 +8,7 @@
  * Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <vsprintf.h>
index edc20574c31bb03b3e699f6bd533fbb341970e19..469c221176651ff952a8b3e1f900cdcd320d2193 100644 (file)
@@ -4,7 +4,6 @@
  *                   Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/sama5d2.h>
index 04b700a94d734c42415b43b148838245acd7a3f5..67b63208edaa4c1f59f1c8fd4cd4bcf2dbe55c2f 100644 (file)
@@ -4,7 +4,6 @@
  * Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
 #include <asm/arch/sama5d3.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index e68ae994078858e11d1dfe5e550b28e32fd3b883..76fff9cd466c1abe5dc590dc18157aaa494c8e08 100644 (file)
@@ -4,7 +4,6 @@
  *                   Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/clk.h>
index 1f54c5dcad987522d2b0206cf2a45cd9a87e6d74..bfdb75ce39a9d551c66ed9861d8bf51ac3345981 100644 (file)
@@ -8,7 +8,6 @@
  * Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <time.h>
 #include <asm/global_data.h>
index 62108d2bd0a5db43ae42ab539170041efb8d99b8..019ef930022ffba30263192743a0ca199ff1b008 100644 (file)
@@ -4,7 +4,7 @@
  *                   Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/hardware.h>
 #include <asm/io.h>
 #include <asm/arch/at91_sfr.h>
index 8344daeb39a24eebd181e8991c40b1d1d30dbfc7..442b822fe77f4b568e1f4ca6150e9c0601ef3946 100644 (file)
@@ -4,8 +4,8 @@
  *                   Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <dm.h>
+#include <time.h>
 #include <wdt.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
index f7b411cf7dfa59ca239a373649b43a5f0dd9fc10..683e539b1b3c63e8adb9292323c5b0b8bb8bae29 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef AT91_COMMON_H
 #define AT91_COMMON_H
 
+#include <linux/types.h>
+
 void at91_can_hw_init(void);
 void at91_gmac_hw_init(void);
 void at91_macb_hw_init(void);
index 2fa8493a0bd6a552ceb497d138eab8ecbce2a894..3bef5648d4a1ff0350244cb7aff168e12da43bee 100644 (file)
@@ -4,7 +4,6 @@
  *                   Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <asm/hardware.h>
 #include <asm/io.h>
 #include <asm/arch/sama5_matrix.h>
index 5422c05456e03c5aaa3837f045087e5728cb93be..ac6a719d9c08b282d1a8402f3c619c7093f97313 100644 (file)
@@ -7,7 +7,6 @@
  *                   Wenyou Yang <wenyou.yang@atmel.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/atmel_mpddrc.h>
 #include <asm/arch/at91_common.h>
index f4484a77c7de525d7dc65533cf8c316152c10908..ec38f5bc9315225736117f1112c2f0b0ae90f471 100644 (file)
@@ -11,7 +11,7 @@
  * Copyright (C) 2013 DENX Software Engineering, hs@denx.de
  */
 
-#include <common.h>
+#include <time.h>
 #include <asm/hardware.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index 6638aa82bb6439e1bb6e2ea3af3c052ad00597f8..be3e91c7dbad5388e7349164e60c9a1f56b0b060 100644 (file)
@@ -9,7 +9,6 @@
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/at91sam9_sdramc.h>
index 8d537998c984fa858498117048fe05e5a9ae79f7..5feb8f735511a45dd37ee04bb3742f57d8f2e067 100644 (file)
@@ -4,7 +4,6 @@
  *                   Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
 #include <hang.h>
 #include <asm/io.h>
 #include <asm/arch/at91_common.h>
index dfba9f730c12a9a22efad578433e794bf41e4bd7..cde1700a28396e5dd18dfbf28b0939b7a09af0ff 100644 (file)
@@ -8,7 +8,7 @@
  *                   Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>
index a30c4f6c075f2ad1e13093b111b2463af047a7c0..62a7df8a195f9ea1332204d31eb1a302bde3df96 100644 (file)
@@ -4,7 +4,7 @@
  *                   Bo Shen <voice.shen@atmel.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <init.h>
 #include <log.h>