From 2ac711791b2e4aabc5e4046b7428727828c705eb Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Fri, 8 May 2009 02:35:15 +0100 Subject: Replace cpu_abort with hw_error Signed-off-by: Paul Brook --- hw/nseries.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hw/nseries.c') diff --git a/hw/nseries.c b/hw/nseries.c index dafc0ba81..ab75183fd 100644 --- a/hw/nseries.c +++ b/hw/nseries.c @@ -428,8 +428,7 @@ static uint32_t mipid_txrx(void *opaque, uint32_t cmd, int len) uint8_t ret; if (len > 9) - cpu_abort(cpu_single_env, "%s: FIXME: bad SPI word width %i\n", - __FUNCTION__, len); + hw_error("%s: FIXME: bad SPI word width %i\n", __FUNCTION__, len); if (s->p >= ARRAY_SIZE(s->resp)) ret = 0; -- cgit v1.2.3