]> git.sur5r.net Git - u-boot/commit
common/ non-cmd: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
authorJon Loeliger <jdl@jdl.com>
Tue, 12 Jun 2007 00:02:05 +0000 (19:02 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jul 2007 22:23:10 +0000 (00:23 +0200)
commitb453960d4fdb87b3970d96119b90df2ed024fc4a
treebb4a98072997b0c45516e8543b603835334c506d
parent65c450b47a62659d522cfa8f4fa1e4e5c60dccd0
common/ non-cmd: 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>
13 files changed:
common/bedbug.c
common/command.c
common/docecc.c
common/env_flash.c
common/env_nand.c
common/exports.c
common/hush.c
common/kgdb.c
common/lcd.c
common/main.c
common/miiphyutil.c
common/usb.c
common/usb_storage.c