* [PATCH] OMAP3 flash: fix use of system_rev in board-3430sdp-flash.c
[not found] <20081106122630.32272.71026.stgit@localhost.localdomain>
@ 2008-11-06 12:26 ` Paul Walmsley
2008-11-06 16:58 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Paul Walmsley @ 2008-11-06 12:26 UTC (permalink / raw)
To: linux-omap; +Cc: Paul Walmsley, Timo-Pekka Launonen, Lauri Leukkunen
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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] OMAP3 flash: fix use of system_rev in board-3430sdp-flash.c
2008-11-06 12:26 ` [PATCH] OMAP3 flash: fix use of system_rev in board-3430sdp-flash.c Paul Walmsley
@ 2008-11-06 16:58 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2008-11-06 16:58 UTC (permalink / raw)
To: Paul Walmsley; +Cc: linux-omap, Timo-Pekka Launonen, Lauri Leukkunen
* Paul Walmsley <paul@pwsan.com> [081106 04:28]:
> 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.
Nice to have that robot! :) Pushing.
Tony
> 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;
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-06 16:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20081106122630.32272.71026.stgit@localhost.localdomain>
2008-11-06 12:26 ` [PATCH] OMAP3 flash: fix use of system_rev in board-3430sdp-flash.c Paul Walmsley
2008-11-06 16:58 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox