commit | 51ab4570f3920ae3d6822c96fe03ffb97e2072b4 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Dec 12 06:12:45 2018 -0800 |
committer | Andes <uboot@andestech.com> | Tue Dec 18 09:56:27 2018 +0800 |
tree | 7474fc94b643c1627d43c4b9029d1dc4d3f46f90 | |
parent | 7f5d35a547afb1e4d8e7ca780ab1b9f78ed11d68 [diff] |
riscv: Save boot hart id to the global data At present the hart id passed via a0 in the U-Boot entry is saved to s0 at the beginning but does not preserve later. Save it to the global data structure so that it can be used later. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Anup Patel <anup@brainfault.org>