diff options
author | Simon Glass <sjg@chromium.org> | 2021-07-24 18:03:35 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-08-02 20:32:14 +0300 |
commit | 5a94546e1cb302842aa0f65be0bb3585fd010ccd (patch) | |
tree | 4cb611c1f330fd6d38be15e6cd13051540a2c03d /doc/usage/md.rst | |
parent | ab833ef60a13b60bfa8e236ca774e91b22255a5a (diff) | |
download | u-boot-5a94546e1cb302842aa0f65be0bb3585fd010ccd.tar.xz |
lib: Move common digit-parsing code into a function
The code to convert a character into a digit is repeated twice in this
file. Factor it out into a separate function. This also makes the code a
little easier to read.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/usage/md.rst')
0 files changed, 0 insertions, 0 deletions