Fix order of ARM platform #includes
authorIsla Mitchell <isla.mitchell@arm.com>
Fri, 14 Jul 2017 09:48:25 +0000 (10:48 +0100)
committerIsla Mitchell <isla.mitchell@arm.com>
Fri, 14 Jul 2017 09:50:40 +0000 (10:50 +0100)
This fix modifies the order of #includes in ARM standard platforms
to meet the ARM TF coding standard.

Change-Id: Ide19aad6233babda4eea2d17d49e523645fed1b2
Signed-off-by: Isla Mitchell <isla.mitchell@arm.com>
plat/arm/board/fvp/fvp_io_storage.c
plat/arm/board/fvp/fvp_pm.c
plat/arm/board/juno/juno_bl1_setup.c
plat/arm/common/arm_bl1_setup.c
plat/arm/common/arm_bl2_setup.c
plat/arm/common/arm_bl2u_setup.c
plat/arm/common/tsp/arm_tsp_setup.c

index 27bab8006920b7dbd70d082f28ae402fef85c774..aa2ee305661f241eeca84b129f7f40b352f5ca1a 100644 (file)
@@ -8,8 +8,8 @@
 #include <common_def.h>
 #include <debug.h>
 #include <io_driver.h>
-#include <io_storage.h>
 #include <io_semihosting.h>
+#include <io_storage.h>
 #include <plat_arm.h>
 #include <semihosting.h>       /* For FOPEN_MODE_... */
 
index e39a4d50e12a983a0ae77979f3e72c1ff56f0b55..9a02089e7a1fd9e750da6223fca9cdb69b6f9ca9 100644 (file)
@@ -10,8 +10,8 @@
 #include <debug.h>
 #include <errno.h>
 #include <mmio.h>
-#include <platform.h>
 #include <plat_arm.h>
+#include <platform.h>
 #include <psci.h>
 #include <v2m_def.h>
 #include "drivers/pwrc/fvp_pwrc.h"
index 65b956d0de659096493886299e6062fb2c0ce680..7c026bcb796a7192335aff96f5971b2d1c6060f5 100644 (file)
@@ -6,8 +6,8 @@
 
 #include <bl_common.h>
 #include <errno.h>
-#include <platform.h>
 #include <plat_arm.h>
+#include <platform.h>
 #include <sp805.h>
 #include <tbbr_img_def.h>
 #include <v2m_def.h>
index ba95d2532cee4529c8ad4a9d328f80e6c239d6b0..6860e36bc392fdbd26b4f0e9e127dd095881cf7b 100644 (file)
@@ -9,8 +9,8 @@
 #include <arm_xlat_tables.h>
 #include <bl_common.h>
 #include <console.h>
-#include <platform_def.h>
 #include <plat_arm.h>
+#include <platform_def.h>
 #include <sp805.h>
 #include <utils.h>
 #include "../../../bl1/bl1_private.h"
index e5619b7f4efb2cb7d4b4a75f30598ab848c45e86..b7621b8539039536808794bf5bb9f1c05d020121 100644 (file)
@@ -12,8 +12,8 @@
 #include <debug.h>
 #include <desc_image_load.h>
 #include <plat_arm.h>
-#include <platform_def.h>
 #include <platform.h>
+#include <platform_def.h>
 #include <string.h>
 #include <utils.h>
 
index 5dc9eea080d8f7eb5735b669d57ac0ff7408b1bb..03d908b1618385525369f029161696b74109d3e2 100644 (file)
@@ -8,8 +8,8 @@
 #include <arm_def.h>
 #include <bl_common.h>
 #include <console.h>
-#include <platform_def.h>
 #include <plat_arm.h>
+#include <platform_def.h>
 #include <string.h>
 
 /* Weak definitions may be overridden in specific ARM standard platform */
index 2eed18783d94da66053fe8dd4d59864fe81e68aa..abeaea0bcd0c98f9c453026f526750fa6ae0b8a6 100644 (file)
@@ -7,9 +7,9 @@
 #include <arm_def.h>
 #include <bl_common.h>
 #include <console.h>
+#include <plat_arm.h>
 #include <platform_def.h>
 #include <platform_tsp.h>
-#include <plat_arm.h>
 
 #define BL32_END (unsigned long)(&__BL32_END__)