mtd/lib Config.in-rs.diff, NONE, 1.1 Kconfig-rs.diff, NONE, 1.1 Makefile24-rs.diff, NONE, 1.1 Makefile26-rs.diff, NONE, 1.1

gleixner at infradead.org gleixner at infradead.org
Thu Sep 16 19:58:58 EDT 2004


Update of /home/cvs/mtd/lib
In directory phoenix.infradead.org:/tmp/cvs-serv7936/lib

Added Files:
	Config.in-rs.diff Kconfig-rs.diff Makefile24-rs.diff 
	Makefile26-rs.diff 
Log Message:
Reed somolon lib import. Will vanish away once it is accepted upstream

--- NEW FILE Config.in-rs.diff ---
--- linux-2.4.26.org/lib/Config.in	2003-11-28 19:26:21.000000000 +0100
+++ linux-2.4.26.mtd/lib/Config.in	2004-06-17 15:09:36.000000000 +0200
@@ -41,6 +41,20 @@
   fi
 fi
 
+if [ "$CONFIG_MTD_DOCPROBE" = "y" -o \
+     "$CONFIG_MTD_NAND_RTC_FROM4" = "y" -o \
+     "$MTD_NAND_DISKONCHIP" = "y" ]; then
+   define_tristate CONFIG_REED_SOLOMON y
+else
+  if [ "$CONFIG_MTD_DOCPROBE" = "m" -o \
+     "$CONFIG_MTD_NAND_RTC_FROM4" = "m" -o \
+     "$MTD_NAND_DISKONCHIP" = "m" ]; then
+     define_tristate CONFIG_REED_SOLOMON m
+  else
+     define_tristate CONFIG_REED_SOLOMON n
+  fi
+fi
+
 if [ "$CONFIG_EXPERIMENTAL" = "y" -a \
      "$CONFIG_HOTPLUG" = "y" ]; then
    tristate 'Hotplug firmware loading support (EXPERIMENTAL)' CONFIG_FW_LOADER

--- NEW FILE Kconfig-rs.diff ---
--- linux-2.6.6.org/lib/Kconfig	2004-05-10 04:32:39.000000000 +0200
+++ linux-2.6.6.mtd/lib/Kconfig	2004-06-17 15:04:45.000000000 +0200
@@ -30,5 +30,11 @@
 config ZLIB_DEFLATE
 	tristate
 
+#
+# reed solomon support is select'ed if needed
+#
+config REED_SOLOMON
+	tristate
+
 endmenu
 

--- NEW FILE Makefile24-rs.diff ---
--- linux-2.4.26.org/lib/Makefile	2004-04-14 15:05:40.000000000 +0200
+++ linux-2.4.26.mtd/lib/Makefile	2004-06-17 14:55:54.000000000 +0200
@@ -26,6 +26,7 @@
 
 subdir-$(CONFIG_ZLIB_INFLATE) += zlib_inflate
 subdir-$(CONFIG_ZLIB_DEFLATE) += zlib_deflate
+subdir-$(CONFIG_REED_SOLOMON) += reed_solomon
 
 include $(TOPDIR)/drivers/net/Makefile.lib
 include $(TOPDIR)/drivers/usb/Makefile.lib

--- NEW FILE Makefile26-rs.diff ---
--- linux-2.6.6.org/lib/Makefile	2004-05-10 04:31:59.000000000 +0200
+++ linux-2.6.6.mtd/lib/Makefile	2004-06-17 14:58:40.000000000 +0200
@@ -23,6 +23,7 @@
 
 obj-$(CONFIG_ZLIB_INFLATE) += zlib_inflate/
 obj-$(CONFIG_ZLIB_DEFLATE) += zlib_deflate/
+obj-$(CONFIG_REED_SOLOMON) += reed_solomon/
 
 host-progs	:= gen_crc32table
 clean-files	:= crc32table.h





More information about the linux-mtd-cvs mailing list