u-boot-brain/common
Tomasz Figa b5b004ad8a 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>
2009-01-27 22:52:58 +01:00
..
bedbug.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
circbuf.c Add support for Siemens SX1 mobile phone; 2004-03-12 00:14:09 +00:00
cmd_ambapp.c Coding Style cleanup; update CHANGELOG 2008-04-13 09:59:26 -07:00
cmd_autoscript.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_bdinfo.c Blackfin: use common strmhz() in system output 2009-01-23 22:59:16 +01:00
cmd_bedbug.c Consolidate MAX/MIN definitions 2008-11-02 16:23:46 +01:00
cmd_bmp.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_boot.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_bootldr.c Blackfin: move bootldr command to common code 2008-03-15 22:13:58 -04:00
cmd_bootm.c Fix gunzip in case of insufficient output buffer 2009-01-27 20:59:09 +01:00
cmd_cache.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_console.c devices: merge to list_head 2008-08-31 04:24:55 +02:00
cmd_cplbinfo.c Blackfin: new cplbinfo command for viewing cplb tables 2008-03-15 22:14:54 -04:00
cmd_date.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_dcr.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
cmd_df.c SPI API improvements 2008-06-03 20:28:50 +02:00
cmd_diag.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_display.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_doc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_dtt.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_eeprom.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_elf.c cmd_elf.c: Cleanup bootvx and handle new CONFIG_SYS_VXWORKS parameters 2008-12-07 00:18:53 +01:00
cmd_ext2.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_fat.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_fdc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_fdos.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_fdt.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_flash.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_fpga.c Code cleanup: fix old style assignment ambiguities like "=-" etc. 2008-07-14 15:19:07 +02:00
cmd_i2c.c Coding Style cleanup, update CHANGELOG 2008-11-02 16:14:22 +01:00
cmd_ide.c common/cmd_ide.c: Corrected endian order printing for compact flash serial number. 2008-12-07 01:24:53 +01:00
cmd_immap.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_irq.c Add command to enable/disable interrupts 2008-08-21 00:53:02 +02:00
cmd_itest.c move cmd_get_data_size to command.c 2008-09-10 22:48:05 +02:00
cmd_jffs2.c jffs2: Fix zero sector_size when not using CONFIG_JFFS2_CMDLINE 2009-01-27 22:52:58 +01:00
cmd_license.c Add 'license' command to U-Boot command line 2008-08-18 23:21:49 +02:00
cmd_load.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_log.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_mac.c cmd_mac: Move conditional compilation to Makefile 2008-09-10 21:09:37 +02:00
cmd_mem.c common: Iteration limit for memory test. 2009-01-24 01:42:05 +01:00
cmd_mfsl.c Fix merge problems 2008-08-06 14:05:38 +02:00
cmd_mii.c Add CONFIG_MII_INIT support to related boards 2008-04-13 23:03:02 -07:00
cmd_misc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_mmc.c [BUILD] conditionally compile common/cmd_*.c in common/Makefile 2007-11-20 22:33:54 -07:00
cmd_mp.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_nand.c nand: fixup printf modifiers to match types used 2009-01-23 10:32:52 -06:00
cmd_net.c net: Fix download command parsing 2008-12-04 22:51:54 -08:00
cmd_nvedit.c saveenv: standardize enablement 2009-01-27 22:30:42 +01:00
cmd_onenand.c OneNAND: Bad block aware read/write command support 2009-01-23 10:32:47 -06:00
cmd_otp.c interface to Blackfin on-chip One-Time-Programmable memory 2008-02-04 19:26:57 -05:00
cmd_pci.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_pcmcia.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_portio.c move cmd_get_data_size to command.c 2008-09-10 22:48:05 +02:00
cmd_reginfo.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_reiser.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_sata.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_scsi.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_setexpr.c Add setexpr command 2008-03-25 22:16:15 +01:00
cmd_sf.c SPI Flash: Add "sf" command 2008-06-03 20:32:25 +02:00
cmd_spi.c cmd_spi: remove broken signed casting for display 2008-10-14 14:19:34 +02:00
cmd_strings.c strings: use puts() rather than printf() 2008-12-07 01:17:19 +01:00
cmd_terminal.c devices: merge to list_head 2008-08-31 04:24:55 +02:00
cmd_ubi.c Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00
cmd_universe.c [BUILD] conditionally compile common/cmd_*.c in common/Makefile 2007-11-20 22:33:54 -07:00
cmd_usb.c Remove obsolete command (apply afte USB style patch, 80 chars strict) 2008-11-28 21:24:13 +01:00
cmd_vfd.c cmd_vfd: Move conditional compilation to Makefile 2008-09-10 21:09:37 +02:00
cmd_ximg.c Memory footprint optimizations 2008-04-24 17:21:55 +02:00
cmd_yaffs2.c Minor coding style cleanup, updte CHANGELOG 2008-08-25 23:45:41 +02:00
command.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
console.c IOMUX: Add console multiplexing support. 2008-12-07 01:23:35 +01:00
ddr_spd.c Add proper SPD definitions for DDR1/2/3 2008-08-27 02:05:53 +02:00
devices.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
dlmalloc.c Fix merge problems 2008-08-06 14:05:38 +02:00
dlmalloc.src * Code cleanup: 2003-06-27 21:31:46 +00:00
docecc.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
env_common.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
env_dataflash.c rename CFG_ENV macros to CONFIG_ENV 2008-09-10 22:48:06 +02:00
env_eeprom.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
env_embedded.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
env_flash.c rename CFG_ENV macros to CONFIG_ENV 2008-09-10 22:48:06 +02:00
env_nand.c rename CFG_ENV macros to CONFIG_ENV 2008-09-10 22:48:06 +02:00
env_nowhere.c env_nowhere: Move conditional compilation to Makefile 2008-09-10 22:48:01 +02:00
env_nvram.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
env_onenand.c OneNAND: Add missing mtd info struct before calling onenand_erase() 2008-12-02 13:48:15 -06:00
env_sf.c env_sf: support embedded environments 2008-12-16 00:47:10 +01:00
exports.c Add functions to list of exported functions 2007-08-06 00:45:40 +02:00
fdt_support.c fdt_resize(): fix actualsize calculations with unaligned blobs 2009-01-17 13:03:29 -05:00
flash.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
hush.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
image.c Fix FIT and FDT support to have CONFIG_OF_LIBFDT and CONFIG_FIT independent 2008-12-13 23:31:49 +01:00
iomux.c IOMUX: Add console multiplexing support. 2008-12-07 01:23:35 +01:00
kgdb.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
lcd.c lcd: Let the board code show board-specific info cleanup 2008-12-07 00:08:33 +01:00
lynxkdi.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
main.c common/main: support bootdelay=0 for CONFIG_AUTOBOOT_KEYED 2009-01-24 01:24:15 +01:00
Makefile IOMUX: Add console multiplexing support. 2008-12-07 01:23:35 +01:00
memsize.c Sequential accesses to non-existent memory must be synchronized, 2006-11-06 17:06:36 +01:00
miiphyutil.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
s_record.c Initial revision 2002-08-17 09:36:01 +00:00
serial.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
update.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
usb_kbd.c usb_kbd: fix usb_kbd_deregister when DEVICE_DEREGISTER not enable 2008-12-20 11:03:01 +01:00
usb_storage.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
usb.c USB style patch, 80 chars strict 2008-11-28 21:24:12 +01:00
xyzModem.c Coding Style cleanup. 2006-08-31 16:46:53 +02:00