u-boot-brain/arch/arm/imx-common
Marek Vasut cd3c5896b6 imx: i2c: Zap unnecessary malloc() calls
The malloc() calls are unnecessary, just allocate the stuff on stack.
While at it, reorder the code a little, so that only one variable is
used for the text, use snprintf() instead of sprintf() and use %01d
as a formatting string to avoid any possible overflows.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Sean Cross <xobs@kosagi.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2014-12-30 14:05:48 +01:00
..
cmd_bmode.c
cmd_hdmidet.c
cpu.c sata: fix reset_sata for dwc_ahsata 2014-12-01 10:20:19 +01:00
i2c-mxv7.c imx: i2c: Zap unnecessary malloc() calls 2014-12-30 14:05:48 +01:00
iomux-v3.c imx: mx6 sabreauto: Add board support for USB EHCI 2014-11-03 11:21:49 +01:00
Makefile
misc.c imx: add missing includes 2014-10-25 15:27:35 -04:00
sata.c
speed.c
spl_sd.cfg mx6: Use a common SPL configuration file 2014-11-20 10:30:18 +01:00
spl.c imx SPL: enable boot from eMMC boot partitions. 2014-12-30 14:05:36 +01:00
timer.c imx: gpt: Add High frequency clock source support for GPT 2014-11-03 11:21:41 +01:00
video.c mx6: video_skip: Fix crash on NULL pointer 2014-11-13 17:56:15 +01:00