summaryrefslogtreecommitdiff
path: root/src/flash/mx3_nand.c
Commit message (Collapse)AuthorAgeFilesLines
* move nand drivers to src/flash/nand/Zachary T Welch2009-12-021-879/+0
| | | | | | Moves NAND drivers to src/flash/nand/. Adds src/flash/nand/Makefile.am. Builds libocdflashnand.la.
* remove nand_controller->register_callbacksZachary T Welch2009-11-241-6/+0
| | | | | Replace flash_driver callback with pointer to command_registration. Eliminates all related routines and allows drivers to omit commands.
* command_handler: change 'args' to CMD_ARGVZachary T Welch2009-11-171-3/+3
| | | | | This patch converts all instances of 'args' in COMMAND_HANDLER routines to use CMD_ARGV macro.
* command_handler: change to 'argc' to CMD_ARGCZachary T Welch2009-11-171-1/+1
| | | | | This patch converts all instances of 'argc' in COMMAND_HANDLER routines to use CMD_ARGC.
* command_context_t -> struct command_contextZachary T Welch2009-11-131-1/+1
| | | | Remove misleading typedef and redundant suffix from struct command_context.
* nand_device_t -> struct nand_deviceZachary T Welch2009-11-131-19/+19
| | | | Remove misleading typedef and redundant suffix from struct nand_device.
* target_t -> struct targetZachary T Welch2009-11-131-18/+18
| | | | Remove misleading typedef and redundant suffix from struct target.
* nand_flash_controller_t -> struct nand_flash_controllerZachary T Welch2009-11-131-1/+1
| | | | Remove misleading typedef and redundant suffix from struct nand_flash_controller.
* mx3_nf_controller_t -> struct mx3_nf_controllerZachary T Welch2009-11-131-12/+12
| | | | Remove misleading typedef and redundant suffix from struct mx3_nf_controller.
* nand: add NAND_DEVICE_COMMAND_HANDLER macroZachary T Welch2009-11-131-3/+1
| | | | | Abstracts the extended NAND command handling to allow the function signature to be controlled by __COMMAND_HANDLER.
* nand: rename device to nandZachary T Welch2009-11-121-80/+80
| | | | | | | To be more informative (and consistent with flash and pld trees), change 'device' parameter name to 'nand' in NAND source files. This change eliminates confusing 'device->device->' instance from the code, and it simplifies the forthcoming command handler patches.
* remove more useless declarationsZachary T Welch2009-11-111-31/+16
| | | | | Removes forward declarations by moving command registration after defintion of the command handlers.
* printf format warning fixesDavid Brownell2009-10-101-2/+2
| | | | | | Observed on a Cygwin build. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
* Alexei Babich <a.babich@rez.ru> cleanupoharboe2009-09-111-7/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2688 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Alexei Babich <a.babich@rez.ru> imx31 nand flash controller supportoharboe2009-09-101-0/+908
git-svn-id: svn://svn.berlios.de/openocd/trunk@2685 b42882b7-edfa-0310-969c-e2dbd0fdcd60