aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_ide.c
diff options
context:
space:
mode:
authorLei Wen <leiwen@marvell.com>2011-10-24 16:27:32 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:33 +0200
commit5ff8b35412e895287d91172c9ac3b60520d41ddb (patch)
tree46011c232afdc0dd99701467d18764aa456fc667 /common/cmd_ide.c
parent93554271b9849c273f312a9cdb53a39fede1f6be (diff)
downloadu-boot-5ff8b35412e895287d91172c9ac3b60520d41ddb.zip
u-boot-5ff8b35412e895287d91172c9ac3b60520d41ddb.tar.gz
u-boot-5ff8b35412e895287d91172c9ac3b60520d41ddb.tar.bz2
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 'common/cmd_ide.c')
-rw-r--r--common/cmd_ide.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/cmd_ide.c b/common/cmd_ide.c
index da5189c..d909c54 100644
--- a/common/cmd_ide.c
+++ b/common/cmd_ide.c
@@ -46,12 +46,6 @@
#include <mpc5xxx.h>
#endif
-#ifdef CONFIG_ORION5X
-#include <asm/arch/orion5x.h>
-#elif defined CONFIG_KIRKWOOD
-#include <asm/arch/kirkwood.h>
-#endif
-
#include <ide.h>
#include <ata.h>