aboutsummaryrefslogtreecommitdiff
path: root/plat/layerscape
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2019-01-25 13:28:38 +0000
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2019-02-01 12:24:57 +0000
commitf66053372952f9f30ffc4da28080c36a38e17ce5 (patch)
treeee4679495a390326c21fb528194bb68cd4340671 /plat/layerscape
parentf7bf9b0d9543c37b1d6e65436a8f9eaabe1ad8a4 (diff)
downloadtrusted-firmware-a-f66053372952f9f30ffc4da28080c36a38e17ce5.tar.gz
Remove duplicated definitions of linker symbols
Many parts of the code were duplicating symbols that are defined in include/common/bl_common.h. It is better to only use the definitions in this header. As all the symbols refer to virtual addresses, they have to be uintptr_t, not unsigned long. This has also been fixed in bl_common.h. Change-Id: I204081af78326ced03fb05f69846f229d324c711 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'plat/layerscape')
-rw-r--r--plat/layerscape/common/tsp/ls_tsp_setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plat/layerscape/common/tsp/ls_tsp_setup.c b/plat/layerscape/common/tsp/ls_tsp_setup.c
index c6073619a7..f3b60276c2 100644
--- a/plat/layerscape/common/tsp/ls_tsp_setup.c
+++ b/plat/layerscape/common/tsp/ls_tsp_setup.c
@@ -4,6 +4,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#include <common/bl_common.h>
#include <common/debug.h>
#include <common/interrupt_props.h>
#include <drivers/arm/gicv2.h>
@@ -12,8 +13,6 @@
#include "plat_ls.h"
#include "soc.h"
-#define BL32_END (unsigned long)(&__BL32_END__)
-
static const interrupt_prop_t g0_interrupt_props[] = {
INTR_PROP_DESC(9, GIC_HIGHEST_SEC_PRIORITY,
GICV2_INTR_GROUP0, GIC_INTR_CFG_LEVEL),