Commit 4f286379 authored by Heikki Lindholm's avatar Heikki Lindholm Committed by David Woodhouse

MTD: Use JEDEC probe for flash chips on Ebony board.

Signed-off-by: default avatarHeikki O Lindholm <holindho@cs.helsinki.fi>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 89491a9b
# drivers/mtd/maps/Kconfig # drivers/mtd/maps/Kconfig
# $Id: Kconfig,v 1.38 2004/11/24 19:42:51 rpurdie Exp $ # $Id: Kconfig,v 1.39 2004/12/09 18:39:54 holindho Exp $
menu "Mapping drivers for chip access" menu "Mapping drivers for chip access"
depends on MTD!=n depends on MTD!=n
...@@ -375,7 +375,7 @@ config MTD_ARCTIC ...@@ -375,7 +375,7 @@ config MTD_ARCTIC
config MTD_EBONY config MTD_EBONY
tristate "Flash devices mapped on IBM 440GP Ebony" tristate "Flash devices mapped on IBM 440GP Ebony"
depends on MTD_CFI && PPC32 && 44x && EBONY depends on MTD_JEDECPROBE && PPC32 && 44x && EBONY
help help
This enables access routines for the flash chips on the IBM 440GP This enables access routines for the flash chips on the IBM 440GP
Ebony board. If you have one of these boards and would like to Ebony board. If you have one of these boards and would like to
......
/* /*
* $Id: ebony.c,v 1.14 2004/11/28 09:40:39 dwmw2 Exp $ * $Id: ebony.c,v 1.15 2004/12/09 18:39:54 holindho Exp $
* *
* Mapping for Ebony user flash * Mapping for Ebony user flash
* *
...@@ -103,7 +103,7 @@ int __init init_ebony(void) ...@@ -103,7 +103,7 @@ int __init init_ebony(void)
simple_map_init(&ebony_small_map); 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) { if (flash) {
flash->owner = THIS_MODULE; flash->owner = THIS_MODULE;
add_mtd_partitions(flash, ebony_small_partitions, add_mtd_partitions(flash, ebony_small_partitions,
...@@ -124,7 +124,7 @@ int __init init_ebony(void) ...@@ -124,7 +124,7 @@ int __init init_ebony(void)
simple_map_init(&ebony_large_map); 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) { if (flash) {
flash->owner = THIS_MODULE; flash->owner = THIS_MODULE;
add_mtd_partitions(flash, ebony_large_partitions, add_mtd_partitions(flash, ebony_large_partitions,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment