]> git.ipfire.org Git - thirdparty/u-boot.git/commit
cpu: Bind timer driver for boot hart
authorAtish Patra <atish.patra@wdc.com>
Mon, 25 Feb 2019 08:15:14 +0000 (08:15 +0000)
committerAndes <uboot@andestech.com>
Wed, 27 Feb 2019 01:12:33 +0000 (09:12 +0800)
commit007056f495c9fc5c544f71762f874a19a9b004a3
tree431578d271f4c2e26aeb84363b0f0fa5dfde254b
parentee0633ef8b027960bd53ab62abb6f6fc25b1c66b
cpu: Bind timer driver for boot hart

Currently, timer driver is bound only for hart0.

There is no mandatory requirement that hart0 should always
come up. In fact, HiFive Unleashed SoC hart0 doesn't boot
in S-mode because it only has M-mode.

The timer driver should be bound for boot hart.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/cpu/riscv_cpu.c