diff options
author | Michal Simek <monstr@monstr.eu> | 2011-04-06 13:06:45 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-07-25 09:25:26 +0200 |
commit | ca12adc8ca6814d1949fcc6d83c1adda6dc9e2ef (patch) | |
tree | 4e9c522e867ded37b9e51043fcc4c89b27227b2f /arch/microblaze/kernel/early_printk.c | |
parent | 2aa8e37596933a43fc3e46e1e385045635674429 (diff) | |
download | op-kernel-dev-ca12adc8ca6814d1949fcc6d83c1adda6dc9e2ef.zip op-kernel-dev-ca12adc8ca6814d1949fcc6d83c1adda6dc9e2ef.tar.gz |
microblaze: Add support for early console on mdm
Support mdm early console:
- extend time for retries
- add mdm compatible property
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/early_printk.c')
-rw-r--r-- | arch/microblaze/kernel/early_printk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/early_printk.c b/arch/microblaze/kernel/early_printk.c index e21390d..d26d92d 100644 --- a/arch/microblaze/kernel/early_printk.c +++ b/arch/microblaze/kernel/early_printk.c @@ -35,7 +35,7 @@ static void early_printk_uartlite_putc(char c) * we'll never timeout on a working UART. */ - unsigned retries = 10000; + unsigned retries = 1000000; /* read status bit - 0x8 offset */ while (--retries && (in_be32(base_addr + 8) & (1 << 3))) ; |