]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/asm-generic/global_data.h
dm: serial: Move current serial port pointer to global_data
[karo-tx-uboot.git] / include / asm-generic / global_data.h
index 74df21003363305e98a7b84d27275612df1a98fe..f61acbc4fc12f5cd815965eedba5cc6f25140826 100644 (file)
@@ -91,6 +91,7 @@ typedef struct global_data {
        unsigned long malloc_limit;     /* limit address */
        unsigned long malloc_ptr;       /* current address */
 #endif
+       struct udevice *cur_serial_dev; /* current serial device */
        struct arch_global_data arch;   /* architecture-specific data */
 } gd_t;
 #endif