cmd: avb read_rb: print rb_idx in hexadecimal
authorJens Wiklander <jens.wiklander@linaro.org>
Tue, 25 Sep 2018 14:40:06 +0000 (16:40 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 7 Oct 2018 14:47:38 +0000 (10:47 -0400)
commitab2d738239b0eb009a5cab792275b4c36504f595
tree441e820b48b79fc7a49789bef1744ad51fb6e148
parent747558d014577526bf2e8d9fe9ca748fdbf75d8a
cmd: avb read_rb: print rb_idx in hexadecimal

Prior to this patch was do_avb_write_rb() reading supplied rb_idx as a
hexadecimal number while do_avb_read_rb() printed the read out rb_idx as
decimal number. For consistency change do_avb_read_rb() to print rb_idx
as a hexadecimal number too.

Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
cmd/avb.c