ARM: pantheon: reduce dependence of including platform file
authorLei Wen <[leiwen@marvell.com]>
Tue, 18 Oct 2011 13:51:33 +0000 (19:21 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:33 +0000 (21:56 +0200)
commit0c0d9b708be45184f74b8b497d15b60c538caccf
treeac985b3f8664b3d338f851c8b2310309c5e04fda
parentb5de038f159541404d89c358a4d77211b715f0f3
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>
arch/arm/cpu/arm926ejs/pantheon/cpu.c
arch/arm/cpu/arm926ejs/pantheon/dram.c
arch/arm/cpu/arm926ejs/pantheon/timer.c
arch/arm/include/asm/arch-pantheon/config.h
arch/arm/include/asm/arch-pantheon/pantheon.h