mbox series

[0/2] Add endianness conversion support

Message ID 20230128074617.1917265-1-rpathak@ventanamicro.com
Headers show
Series Add endianness conversion support | expand

Message

Rahul Pathak Jan. 28, 2023, 7:46 a.m. UTC
This series adds a new header which defines the generic
endianness conversion functions.
These new functions replaces the existing byte-swapping
functions defined in libfdt_env.h

Rahul Pathak (2):
  include: Add support for byteorder/endianness conversion
  lib: utils/fdt: Use byteorder conversion functions in libfdt_env.h

 include/sbi/sbi_byteorder.h   | 57 +++++++++++++++++++++++++++++++++++
 lib/utils/libfdt/libfdt_env.h | 29 ++++++------------
 2 files changed, 67 insertions(+), 19 deletions(-)
 create mode 100644 include/sbi/sbi_byteorder.h