* RE: Support for AMD-compatible non-CFI flashes
@ 2001-02-15 16:59 Jonas Holmberg
2001-02-15 20:02 ` slight error in slram.c Russ Dill
0 siblings, 1 reply; 2+ messages in thread
From: Jonas Holmberg @ 2001-02-15 16:59 UTC (permalink / raw)
To: 'David Woodhouse'; +Cc: mtd
> jonas.holmberg@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@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* slight error in slram.c
2001-02-15 16:59 Support for AMD-compatible non-CFI flashes Jonas Holmberg
@ 2001-02-15 20:02 ` Russ Dill
0 siblings, 0 replies; 2+ messages in thread
From: Russ Dill @ 2001-02-15 20:02 UTC (permalink / raw)
To: mtd
I was looking through slram.c for some example code ($Id: slram.c,v 1.10
2000/07/03 10:01:38 dwmw2 Exp $), and found a slight typo/error in
init_slram
mymtd = kmalloc(sizeof(struct mtd_info), GFP_KERNEL);
memset(mymtd, 0, sizeof(*mymtd));
if (mymtd)
{
memset((char *)mymtd, 0, sizeof(struct mtd_info));
Just a little thing, but hey, it might matter to someone, someday
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-02-15 20:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-15 16:59 Support for AMD-compatible non-CFI flashes Jonas Holmberg
2001-02-15 20:02 ` slight error in slram.c Russ Dill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox