minor Ebony mapping patch

Heikki O Lindholm holindho at cs.helsinki.fi
Tue Nov 16 09:25:46 EST 2004


The IBM Ebony board's default config has AM29F0(40/16) parts, which are 
JEDEC chips. So, I think the following is in order (Kconfig&Config.in 
might need tuning also):

--- drivers/mtd/maps/ebony.c    Thu Nov  4 15:24:14 2004
+++ /tmp/mtd/drivers/mtd/maps/ebony.c   Tue Nov 16 15:54:51 2004
@@ -103,7 +103,7 @@

         simple_map_init(&ebony_small_map);

-       flash = do_map_probe("map_rom", &ebony_small_map);
+       flash = do_map_probe("jedec_probe", &ebony_small_map);
         if (flash) {
                 flash->owner = THIS_MODULE;
                 add_mtd_partitions(flash, ebony_small_partitions,
@@ -125,7 +125,7 @@

         simple_map_init(&ebony_large_map);

-       flash = do_map_probe("cfi_probe", &ebony_large_map);
+       flash = do_map_probe("jedec_probe", &ebony_large_map);
         if (flash) {
                 flash->owner = THIS_MODULE;
                 add_mtd_partitions(flash, ebony_large_partitions,





More information about the linux-mtd mailing list