summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/global_data.h
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2017-03-06 09:02:24 -0800
committerYork Sun <york.sun@nxp.com>2017-03-14 08:44:03 -0700
commitf2ccf7f7aacf75bd9c521459d1d20df07d1ebe41 (patch)
tree2e070deb61f5e223d3b4d3f4433cb4006bdd7590 /arch/arm/include/asm/global_data.h
parent8537ddd769f460d7fb7a62a3dcc9669049702e51 (diff)
armv8: Add global variable resv_ram
Use gd->arch.resv_ram to track reserved memory allocation. Signed-off-by: York Sun <york.sun@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include/asm/global_data.h')
-rw-r--r--arch/arm/include/asm/global_data.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
index aee87cdcbf..dfcbcceba3 100644
--- a/arch/arm/include/asm/global_data.h
+++ b/arch/arm/include/asm/global_data.h
@@ -59,6 +59,13 @@ struct arch_global_data {
phys_addr_t secure_ram;
unsigned long tlb_allocated;
#endif
+#ifdef CONFIG_RESV_RAM
+ /*
+ * Reserved RAM for memory resident, eg. Management Complex (MC)
+ * driver which continues to run after U-Boot exits.
+ */
+ phys_addr_t resv_ram;
+#endif
#ifdef CONFIG_ARCH_OMAP2
u32 omap_boot_device;