OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | flash_driver |
Provides the implementation-independent structure that defines all of the callbacks required by OpenOCD flash drivers. More... | |
Macros | |
#define | __FLASH_BANK_COMMAND(name) COMMAND_HELPER(name, struct flash_bank *bank) |
#define | FLASH_BANK_COMMAND_HANDLER(name) static __FLASH_BANK_COMMAND(name) |
Functions | |
const struct flash_driver * | flash_driver_find_by_name (const char *name) |
Find a NOR flash driver by its name. More... | |
#define __FLASH_BANK_COMMAND | ( | name | ) | COMMAND_HELPER(name, struct flash_bank *bank) |
Definition at line 16 of file nor/driver.h.
#define FLASH_BANK_COMMAND_HANDLER | ( | name | ) | static __FLASH_BANK_COMMAND(name) |
Definition at line 230 of file nor/driver.h.
const struct flash_driver* flash_driver_find_by_name | ( | const char * | name | ) |
Find a NOR flash driver by its name.
name | The name of the requested driver. |
name
, or NULL if not found. Definition at line 161 of file drivers.c.
References flash_drivers, name, and NULL.
Referenced by COMMAND_HANDLER().