summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-orion5x/orion5x.h
diff options
context:
space:
mode:
authorLei Wen <leiwen@marvell.com>2011-10-24 16:27:32 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 19:56:33 (GMT)
commit5ff8b35412e895287d91172c9ac3b60520d41ddb (patch)
tree46011c232afdc0dd99701467d18764aa456fc667 /arch/arm/include/asm/arch-orion5x/orion5x.h
parent93554271b9849c273f312a9cdb53a39fede1f6be (diff)
downloadu-boot-5ff8b35412e895287d91172c9ac3b60520d41ddb.tar.xz
ARM: orion5x: reduce dependence of including platform file
For files like the drivers/serial/serial.c, it must include the platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the definition in the platform definition files. Include the platform definition file in the config file, so that it would decouple the dependence for the driver files. Signed-off-by: Lei Wen <leiwen@marvell.com>
Diffstat (limited to 'arch/arm/include/asm/arch-orion5x/orion5x.h')
-rw-r--r--arch/arm/include/asm/arch-orion5x/orion5x.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/include/asm/arch-orion5x/orion5x.h b/arch/arm/include/asm/arch-orion5x/orion5x.h
index 9aeef88..18225b9 100644
--- a/arch/arm/include/asm/arch-orion5x/orion5x.h
+++ b/arch/arm/include/asm/arch-orion5x/orion5x.h
@@ -30,13 +30,7 @@
#ifndef _ASM_ARCH_ORION5X_H
#define _ASM_ARCH_ORION5X_H
-#ifndef __ASSEMBLY__
-#include <asm/types.h>
-#include <asm/io.h>
-#endif /* __ASSEMBLY__ */
-
#if defined(CONFIG_FEROCEON)
-#include <asm/arch/cpu.h>
/* SOC specific definations */
#define ORION5X_REGISTER(x) (ORION5X_REGS_PHY_BASE + x)