summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/aarch64/early_exceptions.S5
-rw-r--r--common/bl_common.c13
2 files changed, 6 insertions, 12 deletions
diff --git a/common/aarch64/early_exceptions.S b/common/aarch64/early_exceptions.S
index 41bff97f..90f5421b 100644
--- a/common/aarch64/early_exceptions.S
+++ b/common/aarch64/early_exceptions.S
@@ -28,11 +28,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <arch.h>
-#include <bl_common.h>
-#include <platform.h>
-#include <runtime_svc.h>
#include <asm_macros.S>
+#include <runtime_svc.h>
.globl early_exceptions
diff --git a/common/bl_common.c b/common/bl_common.c
index e96bfa05..af2b7b74 100644
--- a/common/bl_common.c
+++ b/common/bl_common.c
@@ -28,17 +28,14 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <stdio.h>
-#include <string.h>
-#include <errno.h>
-#include <assert.h>
+#include <arch.h>
#include <arch_helpers.h>
-#include <console.h>
-#include <platform.h>
-#include <semihosting.h>
+#include <assert.h>
#include <bl_common.h>
-#include <io_storage.h>
#include <debug.h>
+#include <io_storage.h>
+#include <platform.h>
+#include <stdio.h>
unsigned long page_align(unsigned long value, unsigned dir)
{