diff options
| author | Stefano Babic <sbabic@denx.de> | 2013-02-23 10:13:40 +0100 | 
|---|---|---|
| committer | Stefano Babic <sbabic@denx.de> | 2013-02-23 10:13:40 +0100 | 
| commit | 9cd9b34dc7f247fd0fce08ab688bf8197f1bfdbc (patch) | |
| tree | 89561497322fff78d3d2e4a8e736f18ab4e0ddfb /arch/nds32/include/asm/global_data.h | |
| parent | bec0160e9f5adab1d451ded3a95b0114b14e1970 (diff) | |
| parent | a5627914daad144727655a72bd3c8a8958fbcdcf (diff) | |
| download | olio-uboot-2014.01-9cd9b34dc7f247fd0fce08ab688bf8197f1bfdbc.tar.xz olio-uboot-2014.01-9cd9b34dc7f247fd0fce08ab688bf8197f1bfdbc.zip  | |
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'arch/nds32/include/asm/global_data.h')
| -rw-r--r-- | arch/nds32/include/asm/global_data.h | 35 | 
1 files changed, 4 insertions, 31 deletions
diff --git a/arch/nds32/include/asm/global_data.h b/arch/nds32/include/asm/global_data.h index b1feb2c0d..4927d5254 100644 --- a/arch/nds32/include/asm/global_data.h +++ b/arch/nds32/include/asm/global_data.h @@ -33,39 +33,12 @@  #ifndef	__ASM_GBL_DATA_H  #define __ASM_GBL_DATA_H -/* - * The following data structure is placed in some memory wich is - * available very early after boot (like DPRAM on MPC8xx/MPC82xx, or - * some locked parts of the data cache) to allow for a minimum set of - * global variables during system initialization (until we have set - * up the memory controller so that we can use RAM). - */ - -typedef	struct global_data { -	bd_t		*bd; -	unsigned long	flags; -	unsigned int	baudrate; -	unsigned long	have_console;	/* serial_init() was called */ - -	unsigned long	reloc_off;	/* Relocation Offset */ -	unsigned long	env_addr;	/* Address  of Environment struct */ -	unsigned long	env_valid;	/* Checksum of Environment valid? */ -	unsigned long	fb_base;	/* base address of frame buffer */ - -	unsigned long	relocaddr;	/* Start address of U-Boot in RAM */ -	phys_size_t	ram_size;	/* RAM size */ -	unsigned long	mon_len;	/* monitor len */ -	unsigned long	irq_sp;		/* irq stack pointer */ -	unsigned long	start_addr_sp;	/* start_addr_stackpointer */ -#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF)) -	unsigned long	tlb_addr; -#endif -	void		**jt;		/* jump table */ -	char		env_buf[32];	/* buffer for getenv() before reloc. */ -} gd_t; +/* Architecture-specific global data */ +struct arch_global_data { +}; -#include <asm-generic/global_data_flags.h> +#include <asm-generic/global_data.h>  #ifdef CONFIG_GLOBAL_DATA_NOT_REG10  extern volatile gd_t g_gd;  |