[PATCH] 1/3 mtd: add Kbuild support and makefile support for Dreamcast VMU

Adrian McMenamin adrian at newgolddream.dyndns.info
Sat Mar 22 13:56:32 EDT 2008


Signed-off-by: Adrian McMenamin <adrian at mcmen.demon.co.uk>
---
diff -ruN a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
--- a/drivers/mtd/maps/Kconfig	2008-03-22 17:26:24.000000000 +0000
+++ b/drivers/mtd/maps/Kconfig	2008-03-22 17:20:45.000000000 +0000
@@ -590,5 +590,19 @@
 
 	  This selection automatically selects the map_ram driver.
 
+config MTD_VMU_FLASH
+	tristate "Dreamcast Visual Memory devices and clones"
+	depends on SH_DREAMCAST
+	select MAPLE
+	help
+	  Flash map driver for the SEGA Dreamcast Visual Memory Unit
+	  and clones.
+
+	  Most Dreamcast users will have one of these and so will want
+	  to say Y here.
+
+	  To compile this driver as a module choose M here: the module
+	  will be called vmu-flash.
+
 endmenu
 
diff -ruN a/drivers/mtd/maps/Makefile b/drivers/mtd/maps/Makefile
--- a/drivers/mtd/maps/Makefile	2008-03-22 17:26:24.000000000 +0000
+++ b/drivers/mtd/maps/Makefile	2008-03-22 17:20:45.000000000 +0000
@@ -68,3 +68,4 @@
 obj-$(CONFIG_MTD_OMAP_NOR)	+= omap_nor.o
 obj-$(CONFIG_MTD_MTX1)		+= mtx-1_flash.o
 obj-$(CONFIG_MTD_INTEL_VR_NOR)	+= intel_vr_nor.o
+obj-$(CONFIG_MTD_VMU_FLASH)	+= vmu_flash.o





More information about the linux-mtd mailing list