From: Tom Rini Date: Mon, 15 Mar 2021 11:52:12 -0400 Subject: [PATCH v2 1/6] log: Set up a flag byte for log records In-Reply-To: <20210121031057.559301-2-sjg@chromium.org> References: <20210121031057.559301-1-sjg@chromium.org> <20210121031057.559301-2-sjg@chromium.org> Message-ID: <20210315155212.GF1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: