summaryrefslogtreecommitdiff
path: root/bl2
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-12-18 13:49:46 +0000
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2019-01-15 13:52:32 +0000
commitc9f9d9ea7d12a6d36af50869ebc4f098e623bfd9 (patch)
treef34ec9c533247cbaa2567e0993f333ec3edc2ee1 /bl2
parentfe77b53e32692fc5d35df208e2b3d21a28f6228b (diff)
Move BL1 and BL2 private defines to bl_common.h
The definitions in bl1/bl1_private.h and bl2/bl2_private.h are useful for platforms that may need to access them. Change-Id: Ifd1880f855ddafcb3bfcaf1ed4a4e0f121eda174 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'bl2')
-rw-r--r--bl2/bl2_private.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/bl2/bl2_private.h b/bl2/bl2_private.h
index 01f6c6bd..b1704d28 100644
--- a/bl2/bl2_private.h
+++ b/bl2/bl2_private.h
@@ -7,22 +7,7 @@
#ifndef BL2_PRIVATE_H
#define BL2_PRIVATE_H
-#if BL2_IN_XIP_MEM
-
-#include <stdint.h>
-
-/*******************************************************************************
- * Declarations of linker defined symbols which will tell us where BL2 lives
- * in Trusted ROM and RAM
- ******************************************************************************/
-extern uintptr_t __BL2_ROM_END__;
-#define BL2_ROM_END (uintptr_t)(&__BL2_ROM_END__)
-
-extern uintptr_t __BL2_RAM_START__;
-extern uintptr_t __BL2_RAM_END__;
-#define BL2_RAM_BASE (uintptr_t)(&__BL2_RAM_START__)
-#define BL2_RAM_LIMIT (uintptr_t)(&__BL2_RAM_END__)
-#endif
+#include <common/bl_common.h>
/******************************************
* Forward declarations