summaryrefslogtreecommitdiff
path: root/include/spartan2.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-08 13:03:06 (GMT)
committerWolfgang Denk <wd@denx.de>2010-01-25 23:07:50 (GMT)
commit2903ad33a71251a3a87485b5b185852c8998f209 (patch)
treec730e4dd84904360d08fdfa27c5fe91c0dc31a02 /include/spartan2.h
parent64b150213365db6be97a98d25884f87d83caacaf (diff)
downloadu-boot-fsl-qoriq-2903ad33a71251a3a87485b5b185852c8998f209.tar.xz
jffs2: fix hangs/crashs when not using CONFIG_JFFS2_PART_SIZE
Commit b5b004ad8a0ac6f98bd5708ec8b22fbddd1c1042 caused the sector_size to be calculated incorrectly when the part size was not hardcoded. This is because the new code relied on part->size but tried to do the calculation before it was initialized properly, and it did not take into consideration the magic SIZE_REMAINING define. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/spartan2.h')
0 files changed, 0 insertions, 0 deletions