DA850: move NAND/NOR pin lists to the board file
The NAND/NOR flash pin lists (da850_nand_pins/da850_nor_pins) are purely board specific and as such shouldn't be in da850.c -- copy them to board-da850-evm.c, renaming to da850_evm_nand_pins/da850_evm_nor_pins respectively, and merge the two lists in da850.c into one, representing the EMIF 2.5 module as a whole, just like we have it in da830.c... While at it, remove the '__init' modifier from da850_evm_setup_nor_nand() as this function is called from non '__init' code... Signed-off-by:Sergei Shtylyov <sshtylyov@ru.mvista.com> Tested-by:
Ben Gardiner <bengardiner@nanometrics.ca> Signed-off-by:
Kevin Hilman <khilman@deeprootsystems.com>
Showing
- arch/arm/mach-davinci/board-da850-evm.c 27 additions, 3 deletionsarch/arm/mach-davinci/board-da850-evm.c
- arch/arm/mach-davinci/da850.c 12 additions, 20 deletionsarch/arm/mach-davinci/da850.c
- arch/arm/mach-davinci/include/mach/da8xx.h 1 addition, 2 deletionsarch/arm/mach-davinci/include/mach/da8xx.h
Loading
Please register or sign in to comment