From b54d32b40d95d399dd1f53f24c93b0cf5c42460d Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 10 Jun 2004 21:34:36 +0000 Subject: * 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 --- common/cmd_jffs2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/cmd_jffs2.c') 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 -- cgit v1.2.3