From 1d110056721b58058a1cf0d3e257c729dbef5286 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Thu, 19 Aug 2010 02:12:04 +0000 Subject: [PATCH] Migrate the CPU reset path to use the new cpuops. --- sys/mips/atheros/ar71xx_machdep.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/mips/atheros/ar71xx_machdep.c b/sys/mips/atheros/ar71xx_machdep.c index a390167f0ad..9943db0fe50 100644 --- a/sys/mips/atheros/ar71xx_machdep.c +++ b/sys/mips/atheros/ar71xx_machdep.c @@ -121,9 +121,7 @@ platform_identify(void) void platform_reset(void) { - uint32_t reg = ATH_READ_REG(AR71XX_RST_RESET); - - ATH_WRITE_REG(AR71XX_RST_RESET, reg | RST_RESET_FULL_CHIP); + ar71xx_device_stop(RST_RESET_FULL_CHIP); /* Wait for reset */ while(1) ; -- 2.45.2