summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2017-06-27 21:51:20 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2017-06-28 00:23:18 +0000
commit70083a1de9e12d8dbd3ba70e7a36a7282090f0e0 (patch)
treecbd182331cc2d5f5248669d95d179212ec6796c2 /payloads/libpayload/include
parent42b37f537ff59eb28b85f99cc592d14724788575 (diff)
downloadcoreboot-70083a1de9e12d8dbd3ba70e7a36a7282090f0e0.tar.xz
payloads: Add whitespace around '<<'
Change-Id: I0659f6ec59fb808b4cedf57d60d737c13c250042 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/20396 Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/arm64/arch/lib_helpers.h8
-rw-r--r--payloads/libpayload/include/stddef.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/payloads/libpayload/include/arm64/arch/lib_helpers.h b/payloads/libpayload/include/arm64/arch/lib_helpers.h
index ca6843587e..2b346c4d41 100644
--- a/payloads/libpayload/include/arm64/arch/lib_helpers.h
+++ b/payloads/libpayload/include/arm64/arch/lib_helpers.h
@@ -98,10 +98,10 @@
#include <stdint.h>
-#define DAIF_DBG_BIT (1<<3)
-#define DAIF_ABT_BIT (1<<2)
-#define DAIF_IRQ_BIT (1<<1)
-#define DAIF_FIQ_BIT (1<<0)
+#define DAIF_DBG_BIT (1 << 3)
+#define DAIF_ABT_BIT (1 << 2)
+#define DAIF_IRQ_BIT (1 << 1)
+#define DAIF_FIQ_BIT (1 << 0)
#define SWITCH_CASE_READ(func, var, type, el) do { \
type var = -1; \
diff --git a/payloads/libpayload/include/stddef.h b/payloads/libpayload/include/stddef.h
index fe455b8a23..3288487fbc 100644
--- a/payloads/libpayload/include/stddef.h
+++ b/payloads/libpayload/include/stddef.h
@@ -21,9 +21,9 @@ typedef __SIZE_TYPE__ ssize_t;
"`struct " #structure "` offset for `" #member "` is not " #offset)
/* Standard units. */
-#define KiB (1<<10)
-#define MiB (1<<20)
-#define GiB (1<<30)
+#define KiB (1 << 10)
+#define MiB (1 << 20)
+#define GiB (1 << 30)
#define KHz (1000)
#define MHz (1000*KHz)