summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIsla Mitchell <isla.mitchell@arm.com>2017-07-14 10:46:32 +0100
committerIsla Mitchell <isla.mitchell@arm.com>2017-07-31 14:08:32 +0100
commit769fb6b6fefde9a9737e2548522492c99cfdfeac (patch)
treec3cac21fc082fa87b14db08d708a6cebb51fba79 /tools
parent401e4911bcf5e901f26c518835f91bcae1b4716f (diff)
Fix order of #includes
This fix modifies the order of system includes to meet the ARM TF coding standard whilst retaining header groupings. Change-Id: Ib91968f8e2cac9e96033d73d3ad9d0a2ae228b13 Signed-off-by: Isla Mitchell <isla.mitchell@arm.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/fiptool/fiptool.c1
-rw-r--r--tools/fiptool/fiptool.h3
-rw-r--r--tools/fiptool/tbbr_config.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/tools/fiptool/fiptool.c b/tools/fiptool/fiptool.c
index 65e4a25c..4d80f2f1 100644
--- a/tools/fiptool/fiptool.c
+++ b/tools/fiptool/fiptool.c
@@ -19,6 +19,7 @@
#include <unistd.h>
#include <openssl/sha.h>
+
#include <firmware_image_package.h>
#include "fiptool.h"
diff --git a/tools/fiptool/fiptool.h b/tools/fiptool/fiptool.h
index 889b0fde..4b5cdd91 100644
--- a/tools/fiptool/fiptool.h
+++ b/tools/fiptool/fiptool.h
@@ -7,11 +7,10 @@
#ifndef __FIPTOOL_H__
#define __FIPTOOL_H__
-#include <firmware_image_package.h>
-
#include <stddef.h>
#include <stdint.h>
+#include <firmware_image_package.h>
#include <uuid.h>
#define NELEM(x) (sizeof (x) / sizeof *(x))
diff --git a/tools/fiptool/tbbr_config.c b/tools/fiptool/tbbr_config.c
index 6231cd4e..7c6c24be 100644
--- a/tools/fiptool/tbbr_config.c
+++ b/tools/fiptool/tbbr_config.c
@@ -4,9 +4,10 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
-#include <firmware_image_package.h>
#include <stddef.h>
+#include <firmware_image_package.h>
+
#include "tbbr_config.h"
/* The images used depends on the platform. */