Support for AMD-compatible non-CFI flashes
Jonas Holmberg
jonas.holmberg at axis.com
Thu Feb 15 11:59:53 EST 2001
> jonas.holmberg at axis.com said:
> > Here's my MTD-driver for AMD-compatible non-CFI flashes. It only
> > supports one 16-bit flash yet. Is it something you want to
> include in
> > mtd/kernel?
>
> ooooh - yes please.
>
> --
> dwmw2
Besides kernel/amd_flash.c, is this OK to commit?
/Jonas
--- kernel/Config.in 2001/01/05 23:28:41 1.49
+++ kernel/Config.in 2001/02/15 16:54:28
@@ -65,6 +65,7 @@
fi
dep_tristate ' CFI support for Intel/Sharp Extended Commands' CONFIG_MTD_CFI_INTELEXT $CONFIG_MTD_CFI
dep_tristate ' CFI support for AMD/Fujitsu Standard Commands' CONFIG_MTD_CFI_AMDSTD $CONFIG_MTD_CFI
+ dep_tristate ' AMD compatible flash chip support (non-CFI)' CONFIG_MTD_AMDSTD $CONFIG_MTD
dep_tristate ' pre-CFI Sharp chip support' CONFIG_MTD_SHARP $CONFIG_MTD
dep_tristate ' CFI Flash device in physical memory map' CONFIG_MTD_PHYSMAP $CONFIG_MTD_CFI
if [ "$CONFIG_MTD_PHYSMAP" = "y" -o "$CONFIG_MTD_PHYSMAP" = "m" ]; then
Index: kernel/Makefile
===================================================================
RCS file: /home/cvs/mtd/kernel/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- kernel/Makefile 2001/01/05 23:26:26 1.43
+++ kernel/Makefile 2001/02/15 16:54:28
@@ -94,6 +94,7 @@
obj-$(CONFIG_MTD_CFI) += cfi_probe.o
obj-$(CONFIG_MTD_NAND_SPIA) += spia.o mtdpart.o
obj-$(CONFIG_MTD_SHARP) += sharp.o
+obj-$(CONFIG_MTD_AMDSTD) += amd_flash.o
# Chip mappings
obj-$(CONFIG_MTD_PHYSMAP) += physmap.o
cvs server: Diffing kernel/ffs2
cvs server: Diffing obsolete
cvs server: Diffing patches
Index: patches/Configure.help
===================================================================
RCS file: /home/cvs/mtd/patches/Configure.help,v
retrieving revision 1.4
diff -u -r1.4 Configure.help
--- patches/Configure.help 2000/11/02 17:46:36 1.4
+++ patches/Configure.help 2001/02/15 16:54:33
@@ -104,6 +104,11 @@
provides support for one of those command sets, used on Intel
StrataFlash and other parts.
+AMD compatible flash chip support (non-CFI)
+CONFIG_MTD_AMDSTD
+ This provides support for AMD compatible non-CFI flash chips.
+ It also works on AMD compatible chips that do conform to CFI.
+
Flash chip mapping in physical memory
CONFIG_MTD_PHYSMAP
This provides a 'mapping' driver which allows the CFI probe and
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list