Skip to contentSkip to conversation

is "CONFIG_OMAP_INNOVATOR" a typo or not?

U-Boot Robert P. J. Day 1 participant 1 message Nov 21, 2009

lore
Share & tools
lore
#0 lore raw

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

========================================================================