summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* ETM: simplify ETM initialization code pathsDavid Brownell2009-11-133-18/+14
| | | | | | | | | Return NULL from etm_build_reg_cache() not ERROR_OK; and share code on that fault path. Let ETM code handle any tracking of its cache -- not callers. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
* ARM11: switch to new "arm" base typeDavid Brownell2009-11-133-35/+39
| | | | | | | | | | This will enable reusing many common ARM utilities, in particular the ETM and ETB support. The ARM11 support can still be much simplified after this patch, though. Note: none of those common utilities kick in yet... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
* target: remove unused "bitfield" infrastructureDavid Brownell2009-11-139-73/+78
| | | | | | | | | | | | | | We have too many different registers, and too many version and context dependent interpretations, for this type of bitfield management to be scalable. (Anyone who really wants bitfield interpretation *can* do that in Tcl code...) There are ... quite a few copies of the same ARM dummy registers. There should eventually be one copy; this many is craziness. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
* target.cfg: label ETBs correctlyDavid Brownell2009-11-135-28/+26
| | | | | | | | | | | | | | | | | | Various cores with an ETB have its TAP misnamed ... either as a boundary scan TAP or as the iMX "Secure JTAG Controller" (which is, among other things, a JRC that could be used to shorten scan chains). Use the correct name for these TAPs, which we can recognize since their IDs were assigned by ARM and these chips all document the presence of an ETB. The 0x2b900f0f is ETB11; the 0x1b900f0f is an older module, just called "ETB". Also shrink the ETB's IR configuration; the default IR-Capture value is fine, and the mask can specify that all four bits are safe to check (per ARM documentation). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
* ARM7/9: rm arm7_9_get_arch_pointers()David Brownell2009-11-133-68/+32
| | | | | | | | | | Remove the last external user of arm7_9_get_arch_pointers(), and that annoying downcast utility. Add an is_arm7_9() predicate. Stop returning specious success codes on various failure paths in the ARM7/ARM9 commands which used that downcast utility. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
* update developer manual for new typesZachary T Welch2009-11-132-5/+6
| | | | | Update the style guide and chase obvious references to structures that have been renamed.
* command_t -> struct commandZachary T Welch2009-11-1344-72/+72
| | | | Remove misleading typedef and redundant suffix from struct command.
* command_context_t -> struct command_contextZachary T Welch2009-11-13116-278/+278
| | | | Remove misleading typedef and redundant suffix from struct command_context.
* remove rlink structure typedefsZachary T Welch2009-11-133-19/+17
| | | | Remove useless typedefs from the rlink driver. Improve whitespace.
* flash_bank_t -> struct flash_bankZachary T Welch2009-11-1324-373/+373
| | | | Remove misleading typedef and redundant suffix from struct flash_bank.
* nand_device_t -> struct nand_deviceZachary T Welch2009-11-1314-140/+140
| | | | Remove misleading typedef and redundant suffix from struct nand_device.
* target_t -> struct targetZachary T Welch2009-11-1399-1242/+1240
| | | | Remove misleading typedef and redundant suffix from struct target.
* reg_t -> struct regZachary T Welch2009-11-1328-158/+158
| | | | Remove misleading typedef and redundant suffix from struct reg.
* target_type_t -> struct target_typeZachary T Welch2009-11-1318-42/+39
| | | | Remove misleading typedef and redundant suffix from struct target_type.
* improve mips32_pracc_contextZachary T Welch2009-11-131-5/+6
| | | | Use struct mips32_pracc_context instead of a typedef.
* image_t -> struct imageZachary T Welch2009-11-1313-50/+50
| | | | | | | Remove misleading typedef and redundant suffix from struct image. Also removes the typedef from enum image_type, as it is used in image.h only.
* armv4_5_common_t -> struct armZachary T Welch2009-11-1314-50/+50
| | | | Remove misleading typedef and just use struct arm.
* etm_context_t -> struct etm_contextZachary T Welch2009-11-138-47/+47
| | | | Remove misleading typedef and redundant suffix from struct etm_context.
* etb_t -> struct etbZachary T Welch2009-11-133-15/+15
| | | | Remove misleading typedef and redundant suffix from struct etb.
* trace_t -> struct traceZachary T Welch2009-11-134-8/+8
| | | | Remove misleading typedef and redundant suffix from struct trace.
* image_elf_t -> struct image_elfZachary T Welch2009-11-132-7/+7
| | | | Remove misleading typedef and redundant suffix from struct image_elf.
* cortex_m3_dwt_comparator_t -> struct cortex_m3_dwt_comparatorZachary T Welch2009-11-132-8/+8
| | | | Remove misleading typedef and redundant suffix from struct cortex_m3_dwt_comparator.
* cortex_m3_fp_comparator_t -> struct cortex_m3_fp_comparatorZachary T Welch2009-11-132-7/+7
| | | | Remove misleading typedef and redundant suffix from struct cortex_m3_fp_comparator.
* cortex_a8_wrp_t -> struct cortex_a8_wrpZachary T Welch2009-11-132-4/+4
| | | | Remove misleading typedef and redundant suffix from struct cortex_a8_wrp.
* cortex_a8_brp_t -> struct cortex_a8_brpZachary T Welch2009-11-132-6/+6
| | | | Remove misleading typedef and redundant suffix from struct cortex_a8_brp.
* breakpoint_t -> struct breakpointZachary T Welch2009-11-1313-76/+76
| | | | Remove misleading typedef and redundant suffix from struct breakpoint.
* xscale_trace_t -> struct xscale_traceZachary T Welch2009-11-131-3/+3
| | | | Remove misleading typedef and redundant suffix from struct xscale_trace.
* xscale_trace_entry_t -> struct xscale_trace_entryZachary T Welch2009-11-132-4/+4
| | | | Remove misleading typedef and redundant suffix from struct xscale_trace_entry.
* target_event_action_t -> struct target_event_actionZachary T Welch2009-11-132-9/+6
| | | | Remove misleading typedef and redundant suffix from struct target_event_action.
* arm_instruction_t -> struct arm_instructionZachary T Welch2009-11-138-73/+73
| | | | Remove misleading typedef and redundant suffix from struct arm_instruction.
* arm9tdmi_vector_t -> struct arm9tdmi_vectorZachary T Welch2009-11-132-4/+4
| | | | | | Remove misleading typedef and redundant suffix from struct arm9tdmi_vector. Renames enum arm9tdmi_vector as enum arm9tdmi_vector_bit.
* xscale_reg_t -> struct xscale_regZachary T Welch2009-11-132-8/+8
| | | | Remove misleading typedef and redundant suffix from struct xscale_reg.
* xscale_common_t -> struct xscale_commonZachary T Welch2009-11-132-56/+56
| | | | Remove misleading typedef and redundant suffix from struct xscale_common.
* xscale_trace_data_t -> struct xscale_trace_dataZachary T Welch2009-11-132-10/+10
| | | | Remove misleading typedef and redundant suffix from struct xscale_trace_data.
* trace_point_t -> struct trace_pointZachary T Welch2009-11-132-4/+4
| | | | Remove misleading typedef and redundant suffix from struct trace_point.
* debug_msg_receiver_t -> struct debug_msg_receiverZachary T Welch2009-11-133-13/+13
| | | | Remove misleading typedef and redundant suffix from struct debug_msg_receiver.
* target_timer_callback_t -> struct target_timer_callbackZachary T Welch2009-11-132-14/+14
| | | | Remove misleading typedef and redundant suffix from struct target_timer_callback.
* target_event_callback_t -> struct target_event_callbackZachary T Welch2009-11-132-12/+12
| | | | Remove misleading typedef and redundant suffix from struct target_event_callback.
* working_area_t -> struct working_areaZachary T Welch2009-11-1323-44/+44
| | | | Remove misleading typedef and redundant suffix from struct working_area.
* reg_arch_type_t -> struct reg_arch_typeZachary T Welch2009-11-134-13/+13
| | | | Remove misleading typedef and redundant suffix from struct reg_arch_type.
* reg_cache_t -> struct reg_cacheZachary T Welch2009-11-1327-57/+57
| | | | Remove misleading typedef and redundant suffix from struct reg_cache.
* bitfield_desc_t -> struct bitfield_descZachary T Welch2009-11-133-5/+5
| | | | Remove misleading typedef and redundant suffix from struct bitfield_desc.
* oocd_trace_t -> struct oocd_traceZachary T Welch2009-11-132-15/+15
| | | | Remove misleading typedef and redundant suffix from struct oocd_trace.
* mips_m4k_common_t -> struct mips_m4k_commonZachary T Welch2009-11-132-4/+4
| | | | Remove misleading typedef and redundant suffix from struct mips_m4k_common.
* mips_ejtag_t -> struct mips_ejtagZachary T Welch2009-11-1310-89/+89
| | | | Remove misleading typedef and redundant suffix from struct mips_ejtag.
* mips32_core_reg_t -> struct mips32_core_regZachary T Welch2009-11-132-8/+8
| | | | Remove misleading typedef and redundant suffix from struct mips32_core_reg.
* mips32_common_t -> struct mips32_commonZachary T Welch2009-11-135-38/+38
| | | | Remove misleading typedef and redundant suffix from struct mips32_common.
* mips32_comparator_t -> struct mips32_comparatorZachary T Welch2009-11-133-10/+10
| | | | Remove misleading typedef and redundant suffix from struct mips32_comparator.
* image_mot_t -> struct image_motZachary T Welch2009-11-132-6/+6
| | | | Remove misleading typedef and redundant suffix from struct image_mot.
* image_memory_t -> struct image_memoryZachary T Welch2009-11-132-6/+6
| | | | Remove misleading typedef and redundant suffix from struct image_memory.