]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/asm-generic/global_data.h
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[karo-tx-uboot.git] / include / asm-generic / global_data.h
index 77260a8d2069f07049578aaa44f0f82cadbaa870..77e06fb4fefc045226f286c5985e2fb8685eaea3 100644 (file)
@@ -68,6 +68,9 @@ typedef struct global_data {
        char env_buf[32];       /* buffer for getenv() before reloc. */
 #ifdef CONFIG_TRACE
        void            *trace_buff;    /* The trace buffer */
+#endif
+#if defined(CONFIG_SYS_I2C)
+       int             cur_i2c_bus;    /* current used i2c bus */
 #endif
        struct arch_global_data arch;   /* architecture-specific data */
 } gd_t;