aboutsummaryrefslogtreecommitdiff
path: root/src/flash/faux.c
AgeCommit message (Collapse)AuthorFilesLines
2009-12-02move nor drivers to src/flash/norZachary T Welch1-149/+0
Moves NOR flash drivers to 'src/flash/nor/'. Adds 'src/flash/nor/Makefile.am'. Builds 'libocdflashnor.la'.
2009-11-25improve command handling examplesZachary T Welch1-0/+12
Removes hello and foo commands from top-level registration. Instead, the dummy interface driver and faux flash driver have been augmented to register these commands as sub-commands.
2009-11-24remove flash_driver->register_callbacksZachary T Welch1-6/+0
Replace flash_driver callback with pointer to command_registration. Eliminates all related routines and allows drivers to omit commands.
2009-11-17command_handler: change 'args' to CMD_ARGVZachary T Welch1-2/+2
This patch converts all instances of 'args' in COMMAND_HANDLER routines to use CMD_ARGV macro.
2009-11-17command_handler: change to 'argc' to CMD_ARGCZachary T Welch1-1/+1
This patch converts all instances of 'argc' in COMMAND_HANDLER routines to use CMD_ARGC.
2009-11-13command_context_t -> struct command_contextZachary T Welch1-1/+1
Remove misleading typedef and redundant suffix from struct command_context.
2009-11-13flash_bank_t -> struct flash_bankZachary T Welch1-6/+6
Remove misleading typedef and redundant suffix from struct flash_bank.
2009-11-13target_t -> struct targetZachary T Welch1-1/+1
Remove misleading typedef and redundant suffix from struct target.
2009-11-13flash_driver_t -> struct flash_driverZachary T Welch1-1/+1
Remove misleading typedef and redundant suffix from struct flash_driver.
2009-11-13flash_sector_t -> struct flash_sectorZachary T Welch1-1/+1
Remove misleading typedef and redundant suffix from struct flash_sector.
2009-11-13faux_flash_bank_t -> struct faux_flash_bankZachary T Welch1-6/+6
Remove misleading typedef and redundant suffix from struct faux_flash_bank.
2009-11-13use FLASH_BANK_COMMAND_HANDLER macroZachary T Welch1-1/+1
Defines all flash_bank_command handlers using the new macro.
2009-11-09flash/<various>.c: remove useless declarationsZachary T Welch1-24/+14
Remove useless forward declarations. Moves flash structure definitions to end of files. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-10-20Added the faux flash driver and target. Used for testing.Øyvind Harboe1-0/+153