[U-Boot] Avoid using gawk-specific strtonum()

Tom Rini trini at ti.com
Tue Jul 8 03:36:28 CEST 2014


On Wed, Jun 18, 2014 at 12:10:15AM -0600, Simon Glass wrote:

> We need to subtract two hex numbers. Avoid using strtonum() by doing the
> subtraction in bc with a suitable input base.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reported-by: Vasili Galka <vvv444 at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140707/79e3c9c8/attachment.pgp>


More information about the U-Boot mailing list