MIPS: BCM47XX: return error when init of nvram failed
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 26 Dec 2012 19:51:10 +0000 (19:51 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 15 Feb 2013 18:01:56 +0000 (19:01 +0100)
commitcc4403e02541af226ae6b7da0917c8959dd73a75
tree0bdd262f0cfc89a7553556fb6097b5356fc6c9fd
parentee7e2f3c235f43d815c0be285101b5b91a3bcaa5
MIPS: BCM47XX: return error when init of nvram failed

This makes it possible to handle the case of not being able to read the
nvram ram. This could happen when the code searching for the specific
flash chip have not run jet.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: http://patchwork.linux-mips.org/patch/4740/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/bcm47xx/nvram.c