MIPS: bcm47xx: separate functions finding flash window addr
authorRafał Miłecki <zajec5@gmail.com>
Wed, 26 Dec 2012 08:29:17 +0000 (08:29 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 15 Feb 2013 18:01:56 +0000 (19:01 +0100)
commitbb76563214ec371a461ca5038904a5b93dbd6b46
tree2c80ab935a8a30fa8014caaa03125425cd189499
parent836dc9e3fbbab0c30aa6e664417225f5c1fb1c39
MIPS: bcm47xx: separate functions finding flash window addr

Also check if parallel flash is present at all before accessing it and
add support for serial flash on BCMA bus.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: http://patchwork.linux-mips.org/patch/4738/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/bcm47xx/nvram.c