summaryrefslogtreecommitdiff
path: root/common/cmd_jffs2.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-04-25 15:41:35 +0000
committerwdenk <wdenk>2004-04-25 15:41:35 +0000
commitfc1cfcdb12cf03ec7e0f6ff4b8a9ed33139a5d7f (patch)
treefc517655664731899cc22be25db4f7ab4a22ca06 /common/cmd_jffs2.c
parent0b8fa03b6df4130b2c8b215b85f36ab96eaa21f9 (diff)
downloadu-boot-imx-fc1cfcdb12cf03ec7e0f6ff4b8a9ed33139a5d7f.zip
u-boot-imx-fc1cfcdb12cf03ec7e0f6ff4b8a9ed33139a5d7f.tar.gz
u-boot-imx-fc1cfcdb12cf03ec7e0f6ff4b8a9ed33139a5d7f.tar.bz2
* Back out Patch by Christian Hohnstaedt, 23 Apr 2004:
(JFFS2 speed enhancements) because of using non-public data (PHYS_FLASH_SECT_SIZE) * Patch by Travis Sawyer, 23 Apr 2004: Fix VSC/CIS 8201 phy descrambler interoperability timing due to errata from Vitesse Semiconductor.
Diffstat (limited to 'common/cmd_jffs2.c')
-rw-r--r--common/cmd_jffs2.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c
index 11e3cc6..3cf00b8 100644
--- a/common/cmd_jffs2.c
+++ b/common/cmd_jffs2.c
@@ -80,14 +80,8 @@ jffs2_part_info(int part_num)
flash_info[CFG_JFFS2_FIRST_BANK].start[0];
#endif
- /* FIXME: Fast hack to get erase size set */
-
- /* We assume that our JFFS2 partition has
- * all erase blocks with the same size
- * If we have a clue about the erasesize
- * we can skip empty blocks
- */
- part.erasesize = PHYS_FLASH_SECT_SIZE;
+ /* unused in current jffs2 loader */
+ part.erasesize = 0;
/* Mark the struct as ready */
part.usr_priv=(void*)1;