summaryrefslogtreecommitdiffstats
path: root/lib/misc.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Add hex2bin and bin2hex implementationsSascha Hauer2015-03-131-2/+0
| | | | | | | Taken from the Kernel, put into the same place as in the kernel, although the hexdump.c does not actually contain hexdum functions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add beginning wchar supportSascha Hauer2014-07-141-0/+1
| | | | | | | | EFI uses 16 bit character strings. Add beginning support for this. Since barebox uses 8 bit strings internally we need conversion functions to convert between 16 bit and 8 bit strings. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add hex_byte_pack and hex_byte_pack_upper from kernelSascha Hauer2014-07-111-0/+2
| | | | | | Utility functions needed by the UUID/GUID printf support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib: misc: add 'iB' suffixes to strtoull_suffixWolfram Sang2012-12-191-1/+4
| | | | | | | Since this is the 'official' notation, we should support it. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-171-3/+0
| | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* make parse_area_spec arguments loff_tSascha Hauer2012-06-301-5/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce strtoull_suffix functionSascha Hauer2012-06-301-4/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* replace 8 spaces with tabsSascha Hauer2007-10-111-17/+17
|
* parse_area_spec():Sascha Hauer2007-10-091-15/+25
| | | | | | | | - No need to handle strings where only size or end is given. This form is confusing and does not give real benefit. - Fix start-end form. The calculation was wrong. - Return an error if end < start. - Add function description.
* export symbolsSascha Hauer2007-10-071-22/+2
|
* check for digit in parse_are_spec()Sascha Hauer2007-07-141-0/+4
|
* svn_rev_706Sascha Hauer2007-07-051-0/+21
| | | | add file headers
* svn_rev_653Sascha Hauer2007-07-051-28/+0
| | | | restructure tree, add reginfo command
* svn_rev_639Sascha Hauer2007-07-051-0/+122