arm: davinci: Remove <common.h> and add needed includes
Remove <common.h> from all mach-davinci files and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#ifndef _DAVINCI_NAND_H_
|
||||
#define _DAVINCI_NAND_H_
|
||||
|
||||
#include <config.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
|
||||
#define NAND_READ_START 0x00
|
||||
|
||||
@@ -4,11 +4,12 @@
|
||||
* Copyright (C) 2009 David Brownell
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <clock_legacy.h>
|
||||
#include <init.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/u-boot.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* Copyright (C) 2011
|
||||
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <init.h>
|
||||
#include <nand.h>
|
||||
#include <ns16550.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* Copyright (C) 2011 OMICRON electronics GmbH
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/davinci_misc.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/pinmux_defs.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#ifndef __MISC_H
|
||||
#define __MISC_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
|
||||
/* pin muxer definitions */
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* Copyright (C) 2004 Texas Instruments.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <env.h>
|
||||
#include <i2c.h>
|
||||
#include <init.h>
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <net.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/u-boot.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/davinci_misc.h>
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
* Copyright (C) 2004 Texas Instruments.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/davinci_misc.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
* Copyright (C) 2004 Texas Instruments.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
* Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/timer_defs.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright (C) 2011
|
||||
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <hang.h>
|
||||
#include <init.h>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <init.h>
|
||||
#include <time.h>
|
||||
#include <asm/global_data.h>
|
||||
|
||||
Reference in New Issue
Block a user