diff options
| author | Wolfgang Denk <wd@denx.de> | 2011-10-12 22:47:15 +0200 |
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2011-10-12 22:47:15 +0200 |
| commit | d8fffa057c9430fd0c5104ab6ff7db4cdb03db51 (patch) | |
| tree | 2e98334405e9a602441091317ae69e09c32d3d51 /arch/mips/include/asm/global_data.h | |
| parent | 0dd78fb9430e57ccc8e63369c6082b1c730f8aeb (diff) | |
| parent | 3c945542dad99b1ec4a324ad6b69b8de8829827b (diff) | |
| download | olio-uboot-2014.01-d8fffa057c9430fd0c5104ab6ff7db4cdb03db51.tar.xz olio-uboot-2014.01-d8fffa057c9430fd0c5104ab6ff7db4cdb03db51.zip | |
Merge branch 'master' of git://git.denx.de/u-boot-mips
* 'master' of git://git.denx.de/u-boot-mips:
MIPS: Jz4740: Add qi_lb60 board support
MIPS: Jz4740: Add NAND driver
MIPS: Ingenic XBurst Jz4740 processor support
Diffstat (limited to 'arch/mips/include/asm/global_data.h')
| -rw-r--r-- | arch/mips/include/asm/global_data.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/include/asm/global_data.h b/arch/mips/include/asm/global_data.h index b19351788..f6cf9fe9f 100644 --- a/arch/mips/include/asm/global_data.h +++ b/arch/mips/include/asm/global_data.h @@ -39,6 +39,17 @@ typedef struct global_data { bd_t *bd; unsigned long flags; +#ifdef CONFIG_JZSOC + /* There are other clocks in the jz4740 */ + unsigned long cpu_clk; /* CPU core clock */ + unsigned long sys_clk; /* System bus clock */ + unsigned long per_clk; /* Peripheral bus clock */ + unsigned long mem_clk; /* Memory bus clock */ + unsigned long dev_clk; /* Device clock */ + /* "static data" needed by most of timer.c */ + unsigned long tbl; + unsigned long lastinc; +#endif unsigned long baudrate; unsigned long have_console; /* serial_init() was called */ #ifdef CONFIG_PRE_CONSOLE_BUFFER |