[U-Boot] very short list of "badref selects" in u-boot source

Robert P. J. Day rpjday at crashcourse.ca
Fri Apr 12 20:43:04 UTC 2019

  rather than go to the trouble of whipping up a wiki page, i can
present this in a short post to the list. here's the list of what my
script identified as "badref selects" -- those identifiers for which
there is a Kconfig line of the form:

  select X

where there is no corresponding:

  config X

the entire list:

>>>>> CPU_ARM926EJS1
>>>>> CRC32
>>>>> GPIO

  first, the two with the "CONFIG_" prefix are obvious typos which
should have those prefixes removed.

  as for the rest, as one example, consider "CRC32":

  $ git grep "select CRC32"
  cmd/Kconfig:    select CRC32
  cmd/Kconfig:    select CRC32
  drivers/mtd/ubi/Kconfig:        select CRC32
  fs/btrfs/Kconfig:       select CRC32C

there is no matching "config CRC32" anywhere, although there is:

include/image.h:#  define CONFIG_CRC32          /* FIT images need CRC32 support */

in any event, others are welcome to decide what to do about that short
list of suspicious "select" directives. i am not trying to be
annoying, i am merely succeeding.



Robert P. J. Day                                 Ottawa, Ontario, CANADA

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

More information about the U-Boot mailing list