[PATCH] video: add opt out option for VIDEO_BBP selection

Anatolij Gustschin agust at denx.de
Tue Feb 4 18:19:39 CET 2020


On Tue, 4 Feb 2020 11:49:59 -0500
Tom Rini trini at konsulko.com wrote:
...
> >  config VIDEO_BPP32
> >  	bool "Support 32-bit-per-pixel displays"
> >  	depends on DM_VIDEO
> > -	default y if X86
> > +	default y if DM_VIDEO && !VIDEO_BPP_OPT_OUT
> >  	help
> >  	  Support drawing text and bitmaps onto a 32-bit-per-pixel display.
> >  	  Enabling this will include code to support this display. Without  
> 
> I think this is more complex than it needs to be, honestly.  The old
> behavior was that all of these options were essentially "default y" but
> it also wasn't possible to remove them (in some cases?).  Now that we
> can let boards pick what they want, I think we should just go back to
> the old behavior of in essence "default y" (and they already have
> depends on DM_VIDEO).  Thanks!

you mean we can go with
  default y if !VIDEO_BPP_OPT_OUT
?

--
Anatolij




Viele Grüße,

Anatolij Gustschin

--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-50 Fax: +49-8142-66989-80  Email: agust at denx.de


More information about the U-Boot mailing list