Skip to contentSkip to conversation

SCx200 patches part 2/3 -- Flash driver

PATCH Christer Weinigel 1 participant 1 message Jun 30, 2002

lore
Share & tools
lore
#0 lore raw

This is the second part of the SCx200 patches. This patch adds support for a flash chip connected to the DOCCS chip select.

The patch is generated against a 2.4.19-pre10 kernel with the previous patch since it needs the header file changes.

/Christer

linux/Documentation/Configure.help renamed from linux/Documentation/Configure.help.orig +9 -0
diff -urw ./linux/Documentation/Configure.help.orig ./linux/Documentation/Configure.help
@@ -24989,6 +24989,15 @@
 
   If compiled as a module, it will be called scx200_watchdog.o.
 
+Flash device mapped with DOCCS on NatSemi SCx200
+CONFIG_MTD_SCx200_DOCFLASH
+  Enable support for a flash chip mapped using the DOCCS signal on a
+  National Semiconductor SCx200 processor.
+
+  If you don't know what to do here, say N.
+
+  If compiled as a module, it will be called scx200_docflash.o.
+
 #
 # A couple of things I keep forgetting:
 #   capitalize: AppleTalk, Ethernet, DOS, DMA, FAT, FTP, Internet,
linux/drivers/mtd/maps/Config.in renamed from linux/drivers/mtd/maps/Config.in.orig +2 -0
@@ -30,6 +30,8 @@
    dep_tristate '  JEDEC Flash device mapped on Mixcom piggyback card' CONFIG_MTD_MIXMEM $CONFIG_MTD_JEDEC
    dep_tristate '  JEDEC Flash device mapped on Octagon 5066 SBC' CONFIG_MTD_OCTAGON $CONFIG_MTD_JEDEC
    dep_tristate '  JEDEC Flash device mapped on Tempustech VMAX SBC301' CONFIG_MTD_VMAX $CONFIG_MTD_JEDEC
+   dep_tristate '  BIOS flash chip on Intel L440GX boards' CONFIG_MTD_L440GX $CONFIG_I386 $CONFIG_MTD_JEDEC
+   dep_tristate '  Flash device mapped with DOCCS on NatSemi SCx200' CONFIG_MTD_SCx200_DOCFLASH $CONFIG_MTD_CFI
    dep_tristate '  BIOS flash chip on Intel L440GX boards' CONFIG_MTD_L440GX $CONFIG_MTD_JEDECPROBE
    dep_tristate ' ROM connected to AMD766 southbridge' CONFIG_MTD_AMD766ROM $CONFIG_MTD_GEN_PROBE   
    dep_tristate ' ROM connected to Intel Hub Controller 2' CONFIG_MTD_ICH2ROM $CONFIG_MTD_JEDECPROBE
linux/drivers/mtd/maps/Makefile renamed from linux/drivers/mtd/maps/Makefile.orig +1 -0
diff -urw ./linux/drivers/mtd/maps/Makefile.orig ./linux/drivers/mtd/maps/Makefile
@@ -38,6 +38,7 @@
 obj-$(CONFIG_MTD_PCI)		+= pci.o
 obj-$(CONFIG_MTD_PB1000)        += pb1xxx-flash.o
 obj-$(CONFIG_MTD_PB1500)        += pb1xxx-flash.o
+obj-$(CONFIG_MTD_SCx200_DOCFLASH)+= scx200_docflash.o
 obj-$(CONFIG_MTD_AUTCPU12)      += autcpu12-nvram.o
 
 include $(TOPDIR)/Rules.make
linux/drivers/mtd/maps/scx200_docflash.c renamed from linux/drivers/mtd/maps/scx200_docflash.c.orig +266 -0

266 lines not on this page · raw message

Signature · 1 line
"Just how much can I get away with and still go to heaven?"