Skip to content

Add endianness conversion support

Rahul Pathak opensbi 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Added new patch for typedefs related to endianness

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3include: Add support for byteorder/endianness conversioninclude/sbi/sbi_byteorder.h+57 -03 replies
2/3lib: utils/fdt: Use byteorder conversion functions in libfdt_env.hlib/utils/libfdt/libfdt_env.h+10 -191 reply
3/3include: types: Add typedefs for endiannessinclude/sbi/sbi_types.h lib/utils/libfdt/libfdt_env.h+10 -31 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchXiang WSergey MatyukevichAnup Patel
1/3R-b R-b R-b
2/3R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] Add endianness conversion support

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

New typedefs - leX_t/beX_t and use them in existing libfdt_env.h

Changelog - v2:
- Added new patch for typedefs related to endianness

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

 include/sbi/sbi_byteorder.h   | 57 +++++++++++++++++++++++++++++++++++
 include/sbi/sbi_types.h       |  7 +++++
 lib/utils/libfdt/libfdt_env.h | 35 ++++++++-------------
 3 files changed, 77 insertions(+), 22 deletions(-)
 create mode 100644 include/sbi/sbi_byteorder.h
Signature · 1 line
2.34.1