]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mtd/maps/omap_nor.c
set_vpp() is only functional for omap1 now
[linux-2.6-omap-h63xx.git] / drivers / mtd / maps / omap_nor.c
index a0a12af08aa034db80cf10cafb742d456bacb925..a1342a2a1cb976d9e739020ddfd1a108fa713073 100644 (file)
@@ -61,7 +61,7 @@ static void omap_set_vpp(struct map_info *map, int enable)
 {
        static int      count;
 
-       if (!cpu_is_omap24xx()) {
+       if (cpu_class_is_omap1()) {
                if (enable) {
                        if (count++ == 0)
                                OMAP_EMIFS_CONFIG_REG |= OMAP_EMIFS_CONFIG_WP;