Commit 347109cc authored by Paul Walmsley's avatar Paul Walmsley Committed by Tony Lindgren

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 4a4ada55.

Bisected by Timo-Pekka Launonen's <ext-timo-pekka.launonen@nokia.com>
list robot.
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
Cc: Timo-Pekka Launonen <ext-timo-pekka.launonen@nokia.com>
Cc: Lauri Leukkunen <lauri.leukkunen@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 0d272a98
...@@ -210,7 +210,7 @@ void __init sdp3430_flash_init(void) ...@@ -210,7 +210,7 @@ void __init sdp3430_flash_init(void)
gpmc_base_add = OMAP34XX_GPMC_VIRT; gpmc_base_add = OMAP34XX_GPMC_VIRT;
/* Configure start address and size of NOR device */ /* 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.start = FLASH_BASE_SDPV2;
sdp_nor_resource.end = FLASH_BASE_SDPV2 sdp_nor_resource.end = FLASH_BASE_SDPV2
+ FLASH_SIZE_SDPV2 - 1; + FLASH_SIZE_SDPV2 - 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment