diff options
Diffstat (limited to 'arch/microblaze/include/asm/setup.h')
-rw-r--r-- | arch/microblaze/include/asm/setup.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/setup.h b/arch/microblaze/include/asm/setup.h index 782b5c89248e..5f910ebe0325 100644 --- a/arch/microblaze/include/asm/setup.h +++ b/arch/microblaze/include/asm/setup.h | |||
@@ -25,6 +25,12 @@ void early_printk(const char *fmt, ...); | |||
25 | int setup_early_printk(char *opt); | 25 | int setup_early_printk(char *opt); |
26 | void disable_early_printk(void); | 26 | void disable_early_printk(void); |
27 | 27 | ||
28 | #if defined(CONFIG_EARLY_PRINTK) && defined(CONFIG_SERIAL_UARTLITE_CONSOLE) | ||
29 | #define eprintk early_printk | ||
30 | #else | ||
31 | #define eprintk printk | ||
32 | #endif | ||
33 | |||
28 | void heartbeat(void); | 34 | void heartbeat(void); |
29 | void setup_heartbeat(void); | 35 | void setup_heartbeat(void); |
30 | 36 | ||