[U-Boot] is "CONFIG_OMAP_INNOVATOR" a typo or not?

Robert P. J. Day rpjday at crashcourse.ca
Sat Nov 21 08:42:42 CET 2009


  in my travels through OMAP land, i'm still running across what look
like typoes but i'm not sure if they are or if there's something
subtle and funky going on underneath with macro concatenation or
something.

  witness:

$ grep -r CONFIG.*OMAP.*INNOVATOR *
include/configs/omap1510.h:#ifdef CONFIG_OMAP_INNOVATOR
include/configs/omap1610inn.h:#define CONFIG_MACH_OMAP_INNOVATOR	/* Select board mach-type */
include/asm-arm/mach-types.h:#ifdef CONFIG_MACH_OMAP_INNOVATOR
$

so the last two lines above set and test CONFIG_MACH_OMAP_INNOVATOR,
while that first header file instead tests CONFIG_OMAP_INNOVATOR, for
which there is no other reference anywhere else in the tree.

  can someone clarify what's happening in cases like that, because
it's not the only example i've run across.  thanks.

rday
--

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

            Linux Consulting, Training and Kernel Pedantry.

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


More information about the U-Boot mailing list