From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylvain Lesne Date: Wed, 1 Jun 2016 10:16:12 +0200 Subject: [U-Boot] [PATCH 1/2] tiny-printf: Support sprintf() In-Reply-To: <1464729167-5409-1-git-send-email-marex@denx.de> References: <1464729167-5409-1-git-send-email-marex@denx.de> Message-ID: <574E99CC.4020203@alse-fr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 05/31/2016 11:12 PM, Marek Vasut wrote: > Add a simple version of this function for SPL. It does not check the buffer > size as this would add to the code size. > > Signed-off-by: Marek Vasut > Cc: Simon Glass > Cc: Stefan Roese > Cc: Tom Rini > Cc: lesne at alse-fr.com This is how I would do it as well, and I can confirm that it builds and boots on a socfpga platform (sockit), when using part_dos.c (that includes sprintf() calls). Reviewed-by: Sylvain Lesne Tested-by: Sylvain Lesne -- Sylvain