firmware: Reset all registers and flush icache
authorAtish Patra <atish.patra@wdc.com>
Wed, 6 Mar 2019 23:18:29 +0000 (15:18 -0800)
committerAnup Patel <anup@brainfault.org>
Thu, 7 Mar 2019 02:37:18 +0000 (08:07 +0530)
commit007a6b26d9a22a9dc49ede12115a8704f634dad0
treeeac6b3c56b4f262ae5a60e0fa42b4a809b87e1cf
parentb225583881c82eaab3059af9277c091432d50266
firmware: Reset all registers and flush icache

A warm reset using reset button may put icache and registers
in non-coherent state.

Flush the icache and reset all registers for every hart.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
firmware/fw_base.S