Remove misleading typedef and redundant suffix from struct armv7m_algorithm.
struct mem_param mem_params[2];
struct reg_param reg_params[5];
struct armv4_5_algorithm armv4_5_info; /* for LPC2000 */
- armv7m_algorithm_t armv7m_info; /* for LPC1700 */
+ struct armv7m_algorithm armv7m_info; /* for LPC1700 */
uint32_t status_code;
uint32_t iap_entry_point = 0; /* to make compiler happier */
int retval = ERROR_OK;
#if 0
struct pic32mx_flash_bank *pic32mx_info = bank->driver_priv;
- armv7m_algorithm_t armv7m_info;
+ struct armv7m_algorithm armv7m_info;
uint8_t pic32mx_flash_write_code[] = {
/* write: */
working_area_t *write_algorithm;
uint32_t address = bank->base + offset;
struct reg_param reg_params[3];
- armv7m_algorithm_t armv7m_info;
+ struct armv7m_algorithm armv7m_info;
int retval = ERROR_OK;
LOG_DEBUG("(bank=%p buffer=%p offset=%08" PRIx32 " wcount=%08" PRIx32 "",
working_area_t *source;
uint32_t address = bank->base + offset;
struct reg_param reg_params[4];
- armv7m_algorithm_t armv7m_info;
+ struct armv7m_algorithm armv7m_info;
int retval = ERROR_OK;
uint8_t stm32x_flash_write_code[] = {
int timeout_ms, void *arch_info)
{
struct armv7m_common *armv7m = target_to_armv7m(target);
- armv7m_algorithm_t *armv7m_algorithm_info = arch_info;
+ struct armv7m_algorithm *armv7m_algorithm_info = arch_info;
enum armv7m_mode core_mode = armv7m->core_mode;
int retval = ERROR_OK;
int i;
uint32_t address, uint32_t count, uint32_t* checksum)
{
working_area_t *crc_algorithm;
- armv7m_algorithm_t armv7m_info;
+ struct armv7m_algorithm armv7m_info;
struct reg_param reg_params[2];
int retval;
{
working_area_t *erase_check_algorithm;
struct reg_param reg_params[3];
- armv7m_algorithm_t armv7m_info;
+ struct armv7m_algorithm armv7m_info;
int retval;
uint32_t i;
return target->arch_info;
}
-typedef struct armv7m_algorithm_s
+struct armv7m_algorithm
{
int common_magic;
enum armv7m_mode core_mode;
-} armv7m_algorithm_t;
+};
typedef struct armv7m_core_reg_s
{