commit | a42be2f071bbf474f3825a38fbf2f775eb29b228 | [log] [tgz] |
---|---|---|
author | Dino Li <Dino.Li@ite.com.tw> | Fri Jul 02 13:15:10 2021 +0800 |
committer | Maureen Helm <maureen.helm@nxp.com> | Fri Jul 09 12:45:01 2021 -0500 |
tree | 9618f2b10219787445f17325bdc648a466b1a54a | |
parent | 491775549dada0b847bef503f2d6a8eacfe20654 [diff] |
soc: riscv-ite: fix __soc_handle_irq Save ra to caller saved register is wrong because it might get overwritten after another function is called, so we fix this. Remove clear mip register operation. (it8xxx2 supports machine-mode only, and MEIP bit of mip is read-only). Signed-off-by: Dino Li <Dino.Li@ite.com.tw>