diff options
author | Rahul Pathak <rpathak@ventanamicro.com> | 2023-02-02 07:44:26 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-02-08 15:47:42 +0300 |
commit | 680bea02bf47e04594ed8810bfee7e9088cd1ca7 (patch) | |
tree | 6cadeef22c2f3e48c851e9ca376ffa1529db7d3a /include/sbi | |
parent | 09b34d8cca513dbd4d52ffd6d3d5b6dedeea516b (diff) | |
download | opensbi-680bea02bf47e04594ed8810bfee7e9088cd1ca7.tar.xz |
lib: utils/fdt: Use byteorder conversion functions in libfdt_env.h
FDT follows big-endian and CPU can be little or big
endian as per the implementation.
libfdt_env.h defines function for conversion between
fdt and cpu byteorder according to the endianness.
Currently, libfdt_env.h defines custom byte swapping
macros and then undefines them. Instead, use the generic
endianness conversion functions
Signed-off-by: Rahul Pathak <rpathak@ventanamicro.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include/sbi')
0 files changed, 0 insertions, 0 deletions