commit | 7370825ab69c1fa0ad7732d24141223ef9a4b76d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jan 17 10:48:00 2023 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 23 18:11:41 2023 -0500 |
tree | 6f415e41360d8ce1006e151a816484e8e1aa324e | |
parent | 4adeeb8b226769fc57252bc279d8de70baea1c05 [diff] |
bootstd: Move label parsing into its own function This is complicated enough to merit its own function, particularly as we are about to add to it. Create a new label_to_uclass() function to decode a label. Also update the code to ignore an empty label or one consisting of just a number. Signed-off-by: Simon Glass <sjg@chromium.org>