aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_jffs2.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-06-10 21:34:36 +0000
committerwdenk <wdenk>2004-06-10 21:34:36 +0000
commitb54d32b40d95d399dd1f53f24c93b0cf5c42460d (patch)
treedba569eef315497f378c460e0e72ce98df053dd1 /common/cmd_jffs2.c
parent681334540d109558fe7c382faf9c705439c2dfa3 (diff)
* Patch by Robert Schwebel, 10 Jun 2004:
Add support for Intel K3 strata flash. * Some cleanup * Patch by Thomas Brand, 10 Jun 2004: Fix "loads" command on DK1S10 board
Diffstat (limited to 'common/cmd_jffs2.c')
-rw-r--r--common/cmd_jffs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c
index 207c211e8..27e727305 100644
--- a/common/cmd_jffs2.c
+++ b/common/cmd_jffs2.c
@@ -103,7 +103,7 @@ jffs2_part_info(int part_num)
memset(&part, 0, sizeof(part));
- part.offset = CONFIG_JFFS2_NAND_OFF;
+ part.offset = (char *)CONFIG_JFFS2_NAND_OFF;
part.size = CONFIG_JFFS2_NAND_SIZE; /* the bigger size the slower jffs2 */
#ifndef CONFIG_JFFS2_NAND_DEV