From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/5] serial: reduce include platform file for marvell chip
Date: Mon, 24 Oct 2011 18:46:36 +0200 [thread overview]
Message-ID: <4EA5966C.5040609@aribaud.net> (raw)
In-Reply-To: <1317565013-22438-5-git-send-email-leiwen@marvell.com>
Hi all,
Le 02/10/2011 16:16, Lei Wen a ?crit :
> 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>
> ---
> drivers/serial/serial.c | 9 ---------
> 1 files changed, 0 insertions(+), 9 deletions(-)
>
> 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>
This breaks ED Mini V2 (orion5x) with the following message:
serial.c:65: error: 'ORION5X_UART0_BASE' undeclared here (not in a function)
serial.c: In function 'calc_divisor':
serial.c:152: error: 'CONFIG_SYS_TCLK' undeclared (first use in this
function)
serial.c:152: error: (Each undeclared identifier is reported only once
serial.c:152: error: for each function it appears in.)
Lei Wen, please provide a patch for orion5x as you provided for armada,
pantheon and kirkwood.
Amicalement,
--
Albert.
next prev parent reply other threads:[~2011-10-24 16:46 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-02 14:16 [U-Boot] [PATCH 0/5] Marvell: reduce dependence files Lei Wen
2011-10-02 14:16 ` [U-Boot] [PATCH 1/5] ARM: pantheon: reduce dependence of including platform file Lei Wen
2011-10-02 14:16 ` [U-Boot] [PATCH 2/5] ARM: armada100: " Lei Wen
2011-10-02 14:16 ` [U-Boot] [PATCH 3/5] ARM: kirkwood: " Lei Wen
2011-10-02 14:16 ` [U-Boot] [PATCH 4/5] serial: reduce include platform file for marvell chip Lei Wen
2011-10-02 19:25 ` Prafulla Wadaskar
2011-10-06 17:51 ` Wolfgang Denk
2011-10-24 16:46 ` Albert ARIBAUD [this message]
2011-10-25 1:30 ` Lei Wen
2011-10-25 7:40 ` Wolfgang Denk
2011-10-25 2:27 ` [U-Boot] [PATCH] ARM: orion5x: reduce dependence of including platform file Lei Wen
2011-10-25 7:43 ` Wolfgang Denk
2011-10-25 8:58 ` Lei Wen
2011-10-25 18:50 ` Wolfgang Denk
2011-10-26 2:23 ` Lei Wen
2011-10-26 2:22 ` [U-Boot] [PATCH V2] " Lei Wen
2011-10-27 9:02 ` Prafulla Wadaskar
2011-10-31 14:38 ` Lei Wen
2011-10-02 14:16 ` [U-Boot] [PATCH 5/5] gpio: mvmfp: reduce include " Lei Wen
2011-10-14 10:19 ` [U-Boot] [PATCH 0/5] Marvell: reduce dependence files Prafulla Wadaskar
2011-10-14 14:36 ` Lei Wen
2011-10-14 14:34 ` [U-Boot] [PATCH V2 " Lei Wen
2011-10-18 11:09 ` Prafulla Wadaskar
2011-10-14 14:34 ` [U-Boot] [PATCH V2 1/5] ARM: pantheon: reduce dependence of including platform file Lei Wen
2011-10-14 14:34 ` [U-Boot] [PATCH V2 2/5] ARM: armada100: " Lei Wen
2011-10-18 11:09 ` Prafulla Wadaskar
2011-10-14 14:34 ` [U-Boot] [PATCH V2 3/5] ARM: kirkwood: " Lei Wen
2011-10-14 14:34 ` [U-Boot] [PATCH V2 4/5] serial: reduce include platform file for marvell chip Lei Wen
2011-10-14 14:34 ` [U-Boot] [PATCH V2 5/5] gpio: mvmfp: reduce include platform file Lei Wen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EA5966C.5040609@aribaud.net \
--to=albert.u.boot@aribaud.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.