include: sbi: Support byteorder macros in assembly
authorVivian Wang <dramforever@live.com>
Fri, 15 Mar 2024 17:36:39 +0000 (01:36 +0800)
committerAnup Patel <anup@brainfault.org>
Fri, 5 Apr 2024 11:53:51 +0000 (17:23 +0530)
commit5c9a73565f5e6d07cf30ecd7fa511d872050bd2c
treecc0b27b475728a733370de2937ff84012289018f
parent06fc453ec13de75e156261e8fe4073334d0e00c2
include: sbi: Support byteorder macros in assembly

Avoid using C types and casts if sbi/sbi_byteorder.h is included in
assembly code

Signed-off-by: Vivian Wang <dramforever@live.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
include/sbi/sbi_byteorder.h