Kyösti Mälkki has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/31704 )
Change subject: Fix indirect include for endianess ......................................................................
Fix indirect include for endianess
The function (preprocessor macro) we need is defined in <endian.h> not <swab.h>.
Change-Id: I3a86c7050bf853e3a56a15421132240e19f40912 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com Reviewed-on: https://review.coreboot.org/c/31704 Reviewed-by: Aaron Durbin adurbin@chromium.org Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/ec/google/wilco/bootblock.c M src/mainboard/emulation/qemu-i440fx/fw_cfg.c 2 files changed, 2 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Aaron Durbin: Looks good to me, approved
diff --git a/src/ec/google/wilco/bootblock.c b/src/ec/google/wilco/bootblock.c index dadc5c9..183edf3 100644 --- a/src/ec/google/wilco/bootblock.c +++ b/src/ec/google/wilco/bootblock.c @@ -14,8 +14,8 @@ */
#include <arch/io.h> +#include <endian.h> #include <device/pnp_def.h> -#include <swab.h>
#include "bootblock.h"
diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c index f43c280..508fcca 100644 --- a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c +++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c @@ -11,8 +11,8 @@ * GNU General Public License for more details. */
+#include <endian.h> #include <string.h> -#include <swab.h> #include <smbios.h> #include <console/console.h> #include <arch/io.h>