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

Auer, Lukas lukas.auer at aisec.fraunhofer.de
Sun Jan 20 20:22:42 UTC 2019


On Fri, 2019-01-18 at 11:19 +0000, Anup Patel 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: Lukas Auer <lukas.auer at aisec.fraunhofer.de>


More information about the U-Boot mailing list