]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: bcm63xxpart: use nvram for PSI size
authorJonas Gorski <jogo@openwrt.org>
Sat, 23 Mar 2013 13:07:49 +0000 (14:07 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 17:59:34 +0000 (18:59 +0100)
commitd085eea16c05e5fecf258fc254059e9bc1e6db91
treeef2a1dbfd13d9a94533b9e8a1d794adb8a201a13
parente60665c50f0d94c0f2696b19cad7d281b2bc00cf
mtd: bcm63xxpart: use nvram for PSI size

Read out the SPI size from nvram instead of defaulting to 64KiB — some
vendors actually use values larger than the "max" value of 64.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/bcm63xxpart.c