public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Walmsley <paul@pwsan.com>
To: linux-omap@vger.kernel.org
Cc: Paul Walmsley <paul@pwsan.com>,
	Timo-Pekka Launonen <ext-timo-pekka.launonen@nokia.com>,
	Lauri Leukkunen <lauri.leukkunen@nokia.com>
Subject: [PATCH] OMAP3 flash: fix use of system_rev in board-3430sdp-flash.c
Date: Thu, 06 Nov 2008 05:26:35 -0700	[thread overview]
Message-ID: <20081106122633.32272.65124.stgit@localhost.localdomain> (raw)
In-Reply-To: <20081106122630.32272.71026.stgit@localhost.localdomain>

Fix one remaining user of system_rev.  This patch is needed for
3430SDP ES2 to boot after 4a4ada55c1bdaa2b9fd1293611b55ceba14b13e7.

Bisected by Timo-Pekka Launonen's <ext-timo-pekka.launonen@nokia.com>
list robot.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Timo-Pekka Launonen <ext-timo-pekka.launonen@nokia.com>
Cc: Lauri Leukkunen <lauri.leukkunen@nokia.com>
---
 arch/arm/mach-omap2/board-3430sdp-flash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-3430sdp-flash.c b/arch/arm/mach-omap2/board-3430sdp-flash.c
index 6b0419c..51dd839 100644
--- a/arch/arm/mach-omap2/board-3430sdp-flash.c
+++ b/arch/arm/mach-omap2/board-3430sdp-flash.c
@@ -210,7 +210,7 @@ void __init sdp3430_flash_init(void)
 	gpmc_base_add   = OMAP34XX_GPMC_VIRT;
 
 	/* Configure start address and size of NOR device */
-	if (system_rev > OMAP3430_REV_ES1_0) {
+	if (omap_rev() > OMAP3430_REV_ES1_0) {
 		sdp_nor_resource.start	= FLASH_BASE_SDPV2;
 		sdp_nor_resource.end	= FLASH_BASE_SDPV2
 						+ FLASH_SIZE_SDPV2 - 1;



       reply	other threads:[~2008-11-06 12:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20081106122630.32272.71026.stgit@localhost.localdomain>
2008-11-06 12:26 ` Paul Walmsley [this message]
2008-11-06 16:58   ` [PATCH] OMAP3 flash: fix use of system_rev in board-3430sdp-flash.c Tony Lindgren

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=20081106122633.32272.65124.stgit@localhost.localdomain \
    --to=paul@pwsan.com \
    --cc=ext-timo-pekka.launonen@nokia.com \
    --cc=lauri.leukkunen@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox