summaryrefslogtreecommitdiff
path: root/common/usb_storage.c
diff options
context:
space:
mode:
authorTomasz Figa <tomasz.figa@gmail.com>2008-12-30 18:35:57 +0100
committerWolfgang Denk <wd@denx.de>2009-01-27 22:52:58 +0100
commitb5b004ad8a0ac6f98bd5708ec8b22fbddd1c1042 (patch)
tree8f8fdafc9bb0870cc9b38e21b1460f00a34f5959 /common/usb_storage.c
parentba69dc26a5fd606da49573bb2f15e756a34f3f98 (diff)
downloadu-boot-imx-b5b004ad8a0ac6f98bd5708ec8b22fbddd1c1042.zip
u-boot-imx-b5b004ad8a0ac6f98bd5708ec8b22fbddd1c1042.tar.gz
u-boot-imx-b5b004ad8a0ac6f98bd5708ec8b22fbddd1c1042.tar.bz2
jffs2: Fix zero sector_size when not using CONFIG_JFFS2_CMDLINE
This patch fixes a bug (?) introduced after inclusion of the new JFFS2 code. When not using CONFIG_JFFS2_CMDLINE, the code in cmd_jffs2.c doesn't fill in part->sector_size (keeping it as 0), but a correct value is needed by the code in jffs2_1pass.c. This causes all JFFS2 accesses to be in the same place of the memory, what obviously means impossibility to use the JFFS2 partition. This problem is fixed in this patch by including sector size calculation in non-CONFIG_JFFS2_CMDLINE mtdparts_init variant. Signed-off-by: Tomasz Figa <tomasz.figa_at_gmail.com>
Diffstat (limited to 'common/usb_storage.c')
0 files changed, 0 insertions, 0 deletions