diff options
author | Yatharth Kochar <yatharth.kochar@arm.com> | 2016-06-30 14:52:12 +0100 |
---|---|---|
committer | Yatharth Kochar <yatharth.kochar@arm.com> | 2016-09-21 16:27:58 +0100 |
commit | d48c12e928c6e86d95c3c17e8fb56f0292afc623 (patch) | |
tree | ef6d74ab123999b4f3b0e7394b98aea8cabceba8 /bl2/bl2.mk | |
parent | 83fc4a930bad68ca0014a25e0c41dc71cffa28b3 (diff) |
AArch32: Add generic changes in BL2
This patch adds generic changes in BL2 to support AArch32 state.
New AArch32 specific assembly/C files are introduced and
some files are moved to AArch32/64 specific folders.
BL2 for AArch64 is refactored but functionally identical.
BL2 executes in Secure SVC mode in AArch32 state.
Change-Id: Ifaacbc2a91f8640876385b953adb24744d9dbde3
Diffstat (limited to 'bl2/bl2.mk')
-rw-r--r-- | bl2/bl2.mk | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,5 +1,5 @@ # -# Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2013-2016, ARM Limited and Contributors. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -29,10 +29,13 @@ # BL2_SOURCES += bl2/bl2_main.c \ - bl2/aarch64/bl2_entrypoint.S \ - bl2/aarch64/bl2_arch_setup.c \ - common/aarch64/early_exceptions.S \ - lib/locks/exclusive/aarch64/spinlock.S + bl2/${ARCH}/bl2_entrypoint.S \ + bl2/${ARCH}/bl2_arch_setup.c \ + lib/locks/exclusive/${ARCH}/spinlock.S + +ifeq (${ARCH},aarch64) +BL2_SOURCES += common/aarch64/early_exceptions.S +endif ifeq (${LOAD_IMAGE_V2},1) BL2_SOURCES += bl2/bl2_image_load_v2.c |