sim: bfin: regen configure to include new cfi device
[deliverable/binutils-gdb.git] / sim / bfin / dv-bfin_jtag.c
index 76b59acccee57b92088a1e6ee055801f9dd07708..e2d105d991f8c5d0716ad97e87bec84dd85f4065 100644 (file)
@@ -39,7 +39,8 @@ struct bfin_jtag
 #define mmr_base()      offsetof(struct bfin_jtag, dspid)
 #define mmr_offset(mmr) (offsetof(struct bfin_jtag, mmr) - mmr_base())
 
-static const char * const mmr_names[] = {
+static const char * const mmr_names[] =
+{
   "DSPID", NULL, "DBGSTAT",
 };
 #define mmr_name(off) (mmr_names[(off) / 4] ? : "<INV>")
@@ -62,7 +63,7 @@ bfin_jtag_io_write_buffer (struct hw *me, const void *source, int space,
   switch (mmr_off)
     {
     case mmr_offset(dbgstat):
-      dv_w1c_4 (valuep, value, ~0xc);
+      dv_w1c_4 (valuep, value, 0xc);
       break;
     case mmr_offset(dspid):
       /* Discard writes to these.  */
@@ -151,7 +152,8 @@ bfin_jtag_finish (struct hw *me)
   jtag->dspid = bfin_model_get_dspid (hw_system (me));
 }
 
-const struct hw_descriptor dv_bfin_jtag_descriptor[] = {
+const struct hw_descriptor dv_bfin_jtag_descriptor[] =
+{
   {"bfin_jtag", bfin_jtag_finish,},
   {NULL, NULL},
 };
This page took 0.027146 seconds and 4 git commands to generate.