lib_*/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
authorJon Loeliger <jdl@jdl.com>
Tue, 12 Jun 2007 00:03:03 +0000 (19:03 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jul 2007 22:23:17 +0000 (00:23 +0200)
commit0c505db0a0dc1f670b13ce3b4d3fbf1ec5b3cbd2
treebdaf55b34bb47c67b2d19bc382a7f42af3928914
parent73f032021ec5f13cda8faa4e34b6de80960eb86f
lib_*/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
lib_arm/board.c
lib_avr32/board.c
lib_blackfin/board.c
lib_generic/crc32.c
lib_i386/board.c
lib_m68k/board.c
lib_microblaze/board.c
lib_mips/board.c