summaryrefslogtreecommitdiff
path: root/arch/riscv/lib/bootm.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-12-21 13:36:08 -0500
committerTom Rini <trini@konsulko.com>2018-12-21 13:36:08 -0500
commit328e3f8a706931e1a8f76adfdc015ad76cbeb83c (patch)
treeb88b5eb9c3135640bc44262229cc70f4a0e6acdc /arch/riscv/lib/bootm.c
parent1f2e948d6d53f77a2ddb2dde3531b0d5bc2815ad (diff)
parent368ff57805b03bebf99e97e703ce07aec721bc71 (diff)
Merge git://git.denx.de/u-boot-riscv
- Add DM drivers to support RISC-V CPU and timer, plus some bug fixes. - Support SiFive UART - Rename ax25-ae350 defconfig
Diffstat (limited to 'arch/riscv/lib/bootm.c')
-rw-r--r--arch/riscv/lib/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c
index 124aeefff8..60b32cca81 100644
--- a/arch/riscv/lib/bootm.c
+++ b/arch/riscv/lib/bootm.c
@@ -93,7 +93,7 @@ static void boot_jump_linux(bootm_headers_t *images, int flag)
if (!fake) {
if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len)
- kernel(csr_read(mhartid), images->ft_addr);
+ kernel(gd->arch.boot_hart, images->ft_addr);
}
}