nios2: fix no flash, add nand and mmc init in board.c
authorThomas Chou <thomas@wytron.com.tw>
Thu, 22 Apr 2010 09:27:16 +0000 (17:27 +0800)
committerScott McNutt <smcnutt@psyent.com>
Sat, 24 Apr 2010 22:21:23 +0000 (18:21 -0400)
commit441cac10d8a9438b144ab0ad46280780b58f638b
tree2bb8efd78770017d61d22184b4e41e4f09e6f837
parentfd2712d0b1d4c1624bef35b784ee64451ee5a017
nios2: fix no flash, add nand and mmc init in board.c

This patch fixes error when CONFIG_SYS_NO_FLASH. And adds
nand flash and mmc initialization, which should go before
env initialization.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
arch/nios2/lib/board.c