mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
sunxi: remove common.h inclusion
The usage of the common.h include file is deprecated, and has already been removed from several files. Get rid of all inclusions in the arch/arm/mach-sunxi directory. Most files actually don't need the header at all, for the few others just include the headers that we actually require. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
parent
5862eb8b85
commit
d785a06a5a
24 changed files with 3 additions and 24 deletions
|
@ -9,7 +9,6 @@
|
|||
* Some init for sunxi platform.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <init.h>
|
||||
#include <log.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* (C) Copyright 2013 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/prcm.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
* (C) Copyright 2013 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/clock.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
* (C) Copyright 2013 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/prcm.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
* (C) Copyright 2015 Vishnu Patekar <vishnupatekar0510@gmail.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/prcm.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
* Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/prcm.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Tom Cubie <tangliang@allwinnertech.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
* (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <time.h>
|
||||
#include <vsprintf.h>
|
||||
#include <asm/barriers.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/dram.h>
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
* rather undocumented and full of magic.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* (C) Copyright 2017 Icenowy Zheng <icenowy@aosc.io>
|
||||
*
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <log.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
* (C) Copyright 2020 Jernej Skrabec <jernej.skrabec@siol.net>
|
||||
*
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <log.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
*
|
||||
* (C) Copyright 2014 Hans de Goede <hdegoede@redhat.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <init.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
* This may be used as a (possible) reference for future work / cleanups.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <init.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* (C) Copyright 2015 Vishnu Patekar <vishnupatekar0510@gmail.com>
|
||||
* (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <init.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* (C) Copyright 2015 Vishnu Patekar <vishnupatekar0510@gmail.com>
|
||||
* (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <init.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
* Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
#include <init.h>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* Copyright(c) 2007-2018 Jianjun Jiang <8192542@qq.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/dram.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
|
||||
* (C) Copyright 2015 Jens Kuske <jenskuske@gmail.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <log.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/gtbus_sun9i.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
*/
|
||||
|
||||
#include <axp_pmic.h>
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <asm/arch/p2wi.h>
|
||||
#include <asm/arch/rsb.h>
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* Tom Cubie <tangliang@allwinnertech.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* Copyright (C) 2016 Siarhei Siamashka <siarhei.siamashka@gmail.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <image.h>
|
||||
#include <log.h>
|
||||
#include <spl.h>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Tom Cubie <tangliang@allwinnertech.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <time.h>
|
||||
#include <asm/global_data.h>
|
||||
|
|
Loading…
Reference in a new issue