From: Rafał Miłecki Date: Mon, 18 Aug 2014 18:20:27 +0000 (+0200) Subject: mtd: bcm47xxpart: find NVRAM partitions in middle blocks X-Git-Tag: fixes-against-v3.18-rc2~54^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=024629fdca1bbb44a25d40c2362a878a7a67ce3b;p=pandora-kernel.git mtd: bcm47xxpart: find NVRAM partitions in middle blocks Old devices used to have NVRAM at the very end of flash and they could be unaligned (starting at some offset in a block). In new devices NVRAM can be located quite randomly, however it seems to always start at the beginning of a block. For example Netgear R6250 has NVRAM located right after the bootloader, before the kernel partition. Signed-off-by: Rafał Miłecki Signed-off-by: Brian Norris --- Reading git-diff-tree failed