Skip to contentSkip to conversation

IBM 405GP Walnut map

PATCH Heikki O Lindholm 2 participants 2 messages Nov 16, 2004 – Nov 30, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hello,

Here's a patch, at least, for the mailing list archive. Might be useful to include, since there's other support for the Walnut in the kernel, too. (Hopefully this list accepts attachments.)

* adds mapping for the IBM 405GP Walnut system flash

Regards,
Heikki Lindholm

tmp/mtd/drivers/mtd/maps/Config.in renamed from drivers/mtd/maps/Config.in +1 -0
diff -N -u -r ./drivers/mtd/maps/Config.in /tmp/mtd/drivers/mtd/maps/Config.in
@@ -65,6 +65,7 @@
       fi
       dep_tristate '  CFI Flash device mapped on IBM Beech' CONFIG_MTD_BEECH $CONFIG_MTD_CFI $CONFIG_BEECH
       dep_tristate '  CFI Flash device mapped on IBM Arctic' CONFIG_MTD_ARCTIC $CONFIG_MTD_CFI $CONFIG_ARCTIC2
+      dep_tristate '  Flash device mapped on IBM Walnut' CONFIG_MTD_WALNUT $CONFIG_MTD_JEDECPROBE $CONFIG_WALNUT      
     fi
     if [ "$CONFIG_440" = "y" ]; then
       dep_tristate '  Flash devices mapped on IBM Ebony' CONFIG_MTD_EBONY $CONFIG_MTD_CFI $CONFIG_EBONY
tmp/mtd/drivers/mtd/maps/Kconfig renamed from drivers/mtd/maps/Kconfig +8 -0
diff -N -u -r ./drivers/mtd/maps/Kconfig /tmp/mtd/drivers/mtd/maps/Kconfig
@@ -373,6 +373,14 @@
 	  Arctic board. If you have one of these boards and would like to
 	  use the flash chips on it, say 'Y'.
 
+config MTD_WALNUT
+	tristate "Flash device mapped on IBM 405GP Walnut"
+	depends on MTD_JEDECPROBE && PPC32 && 40x && WALNUT
+	help
+	  This enables access routines for the flash chips on the IBM 405GP
+	  Walnut board. If you have one of these boards and would like to
+	  use the flash chips on it, say 'Y'.
+
 config MTD_EBONY
 	tristate "Flash devices mapped on IBM 440GP Ebony"
 	depends on MTD_CFI && PPC32 && 44x && EBONY
tmp/mtd/drivers/mtd/maps/Makefile.common renamed from drivers/mtd/maps/Makefile.common +1 -0
diff -N -u -r ./drivers/mtd/maps/Makefile.common /tmp/mtd/drivers/mtd/maps/Makefile.common
@@ -68,4 +68,5 @@
 obj-$(CONFIG_MTD_IXP4XX)	+= ixp4xx.o
 obj-$(CONFIG_MTD_IXP2000)	+= ixp2000.o
 obj-$(CONFIG_MTD_WRSBC8260)	+= wr_sbc82xx_flash.o
+obj-$(CONFIG_MTD_WALNUT)	+= walnut.o
 obj-$(CONFIG_MTD_DMV182)	+= dmv182.o
tmp/mtd/drivers/mtd/maps/walnut.c renamed from drivers/mtd/maps/walnut.c +121 -0

121 lines not on this page · raw message

#1 lore raw
Quoted 7 lines · Heikki O Lindholm

Hello,

Here's a patch, at least, for the mailing list archive. Might be useful to include, since there's other support for the Walnut in the kernel, too. (Hopefully this list accepts attachments.)

* adds mapping for the IBM 405GP Walnut system flash

You really need to hassle me more frequently if I ignore your patches. Please send a SSH public key and you can commit it to CVS. It needs a $Id$ tag in the comments at the top of the file, and please change '128k' to '128 KiB'.

Signature · 1 line
dwmw2