commit | 89681a7ac4ca871d9f74080a7647a9ae3d34c8da | [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 | bcc6c74b75ecf82c0e1411d8ffabaa6267452c2b [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>