commit | 4f2056873ff0748d413c0dc3577186f78fafa7c9 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Wed Sep 07 13:33:47 2016 -0700 |
committer | Max Filippov <jcmvbkbc@gmail.com> | Sun Sep 11 23:53:22 2016 -0700 |
tree | 2c33b1f2f9a2beb5e8b1cdd0c62a7319da3bfee4 | |
parent | 23c2b9321b30f947b4f908e40379eed50f48508c [diff] |
xtensa: extract common CPU reset code into separate function platform_restart implementatations do the same thing to reset CPU. Don't duplicate that code, move it to a function and call it from platform_restart. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>