]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/avr32/include/asm/global_data.h
console: Implement pre-console buffer
[karo-tx-uboot.git] / arch / avr32 / include / asm / global_data.h
index 4ef8fc570f34524691e59a6f03da60e2dac1fe92..5c654bd5e0325ec845cf7e882422e4dc67a8a765 100644 (file)
@@ -38,6 +38,9 @@ typedef       struct  global_data {
        unsigned long   baudrate;
        unsigned long   stack_end;      /* highest stack address */
        unsigned long   have_console;   /* serial_init() was called */
+#ifdef CONFIG_PRE_CONSOLE_BUFFER
+       unsigned long   precon_buf_idx; /* Pre-Console buffer index */
+#endif
        unsigned long   reloc_off;      /* Relocation Offset */
        unsigned long   env_addr;       /* Address of env struct */
        unsigned long   env_valid;      /* Checksum of env valid? */