[U-Boot] [PATCH v3 24/25] riscv: bootm: Change to use boot_hart from global data

Auer, Lukas lukas.auer at aisec.fraunhofer.de
Tue Dec 11 23:23:55 UTC 2018


On Tue, 2018-12-11 at 01:35 -0800, Bin Meng wrote:
> 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 at gmail.com>
> 
> ---
> 
> Changes in v3:
> - new patch to change to use boot_hart from global data
> 
> Changes in v2: None
> 
>  arch/riscv/lib/bootm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>


More information about the U-Boot mailing list