xtensa: use register window specific opcodes only when present
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 26 Jul 2021 14:25:28 +0000 (07:25 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 19 Oct 2021 05:19:35 +0000 (22:19 -0700)
commit09af39f649dac66c2681ca53977275fe876690cc
tree07db54073ea470f28a96ece0b383a836a20b2c81
parent0b5372570b1f3fcb35255d28e707846e613c27f2
xtensa: use register window specific opcodes only when present

xtensa core may be configured without register windows support, don't
use register window specific opcodes in that case. Use window register
specific opcodes to initialize hardware or reset core to a known state
regardless of the chosen ABI.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/boot/boot-elf/bootstrap.S
arch/xtensa/boot/boot-redboot/bootstrap.S
arch/xtensa/kernel/align.S
arch/xtensa/kernel/entry.S
arch/xtensa/kernel/head.S