Migrate the CPU reset path to use the new cpuops.

This commit is contained in:
Adrian Chadd 2010-08-19 02:12:04 +00:00
parent 5b877d30b5
commit 1d11005672

View File

@ -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)
;