coreboot/src/arch
Krystian Hebel 84a156c77e ppc64/byteorder.h: define use of big endian
All of the build configuration is set to produce big endian image on PPC64.
In addition, the toolchain produced by coreboot-sdk does not include little
endian libraries so it is not possible to build LE image even when that
configuration is changed.

This patch changes byte order definition which is required for proper work
of functions that deal with endianness, like read_{le,be}*() or
{le,be}*toh().

It also revealed bugs related to the endianness on BE targets that are
addressed in the following patches.

Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Change-Id: Id31328a832d11db20822733304b0ae477e858d25
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55037
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2021-07-09 11:46:30 +00:00
..
arm arch/arm/armv7/thread.c: Remove stale file 2021-02-22 07:24:26 +00:00
arm64 cbfs: Remove prog_locate() for payloads (SELF and FIT) 2021-03-17 00:13:53 +00:00
ppc64 ppc64/byteorder.h: define use of big endian 2021-07-09 11:46:30 +00:00
riscv cbfs: Remove prog_locate() for payloads (SELF and FIT) 2021-03-17 00:13:53 +00:00
x86 arch/x86: Save resume vector to stack in x86_64 mode 2021-07-07 14:54:56 +00:00