summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:52 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:43 -0500
commit7c80c6c51ab39b4509b4ca79035490eabab0af86 (patch)
tree1dc37ac4de89da9788daf991e81f0a58ba77772e /arch/powerpc/include/asm
parent8670dbc95361340c3082b62abbbbb3d1ffbb89cb (diff)
downloadu-boot-imx-7c80c6c51ab39b4509b4ca79035490eabab0af86.zip
u-boot-imx-7c80c6c51ab39b4509b4ca79035490eabab0af86.tar.gz
u-boot-imx-7c80c6c51ab39b4509b4ca79035490eabab0af86.tar.bz2
ppc: Move used_tlb_cams to arch_global_data
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/global_data.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_data.h
index c7ce7fd..ca36ca3 100644
--- a/arch/powerpc/include/asm/global_data.h
+++ b/arch/powerpc/include/asm/global_data.h
@@ -91,6 +91,9 @@ struct arch_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
};
/*
@@ -113,9 +116,6 @@ typedef struct global_data {
#if defined(CONFIG_FSL_ESDHC)
u32 sdhc_clk;
#endif
-#if defined(CONFIG_E500)
- u32 used_tlb_cams[(CONFIG_SYS_NUM_TLBCAMS+31)/32];
-#endif
#if defined(CONFIG_MPC5xxx)
unsigned long ipb_clk;
#endif