]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/mips/include/asm/global_data.h
MIPS: Ingenic XBurst Jz4740 processor support
[karo-tx-uboot.git] / arch / mips / include / asm / global_data.h
index b193517889e001fbb91e467ce6aa44b0bdda42dc..f6cf9fe9fd5e08fba29d3f237a82ffca32006466 100644 (file)
 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