summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorIgnacio Encinas <ignacio@iencinas.com>2025-07-23 20:47:29 +0100
committerPaul Walmsley <pjw@kernel.org>2025-09-18 08:20:25 -0600
commitcc2294d3f9c99c216ef563b83b08d2c0604f9b92 (patch)
treee53a7b573197b966eb28935c6330cb2f287dbb54 /scripts/extract-fwblobs
parent316b60b984d5be9b86047cdf3bf16d51c7c70cc5 (diff)
riscv: introduce asm/swab.h
Implement endianness swap macros for RISC-V. Use the rev8 instruction when Zbb is available. Otherwise, rely on the default mask-and-shift implementation. Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Tested-by: Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by: Ignacio Encinas <ignacio@iencinas.com> Link: https://lore.kernel.org/r/20250723-riscv-swab-v6-1-fc11e9a2efc9@iencinas.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions