Remove broken assertion in console_putc()
The assertion in console_putc() would trigger a recursion that
exhausts the stack and eventually aborts.

This patch replaces the assertion with an error return if the
console has not been initialized yet.

Fixes ARM-software/tf-issues#208

Change-Id: I95f736ff215d69655eb5ba7ceac70dc1409d986a
1 parent dbc64b3 commit 0695dc49e2f1fcaef673ad7a50d9ec97ae3744b5
@Andrew Thoelke Andrew Thoelke authored on 20 Jun 2014
Showing 1 changed file
View
drivers/arm/pl011/pl011_console.c