u-boot/include/asm-generic
Jens Wiklander 60f1ba7b68 asm-generic: simplify unaligned.h
The get_unaligned()/put_unaligned() implementations are more
complex than necessary.

Move everything into one file and use a more compact implementation based
on packed struct access and byte swapping macros.

This patch is based on the Linux kernel commit 803f4e1eab7a
("asm-generic: simplify asm/unaligned.h") by Arnd Bergmann.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2023-05-31 14:05:34 -04:00
..
bitops include: Add generic bitops headers 2015-11-05 10:51:57 -05:00
atomic-long.h atomic-long: Fix warnings on arm64 2018-01-28 09:39:05 -05:00
atomic.h Add include/asm-generic/atomic.h 2018-09-25 21:49:18 -04:00
bitsperlong.h linux/bitops.h: GENMASK copy from linux 2015-10-21 09:14:07 -04:00
global_data.h include: Enable video related global data variable and splash at SPL 2023-04-24 21:37:45 +02:00
gpio.h gpio: allow passing NULL to gpio_request_by_line_name() to search all gpio controllers 2023-03-30 15:09:59 -04:00
int-ll64.h arch: types.h: factor out fixed width typedefs to int-ll64.h 2018-09-10 20:48:16 -04:00
io.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ioctl.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
pe.h efi_loader: defines for PE-COFF section flags 2023-01-04 13:17:42 +01:00
sections.h Revert "efi_capsule: Move signature from DTB to .rodata" 2021-09-18 03:47:50 -06:00
signal.h asm-generic/signal.h: import from linux 2010-01-17 20:36:05 -05:00
u-boot.h common/board_r.c: drop legacy and unused bi_enetaddr 2022-06-06 18:01:21 -04:00
unaligned.h asm-generic: simplify unaligned.h 2023-05-31 14:05:34 -04:00