diff options
| author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:48:39 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-02-01 15:21:58 -0500 | 
| commit | 34fd5d253dee74fa8e431fc2183aa9f2637afa04 (patch) | |
| tree | 35ee1ba256a3c5b7f4ca512b9c58b3b922ef8a05 /arch/arm/include/asm/global_data.h | |
| parent | 37434783bbc3a16658abdaec357ad9d9310947d2 (diff) | |
| download | olio-uboot-2014.01-34fd5d253dee74fa8e431fc2183aa9f2637afa04.tar.xz olio-uboot-2014.01-34fd5d253dee74fa8e431fc2183aa9f2637afa04.zip | |
arm: Move tlb_addr and tlb_size to arch_global_data
Move these fields into arch_global_data and tidy up.
Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Address tlb_size in this patch as well]
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/global_data.h')
| -rw-r--r-- | arch/arm/include/asm/global_data.h | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h index 5d414efaa..0c1dbe866 100644 --- a/arch/arm/include/asm/global_data.h +++ b/arch/arm/include/asm/global_data.h @@ -44,6 +44,10 @@ struct arch_global_data {  #ifdef CONFIG_IXP425  	unsigned long timestamp;  #endif +#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF)) +	unsigned long tlb_addr; +	unsigned long tlb_size; +#endif  };  /* @@ -74,10 +78,6 @@ typedef	struct	global_data {  	unsigned long	irq_sp;		/* irq stack pointer */  	unsigned long	start_addr_sp;	/* start_addr_stackpointer */  	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 */  	char		env_buf[32];	/* buffer for getenv() before reloc. */ |