]> git.karo-electronics.de Git - karo-tx-linux.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)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 29 May 2013 06:56:57 +0000 (09:56 +0300)
commit98231c07c7e5b91988cfc14931ede309c11cf2a0
treec3accabe3a7d9938bf1b4c3fb041843af72cc1e4
parent56b889b4f3256c30a3f9ceec4748dcc70bcff493
mtd: bcm63xxpart: use nvram for PSI size

Read out the SPI size from nvram instead of defaulting to 64K - 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>
drivers/mtd/bcm63xxpart.c