mirror of
https://xff.cz/git/u-boot/
synced 2026-01-14 06:40:31 +01:00
arm: sunxi: Remove <common.h> and add needed includes
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>
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#include <common.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#include <common.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#include <common.h>
|
||||
#include <asm/arch/dram.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* Based on initial code from Maxime Ripard
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <malloc.h>
|
||||
#include <dm.h>
|
||||
#include <w1.h>
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <asm/arch/dram.h>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#include <common.h>
|
||||
#include <netdev.h>
|
||||
#include <miiphy.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
Reference in New Issue
Block a user