Title: [5948] trunk/drivers/mtd/maps/gpio-addr-flash.c: set phys to NO_XIP so that highler layers do not attempt to use point() on us (which is basically mmap() for mtd devices) ...
Revision
5948
Author
vapier
Date
2009-01-06 08:18:11 -0600 (Tue, 06 Jan 2009)

Log Message

set phys to NO_XIP so that highler layers do not attempt to use point() on us (which is basically mmap() for mtd devices) ... our mapping driver needs to be consulted on every access since the addressing goes through gpios
future work may involve us implementing our own point() function so that we can at least support subwindows ...

Modified Paths

Diff

Modified: trunk/drivers/mtd/maps/gpio-addr-flash.c (5947 => 5948)


--- trunk/drivers/mtd/maps/gpio-addr-flash.c	2009-01-06 04:52:01 UTC (rev 5947)
+++ trunk/drivers/mtd/maps/gpio-addr-flash.c	2009-01-06 14:18:11 UTC (rev 5948)
@@ -125,7 +125,7 @@
 	state->map.bankwidth  = pdata->width;
 	state->map.size       = state->win_size * (1 << state->gpio_count);
 	state->map.virt       = (void __iomem *)memory->start;
-	state->map.phys       = memory->start;
+	state->map.phys       = NO_XIP;
 	state->map.map_priv_1 = (unsigned long)state;
 
 	platform_set_drvdata(pdev, state);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to