diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-13 08:22:26 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-13 08:22:27 +0100 |
commit | 5dd5884801669b17705cd030e9e82a4f1de50296 (patch) | |
tree | bbd1a44158edda9ce6bc577498698d27d3ac3949 /lib/misc.c | |
parent | 08a50cd3064ad367bd23c217d26856cc1ac47d57 (diff) | |
download | barebox-5dd5884801669b17705cd030e9e82a4f1de50296.tar.gz barebox-5dd5884801669b17705cd030e9e82a4f1de50296.tar.xz |
lib: Add hex2bin and bin2hex implementations
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>
Diffstat (limited to 'lib/misc.c')
-rw-r--r-- | lib/misc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/misc.c b/lib/misc.c index 87626c1e8b..62ddd66779 100644 --- a/lib/misc.c +++ b/lib/misc.c @@ -114,5 +114,3 @@ int parse_area_spec(const char *str, loff_t *start, loff_t *size) return -1; } EXPORT_SYMBOL(parse_area_spec); - -const char hex_asc[] = "0123456789abcdef"; |