arm: ignore writes to the reset_ctl register
authorGedare Bloom <gedare@rtems.org>
Thu, 23 Feb 2017 20:52:22 +0000 (15:52 -0500)
committerGedare Bloom <gedare@rtems.org>
Mon, 19 Jun 2017 12:34:51 +0000 (12:34 +0000)
Change-Id: I953521572e6ace475b656369c9f07ddfa50d731a
Signed-off-by: Gedare Bloom <gedare@rtems.org>
Reviewed-on: https://gem5-review.googlesource.com/3263
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>

src/dev/arm/rv_ctrl.cc

index f89f23b598492e1bde908df6b9a5a080f9dac3dc..954be6597e0d8091c237b745f28a4f926fd1095c 100644 (file)
@@ -146,6 +146,10 @@ RealViewCtrl::write(PacketPtr pkt)
       case Lock:
         sysLock.lockVal = pkt->get<uint16_t>();
         break;
+      case ResetCtl:
+        // Ignore writes to reset control
+        warn_once("Ignoring write to reset control\n");
+        break;
       case Flags:
         flags = pkt->get<uint32_t>();
         break;