Skip to content
  • David Brownell's avatar
    ADIv5 clean up AP fault handling · a97bb675
    David Brownell authored
    
    
    Pass up fault codes from various routines, so their callers
    can clean up after failures, and remove the FIXME comments
    highlighting those previously goofy code paths.
    
     dap_ap_{read,write}_reg_u32()
     dap_ap_write_reg()
     mem_ap_{read,write}_u32()
     mem_ap_{read,write}_atomic_u32()
     dap_setup_accessport()
    
    Make dap_ap_write_reg_u32() just wrap dap_ap_write_reg(),
    instead of cloning its core code (and broken fault handling).
    
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    a97bb675