firmware: Move scratch setup to _start instead of _start_warm
authorAtish Patra <atish.patra@wdc.com>
Mon, 4 Mar 2019 21:58:37 +0000 (13:58 -0800)
committerAnup Patel <anup@brainfault.org>
Thu, 14 Mar 2019 15:13:09 +0000 (20:43 +0530)
commitab91c143a34357892a1ced36e3902a92b5aa8ca6
tree128fb3ce0cd471af148bc72a22bac7c495e58606
parent1e24e21d56aa0f495b9ea9349a6ed8486b78265d
firmware: Move scratch setup to _start instead of _start_warm

Scratch space setup needs to be done once for reboot for each
hart. _start_warm may be called several times if hart hotplug
is implemented.

Move scratch space setup to the beginning so that it is done
only once.

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