From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 11 Oct 2020 21:14:51 -0400 Subject: [PATCH 1/4] log: Add a flag to enable log drivers In-Reply-To: <20200912122845.1.I35e547d3c773391e4102e3dbec0760c76fadd092@changeid> References: <20200912182850.3909182-1-sjg@chromium.org> <20200912122845.1.I35e547d3c773391e4102e3dbec0760c76fadd092@changeid> Message-ID: <20201012011451.GN14816@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 Sat, Sep 12, 2020 at 12:28:47PM -0600, Simon Glass wrote: > At present there is no way to disable a log driver. But the syslog driver > causes (attempted) network traffic in sandbox every time a log message > is printed, which is often. > > Add a flag to enable a log driver. Adjust struct log_device to use a short > for next_filter_num so that no more memory is used for devices. Also fix > a missing line in the struct log_driver comment while here. > > To maintain compatibility, enable it for all drivers for now. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: