diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-11-12 10:26:16 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-01-05 13:49:08 -0600 |
commit | 94e9411b9dda182dd63d53ba6ea640c98b35db5f (patch) | |
tree | 99d2deb390f336c121fa536cf29db987f9983989 /include/asm-ppc/global_data.h | |
parent | ee53650dad2fede057e93fdf6f8cd72b29ef7cd0 (diff) | |
download | u-boot-imx-94e9411b9dda182dd63d53ba6ea640c98b35db5f.zip u-boot-imx-94e9411b9dda182dd63d53ba6ea640c98b35db5f.tar.gz u-boot-imx-94e9411b9dda182dd63d53ba6ea640c98b35db5f.tar.bz2 |
ppc/85xx: Add tracking of TLB CAM usage
We need to track which TLB CAM entries are used to allow us to
"dynamically" allocate entries later in the code. For example the SPD
DDR code today hard codes which TLB entries it uses. We can now make
that pick entries that are free.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/global_data.h')
-rw-r--r-- | include/asm-ppc/global_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/global_data.h b/include/asm-ppc/global_data.h index 55e7e20..3f11918 100644 --- a/include/asm-ppc/global_data.h +++ b/include/asm-ppc/global_data.h @@ -107,6 +107,9 @@ typedef struct global_data { #if defined(CONFIG_FSL_LAW) u32 used_laws; #endif +#if defined(CONFIG_E500) + u32 used_tlb_cams[(CONFIG_SYS_NUM_TLBCAMS+31)/32]; +#endif #if defined(CONFIG_MPC5xxx) unsigned long ipb_clk; unsigned long pci_clk; |