From: Tom Rini Date: Tue, 4 Jul 2017 13:04:25 -0400 Subject: [U-Boot] [PATCH] video: add config option to skip framebuffer clear In-Reply-To: <20170704152605.5E9D91243D5@gemini.denx.de> References: <20170704131739.4399-1-robdclark@gmail.com> <20170704152605.5E9D91243D5@gemini.denx.de> Message-ID: <20170704170425.GK9889@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 Tue, Jul 04, 2017 at 05:26:05PM +0200, Wolfgang Denk wrote: > Dear Rob, > > In message <20170704131739.4399-1-robdclark@gmail.com> you wrote: > > > > +#ifndef CONFIG_SYS_NO_FB_CLEAR > > video_clear(); > > +#endif > > This should be CONFIG_NO_FB_CLEAR. CONFIG_SYS_ should only be used > for settings that are not optional, i. e. that are mandatory due to > hardware properties or such. In this case it is a decision of the > user whether he wants to clear the FB or not, thus no _SYS. Also, we want to avoid #ifndef CONFIG_NO..., so please re-work the logic (and make the new option default y). Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: