linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [patch 1/1] iMX: Fix build for iMX53
       [not found] <20110805073240.162681115@rtp-net.org>
@ 2011-08-05  7:32 ` Arnaud Patard (Rtp)
  2011-08-05  7:54   ` Uwe Kleine-König
  2011-08-05 11:04   ` Sergei Shtylyov
  0 siblings, 2 replies; 3+ messages in thread
From: Arnaud Patard (Rtp) @ 2011-08-05  7:32 UTC (permalink / raw)
  To: linux-arm-kernel

An embedded and charset-unspecified text was scrubbed...
Name: test.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110805/736dcabd/attachment.ksh>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [patch 1/1] iMX: Fix build for iMX53
  2011-08-05  7:32 ` [patch 1/1] iMX: Fix build for iMX53 Arnaud Patard (Rtp)
@ 2011-08-05  7:54   ` Uwe Kleine-König
  2011-08-05 11:04   ` Sergei Shtylyov
  1 sibling, 0 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2011-08-05  7:54 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Aug 05, 2011 at 09:32:41AM +0200, Arnaud Patard wrote:
> Commit fad107086d5a869c1c07e5bb35b7b57a10ecf578 fixed the wrong test for MX51
> as the MX51 addresses are wrong for MX50 and MX53 but now it's MX51 only, 
> UART_PADDR is not defined anymore when building for MX50/MX53.
> 
> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
> Tested-by: Steev Klimaszewski <steev@genesi-usa.com>
> Index: linux-2.6/arch/arm/plat-mxc/include/mach/debug-macro.S
> ===================================================================
> --- linux-2.6.orig/arch/arm/plat-mxc/include/mach/debug-macro.S	2011-08-05 00:38:15.000000000 +0200
> +++ linux-2.6/arch/arm/plat-mxc/include/mach/debug-macro.S	2011-08-05 09:32:32.000000000 +0200
> @@ -44,6 +44,14 @@
>  #define UART_PADDR	MX51_UART1_BASE_ADDR
>  #endif
>  
> +/* iMX50/53 have same addresses, but not iMX51 */
> +#if defined(CONFIG_SOC_IMX50) || defined(CONFIG_SOC_IMX53)
> +#ifdef UART_PADDR
> +#error "CONFIG_DEBUG_LL is incompatible with multiple archs"
> +#endif
> +#define UART_PADDR	MX53_UART1_BASE_ADDR
> +#endif
> +
>  #define UART_VADDR	IMX_IO_ADDRESS(UART_PADDR)
>  
>  		.macro	addruart, rp, rv
Looks good

Acked-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [patch 1/1] iMX: Fix build for iMX53
  2011-08-05  7:32 ` [patch 1/1] iMX: Fix build for iMX53 Arnaud Patard (Rtp)
  2011-08-05  7:54   ` Uwe Kleine-König
@ 2011-08-05 11:04   ` Sergei Shtylyov
  1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2011-08-05 11:04 UTC (permalink / raw)
  To: linux-arm-kernel

Hello.

On 05-08-2011 11:32, Arnaud Patard (Rtp) wrote:

> Commit fad107086d5a869c1c07e5bb35b7b57a10ecf578 fixed the wrong test for MX51

    Please specify that commit's summary in parens.

> as the MX51 addresses are wrong for MX50 and MX53 but now it's MX51 only,
> UART_PADDR is not defined anymore when building for MX50/MX53.

> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
> Tested-by: Steev Klimaszewski <steev@genesi-usa.com>

WBR, Sergei

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-05 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20110805073240.162681115@rtp-net.org>
2011-08-05  7:32 ` [patch 1/1] iMX: Fix build for iMX53 Arnaud Patard (Rtp)
2011-08-05  7:54   ` Uwe Kleine-König
2011-08-05 11:04   ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).