diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-03 17:43:29 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-04 15:58:16 +0000 |
commit | 369559379453f9bf0e917635b642e6f70d55a93e (patch) | |
tree | 599acb1864c3490a9bc7f5b63e4352047399e473 | |
parent | 13f66507afdcde5170546e5ca1ce5a945895eb10 (diff) |
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>
-rw-r--r-- | src/ec/google/wilco/bootblock.c | 2 | ||||
-rw-r--r-- | src/mainboard/emulation/qemu-i440fx/fw_cfg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/google/wilco/bootblock.c b/src/ec/google/wilco/bootblock.c index dadc5c9a77..183edf3eda 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 f43c280725..508fcca197 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> |