cfi_util dependency

Thayne Harbaugh tharbaugh at lnxi.com
Wed Sep 24 16:45:37 EDT 2003


There is now an unnecessary cfi_util dependency.  It seems that
cfi_probe is needed to build cfi_util (CONFIG_MTD_CFI turns on both
cfi_probe and cfi_util).  This causes a problem for using
cfi_cmdset_0001, 0002 and 0020.  Any of the cfi_cmdset_* drivers can be
used without cfi_probe if the jedec_probe path is used.


It seems to me that cfi_util should be a unique config value
(CONFIG_MTD_CFI_UTIL) that is turned on when either CONFIG_MTD_CFI or
CONFIG_MTD_JEDECPROBE is enabled.

Another thing, cfi_read_pri() and cfi_fixup() need EXPORT_SYMBOL().

If someone wants to fix this, thanks; else I'll fix it soon enough.


-- 
Thayne Harbaugh
Linux Networx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20030924/60a97edb/attachment.bin 


More information about the linux-mtd mailing list