MIPS: board.c: fix init of flash data in bd_info
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Mon, 2 Apr 2012 02:57:54 +0000 (02:57 +0000)
committerMarek Vasut <marex@denx.de>
Mon, 2 Apr 2012 13:54:52 +0000 (15:54 +0200)
commit71919cf15337c62b9ab389875a6a0855f0ed4461
tree079f6666f55350b06824223c03d9fd66bc031127
parentc008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5
MIPS: board.c: fix init of flash data in bd_info

Boards with CONFIG_SYS_NO_FLASH should not forced to define
CONFIG_SYS_FLASH_BASE. In this case the flash data in bd_info
should be initialized with 0 like the other archs do.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
arch/mips/lib/board.c