commit | f08034328a945080c3ca4acf0267d45e232f1f86 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jan 20 20:10:52 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Fri Mar 12 17:41:35 2021 -0500 |
tree | 0d2e23263b1656013685cfea2943798ba43389a5 | |
parent | 7cc97ef623c6126febfc55d389b9223bc49b6c05 [diff] |
log: Set up a flag byte for log records At present only a single flag (force_debug) is used in log records. Before adding more, convert this into a bitfield, so more can be added without using more space. To avoid expanding the log_record struct itself (which some drivers may wish to store in memory) reduce the line-number field to 16 bits. This provides for up to 64K lines which should be enough for anyone. Signed-off-by: Simon Glass <sjg@chromium.org>