]> git.karo-electronics.de Git - linux-beck.git/commit
MIPS: BCM47XX: Don't try guessing NVRAM size on MTD partition
authorRafał Miłecki <zajec5@gmail.com>
Wed, 1 Apr 2015 06:23:05 +0000 (08:23 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 2 Apr 2015 11:54:20 +0000 (13:54 +0200)
commit40d12172c8a5c2f3fc39642fc564b053575cd000
tree0f9dfe065a31b8e788118f1733dbfb0ad10d7ea9
parent6ab7c29099390b3d23c97f14498fd26a5ef6b22b
MIPS: BCM47XX: Don't try guessing NVRAM size on MTD partition

When dealing with whole flash content (bcm47xx_nvram_init_from_mem) we
need to find NVRAM start trying various partition sizes (nvram_sizes).
This is not needed when using MTD as we have direct partition access.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: https://patchwork.linux-mips.org/patch/9652/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/nvram.c