]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Merge branch '2023-05-31-cleanup-unaligned-access-macros' into next
authorTom Rini <trini@konsulko.com>
Wed, 31 May 2023 20:30:16 +0000 (16:30 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 31 May 2023 20:30:16 +0000 (16:30 -0400)
To quote the author:

There are two versions of get/set_unaligned, get_unaligned_be64,
put_unaligned_le64 etc in U-Boot causing confusion (and bugs).

In this patch-set, I'm trying to fix that with a single unified version of
the access macros to be used across all archs. This work is inspired by
similar changes in this Linux kernel by Arnd Bergman,
https://lore.kernel.org/lkml/20210514100106.3404011-1-arnd@kernel.org/


Trivial merge