armv4_5_common_t -> struct arm
Remove misleading typedef and just use struct arm.
This commit is contained in:
@@ -43,7 +43,7 @@ int arm_nandwrite(struct arm_nand_data *nand, uint8_t *data, int size)
|
||||
{
|
||||
target_t *target = nand->target;
|
||||
struct armv4_5_algorithm algo;
|
||||
armv4_5_common_t *armv4_5 = target->arch_info;
|
||||
struct arm *armv4_5 = target->arch_info;
|
||||
struct reg_param reg_params[3];
|
||||
uint32_t target_buf;
|
||||
uint32_t exit = 0;
|
||||
|
||||
@@ -47,7 +47,7 @@ static int ocl_protect_check(struct flash_bank_s *bank)
|
||||
FLASH_BANK_COMMAND_HANDLER(ocl_flash_bank_command)
|
||||
{
|
||||
int retval;
|
||||
armv4_5_common_t *armv4_5;
|
||||
struct arm *armv4_5;
|
||||
struct arm7_9_common *arm7_9;
|
||||
struct ocl_priv *ocl;
|
||||
|
||||
|
||||
@@ -238,7 +238,7 @@ static int str9xpec_build_block_list(struct flash_bank_s *bank)
|
||||
FLASH_BANK_COMMAND_HANDLER(str9xpec_flash_bank_command)
|
||||
{
|
||||
struct str9xpec_flash_controller *str9xpec_info;
|
||||
armv4_5_common_t *armv4_5 = NULL;
|
||||
struct arm *armv4_5 = NULL;
|
||||
struct arm7_9_common *arm7_9 = NULL;
|
||||
struct arm_jtag *jtag_info = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user