]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/board-3430sdp-flash.c
OMAP3 flash: fix use of system_rev in board-3430sdp-flash.c
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / board-3430sdp-flash.c
index 6b0419cc35354da6a25d1f14fb65e36107db1d16..51dd839c61b6f7b0775dc8d6315ff1a8fa5f6c0f 100644 (file)
@@ -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;