spl_mmc: only call printf or puts with CONFIG_SPL_LIBCOMMON_SUPPORT
authorPaul Burton <paul.burton@imgtec.com>
Wed, 4 Sep 2013 15:12:24 +0000 (16:12 +0100)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Tue, 17 Sep 2013 17:03:44 +0000 (20:03 +0300)
commit8112f5fa1be9a2344a09edf25ca00f5abaf874bb
treed339ac90efc71a182e2a8704b3a57fd60ae5a30d
parentdb6b5e8b028e1aab92bc2482b6e02c681819e7c9
spl_mmc: only call printf or puts with CONFIG_SPL_LIBCOMMON_SUPPORT

If we don't have CONFIG_SPL_LIBCOMMON_SUPPORT defined then stdio
functions are unavailable & calling them will cause a link failure.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
common/spl/spl_mmc.c