Skip to content
Commit 0cceb99a authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

display_options: Split print_buffer() into two functions



At present print_buffer() outputs a hex dump but it is not possible to
place this dump in a string. Refactor it into a top-level function which
does the printing and a utility function that dumps a line into a string.
This makes the code more generally useful.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 735dd6ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment