summaryrefslogtreecommitdiff
path: root/src/flash
Commit message (Collapse)AuthorAgeFilesLines
...
* pic32mx_flash_bank_t -> struct pic32mx_flash_bankZachary T Welch2009-11-132-10/+10
| | | | Remove misleading typedef and redundant suffix from struct pic32mx_flash_bank.
* orion_nand_controller_t -> struct orion_nand_controllerZachary T Welch2009-11-131-8/+8
| | | | Remove misleading typedef and redundant suffix from struct orion_nand_controller.
* ocl_priv_t -> struct ocl_privZachary T Welch2009-11-131-8/+8
| | | | Remove misleading typedef and redundant suffix from struct ocl_priv.
* nand_info_t -> struct nand_infoZachary T Welch2009-11-132-4/+4
| | | | Remove misleading typedef and redundant suffix from struct nand_info.
* nand_manufacturer_t -> struct nand_manufacturerZachary T Welch2009-11-132-4/+4
| | | | Remove misleading typedef and redundant suffix from struct nand_manufacturer.
* nand_ecclayout_t -> struct nand_ecclayoutZachary T Welch2009-11-132-5/+5
| | | | Remove misleading typedef and redundant suffix from struct nand_ecclayout.
* nand_flash_controller_t -> struct nand_flash_controllerZachary T Welch2009-11-1310-23/+23
| | | | Remove misleading typedef and redundant suffix from struct nand_flash_controller.
* mx3_nf_controller_t -> struct mx3_nf_controllerZachary T Welch2009-11-132-14/+14
| | | | Remove misleading typedef and redundant suffix from struct mx3_nf_controller.
* mflash_bank_t -> struct mflash_bankZachary T Welch2009-11-132-4/+4
| | | | Remove misleading typedef and redundant suffix from struct mflash_bank.
* mg_drv_info_t -> struct mg_drv_infoZachary T Welch2009-11-132-4/+4
| | | | Remove misleading typedef and redundant suffix from struct mg_drv_info.
* mflash_gpio_drv_t -> struct mflash_gpio_drvZachary T Welch2009-11-132-7/+7
| | | | Remove misleading typedef and redundant suffix from struct mflash_gpio_drv.
* mflash_gpio_num_t -> struct mflash_gpio_numZachary T Welch2009-11-132-13/+13
| | | | Remove misleading typedef and redundant suffix from struct mflash_gpio_num.
* lpc3180_nand_controller_t -> struct lpc3180_nand_controllerZachary T Welch2009-11-132-16/+16
| | | | Remove misleading typedef and redundant suffix from struct lpc3180_nand_controller.
* lpc2900_flash_bank_t -> struct lpc2900_flash_bankZachary T Welch2009-11-131-15/+15
| | | | Remove misleading typedef and redundant suffix from struct lpc2900_flash_bank.
* lpc288x_flash_bank_t -> struct lpc288x_flash_bankZachary T Welch2009-11-132-8/+8
| | | | Remove misleading typedef and redundant suffix from struct lpc288x_flash_bank.
* lpc2000_flash_bank_t -> struct lpc2000_flash_bankZachary T Welch2009-11-132-9/+9
| | | | Remove misleading typedef and redundant suffix from struct lpc2000_flash_bank.
* flash_driver_t -> struct flash_driverZachary T Welch2009-11-1321-42/+42
| | | | Remove misleading typedef and redundant suffix from struct flash_driver.
* flash_sector_t -> struct flash_sectorZachary T Welch2009-11-1318-30/+30
| | | | Remove misleading typedef and redundant suffix from struct flash_sector.
* faux_flash_bank_t -> struct faux_flash_bankZachary T Welch2009-11-131-6/+6
| | | | Remove misleading typedef and redundant suffix from struct faux_flash_bank.
* ecosflash_flash_bank_t -> struct ecosflash_flash_bankZachary T Welch2009-11-131-12/+12
| | | | Remove misleading typedef and redundant suffix from struct ecosflash_flash_bank.
* cfi_fixup_t -> struct cfi_fixupZachary T Welch2009-11-132-6/+6
| | | | Remove misleading typedef and redundant suffix from struct cfi_fixup.
* cfi_unlock_addresses_t -> struct cfi_unlock_addressesZachary T Welch2009-11-132-4/+4
| | | | Remove misleading typedef and redundant suffix from struct cfi_unlock_addresses.
* cfi_spansion_pri_ext_t -> struct cfi_spansion_pri_extZachary T Welch2009-11-133-15/+15
| | | | Remove misleading typedef and redundant suffix from struct cfi_spansion_pri_ext.
* cfi_atmel_pri_ext_t -> struct cfi_atmel_pri_extZachary T Welch2009-11-132-3/+3
| | | | Remove misleading typedef and redundant suffix from struct cfi_atmel_pri_ext.
* cfi_intel_pri_ext_t -> struct cfi_intel_pri_extZachary T Welch2009-11-132-6/+6
| | | | Remove misleading typedef and redundant suffix from struct cfi_intel_pri_ext.
* cfi_flash_bank_t -> struct cfi_flash_bankZachary T Welch2009-11-133-40/+40
| | | | Remove misleading typedef and redundant suffix from struct cfi_flash_bank.
* avrf_flash_bank_t -> struct avrf_flash_bankZachary T Welch2009-11-132-6/+6
| | | | Remove misleading typedef and redundant suffix from struct avrf_flash_bank.
* avrf_type_t -> struct avrf_typeZachary T Welch2009-11-132-5/+5
| | | | Remove misleading typedef and redundant suffix from struct avrf_type.
* at91sam7_flash_bank_t -> struct at91sam7_flash_bankZachary T Welch2009-11-132-16/+16
| | | | Remove misleading typedef and redundant suffix from struct at91sam7_flash_bank.
* scan_field_t -> struct scan_fieldZachary T Welch2009-11-131-10/+10
| | | | Remove useless structure typedef.
* jtag_tap_t -> struct jtag_tapZachary T Welch2009-11-133-28/+28
| | | | | Search and destroy the jtag_tap_t typedef. This also cleans up a layering violation, removing the declaration from types.h.
* fileio_t -> struct fileioZachary T Welch2009-11-134-6/+6
| | | | Remove useless structure typedef.
* command_handler_t: make argc unsignedZachary T Welch2009-11-132-8/+3
| | | | | | The number of command arguments will always be 0 or more, so use the right type in handlers. This has a cascading effect up through the layers, but the new COMMAND_HANDLER macros prevented total chaos.
* add CMD_NAME macro for command handlersZachary T Welch2009-11-131-1/+1
| | | | | By introducing the CMD_NAME macro, this parameter may be integrated as args[-1] in command.[ch], without touching any other call sites.
* use CALL_COMMAND_HANDLER instead of direct callsZachary T Welch2009-11-132-2/+4
| | | | | | By using CALL_COMMAND_HANDLER, parameters can be reordered, added, or even removed in inherited signatures, without requiring revisiting all of the various call sites.
* nand: add NAND_DEVICE_COMMAND_HANDLER macroZachary T Welch2009-11-139-23/+14
| | | | | Abstracts the extended NAND command handling to allow the function signature to be controlled by __COMMAND_HANDLER.
* use FLASH_BANK_COMMAND_HANDLER macroZachary T Welch2009-11-1318-26/+18
| | | | Defines all flash_bank_command handlers using the new macro.
* add FLASH_BANK_COMMAND_HANDLER macroZachary T Welch2009-11-131-2/+6
| | | | | | | The FLASH_BANK_COMMAND_HANDLER provides an extended command handler using the __COMMAND_HANDLER macro, whereby changing that macro is sufficient to update flash handlers with the new signature. It also enforces uniform style and scope when implementing this handler.
* s3c24xx: use COMMAND_HANDLER with command helperZachary T Welch2009-11-136-30/+21
| | | | | Add S3C24XX_DEVICE_COMMAND macros to abstract common command handler conventions.
* use COMMAND_HANDLER macro to define all commandsZachary T Welch2009-11-1316-82/+68
|
* nand: rename device to nandZachary T Welch2009-11-1213-440/+440
| | | | | | | 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 obsolete doxygen commentsZachary T Welch2009-11-112-49/+1
| | | | Documenting command handler parameters is redundant and pointless.
* remove more useless declarationsZachary T Welch2009-11-112-42/+16
| | | | | Removes forward declarations by moving command registration after defintion of the command handlers.
* add const keyword to some APIsZachary T Welch2009-11-115-7/+7
| | | | | | Add 'const' keyword to 'char *' parameters to allow command handlers to pass constant string arguments. These changes allow the 'args' command handler to be changed to 'const' in a subsequent patch.
* change argv to args in command handlersZachary T Welch2009-11-112-23/+23
| | | | | | | | | | | Subsequent patches expect all command handlers to use a uniform parameter naming scheme. In the entire tree, these two files used standard 'argv' instead of our non-standard 'args'. This patch opts to reduces the noise required to unify the command handlers, using dominant 'args' form. A future patch may be used to convert us back to the standard argv, but that requires coordination with all developers to minimize disruptions.
* makefiles: improve build orderZachary T Welch2009-11-111-34/+47
| | | | | | | | | | | Separates various groups of files to be built in logical succession. In each layer, the core module (target.c, nand.c, etc.) is built _after_ their helper modules (e.g. image.c, nand_ecc.c) but _before_ any of their drivers (e.g. arm966e.c, mx3_nand.c). This allows problems introduced at the bottom of the stack to result in build failures as soon as possible, as the helpers and core should wrap portions of them.
* {pic32m,stm32}x.c: remove useless declarationsZachary T Welch2009-11-092-98/+73
| | | | | | | | Remove useless forward declarations. Moves command registrations to end of files. Moves flash structure definitions to end of files. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
* str{7,9}x*.c: remove useless forward declarationsZachary T Welch2009-11-093-141/+108
| | | | | | | | Remove useless forward declarations. Moves command registrations to end of files. Moves flash structure definitions to end of files. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
* flash/<various>.c: remove useless declarationsZachary T Welch2009-11-093-75/+42
| | | | | | | Remove useless forward declarations. Moves flash structure definitions to end of files. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
* flash/<assorted>.c: remove useless declarationsZachary T Welch2009-11-095-170/+103
| | | | | | | | Remove useless forward declarations. Moves command registrations to end of files. Moves flash structure definitions to end of files. Signed-off-by: Zachary T Welch <zw@superlucidity.net>