{
uint8_t status;
struct jtag_tap *tap;
- str9xpec_flash_controller_t *str9xpec_info = bank->driver_priv;
+ struct str9xpec_flash_controller *str9xpec_info = bank->driver_priv;
tap = str9xpec_info->tap;
{
uint8_t status;
struct jtag_tap *tap;
- str9xpec_flash_controller_t *str9xpec_info = bank->driver_priv;
+ struct str9xpec_flash_controller *str9xpec_info = bank->driver_priv;
tap = str9xpec_info->tap;
uint8_t status;
struct jtag_tap *tap;
- str9xpec_flash_controller_t *str9xpec_info = bank->driver_priv;
+ struct str9xpec_flash_controller *str9xpec_info = bank->driver_priv;
tap = str9xpec_info->tap;
static int str9xpec_build_block_list(struct flash_bank_s *bank)
{
- str9xpec_flash_controller_t *str9xpec_info = bank->driver_priv;
+ struct str9xpec_flash_controller *str9xpec_info = bank->driver_priv;
int i;
int num_sectors;
*/
FLASH_BANK_COMMAND_HANDLER(str9xpec_flash_bank_command)
{
- str9xpec_flash_controller_t *str9xpec_info;
+ struct str9xpec_flash_controller *str9xpec_info;
armv4_5_common_t *armv4_5 = NULL;
arm7_9_common_t *arm7_9 = NULL;
arm_jtag_t *jtag_info = NULL;
return ERROR_FLASH_BANK_INVALID;
}
- str9xpec_info = malloc(sizeof(str9xpec_flash_controller_t));
+ str9xpec_info = malloc(sizeof(struct str9xpec_flash_controller));
bank->driver_priv = str9xpec_info;
/* REVISIT verify that the jtag position of flash controller is
int i;
uint8_t *buffer = NULL;
- str9xpec_flash_controller_t *str9xpec_info = bank->driver_priv;
+ struct str9xpec_flash_controller *str9xpec_info = bank->driver_priv;
tap = str9xpec_info->tap;
uint8_t status;
int i;
- str9xpec_flash_controller_t *str9xpec_info = bank->driver_priv;
+ struct str9xpec_flash_controller *str9xpec_info = bank->driver_priv;
status = str9xpec_read_config(bank);
int i;
uint8_t *buffer = NULL;
- str9xpec_flash_controller_t *str9xpec_info = bank->driver_priv;
+ struct str9xpec_flash_controller *str9xpec_info = bank->driver_priv;
tap = str9xpec_info->tap;
struct scan_field field;
uint8_t status;
struct jtag_tap *tap;
- str9xpec_flash_controller_t *str9xpec_info = NULL;
+ struct str9xpec_flash_controller *str9xpec_info = NULL;
str9xpec_info = bank->driver_priv;
tap = str9xpec_info->tap;
uint8_t status;
int i;
- str9xpec_flash_controller_t *str9xpec_info = bank->driver_priv;
+ struct str9xpec_flash_controller *str9xpec_info = bank->driver_priv;
status = str9xpec_read_config(bank);
{
struct jtag_tap *tap;
struct scan_field field;
- str9xpec_flash_controller_t *str9xpec_info = bank->driver_priv;
+ struct str9xpec_flash_controller *str9xpec_info = bank->driver_priv;
tap = str9xpec_info->tap;
static int str9xpec_write(struct flash_bank_s *bank, uint8_t *buffer, uint32_t offset, uint32_t count)
{
- str9xpec_flash_controller_t *str9xpec_info = bank->driver_priv;
+ struct str9xpec_flash_controller *str9xpec_info = bank->driver_priv;
uint32_t dwords_remaining = (count / 8);
uint32_t bytes_remaining = (count & 0x00000007);
uint32_t bytes_written = 0;
uint8_t *buffer = NULL;
struct jtag_tap *tap;
uint32_t idcode;
- str9xpec_flash_controller_t *str9xpec_info = NULL;
+ struct str9xpec_flash_controller *str9xpec_info = NULL;
if (argc < 1)
return ERROR_COMMAND_SYNTAX_ERROR;
COMMAND_HANDLER(str9xpec_handle_flash_options_read_command)
{
uint8_t status;
- str9xpec_flash_controller_t *str9xpec_info = NULL;
+ struct str9xpec_flash_controller *str9xpec_info = NULL;
if (argc < 1)
{
struct scan_field field;
uint8_t status;
struct jtag_tap *tap;
- str9xpec_flash_controller_t *str9xpec_info = NULL;
+ struct str9xpec_flash_controller *str9xpec_info = NULL;
str9xpec_info = bank->driver_priv;
tap = str9xpec_info->tap;
COMMAND_HANDLER(str9xpec_handle_flash_options_cmap_command)
{
- str9xpec_flash_controller_t *str9xpec_info = NULL;
+ struct str9xpec_flash_controller *str9xpec_info = NULL;
if (argc < 2)
{
COMMAND_HANDLER(str9xpec_handle_flash_options_lvdthd_command)
{
- str9xpec_flash_controller_t *str9xpec_info = NULL;
+ struct str9xpec_flash_controller *str9xpec_info = NULL;
if (argc < 2)
{
COMMAND_HANDLER(str9xpec_handle_flash_options_lvdsel_command)
{
- str9xpec_flash_controller_t *str9xpec_info = NULL;
+ struct str9xpec_flash_controller *str9xpec_info = NULL;
if (argc < 2)
{
COMMAND_HANDLER(str9xpec_handle_flash_options_lvdwarn_command)
{
- str9xpec_flash_controller_t *str9xpec_info = NULL;
+ struct str9xpec_flash_controller *str9xpec_info = NULL;
if (argc < 2)
{
struct jtag_tap *tap0;
struct jtag_tap *tap1;
struct jtag_tap *tap2;
- str9xpec_flash_controller_t *str9xpec_info = NULL;
+ struct str9xpec_flash_controller *str9xpec_info = NULL;
if (argc < 1)
{
COMMAND_HANDLER(str9xpec_handle_flash_disable_turbo_command)
{
struct jtag_tap *tap;
- str9xpec_flash_controller_t *str9xpec_info = NULL;
+ struct str9xpec_flash_controller *str9xpec_info = NULL;
if (argc < 1)
{