summaryrefslogtreecommitdiff
path: root/src/ec/google
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-03 17:43:29 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-04 15:58:16 +0000
commit369559379453f9bf0e917635b642e6f70d55a93e (patch)
tree599acb1864c3490a9bc7f5b63e4352047399e473 /src/ec/google
parent13f66507afdcde5170546e5ca1ce5a945895eb10 (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/ec/google')
-rw-r--r--src/ec/google/wilco/bootblock.c2
1 files changed, 1 insertions, 1 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"