summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_sifive.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-12-12 17:12:46 +0300
committerAndes <uboot@andestech.com>2018-12-18 04:56:27 +0300
commit3c85099aa329274c99b49672bba9e1ff710121e2 (patch)
tree1aeb3b890762be543efb0b454a59b84e7779006c /drivers/serial/serial_sifive.c
parent51ab4570f3920ae3d6822c96fe03ffb97e2072b4 (diff)
downloadu-boot-3c85099aa329274c99b49672bba9e1ff710121e2.tar.xz
riscv: bootm: Change to use boot_hart from global data
Avoid reading mhartid CSR directly, instead use the one we saved in the global data structure before. With this patch, BBL no longer needs to be hacked to provide the mhartid CSR emulation for S-mode U-Boot. 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>
Diffstat (limited to 'drivers/serial/serial_sifive.c')
0 files changed, 0 insertions, 0 deletions