]> git.dujemihanovic.xyz Git - u-boot.git/commit
sf: winbond: fix page_size
authorStephen Warren <swarren@nvidia.com>
Mon, 13 Aug 2012 22:46:21 +0000 (16:46 -0600)
committerMike Frysinger <vapier@gentoo.org>
Tue, 14 Aug 2012 15:34:30 +0000 (11:34 -0400)
commitc75942c7b792f420d1bf41e15cb1c00189f26ccd
tree24b2e6ae8cb0fe4940caf6d84f5e19c82804df0a
parentd945ce970414673f895ac2b2449d7b7a9edf58d0
sf: winbond: fix page_size

Commit a4ed3b6 "sf: inline data constants" modified winbond.c's page_size
from 256 to 4096. This prevents either/both of "sf write" writing the
correct data, or "sf read" from reading the correct data back.

This allows U-Boot running on Compulab Tegra to upgrade itself.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/winbond.c