public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] set_vpp works for omap1 only
@ 2007-10-19 14:12 Amit Kucheria
  2007-10-22  0:11 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Amit Kucheria @ 2007-10-19 14:12 UTC (permalink / raw)
  To: linux-omap-open-source

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

Along with the "unlock flash" patch from Kevin, I need the following
trivial patch to get an OMAP3 SDP booting with a jffs2 FS on NOR.

Regards,
Amit
--
Amit Kucheria, Linux developer

[-- Attachment #2: 0001-set_vpp-is-only-functional-for-omap1-now.patch --]
[-- Type: application/octet-stream, Size: 808 bytes --]

From 9bd702658f7de6c870ffcda0ae09e1ab881bb129 Mon Sep 17 00:00:00 2001
From: Amit Kucheria <amit.kucheria@verdurent.com>
Date: Fri, 19 Oct 2007 16:32:52 +0300
Subject: [PATCH] set_vpp() is only functional for omap1 now

Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
---
 drivers/mtd/maps/omap_nor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/maps/omap_nor.c b/drivers/mtd/maps/omap_nor.c
index a0a12af..a1342a2 100644
--- a/drivers/mtd/maps/omap_nor.c
+++ b/drivers/mtd/maps/omap_nor.c
@@ -61,7 +61,7 @@ static void omap_set_vpp(struct map_info *map, int enable)
 {
 	static int	count;
 
-	if (!cpu_is_omap24xx()) {
+	if (cpu_class_is_omap1()) {
 		if (enable) {
 			if (count++ == 0)
 				OMAP_EMIFS_CONFIG_REG |= OMAP_EMIFS_CONFIG_WP;
-- 
1.5.2.GIT


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



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

* Re: [PATCH] set_vpp works for omap1 only
  2007-10-19 14:12 [PATCH] set_vpp works for omap1 only Amit Kucheria
@ 2007-10-22  0:11 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-10-22  0:11 UTC (permalink / raw)
  To: Amit Kucheria; +Cc: linux-omap-open-source

* Amit Kucheria <kucheria.amit@gmail.com> [071019 07:13]:
> Along with the "unlock flash" patch from Kevin, I need the following
> trivial patch to get an OMAP3 SDP booting with a jffs2 FS on NOR.

Pushing today.

Tony

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

end of thread, other threads:[~2007-10-22  0:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19 14:12 [PATCH] set_vpp works for omap1 only Amit Kucheria
2007-10-22  0:11 ` Tony Lindgren

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