summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/kirkwood/timer.c
diff options
context:
space:
mode:
authorLei Wen <[leiwen@marvell.com]>2011-10-18 14:41:42 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 19:56:33 (GMT)
commita7efd719f415833a833d6a8e46bcd470a0847ecc (patch)
treeffc36b4bedcb43a492ed43a0b8cccbfafcadaa6c /arch/arm/cpu/arm926ejs/kirkwood/timer.c
parentab1b95521174e6705abec72c5f1756e8cdb22016 (diff)
downloadu-boot-a7efd719f415833a833d6a8e46bcd470a0847ecc.tar.xz
ARM: kirkwood: 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/kirkwood/timer.c')
-rw-r--r--arch/arm/cpu/arm926ejs/kirkwood/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/kirkwood/timer.c b/arch/arm/cpu/arm926ejs/kirkwood/timer.c
index b4f6cf8..a98f54c 100644
--- a/arch/arm/cpu/arm926ejs/kirkwood/timer.c
+++ b/arch/arm/cpu/arm926ejs/kirkwood/timer.c
@@ -22,6 +22,7 @@
*/
#include <common.h>
+#include <asm/io.h>
#include <asm/arch/kirkwood.h>
#define UBOOT_CNTR 0 /* counter to use for uboot timer */