Convert BIN2HEX/HEX2BIN to functions and add the abs() family
authorUwe Hermann <uwe@hermann-uwe.de>
Fri, 11 Apr 2008 18:38:04 +0000 (18:38 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 11 Apr 2008 18:38:04 +0000 (18:38 +0000)
commitb103345a14cf3fe28f32573833dd06af66dfadaf
tree627608743b7207b63db88167a40d1dc73e1b548b
parentfad8c2bd7ca3605fdae3548b8a932aa309871931
Convert BIN2HEX/HEX2BIN to functions and add the abs() family
of functions while we're at it.

hex2bin() now also supports upper-case input characters.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3235 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
payloads/libpayload/include/libpayload.h
payloads/libpayload/libc/lib.c