commit | eab5e7a79d1bb3d607dabf022bfad9f46d1e3ac8 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Tue Dec 11 01:26:23 2012 +0400 |
committer | Chris Zankel <chris@zankel.net> | Tue Dec 18 21:10:25 2012 -0800 |
tree | 9b6c38cd910670a3ba9edb6ea9b9f572763a5c9b | |
parent | 79fcf52ba0dbcb9888812113df2d7248b41e9af1 [diff] |
xtensa: initialize CPENABLE SR when core has one XCHAL_CP_NUM is defined in variant/tie.h and it is not included by head.S, leaving CPENABLE register uninitialised. XCHAL_HAVE_CP is defined in variant/core.h to 1 when core has CPENABLE SR. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>