public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] confused ... how do some CONFIG settings "implicitly" set others?
@ 2009-11-20 13:29 Robert P. J. Day
  2009-11-20 18:40 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2009-11-20 13:29 UTC (permalink / raw)
  To: u-boot


  reading http://www.denx.de/wiki/view/DULG/UBootSplashScreen, and i
see:

"To enable splash screen support, you have to add a "#define
CONFIG_SPLASH_SCREEN" to your board configuration file. This will also
implicitly enable U-Boot Bitmap Support."

  "implicitly"?  how does that work?  from what i can see in
define2mk.sed, the transformation is straightforward and there are no
dependencies or selects as in the kernel Kconfig structure.  how does
setting splash screen implicitly set bitmap support?  what am i
missing?

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] confused ... how do some CONFIG settings "implicitly" set others?
  2009-11-20 13:29 [U-Boot] confused ... how do some CONFIG settings "implicitly" set others? Robert P. J. Day
@ 2009-11-20 18:40 ` Wolfgang Denk
  2009-11-20 19:08   ` Robert P. J. Day
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2009-11-20 18:40 UTC (permalink / raw)
  To: u-boot

Dear "Robert P. J. Day",

In message <alpine.LFD.2.00.0911200826340.27923@localhost> you wrote:
> 
>   reading http://www.denx.de/wiki/view/DULG/UBootSplashScreen, and i
> see:
> 
> "To enable splash screen support, you have to add a "#define
> CONFIG_SPLASH_SCREEN" to your board configuration file. This will also
> implicitly enable U-Boot Bitmap Support."
> 
>   "implicitly"?  how does that work?  from what i can see in
> define2mk.sed, the transformation is straightforward and there are no
> dependencies or selects as in the kernel Kconfig structure.  how does
> setting splash screen implicitly set bitmap support?  what am i
> missing?

Simple. The relevant parts of the code use

	#if defined(CONFIG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)

so they get selected when CONFIG_CMD_BMP and/or CONFIG_SPLASH_SCREEN
is defined.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Heavier than air flying machines are impossible.
                    -- Lord Kelvin, President, Royal Society, c. 1895

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] confused ... how do some CONFIG settings "implicitly" set others?
  2009-11-20 18:40 ` Wolfgang Denk
@ 2009-11-20 19:08   ` Robert P. J. Day
  0 siblings, 0 replies; 3+ messages in thread
From: Robert P. J. Day @ 2009-11-20 19:08 UTC (permalink / raw)
  To: u-boot

On Fri, 20 Nov 2009, Wolfgang Denk wrote:

> Dear "Robert P. J. Day",
>
> In message <alpine.LFD.2.00.0911200826340.27923@localhost> you wrote:
> >
> >   reading http://www.denx.de/wiki/view/DULG/UBootSplashScreen, and i
> > see:
> >
> > "To enable splash screen support, you have to add a "#define
> > CONFIG_SPLASH_SCREEN" to your board configuration file. This will also
> > implicitly enable U-Boot Bitmap Support."
> >
> >   "implicitly"?  how does that work?  from what i can see in
> > define2mk.sed, the transformation is straightforward and there are no
> > dependencies or selects as in the kernel Kconfig structure.  how does
> > setting splash screen implicitly set bitmap support?  what am i
> > missing?
>
> Simple. The relevant parts of the code use
>
> 	#if defined(CONFIG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
>
> so they get selected when CONFIG_CMD_BMP and/or CONFIG_SPLASH_SCREEN
> is defined.

  ok, i get it, but that's not "implicit," that's *explicit*.
totally different meaning.

rday
--


========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-20 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-20 13:29 [U-Boot] confused ... how do some CONFIG settings "implicitly" set others? Robert P. J. Day
2009-11-20 18:40 ` Wolfgang Denk
2009-11-20 19:08   ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox