DA850: move NAND/NOR pin lists to the board file
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sun, 1 Aug 2010 17:15:16 +0000 (21:15 +0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 24 Sep 2010 14:40:25 +0000 (07:40 -0700)
commitf48ecc2f73763e9d94d5847692ed25ab0f4fb73c
tree090b6c49e2d8fcb7ee3ec00fca1ba8ee38c6ef1a
parent7173d5493799944d47317d9490365a89ee079f2a
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>
arch/arm/mach-davinci/board-da850-evm.c
arch/arm/mach-davinci/da850.c
arch/arm/mach-davinci/include/mach/da8xx.h