Commit b752099d authored by Himanshu Chauhan's avatar Himanshu Chauhan Committed by Anup Patel
Browse files

include: sbi: Introduce common endianess conversion macro



Introduce cpu_to_lle and lle_to_cpu macros which invoke
correct word length cpu_to_le<64/32> conversion based on
__riscv_xlen.

Signed-off-by: default avatarHimanshu Chauhan <hchauhan@ventanamicro.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent a2b255b8
Supports Markdown
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