public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Set default OMAP2_CTRL_BASE for OMAP1
@ 2007-09-18 17:32 Dirk Behme
  2007-10-01 18:05 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2007-09-18 17:32 UTC (permalink / raw)
  To: OMAP

[-- Attachment #1: Type: text/plain, Size: 144 bytes --]


In case no OMAP2_CTRL_BASE is set, set default one to fix compilation
errors e.g. for OMAP1.

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>

[-- Attachment #2: omap2_ctrl_base_fix_for_omap1.txt --]
[-- Type: text/plain, Size: 544 bytes --]

Index: linux-osk/include/asm-arm/arch-omap/omap24xx.h
===================================================================
--- linux-osk.orig/include/asm-arm/arch-omap/omap24xx.h
+++ linux-osk/include/asm-arm/arch-omap/omap24xx.h
@@ -103,6 +103,11 @@
 
 #endif
 
+#if !defined(OMAP2_CTRL_BASE)
+/* If no one of the above configs is selected, use default */
+#define OMAP2_CTRL_BASE		L4_24XX_BASE
+#endif
+
 /* Control module */
 #define OMAP2_CONTROL_DEVCONF0	(OMAP2_CTRL_BASE + 0x274)
 #define OMAP2_CONTROL_DEVCONF1	(OMAP2_CTRL_BASE + 0x2e8)


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



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

* Re: [PATCH] ARM: OMAP: Set default OMAP2_CTRL_BASE for OMAP1
  2007-09-18 17:32 [PATCH] ARM: OMAP: Set default OMAP2_CTRL_BASE for OMAP1 Dirk Behme
@ 2007-10-01 18:05 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-10-01 18:05 UTC (permalink / raw)
  To: Dirk Behme; +Cc: OMAP

* Dirk Behme <dirk.behme@googlemail.com> [070918 10:33]:
>
> In case no OMAP2_CTRL_BASE is set, set default one to fix compilation
> errors e.g. for OMAP1.
>
> Signed-off-by: Dirk Behme <dirk.behme@gmail.com>

> Index: linux-osk/include/asm-arm/arch-omap/omap24xx.h
> ===================================================================
> --- linux-osk.orig/include/asm-arm/arch-omap/omap24xx.h
> +++ linux-osk/include/asm-arm/arch-omap/omap24xx.h
> @@ -103,6 +103,11 @@
>  
>  #endif
>  
> +#if !defined(OMAP2_CTRL_BASE)
> +/* If no one of the above configs is selected, use default */
> +#define OMAP2_CTRL_BASE		L4_24XX_BASE
> +#endif
> +
>  /* Control module */
>  #define OMAP2_CONTROL_DEVCONF0	(OMAP2_CTRL_BASE + 0x274)
>  #define OMAP2_CONTROL_DEVCONF1	(OMAP2_CTRL_BASE + 0x2e8)

Just for reference, this should not be needed any longer AFAIK.

Tony

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

end of thread, other threads:[~2007-10-01 18:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-18 17:32 [PATCH] ARM: OMAP: Set default OMAP2_CTRL_BASE for OMAP1 Dirk Behme
2007-10-01 18:05 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox