]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c0d5ece585cc20af578b8fd2e9fb00d1315e9bc
treefba4b482e3a5e789dc884ebcc85a0329180f7ca1
parent81ba2aab5cda3f8d76b0456458e3e8d0f87f0a77
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