Skip to contentSkip to conversation

OMAP3 flash: fix use of system_rev in board-3430sdp-flash.c

PATCH In review Paul Walmsley 2 participants 2 messages Nov 6, 2008 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 OMAP3 flash: fix use of system_rev in board-3430sdp-flash.c

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

Bisected by Timo-Pekka Launonen's <[email protected]> list robot.

Cc Timo-Pekka Launonen <[email protected]>
Cc Lauri Leukkunen <[email protected]>
---
 arch/arm/mach-omap2/board-3430sdp-flash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/board-3430sdp-flash.c +1 -1
index 6b0419c..51dd839 100644
@@ -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;
maintainer
#2 lore raw
Quoted 5 lines · Paul Walmsley

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

Bisected by Timo-Pekka Launonen's <[email protected]> list robot.

Nice to have that robot! :) Pushing.

Tony

Quoted 26 lines
Cc Timo-Pekka Launonen <[email protected]>
Cc Lauri Leukkunen <[email protected]>
---
 arch/arm/mach-omap2/board-3430sdp-flash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/board-3430sdp-flash.c +1 -2
index 6b0419c..51dd839 100644
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html