cmd: binop: Use hex2bin
authorMario Six <mario.six@gdsys.cc>
Mon, 28 Jan 2019 08:43:43 +0000 (09:43 +0100)
committerMario Six <mario.six@gdsys.cc>
Tue, 21 May 2019 05:52:34 +0000 (07:52 +0200)
commit32dbe8c58a28ea4cd1c9370be9e99fd644b9d5a7
treef304aaa9286a906c68ad8cb0c27ad28ca28b5932
parent29dada9c2e1637aede9985ded2959342e2d4a458
cmd: binop: Use hex2bin

Use the new hex2bin function in the binop command instead of converting
the data manually.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/binop.c