lib_ppc/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
authorJon Loeliger <jdl@jdl.com>
Tue, 12 Jun 2007 00:02:58 +0000 (19:02 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jul 2007 22:23:16 +0000 (00:23 +0200)
commit73f032021ec5f13cda8faa4e34b6de80960eb86f
treea492327da5ee32d9594fb6f57a0b928d9d4e82b8
parent98b79003c21c2578206003256de4e781d6b36ca8
lib_ppc/: 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_ppc/board.c
lib_ppc/kgdb.c