commit | 2f13ae5867ac78275c8fe798d98695276a3075ab | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Oct 01 19:13:13 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Wed Oct 11 15:43:54 2023 -0400 |
tree | 3f3255299b7ebcd526701159bde7a4350ea1fca4 | |
parent | c8d7ac72851cefb4d7221dbbf3bfcd08ab7c87b1 [diff] |
cli: Create a function to process characters Move most of the inner loop from cread_line() into a new function. This will allow using it from other code. This involves adding a few more members to the state struct. Signed-off-by: Simon Glass <sjg@chromium.org>