diff options
author | Gabe Black <gabeblack@chromium.org> | 2012-11-30 13:01:15 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-01-10 22:21:32 +0100 |
commit | 724cdffca179057f4ebdf413ad764ea70b0e8ed2 (patch) | |
tree | a6206d7fa4898dd86411448c3ee0304919bfaa3d /arch/arm/include | |
parent | 44df5e8d30a276985b40bb32a69584f5a7fac9a0 (diff) | |
download | u-boot-imx-724cdffca179057f4ebdf413ad764ea70b0e8ed2.zip u-boot-imx-724cdffca179057f4ebdf413ad764ea70b0e8ed2.tar.gz u-boot-imx-724cdffca179057f4ebdf413ad764ea70b0e8ed2.tar.bz2 |
arm: Keep track of the tlb size as well as its location
It may be necessary to know where the TLB area ends as well as where it
starts. This allows board code to complete a secure memory erase without
destroying the page tables.
Signed-off-by: Gabe Black <gabeblack@google.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/global_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h index 2b9af93..41a26ed 100644 --- a/arch/arm/include/asm/global_data.h +++ b/arch/arm/include/asm/global_data.h @@ -73,6 +73,7 @@ typedef struct global_data { unsigned long reloc_off; #if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF)) unsigned long tlb_addr; + unsigned long tlb_size; #endif const void *fdt_blob; /* Our device tree, NULL if none */ void **jt; /* jump table */ |