diff options
author | Lei Wen <[leiwen@marvell.com]> | 2011-10-18 20:11:42 +0530 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-10-27 21:56:33 +0200 |
commit | a7efd719f415833a833d6a8e46bcd470a0847ecc (patch) | |
tree | ffc36b4bedcb43a492ed43a0b8cccbfafcadaa6c /board/Marvell/openrd/openrd.c | |
parent | ab1b95521174e6705abec72c5f1756e8cdb22016 (diff) | |
download | u-boot-imx-a7efd719f415833a833d6a8e46bcd470a0847ecc.zip u-boot-imx-a7efd719f415833a833d6a8e46bcd470a0847ecc.tar.gz u-boot-imx-a7efd719f415833a833d6a8e46bcd470a0847ecc.tar.bz2 |
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 'board/Marvell/openrd/openrd.c')
-rw-r--r-- | board/Marvell/openrd/openrd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/Marvell/openrd/openrd.c b/board/Marvell/openrd/openrd.c index 87939de..2a10e69 100644 --- a/board/Marvell/openrd/openrd.c +++ b/board/Marvell/openrd/openrd.c @@ -29,6 +29,7 @@ #include <common.h> #include <miiphy.h> +#include <asm/arch/cpu.h> #include <asm/arch/kirkwood.h> #include <asm/arch/mpp.h> #include "openrd.h" |