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 /src/mainboard/emulation | |
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>
Diffstat (limited to 'src/mainboard/emulation')
-rw-r--r-- | src/mainboard/emulation/qemu-i440fx/fw_cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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> |