aboutsummaryrefslogtreecommitdiff
path: root/plat/socionext/uniphier/tsp/uniphier_tsp_setup.c
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/socionext/uniphier/tsp/uniphier_tsp_setup.c
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/socionext/uniphier/tsp/uniphier_tsp_setup.c')
-rw-r--r--plat/socionext/uniphier/tsp/uniphier_tsp_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/socionext/uniphier/tsp/uniphier_tsp_setup.c b/plat/socionext/uniphier/tsp/uniphier_tsp_setup.c
index e7dcc652db..0b232e0674 100644
--- a/plat/socionext/uniphier/tsp/uniphier_tsp_setup.c
+++ b/plat/socionext/uniphier/tsp/uniphier_tsp_setup.c
@@ -6,11 +6,11 @@
#include <platform_def.h>
+#include <common/bl_common.h>
#include <lib/xlat_tables/xlat_mmu_helpers.h>
#include "../uniphier.h"
-#define BL32_END (unsigned long)(&__BL32_END__)
#define BL32_SIZE ((BL32_END) - (BL32_BASE))
void tsp_early_platform_setup(void)