Migrate the CPU reset path to use the new cpuops.
This commit is contained in:
parent
5b877d30b5
commit
1d11005672
@ -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)
|
||||
;
|
||||
|
Loading…
x
Reference in New Issue
Block a user