Commit 680bea02 authored by Rahul Pathak's avatar Rahul Pathak Committed by Anup Patel
Browse files

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: default avatarRahul Pathak <rpathak@ventanamicro.com>
Reviewed-by: default avatarXiang W <wxjstz@126.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 09b34d8c
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