arm: exynos: Remove <common.h> and add needed includes

Remove <common.h> from all mach-exynos files and when needed add missing
include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2024-04-30 07:35:52 -06:00
parent e260f2b717
commit 0d51275c47
16 changed files with 11 additions and 13 deletions

View File

@ -4,9 +4,10 @@
* Minkyu Kang <mk7.kang@samsung.com> * Minkyu Kang <mk7.kang@samsung.com>
*/ */
#include <common.h>
#include <clock_legacy.h> #include <clock_legacy.h>
#include <log.h> #include <log.h>
#include <time.h>
#include <mach/cpu.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>
#include <asm/arch/clk.h> #include <asm/arch/clk.h>

View File

@ -23,7 +23,6 @@
* MA 02111-1307 USA * MA 02111-1307 USA
*/ */
#include <common.h>
#include <config.h> #include <config.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>

View File

@ -5,7 +5,6 @@
* Copyright (C) 2012 Samsung Electronics * Copyright (C) 2012 Samsung Electronics
*/ */
#include <common.h>
#include <config.h> #include <config.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/clk.h> #include <asm/arch/clk.h>

View File

@ -23,6 +23,8 @@
* MA 02111-1307 USA * MA 02111-1307 USA
*/ */
#include <linux/types.h>
#include <mach/cpu.h>
#include <asm/arch/system.h> #include <asm/arch/system.h>
#define DMC_OFFSET 0x10000 #define DMC_OFFSET 0x10000

View File

@ -5,7 +5,7 @@
* Copyright (C) 2012 Samsung Electronics * Copyright (C) 2012 Samsung Electronics
*/ */
#include <common.h> #include <linux/types.h>
#include <asm/arch/spl.h> #include <asm/arch/spl.h>
#include "clock_init.h" #include "clock_init.h"

View File

@ -5,7 +5,6 @@
* Copyright (C) 2012 Samsung Electronics * Copyright (C) 2012 Samsung Electronics
*/ */
#include <common.h>
#include <config.h> #include <config.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/clock.h> #include <asm/arch/clock.h>

View File

@ -8,6 +8,7 @@
#ifndef _SMDK5250_SETUP_H #ifndef _SMDK5250_SETUP_H
#define _SMDK5250_SETUP_H #define _SMDK5250_SETUP_H
#include <linux/types.h>
#include <asm/arch/dmc.h> #include <asm/arch/dmc.h>
#define NOT_AVAILABLE 0 #define NOT_AVAILABLE 0

View File

@ -8,6 +8,8 @@
#define __ASM_ARM_ARCH_POWER_H_ #define __ASM_ARM_ARCH_POWER_H_
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <linux/types.h>
struct exynos4_power { struct exynos4_power {
unsigned int om_stat; unsigned int om_stat;
unsigned char res1[0x8]; unsigned char res1[0x8];

View File

@ -23,7 +23,6 @@
* MA 02111-1307 USA * MA 02111-1307 USA
*/ */
#include <common.h>
#include <config.h> #include <config.h>
#include <debug_uart.h> #include <debug_uart.h>
#include <asm/system.h> #include <asm/system.h>

View File

@ -4,7 +4,6 @@
* Thomas Abraham <thomas.ab@samsung.com> * Thomas Abraham <thomas.ab@samsung.com>
*/ */
#include <common.h>
#include <asm/armv8/mmu.h> #include <asm/armv8/mmu.h>
#include <linux/sizes.h> #include <linux/sizes.h>

View File

@ -4,7 +4,6 @@
* Abhilash Kesavan <a.kesavan@samsung.com> * Abhilash Kesavan <a.kesavan@samsung.com>
*/ */
#include <common.h>
#include <fdtdec.h> #include <fdtdec.h>
#include <log.h> #include <log.h>
#include <asm/gpio.h> #include <asm/gpio.h>

View File

@ -4,7 +4,7 @@
* Donghwa Lee <dh09.lee@samsung.com> * Donghwa Lee <dh09.lee@samsung.com>
*/ */
#include <common.h> #include <mach/cpu.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/power.h> #include <asm/arch/power.h>

View File

@ -4,7 +4,6 @@
* Minkyu Kang <mk7.kang@samsung.com> * Minkyu Kang <mk7.kang@samsung.com>
*/ */
#include <common.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/io.h> #include <asm/io.h>

View File

@ -3,7 +3,6 @@
* Copyright (C) 2012 Samsung Electronics * Copyright (C) 2012 Samsung Electronics
*/ */
#include <common.h>
#include <config.h> #include <config.h>
#include <init.h> #include <init.h>
#include <log.h> #include <log.h>

View File

@ -4,7 +4,7 @@
* Donghwa Lee <dh09.lee@samsung.com> * Donghwa Lee <dh09.lee@samsung.com>
*/ */
#include <common.h> #include <config.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/system.h> #include <asm/arch/system.h>

View File

@ -5,7 +5,7 @@
* Copyright (C) 2012 Samsung Electronics * Copyright (C) 2012 Samsung Electronics
*/ */
#include <common.h> #include <mach/cpu.h>
#include <asm/arch/tzpc.h> #include <asm/arch/tzpc.h>
#include <asm/io.h> #include <asm/io.h>