summary refs log tree commit diff stats
path: root/hw/tusb6010.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/tusb6010.c')
-rw-r--r--hw/tusb6010.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/tusb6010.c b/hw/tusb6010.c
index d6847d012d..3cf2e6c7ae 100644
--- a/hw/tusb6010.c
+++ b/hw/tusb6010.c
@@ -513,8 +513,7 @@ static void tusb_async_writew(void *opaque, target_phys_addr_t addr,
         s->dev_config = value;
         s->host_mode = (value & TUSB_DEV_CONF_USB_HOST_MODE);
         if (value & TUSB_DEV_CONF_PROD_TEST_MODE)
-            cpu_abort(cpu_single_env, "%s: Product Test mode not allowed\n",
-                            __FUNCTION__);
+            hw_error("%s: Product Test mode not allowed\n", __FUNCTION__);
         break;
 
     case TUSB_PHY_OTG_CTRL_ENABLE: