Subject: ARM: OMAP3: Remove jffs2_1pass.c changes From: Dirk Behme U-Boot tar ball from TI contains some jffs2_1pass.c changes. These look broken ("ONFIG_CMD_FLASH") and nobody seems to remember what these are good for. Remove them. If anybody needs this, please send clean patch with proper description. Signed-off-by: Dirk Behme --- fs/jffs2/jffs2_1pass.c | 6 ------ 1 files changed, 6 deletions(-) Index: u-boot_steve/fs/jffs2/jffs2_1pass.c =================================================================== --- u-boot_steve.orig/fs/jffs2/jffs2_1pass.c +++ u-boot_steve/fs/jffs2/jffs2_1pass.c @@ -304,10 +304,7 @@ static inline void *get_node_mem_nor(u32 */ static inline void *get_fl_mem(u32 off, u32 size, void *ext_buf) { -#if (defined(CONFIG_JFFS2_NAND) && defined(CONFIG_CMD_NAND)) || \ - defined(ONFIG_CMD_FLASH) struct mtdids *id = current_part->dev->id; -#endif #if defined(CONFIG_CMD_FLASH) if (id->type == MTD_DEV_TYPE_NOR) @@ -325,10 +322,7 @@ static inline void *get_fl_mem(u32 off, static inline void *get_node_mem(u32 off) { -#if (defined(CONFIG_JFFS2_NAND) && defined(CONFIG_CMD_NAND)) || \ - defined(ONFIG_CMD_FLASH) struct mtdids *id = current_part->dev->id; -#endif #if defined(CONFIG_CMD_FLASH) if (id->type == MTD_DEV_TYPE_NOR)