diff options
author | Lei Wen <leiwen@marvell.com> | 2011-10-24 16:27:32 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-10-27 21:56:33 +0200 |
commit | 5ff8b35412e895287d91172c9ac3b60520d41ddb (patch) | |
tree | 46011c232afdc0dd99701467d18764aa456fc667 /arch/arm/cpu/arm926ejs/orion5x/cpu.c | |
parent | 93554271b9849c273f312a9cdb53a39fede1f6be (diff) |
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/cpu/arm926ejs/orion5x/cpu.c')
-rw-r--r-- | arch/arm/cpu/arm926ejs/orion5x/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/orion5x/cpu.c b/arch/arm/cpu/arm926ejs/orion5x/cpu.c index 05bd45c3f6..792b11dfc5 100644 --- a/arch/arm/cpu/arm926ejs/orion5x/cpu.c +++ b/arch/arm/cpu/arm926ejs/orion5x/cpu.c @@ -28,8 +28,9 @@ #include <common.h> #include <netdev.h> #include <asm/cache.h> +#include <asm/io.h> #include <u-boot/md5.h> -#include <asm/arch/orion5x.h> +#include <asm/arch/cpu.h> #include <hush.h> #define BUFLEN 16 |