Skip to contentSkip to conversation

minor Ebony mapping patch

PATCH Heikki O Lindholm 1 participant 1 message Nov 16, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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):

tmp/mtd/drivers/mtd/maps/ebony.c Tue Nov 16 15:54:51 2004 renamed from mtd/maps/ebony.c Thu Nov 4 15:24:14 2004 +2 -2
@@ -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,