Hi Simon, On Wed, May 23, 2018 at 6:33 PM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 23 May 2018 at 06:09, Mario Six <mario....@gdsys.cc> wrote: >> Especially for commands, it is useful to be able to turn a hexadecimal >> string into its binary representation. >> >> Hence, import the hex_to_bin, bin2hex, and hex2bin functions from the >> Linux kernel. >> >> Signed-off-by: Mario Six <mario....@gdsys.cc> >> >> --- >> >> v1 -> v2: >> New in v2 >> >> --- >> include/linux/kernel.h | 4 + >> lib/Makefile | 1 + >> lib/hexdump.c | 321 >> +++++++++++++++++++++++++++++++++++++++++++++++++ >> 3 files changed, 326 insertions(+) >> create mode 100644 lib/hexdump.c > > Does Linux have any tests for this code? >
No, there are no tests for this. I'll write some for v3, then. > Regards, > Simon > Best regards, Mario _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot