MIPS: Add onenand_init() to board.c and move nand_init()
authorStefan Roese <sr@denx.de>
Wed, 12 Nov 2008 12:18:19 +0000 (13:18 +0100)
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Wed, 10 Dec 2008 14:28:05 +0000 (23:28 +0900)
commit9d23fc584c4b7b8bb9ecbee48920b1b04b08fa1b
tree35f0d3b0b319611b81f466705b2c946083b44857
parent2145188bea2df8f2b47a87ec3071b55027e8d0ae
MIPS: Add onenand_init() to board.c and move nand_init()

This patch adds a call to onenand_init() for OneNAND support and moves
the nand_init() call to an earlier place, so that the environment can
be used from NAND and OneNAND.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
lib_mips/board.c