Skip to content
Unverified Commit 171549f8 authored by Sunil V L's avatar Sunil V L Committed by Palmer Dabbelt
Browse files

riscv/efi_stub: Add 64bit boot-hartid support on RV64



The boot-hartid can be a 64bit value on RV64 platforms but
the "boot-hartid" in DT is assumed to be 32bit only.

Detect the size of the "boot-hartid" in DT and use 32bit or 64bit
read appropriately.

Signed-off-by: default avatarSunil V L <sunilvl@ventanamicro.com>
Link: https://lore.kernel.org/r/20220527051743.2829940-6-sunilvl@ventanamicro.com
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent ad635e72
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment