summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/pantheon
diff options
context:
space:
mode:
authorLei Wen <[leiwen@marvell.com]>2011-10-18 13:51:33 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 19:56:33 (GMT)
commit0c0d9b708be45184f74b8b497d15b60c538caccf (patch)
treeac985b3f8664b3d338f851c8b2310309c5e04fda /arch/arm/cpu/arm926ejs/pantheon
parentb5de038f159541404d89c358a4d77211b715f0f3 (diff)
downloadu-boot-0c0d9b708be45184f74b8b497d15b60c538caccf.tar.xz
ARM: pantheon: 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/cpu/arm926ejs/pantheon')
-rw-r--r--arch/arm/cpu/arm926ejs/pantheon/cpu.c2
-rw-r--r--arch/arm/cpu/arm926ejs/pantheon/dram.c1
-rw-r--r--arch/arm/cpu/arm926ejs/pantheon/timer.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/pantheon/cpu.c b/arch/arm/cpu/arm926ejs/pantheon/cpu.c
index 8b2eafa..efc9395 100644
--- a/arch/arm/cpu/arm926ejs/pantheon/cpu.c
+++ b/arch/arm/cpu/arm926ejs/pantheon/cpu.c
@@ -23,8 +23,8 @@
*/
#include <common.h>
+#include <asm/arch/cpu.h>
#include <asm/arch/pantheon.h>
-#include <asm/io.h>
#define UARTCLK14745KHZ (APBC_APBCLK | APBC_FNCLK | APBC_FNCLKSEL(1))
#define SET_MRVL_ID (1<<8)
diff --git a/arch/arm/cpu/arm926ejs/pantheon/dram.c b/arch/arm/cpu/arm926ejs/pantheon/dram.c
index bbca7ee..a3d719e 100644
--- a/arch/arm/cpu/arm926ejs/pantheon/dram.c
+++ b/arch/arm/cpu/arm926ejs/pantheon/dram.c
@@ -23,6 +23,7 @@
*/
#include <common.h>
+#include <asm/io.h>
#include <asm/arch/pantheon.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/cpu/arm926ejs/pantheon/timer.c b/arch/arm/cpu/arm926ejs/pantheon/timer.c
index c71162a..17045b1 100644
--- a/arch/arm/cpu/arm926ejs/pantheon/timer.c
+++ b/arch/arm/cpu/arm926ejs/pantheon/timer.c
@@ -23,6 +23,7 @@
*/
#include <common.h>
+#include <asm/arch/cpu.h>
#include <asm/arch/pantheon.h>
/*