aboutsummaryrefslogtreecommitdiffstats
path: root/include/platform/swap.h
Commit message (Collapse)AuthorAgeFilesLines
* platform/swap: move swap inline functions & macros into an own headerThomas Heijligen2022-05-081-0/+80
These inline functions and macros are only used in platform/endian_(big|little).c and do not need to be compiled into every object which includes `platform.h`. Change-Id: Ib2326e6a4eb5e000a0eace857d040372e2e9e561 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/63825 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>