]> git.sur5r.net Git - u-boot/commit
lib: make strmhz available in SPL
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Tue, 31 May 2016 08:30:59 +0000 (20:30 +1200)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2016 17:39:19 +0000 (13:39 -0400)
commitbe86492bdaeb8fdfd8d66bba79a9bd899531b8b0
treec54ee50509ea83d729e25ca3d22b804595605b9d
parent25bab53ab26efdb9e2024477f896be65b6e7191e
lib: make strmhz available in SPL

When setting up a DDR controller it is useful to be able to display
frequencies in a readable form. Make the strmhz() function available in
SPL builds provided there is full vsprintf available.

Reviewed-by: Tony O'Brien <tony.obrien@alliedtelesis.co.nz>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
lib/Makefile