1. 03 Dec, 2009 12 commits
    • Zachary T Welch's avatar
      move nor drivers to src/flash/nor · fe9228a3
      Zachary T Welch authored
      Moves NOR flash drivers to 'src/flash/nor/'.
      Adds 'src/flash/nor/Makefile.am'.
      Builds 'libocdflashnor.la'.
      fe9228a3
    • Zachary T Welch's avatar
      move nand drivers to src/flash/nand/ · e1ec02bb
      Zachary T Welch authored
      Moves NAND drivers to src/flash/nand/.
      Adds src/flash/nand/Makefile.am.
      Builds libocdflashnand.la.
      e1ec02bb
    • David Brownell's avatar
      ARM11: don't expose DSCR · d5e4e23f
      David Brownell authored
      Remove the remaining extra copy of DSCR, and the register cache
      of which it was a part.  That cache wasn't a very safe, or even
      necessary, idea; it was essentialy letting debugger-private state
      be manipulated by Tcl code that couldn't know how to do it right.
      
      This makes the "reg" output of an ARM11 resemble what most other
      ARM cores produce ... forward motion in the "make ARM11 work like
      the rest of the ARM cores" Jihad!
      d5e4e23f
    • David Brownell's avatar
      ARM11: store a clean copy of DSCR · f0c3e701
      David Brownell authored
      Just store a clean copy of DSCR in the per-CPU struct, so we
      trivially pass a pointer to a recent copy.  This replaces the
      previous "last_dscr" and cleans up most of the related calling
      conventions ... but it doesn't remove the other DSCR copy.
      f0c3e701
    • David Brownell's avatar
      ARM11: don't expose WDTR · 62dd15d7
      David Brownell authored
      Don't expose the WDTR register through the register cache any
      more.  If anyone wants Tcl scripts to be able to use DCC based
      communication with app code in the target, this wouldn't do it.
      
      Bugfix:  don't trust the Tcl-accessible version of DSCR to
      flag whether WDTR needs to be restored when resuming.
      62dd15d7
    • David Brownell's avatar
      ARM11: don't expose RDTR · 7e18d96d
      David Brownell authored
      Don't expose the RDTR register through the register cache any
      more.  If anyone wants Tcl scripts to be able to use DCC based
      communication with app code in the target, this wouldn't do it.
      
      Bugfix:  don't trust the Tcl-accessible version of DSCR to
      flag whether RDTR needs to be restored when resuming.
      7e18d96d
    • David Brownell's avatar
      ARM11: streamline debug entry · 6ec5b9c6
      David Brownell authored
      Streamline arm11_on_enter_debug_state() entry:
      
       - It should handle the standard updates:
          * target->debug_reason
          * target->state
      
       - Don't waste time re-reading DSCR; just pass it in
      
      Also rename the routine to "arm11_debug_entry()", matching the
      convention used elsewhere in OpenOCD.
      6ec5b9c6
    • David Brownell's avatar
      ARM11: remove arm11->target · 1d29440a
      David Brownell authored
      Don't need/want arm11->target; we have arm11->arm.target instead.
      Also remove some unused watchpoint stuff.
      1d29440a
    • David Brownell's avatar
      ARM DPM: tweak initialization · c2af99d4
      David Brownell authored
      Move the initial breakpoint/watchpoint disable calls to
      arm_dpm_initialize(), and start using that routine.  This
      split helps with arm11 support.
      c2af99d4
    • Zachary T Welch's avatar
      fix configure problem when building w/o USB · b123fd3c
      Zachary T Welch authored
      If building OpenOCD without any USB drivers, a warning would appear
      because $build_usb is never set to a sane default.  This fixes it.
      b123fd3c
    • Zachary T Welch's avatar
      adding files required for distribution · f4a1070d
      Zachary T Welch authored
      Add headers missing from Makefile rules to pass 'make distcheck'.
      These were included in the tree but were not added with those commits.
      f4a1070d
    • Zachary T Welch's avatar
      fix 'target init' command registration · 4c43afce
      Zachary T Welch authored
      The command handler registration was put at the top level, rather
      than as a subcommand.  Move it to where it belongs.
      4c43afce
  2. 02 Dec, 2009 17 commits
  3. 01 Dec, 2009 11 commits