]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: Add a panic_str() function to reduce code size
authorSimon Glass <sjg@chromium.org>
Sat, 28 Feb 2015 05:06:32 +0000 (22:06 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:30:15 +0000 (22:30 +0200)
commit1e73f6656599045f36fd41599c2c794e60748e72
treea29d0184e7ecb0f75d8a3efb2263a1d77ca89ef8
parent1490a76310cf0c99ae27873d0c066c5396eead5f
dm: Add a panic_str() function to reduce code size

The printf() in panic() adds about 1.5KB of code size to SPL when compiled
with Thumb-2. Provide a smaller version that does not support printf()-style
arguments and use it in two commonly compiled places.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial-uclass.c
include/vsprintf.h
lib/fdtdec.c
lib/vsprintf.c