mtd/drivers/mtd/maps db1550-flash.c,1.5,1.6

ppopov at infradead.org ppopov at infradead.org
Wed Oct 20 01:50:22 EDT 2004


Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv17158/drivers/mtd/maps

Modified Files:
	db1550-flash.c 
Log Message:
Fixed a window address bug and a debug printk.


Index: db1550-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/db1550-flash.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- db1550-flash.c	19 Sep 2004 00:12:00 -0000	1.5
+++ db1550-flash.c	20 Oct 2004 05:50:19 -0000	1.6
@@ -131,7 +131,7 @@
 			window_addr = 0x1C000000;
 			window_size = 0x4000000; 
 #else /* USER ONLY */
-			window_addr = 0x1E000000;
+			window_addr = 0x18000000;
 			window_size = 0x4000000; 
 #endif
 	return 0;
@@ -159,7 +159,7 @@
 	 * Now let's probe for the actual flash.  Do it here since
 	 * specific machine settings might have been set above.
 	 */
-	printk(KERN_NOTICE "Pb1550 flash: probing %d-bit flash bus\n", 
+	printk(KERN_NOTICE "Db1550 flash: probing %d-bit flash bus\n", 
 			db1550_map.bankwidth*8);
 	db1550_map.virt = 
 		(void __iomem *)ioremap(window_addr, window_size);
@@ -176,6 +176,7 @@
 	if (mymtd) {
 		del_mtd_partitions(mymtd);
 		map_destroy(mymtd);
+		iounmap((void *) db1550_map.virt);
 	}
 }
 





More information about the linux-mtd-cvs mailing list