]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
disk/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
authorJon Loeliger <jdl@jdl.com>
Tue, 12 Jun 2007 00:02:34 +0000 (19:02 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jul 2007 22:23:13 +0000 (00:23 +0200)
commit45cdb9b72c94655c7308b464a2666057c0b286e0
tree6ffbd54343f18c39be6530a2e2464437ecc59300
parent4e109ae98294a5ca7ff848b7652c7bfd4023a94a
disk/: 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>
disk/part.c [changed mode: 0755->0644]
disk/part_amiga.c
disk/part_dos.c
disk/part_iso.c
disk/part_mac.c