[PATCH v2 1/6] log: Set up a flag byte for log records

Tom Rini trini at konsulko.com
Mon Mar 15 16:52:12 CET 2021


On Wed, Jan 20, 2021 at 08:10:52PM -0700, Simon Glass wrote:

> 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 at chromium.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210315/ff61a93d/attachment.sig>


More information about the U-Boot mailing list