mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 09:34:12 +08:00
1d6432fe10
This is a conversion of the AT91rm9200 DataFlash MTD driver to use the lightweight SPI framework, and no longer be AT91-specific. It compiles down to less than 3KBytes on ARM. The driver allows board-specific init code to provide platform_data with the relevant MTD partitioning information, and hotplugs. This version has been lightly tested. Its parent at91_dataflash driver has been pretty well banged on, although kernel.org JFFS2 dataflash support was acting broken the last time I tried it. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
27 lines
937 B
Makefile
27 lines
937 B
Makefile
#
|
|
# linux/drivers/devices/Makefile
|
|
#
|
|
# $Id: Makefile.common,v 1.7 2004/12/22 17:51:15 joern Exp $
|
|
|
|
# *** BIG UGLY NOTE ***
|
|
#
|
|
# The removal of get_module_symbol() and replacement with
|
|
# inter_module_register() et al has introduced a link order dependency
|
|
# here where previously there was none. We now have to ensure that
|
|
# doc200[01].o are linked before docprobe.o
|
|
|
|
obj-$(CONFIG_MTD_DOC2000) += doc2000.o
|
|
obj-$(CONFIG_MTD_DOC2001) += doc2001.o
|
|
obj-$(CONFIG_MTD_DOC2001PLUS) += doc2001plus.o
|
|
obj-$(CONFIG_MTD_DOCPROBE) += docprobe.o
|
|
obj-$(CONFIG_MTD_DOCECC) += docecc.o
|
|
obj-$(CONFIG_MTD_SLRAM) += slram.o
|
|
obj-$(CONFIG_MTD_PHRAM) += phram.o
|
|
obj-$(CONFIG_MTD_PMC551) += pmc551.o
|
|
obj-$(CONFIG_MTD_MS02NV) += ms02-nv.o
|
|
obj-$(CONFIG_MTD_MTDRAM) += mtdram.o
|
|
obj-$(CONFIG_MTD_LART) += lart.o
|
|
obj-$(CONFIG_MTD_BLKMTD) += blkmtd.o
|
|
obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o
|
|
obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
|