]> git.baikalelectronics.ru Git - kernel.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)
commit1c703cc8d61ba1c5d57f0d0d9a2ab1ccfa80085e
treeef2a1dbfd13d9a94533b9e8a1d794adb8a201a13
parentb5e65e693b38985cfbfd67926e3c4459f6c2c16b
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