]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
authorJon Loeliger <jdl@jdl.com>
Tue, 12 Jun 2007 00:02:10 +0000 (19:02 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jul 2007 22:23:11 +0000 (00:23 +0200)
commitd5be43de93ff905c465e509d45a3164ef48d26e7
tree8adf5e095118afadc4b2f770daad386df1da3f4e
parentb453960d4fdb87b3970d96119b90df2ed024fc4a
drivers/: 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>
35 files changed:
drivers/bcm570x.c
drivers/cfb_console.c
drivers/cs8900.c
drivers/dc2114x.c
drivers/e1000.c
drivers/eepro100.c
drivers/inca-ip_sw.c
drivers/lan91c96.c
drivers/macb.c
drivers/mpc8xx_pcmcia.c
drivers/nand/nand.c
drivers/nand/nand_base.c
drivers/nand/nand_bbt.c
drivers/nand/nand_ecc.c
drivers/nand/nand_ids.c
drivers/nand/nand_util.c
drivers/nand_legacy/nand_legacy.c
drivers/natsemi.c
drivers/netarm_eth.c
drivers/ns8382x.c
drivers/pcnet.c
drivers/plb2800_eth.c
drivers/pxa_pcmcia.c
drivers/rpx_pcmcia.c
drivers/rtl8019.c
drivers/rtl8139.c
drivers/rtl8169.c
drivers/sk98lin/uboot_drv.c
drivers/sym53c8xx.c
drivers/ti_pci1410a.c
drivers/tigon3.c
drivers/tqm8xx_pcmcia.c
drivers/tsec.c
drivers/tsi108_eth.c
drivers/tsi108_i2c.c