printf: move panic() to common/misc.c
panic() is not really a printf like function, so move it to common/misc.c.
This is done because we want to have printf support in the PBL, but PBL
has it's own panic() implementation.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c20983f commit ce5299b0bf8c8f31a701fe5f8de1fb02111ef0cd
@Sascha Hauer Sascha Hauer authored on 8 Dec 2014
Showing 2 changed files
View
common/misc.c
View
lib/vsprintf.c