Add architecture-specific global data
[platform/kernel/u-boot.git] / arch / avr32 / include / asm / global_data.h
index 7878bb1..236a9da 100644 (file)
 #ifndef __ASM_GLOBAL_DATA_H__
 #define __ASM_GLOBAL_DATA_H__
 
+/* Architecture-specific global data */
+struct arch_global_data {
+};
+
 /*
  * The following data structure is placed in some memory wich is
  * available very early after boot (like DPRAM on MPC8xx/MPC82xx, or
@@ -33,7 +37,7 @@
 typedef        struct  global_data {
        bd_t            *bd;
        unsigned long   flags;
-       unsigned long   baudrate;
+       unsigned int    baudrate;
        unsigned long   stack_end;      /* highest stack address */
        unsigned long   have_console;   /* serial_init() was called */
 #ifdef CONFIG_PRE_CONSOLE_BUFFER
@@ -48,6 +52,7 @@ typedef       struct  global_data {
 #endif
        void            **jt;           /* jump table */
        char            env_buf[32];    /* buffer for getenv() before reloc. */
+       struct arch_global_data arch;   /* architecture-specific data */
 } gd_t;
 
 #include <asm-generic/global_data_flags.h>