android_kernel_xiaomi_sm8350/drivers/mtd/onenand
Magnus Damm 778dbcc1eb mtd: onenand: make onenand/generic.c more generic
Remove the ARM dependency from the generic "onenand" platform device
driver.  This change makes the driver useful for other architectures as
well.  Needed for the SuperH kfr2r09 board.

Apart from the obvious Kconfig bits, the most important change is the move
away from ARM specific includes and platform data.  Together with this
change the only in-tree board code gets an update, and the driver name is
also changed gracefully break potential out of tree drivers.

The driver is also updated to allow NULL as platform data together with a
few changes to make use of resource_size() and dev_name().

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-09-19 11:07:50 -07:00
..
generic.c mtd: onenand: make onenand/generic.c more generic 2009-09-19 11:07:50 -07:00
Kconfig mtd: onenand: make onenand/generic.c more generic 2009-09-19 11:07:50 -07:00
Makefile
omap2.c mtd: OneNAND: OMAP2/3: free GPMC CS on module removal 2009-08-03 14:22:16 +01:00
onenand_base.c mtd: OneNAND: spelling fixes 2009-09-04 09:30:17 +01:00
onenand_bbt.c mtd: Flex-OneNAND support 2009-06-05 18:59:21 +01:00
onenand_sim.c mtd: Flex-OneNAND support 2009-06-05 18:59:21 +01:00