public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Use the correct CONFIG_ARCH_OMAP24XX
@ 2007-12-06  1:46 Kyungmin Park
  2007-12-06  2:12 ` Paul Walmsley
  2007-12-06 18:49 ` Kevin Hilman
  0 siblings, 2 replies; 4+ messages in thread
From: Kyungmin Park @ 2007-12-06  1:46 UTC (permalink / raw)
  To: linux-omap, linux-omap-open-source

Use the correct CONFIG_ARCH_OMAP24XX.
It boots on locked SRAM board.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c
index afe8181..6305dc9 100644
--- a/arch/arm/plat-omap/sram.c
+++ b/arch/arm/plat-omap/sram.c
@@ -91,7 +91,7 @@ static int is_sram_locked(void)
 {
 	int type = 0;
 
-#if defined(CONFIG_ARCH_OMAP242X)
+#if defined(CONFIG_ARCH_OMAP24XX)
 	if (cpu_is_omap242x())
 		type = (ctrl_read_reg(OMAP24XX_CONTROL_STATUS) &
 			OMAP2_DEVICETYPE_MASK);

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

end of thread, other threads:[~2007-12-17  0:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-06  1:46 [PATCH] ARM: OMAP: Use the correct CONFIG_ARCH_OMAP24XX Kyungmin Park
2007-12-06  2:12 ` Paul Walmsley
2007-12-06 18:49 ` Kevin Hilman
2007-12-17  0:59   ` Tony Lindgren

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