u-boot/common
Frans Meulenbroeks 8cd852824d cmd_onenand.c: moved to standard subcommand handling
On the fly also fixed the following things:
- write help talked about a parameter oob, but that one was not used, so
  removed it from the help message.
- the test command also allowed a force subcommand but didn't use it.
  eliminated the code.
- do_onenand made static
- do_onenand contained
	int blocksize;
	...
	mtd = &onenand_mtd;
	this = mtd->priv;
	blocksize = (1 << this->erase_shift);
  As blocksize was not used the last two statements were unneeded so
  removed them.
  The first statement (mtd = ....) assigns to a global. Not sure if it
  is needed, and since I could not test this, left the line for now

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-05-05 23:57:17 +02:00
..
bedbug.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
cmd_ambapp.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bdinfo.c fix cmd_bdinfo.c:354: warning: 'print_eth' defined but not used 2010-03-24 11:08:53 -05:00
cmd_bedbug.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bmp.c cmd_bmp.c: add standard subcommand handling 2010-04-09 23:37:06 +02:00
cmd_boot.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bootldr.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bootm.c Merge branch 'next' 2010-04-01 11:28:32 +02:00
cmd_cache.c Remove superfluous preprocessor tests from some cmd_*.c files. 2009-12-02 23:46:45 +01:00
cmd_console.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
cmd_cplbinfo.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_cramfs.c CRAMFS: support cramfs in RAM 2010-01-18 00:44:13 +01:00
cmd_dataflash_mmc_mux.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_date.c cmd_date: Fix spelling in error message. 2009-12-02 23:28:10 +01:00
cmd_dcr.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_df.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_diag.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_display.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_dtt.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_echo.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
cmd_eeprom.c cmd_eeprom: I2C updates 2010-01-18 00:42:37 +01:00
cmd_elf.c Less verbose output when loading vxworks 6.x images 2009-07-27 00:15:53 +02:00
cmd_exit.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
cmd_ext2.c Fix ext2load return code 2009-07-28 22:38:53 +02:00
cmd_fat.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_fdc.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_fdos.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_fdt.c common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL 2009-12-08 22:14:07 +01:00
cmd_flash.c cmd_flash.c: fix fix compile error for boards with DataFlash 2009-07-19 19:36:14 +02:00
cmd_fpga.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_help.c cmd_help: General cleanup 2009-11-23 00:06:12 +01:00
cmd_i2c.c i2c: made unused function i2c_mux_add_device static 2010-03-29 13:29:12 +02:00
cmd_ide.c common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL 2009-12-08 22:14:07 +01:00
cmd_immap.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_irq.c Move do_irqinfo() to common/cmd_irq.c 2009-12-02 23:23:20 +01:00
cmd_itest.c cmd_itest.c: fix pointer dereferencing 2010-02-24 00:09:45 +01:00
cmd_jffs2.c jffs2: fix hangs/crashs when not using CONFIG_JFFS2_PART_SIZE 2010-01-26 00:07:50 +01:00
cmd_license.c move prototypes for gunzip() and zunzip() to common.h 2009-12-21 21:39:59 +01:00
cmd_load.c Remove deprecated 'autoscr' command/variables 2009-09-22 23:03:24 +02:00
cmd_log.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
cmd_mac.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_mem.c move prototypes for gunzip() and zunzip() to common.h 2009-12-21 21:39:59 +01:00
cmd_mfsl.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_mgdisk.c Remove superfluous preprocessor tests from some cmd_*.c files. 2009-12-02 23:46:45 +01:00
cmd_mii.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_misc.c Move do_irqinfo() to common/cmd_irq.c 2009-12-02 23:23:20 +01:00
cmd_mmc.c cmd_mmc remove \n 2010-03-21 16:44:04 +01:00
cmd_mp.c Add support to disable cpu's in multicore processors 2010-01-26 23:17:49 -06:00
cmd_mtdparts.c mtdparts: get rid of custom DEBUG macro, use debug() 2010-04-28 10:58:10 +02:00
cmd_nand.c cmd_nand: show nand scrub confirmation character 2010-03-23 14:29:10 -05:00
cmd_net.c Remove deprecated 'autoscr' command/variables 2009-09-22 23:03:24 +02:00
cmd_nvedit.c Add 'editenv' command 2009-10-27 20:58:25 +01:00
cmd_onenand.c cmd_onenand.c: moved to standard subcommand handling 2010-05-05 23:57:17 +02:00
cmd_otp.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_pci.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_pcmcia.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_portio.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_reginfo.c ppc4xx: Rework cmd reginfo 2009-10-07 09:15:26 +02:00
cmd_reiser.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_sata.c sata: namespace curr_device variable 2009-07-17 22:15:27 +02:00
cmd_scsi.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_setexpr.c cmd_setexpr: allow memory addresses in expressions 2010-03-21 22:44:43 +01:00
cmd_sf.c sf: add GPL-2 license info 2009-10-24 22:44:18 +02:00
cmd_source.c Remove deprecated 'autoscr' command/variables 2009-09-22 23:03:24 +02:00
cmd_spi.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_spibootldr.c Blackfin: new spibootldr command 2009-06-14 20:01:04 -04:00
cmd_strings.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_terminal.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
cmd_test.c Add 'true' and 'false' commands 2009-11-23 00:06:13 +01:00
cmd_tsi148.c cmd_tsi148: General cleanup 2009-07-23 21:33:02 +02:00
cmd_ubi.c cmd_ubi: Fix uninitialized variable warning 2010-04-09 16:30:29 +02:00
cmd_ubifs.c Command improvements for ubifs 2009-07-09 13:04:25 +02:00
cmd_universe.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_usb.c USB storage count 2010-04-08 21:40:00 +02:00
cmd_version.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
cmd_vfd.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_ximg.c Prepare v2010.03-rc1 2010-03-12 23:06:04 +01:00
cmd_yaffs2.c General help message cleanup 2009-06-12 20:47:16 +02:00
command.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
console.c console.c: fix problem with splashimage 2010-03-21 22:22:53 +01:00
ddr_spd.c fsl-ddr: add the DDR3 SPD infrastructure 2009-03-30 13:33:50 -05:00
dlmalloc.c malloc: sbrk() should return MORECORE_FAILURE instead of NULL on failure 2010-04-10 00:30:27 +02:00
dlmalloc.src * Code cleanup: 2003-06-27 21:31:46 +00:00
env_common.c Conditionally perform common relocation fixups 2009-10-03 10:17:57 +02:00
env_dataflash.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_eeprom.c Prepare v2010.03-rc1 2010-03-12 23:06:04 +01:00
env_embedded.c Revert "env: only build env_embedded and envcrc when needed" 2009-10-27 20:46:31 +01:00
env_flash.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_mgdisk.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_nand.c env_nand.c: print error message and fail gracefully 2010-01-27 14:22:41 -06:00
env_nowhere.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_nvram.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_onenand.c onenand: Fix compile errors due to FlexOneNAND 2010-01-06 16:28:00 -06:00
env_sf.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
exports.c exports: rewrite jump table init 2009-12-02 22:53:51 +01:00
fdt_support.c fdt: Add fdt_del_node_and_alias helper 2010-04-07 00:08:18 -05:00
flash.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
hush.c Conditionally perform common relocation fixups 2009-10-03 10:17:57 +02:00
hwconfig.c Add simple hwconfig infrastructure 2009-07-16 22:23:53 +02:00
image.c mkimage: Add Freescale imx Boot Image support (imximage) 2010-01-25 23:58:29 +01:00
iomux.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
kallsyms.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
kgdb.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
kgdb_stubs.c kgdb: add default generic stubs 2010-01-18 00:23:00 +01:00
lcd.c lcd: make 16bpp work 2010-03-24 11:23:15 +01:00
lynxkdi.c Fix implicit declaration of function 'eth_[gs]etenv_enetaddr' 2009-03-28 20:16:16 +01:00
main.c FIX: watchdog timeout, while waiting for input 2010-04-10 23:31:31 +02:00
Makefile CRAMFS: support cramfs in RAM 2010-01-18 00:44:13 +01:00
memsize.c Sequential accesses to non-existent memory must be synchronized, 2006-11-06 17:06:36 +01:00
miiphyutil.c Cosmetic change - indentation correction. 2010-03-12 00:19:11 +01:00
modem.c make MODEM SUPPORT generic instead of duplicate it 2009-06-12 20:45:47 +02:00
s_record.c Initial revision 2002-08-17 09:36:01 +00:00
serial.c SAMSUNG: serial: modify name from s5pc1xx to s5p 2010-04-30 05:23:23 -05:00
stdio.c arm/microblaze/nios/nios2/sh: Remove relocation fixups 2009-10-03 10:17:57 +02:00
system_map.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
update.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
usb.c USB: usb_control_msg wait for driver ISR to set status. 2010-02-03 22:06:59 +01:00
usb_kbd.c USB Consolidate descriptor definitions 2009-12-20 12:47:37 +01:00
usb_storage.c USB storage probe 2010-04-08 21:40:00 +02:00
xyzModem.c common: fix 'dummy' is used uninitialized in this function warning 2009-07-19 21:37:02 +02:00