Patchwork [U-Boot,V2,4/5] serial: reduce include platform file for marvell chip

login
register
mail settings
Submitter Lei Wen
Date Oct. 14, 2011, 2:34 p.m.
Message ID <1318602869-13390-5-git-send-email-leiwen@marvell.com>
Download mbox | patch
Permalink /patch/119807/
State Accepted
Headers show

Comments

Lei Wen - Oct. 14, 2011, 2:34 p.m.
Build pass with following config:
dkb_config
aspenite_config
edminiv2_config
openrd_ultimate_config
sheevaplug_config
mv88f6281gtw_ge_config
rd6281a_config
guruplug_config
km_kirkwood_config

Signed-off-by: Lei Wen <leiwen@marvell.com>
Acked-by: Wolfgang Denk <wd@denx.de>
---
Changelog:
V2: no change

 drivers/serial/serial.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

Patch

diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c
index 0d56e78..0d6ad62 100644
--- a/drivers/serial/serial.c
+++ b/drivers/serial/serial.c
@@ -28,15 +28,6 @@ 
 #ifdef CONFIG_NS87308
 #include <ns87308.h>
 #endif
-#ifdef CONFIG_KIRKWOOD
-#include <asm/arch/kirkwood.h>
-#elif defined(CONFIG_ORION5X)
-#include <asm/arch/orion5x.h>
-#elif defined(CONFIG_ARMADA100)
-#include <asm/arch/armada100.h>
-#elif defined(CONFIG_PANTHEON)
-#include <asm/arch/pantheon.h>
-#endif
 
 #if defined (CONFIG_SERIAL_MULTI)
 #include <serial.h>