commit | 74ebfb60f6890ab46d5233d13941ff9d6eea2312 | [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 | a58e7bbeb64d8989bb6fc8699c84053e383361af [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>