diff options
| author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:48:58 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-02-04 09:05:43 -0500 | 
| commit | 6bb9ba72608e766e9ce859b78f19bb7ea8f63a18 (patch) | |
| tree | 2904f11c31e2e265642fddfa56e83f09ba5708ef /arch/powerpc/include/asm/global_data.h | |
| parent | 43e60814b3ee690c02ebf86391b341aeaef9fb0e (diff) | |
| download | olio-uboot-2014.01-6bb9ba72608e766e9ce859b78f19bb7ea8f63a18.tar.xz olio-uboot-2014.01-6bb9ba72608e766e9ce859b78f19bb7ea8f63a18.zip | |
ppc: Move dp_alloc_base, dp_alloc_top to arch_global_data
Move these fields into arch_global_data and tidy up.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/include/asm/global_data.h')
| -rw-r--r-- | arch/powerpc/include/asm/global_data.h | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_data.h index b7534cd5a..87f9268f3 100644 --- a/arch/powerpc/include/asm/global_data.h +++ b/arch/powerpc/include/asm/global_data.h @@ -112,6 +112,10 @@ struct arch_global_data {  	unsigned long arbiter_event_attributes;  	unsigned long arbiter_event_address;  #endif +#if defined(CONFIG_SYS_ALLOC_DPRAM) || defined(CONFIG_CPM2) +	unsigned int dp_alloc_base; +	unsigned int dp_alloc_top; +#endif  };  /* @@ -141,10 +145,6 @@ typedef	struct	global_data {  #ifdef CONFIG_PRE_CONSOLE_BUFFER  	unsigned long	precon_buf_idx;	/* Pre-Console buffer index */  #endif -#if defined(CONFIG_SYS_ALLOC_DPRAM) || defined(CONFIG_CPM2) -	unsigned int	dp_alloc_base; -	unsigned int	dp_alloc_top; -#endif  #if defined(CONFIG_4xx)  	u32  uart_clk;  #endif /* CONFIG_4xx */ |