ARM: armada100: 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.

Updated cpu.h to remove build errors for gplugd board (by prafulla)

Signed-off-by: Lei Wen <leiwen@marvell.com>
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
This commit is contained in:
Lei Wen
2011-10-18 19:50:48 +05:30
committed by Albert ARIBAUD
parent 0c0d9b708b
commit ab1b955211
7 changed files with 130 additions and 132 deletions

View File

@@ -25,6 +25,7 @@
#include <common.h>
#include <mvmfp.h>
#include <asm/arch/cpu.h>
#include <asm/arch/mfp.h>
#include <asm/arch/armada100.h>