[PATCH v2 1/3] risv: add missing SBI extension definitions
Leo Liang
ycliang at andestech.com
Mon Aug 2 10:45:40 CEST 2021
Hi Heinrich,
I've noticed that there is also a typo in the commit title "risv".
Please correct it in v3 patch as well! Thanks!
On Thu, Jul 22, 2021 at 12:33:03AM +0800, Heinrich Schuchardt wrote:
> Add the System Reset Extension and the Hart State Management Extension
> definitions.
>
> Add missing RFENCE Extension enum values.
>
> The SBI 0.1 extension constants are needed for for the sbi command. Remove
> an #ifdef.
>
> Cf. https://github.com/riscv/riscv-sbi-doc/blob/master/riscv-sbi.adoc
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2:
> correct constants that were blindly copied from Linux
> ---
> arch/riscv/include/asm/sbi.h | 36 ++++++++++++++++++++++++++++++++++--
> 1 file changed, 34 insertions(+), 2 deletions(-)
Best regards,
Leo
More information about the U-Boot
mailing list