P4080/eLBC: Make Freescale elbc interrupt common to elbc devices
authorRoy Zang <tie-fei.zang@freescale.com>
Mon, 18 Oct 2010 07:22:31 +0000 (15:22 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 25 Oct 2010 14:40:54 +0000 (15:40 +0100)
commit3ab8f2a2e7011c5e83363b42950757e46ef06824
treefba4b482e3a5e789dc884ebcc85a0329180f7ca1
parent1cd844fe43cb6464b34dea504930c1a15e4ad38d
P4080/eLBC: Make Freescale elbc interrupt common to elbc devices

Move Freescale elbc interrupt from nand driver to elbc driver.
Then all elbc devices can use the interrupt instead of ONLY nand.

For former nand driver, it had the two functions:

1. detecting nand flash partitions;
2. registering elbc interrupt.

Now, second function is removed to fsl_lbc.c.

Signed-off-by: Lan Chunhe-B25806 <b25806@freescale.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Reviewed-by: Anton Vorontsov <cbouatmailru@gmail.com>
Cc: Wood Scott-B07421 <B07421@freescale.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/powerpc/Kconfig
arch/powerpc/include/asm/fsl_lbc.h
arch/powerpc/sysdev/fsl_lbc.c
drivers/mtd/nand/Kconfig
drivers/mtd/nand/fsl_elbc_nand.c