[U-Boot] [PATCH v2 10/11] cpu: Bind timer driver for boot hart

Bin Meng bmeng.cn at gmail.com
Tue Jan 22 02:06:53 UTC 2019


On Fri, Jan 18, 2019 at 7:19 PM Anup Patel <Anup.Patel at wdc.com> wrote:
>
> From: Atish Patra <atish.patra at wdc.com>
>
> 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 at wdc.com>
> Reviewed-by: Alexander Graf <agraf at suse.de>
> ---
>  drivers/cpu/riscv_cpu.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list