diff options
author | Ovidiu Panait <ovpanait@gmail.com> | 2023-03-11 19:38:35 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2023-03-13 11:46:17 +0100 |
commit | 424f04fcd9ab7b2c19521605827e2453dd79c3e2 (patch) | |
tree | d6daf542cd056c0359e2aece99d40274ae7b3f04 /common | |
parent | 26c8c1bd12617aab0480d0a559194e4e0631e637 (diff) | |
download | u-boot-424f04fcd9ab7b2c19521605827e2453dd79c3e2.zip u-boot-424f04fcd9ab7b2c19521605827e2453dd79c3e2.tar.gz u-boot-424f04fcd9ab7b2c19521605827e2453dd79c3e2.tar.bz2 |
tools: relocate-rela: introduce elf16_to_cpu() and elf32_to_cpu()
Add elf16_to_cpu() and elf32_to_cpu() functions that allow to read data in
both big-endian and little-endian formats.
Reviewed-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Link: https://lore.kernel.org/r/20230311173838.521804-2-ovpanait@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions