]> git.sur5r.net Git - u-boot/commitdiff
Merge with /home/wd/git/u-boot/custodian/u-boot-testing
authorWolfgang Denk <wd@denx.de>
Sun, 5 Aug 2007 23:11:08 +0000 (01:11 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 5 Aug 2007 23:11:08 +0000 (01:11 +0200)
15 files changed:
1  2 
CHANGELOG
MAKEALL
Makefile
common/cmd_bootm.c
common/cmd_doc.c
common/cmd_ide.c
common/cmd_nand.c
common/cmd_net.c
common/main.c
cpu/mpc5xxx/fec.c
drivers/nand_legacy/nand_legacy.c
include/common.h
include/configs/pcs440ep.h
lib_ppc/board.c
net/eth.c

diff --combined CHANGELOG
index f8a04e6207eb921ba7e228ae76c74320ae518c90,58ef66ecdc4c2e0caba7dc343f6aaa5775050457..f00510bf7e16d9d8b03042cb35d0a260e04b34b4
+++ b/CHANGELOG
 -commit 8092fef4c29b395958bb649647da7e3775731517
 -Author: Martin Krause <Martin.Krause@tqs.de>
 -Date: Tue Dec 12 14:26:01 2006 +0100
 -
 -    Add functions to list of exported functions
 -
 -    Additionally export the following fuctions (to make trab_config build again):
 -    - simple_strtol()
 -    - strcmp()
 -
 -    Also bump the ABI version to reflect this change
 -
 -    Signed-off-by: Martin Krause <martin.krause@tqs.de>
 -
 -commit 63cec5814fab5d2b1c86982327433807a5ac0249
 -Author: Ed Swarthout <Ed.Swarthout@freescale.com>
 -Date: Thu Aug 2 14:09:49 2007 -0500
 -
 -    Make MPC8641's PCI/PCI-E driver a common driver for many FSL parts.
 -
 -    All of the PCI/PCI-Express driver and initialization code that
 -    was in the MPC8641HPCN port has now been moved into the common
 -    drivers/fsl_pci_init.c.  In a subsequent patch, this will be
 -    utilized by the 85xx ports as well.
 -
 -    Common PCI-E IMMAP register blocks for FSL 85xx/86xx are added.
 -
 -    Also enable the second PCI-Express controller on 8641
 -    by getting its BATS and CFG_ setup right.
 -
 -    Fixed a u16 vendor compiler warning in AHCI driver too.
 -
 -    Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
 -    Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit c7e717ebc2b044d7a71062552c9dc0f54ea9b779
 -Author: Andy Fleming <afleming@freescale.com>
 -Date: Fri Aug 3 04:05:25 2007 -0500
 -
 -    Add Marvell 1149 PHY support to the TSEC
 -
 -commit 63e22764d2f8653f68888c667eb65b3996b52680
 -Author: Wolfgang Denk <wd@denx.de>
 -Date: Thu Aug 2 10:11:18 2007 +0200
 -
 -    Minor cleanup of <board>_nand build rules.
 -
 -commit cdd917a43da6fa7fc8f54a3cc9f420ce5ecf3197
++commit b1b54e352028ed370c3aa95d6fdeb9d64c5d2f86
+ Author: Wolfgang Denk <wd@denx.de>
 -Date: Thu Aug 2 00:48:45 2007 +0200
++Date: Thu Aug 2 21:27:46 2007 +0200
 -    Fix build errors and warnings / code cleanup.
++    Coding style cleanup, update CHANGELOG
+     Signed-off-by: Wolfgang Denk <wd@denx.de>
 -commit 5a56af3b522ba47fb33a3fee84d23bf1e5429654
 -Author: Andy Fleming <afleming@freescale.com>
 -Date: Fri Jun 8 16:41:18 2007 -0500
 -
 -    Remove erroneous errata code from Marvel 88E1111S driver
 -
 -    The Marvel 88E1111S driver for the TSEC was copied from the
 -    88E1101 driver, and included a fix for an erratum which does not
 -    exist on that part.        Now it is removed
 -
 -    Signed-off-by: Andy Fleming <afleming@freescale.com>
 -
 -commit 982efcf23fd03647e01e2fbe28a7a36239156cc0
 -Author: Andy Fleming <afleming@freescale.com>
 -Date: Tue Jun 5 16:38:44 2007 -0500
 -
 -    From: eran liberty <eran.liberty@gmail.com>
 -
 -    adds the reset register to 85xx immap
 +commit 8993e54b6f397973794f3d6f47d3b3c0c98dd4f6
 +Author: Rafal Jaworowski <raj@semihalf.com>
 +Date: Fri Jul 27 14:43:59 2007 +0200
  
 -    Signed-off-by: Eran Liberty <eran.liberty@gmail.com>
 -    Signed-off-by: Andy Fleming <afleming@freescale.com>
 +    [ADS5121] Support for the ADS5121 board
  
 -commit d3ec0d943a045bdb99e159e7bbc77430e09f11d7
 -Author: Andy Fleming <afleming@freescale.com>
 -Date: Thu May 10 17:50:01 2007 -0500
 +    The following MPC5121e subsystems are supported:
  
 -    Polished the 85xx ADS config files
 +    - low-level CPU init
 +    - NOR Boot Flash (common CFI driver)
 +    - DDR SDRAM
 +    - FEC
 +    - I2C
 +    - Watchdog
  
 -    Made the boot commands use device trees by default.
 -    Also moved the ramdisk to 1000000 (I think the previous address
 -    was getting overridden during boot).
 +    Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
 +    Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
 +    Signed-off-by: Jan Wrobel <wrr@semihalf.com>
  
 -    Signed-off-by: Andy Fleming <afleming@freescale.com>
 +commit 1863cfb7b100ba0ee3401799457a01dc058745f8
 +Author: Rafal Jaworowski <raj@semihalf.com>
 +Date: Fri Jul 27 14:22:04 2007 +0200
  
 -commit bfb37b32d1b0b03f18077dba49cc66a6e76fa038
 -Author: Ed Swarthout <Ed.Swarthout@freescale.com>
 -Date: Wed May 9 11:03:32 2007 -0500
 +    [PPC] Remove unused MSR_USER definition
  
 -    8544ds: Fix Makefile after moving pixis to board/freescale.
 +    Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
  
 -    The OBJTREE != SRCTREE build scenario was broken.
 -    This fixes it.
 +commit cc3023b9f95d7ac959a764471a65001062aecf41
 +Author: Rafal Jaworowski <raj@semihalf.com>
 +Date: Thu Jul 19 17:12:28 2007 +0200
  
 -    Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 +    Fix breakage of 8xx boards from recent commit.
  
 -commit 2a3cee43c3b71fa5b8d91db19f05067865290f3e
 -Author: Andy Fleming <afleming@freescale.com>
 -Date: Wed May 9 00:54:20 2007 -0500
 +    This patch fixes the negative consequences for 8xx of the recent
 +    "ppc4xx: Clean up 440 exceptions handling" commit.
  
 -    tsec: Fix PHY code to match first driver
 +    Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
  
 -    Jarrold Wen noticed that the generic PHY code always matches
 -    under the current implementation.  Change it so the first match
 -    wins, and *only* unknown PHYs trigger the generic driver
 +commit 3a6cab844cf74f76639d795e0be8717e02c86af7
 +Author: Wolfgang Denk <wd@denx.de>
 +Date: Sat Jul 14 22:51:02 2007 +0200
  
 -    Signed-off-by: Andy Fleming <afleming@freescale.com>
 +    Update CHANGELOG
  
 -commit ccc091aac61a38cd998d575d92f7232e256d6312
 -Author: Andy Fleming <afleming@freescale.com>
 -Date: Tue May 8 17:27:43 2007 -0500
 +    Signed-off-by: Wolfgang Denk <wd@denx.de>
  
 -    Add support for CPM device tree configuration to 8560 ADS
 +commit 011595307731a7a67a7445d107c279d031e8ab97
 +Author: Heiko Schocher <hs@pollux.denx.de>
 +Date: Sat Jul 14 01:06:58 2007 +0200
  
 -    * Adds code to modify CPM frequencies
 -    * Cleans up the config file to #define TSEC and (for now) #undef FCC
 -    * Adds the MII command for all 8560 ADS configurations
 -    * Updates config file to provide convenience commands for booting
 -      with a device tree
 +    [PCS440EP]        - fix compile error, if BUILD_DIR is used
  
 -    Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
 -    Signed-off-by: Andy Fleming <afleming@freescale.com>
 +commit fad63407154f46246ce80d53a9c669a44362ac67
 +Author: Heiko Schocher <hs@pollux.denx.de>
 +Date: Fri Jul 13 09:54:17 2007 +0200
  
 -commit 7507d56ccaf7aae1c474342a9a5540165cd7e9d9
 -Author: Andy Fleming <afleming@freescale.com>
 -Date: Tue May 8 17:23:02 2007 -0500
 +    make show_boot_progress () weak.
  
 -    Fix Marvell 88e1145 PHY init code
 +    Signed-off-by: Heiko Schocher <hs@denx.de>
  
 -    Fix a bug in the Marvell 88e1145 PHY init code in the TSEC driver
 -    where the reset was being done after the errata code instead of
 -    before.
 +commit 907902472391b6ca1876ec300687562ecaf459b1
 +Author: Heiko Schocher <hs@pollux.denx.de>
 +Date: Fri Jul 13 08:26:05 2007 +0200
  
 -    Signed-off-by: Haiying Wang <haiying.wang@freescale.com>
 -    Signed-off-by: Andy Fleming <afleming@freescale.com>
 +    [PCS440EP]        - The DIAG LEDs are now blinking, if an error occur
 +              - fix compile error, if BUILD_DIR is used
  
 -commit 5dc210dec5bace98a50b6ba905347890091a9bb0
 -Author: Ed Swarthout <Ed.Swarthout@freescale.com>
 -Date: Wed Jul 11 14:52:16 2007 -0500
 +    Signed-off-by: Heiko Schocher <hs@denx.de>
  
 -    Add simple agent/end-point configuration in PCI AutoConfig for PCI_CLASS_PROCESSOR_POWERPC.
 +commit 239f05ee4dd4cfe0b50f251b533dcebe9e67c360
 +Author: Wolfgang Denk <wd@denx.de>
 +Date: Thu Jul 12 01:45:34 2007 +0200
  
 -    Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
 +    Update CHANGELOG, minor coding style cleanup.
  
 -commit e8b85f3ba4cd8930e0a2fea2100c815d64201765
 -Author: Ed Swarthout <Ed.Swarthout@freescale.com>
 -Date: Wed Jul 11 14:52:08 2007 -0500
 +    Signed-off-by: Wolfgang Denk <wd@denx.de>
  
 -    pciauto setup bridge
 +commit fa1df308926a6f70e3504c57514ef27ac31fd13a
 +Author: Bartlomiej Sieka <tur@semihalf.com>
 +Date: Wed Jul 11 20:11:07 2007 +0200
  
 -    The P2P bridge bus numbers programmed into the device are relative to
 -    hose->first_busno.
 +    CM1.QP1: Support for the Schindler CM1.QP1 board.
  
 -    Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
 +    Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
 +    Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
  
 -commit 571f49fa717004ca4268b4e24057efc7bf9f987b
 -Author: Ed Swarthout <Ed.Swarthout@freescale.com>
 -Date: Wed Jul 11 14:52:01 2007 -0500
 +commit 96e1d75be8193ca79e4215a368bf9d7f2362450f
 +Author: Heiko Schocher <hs@pollux.denx.de>
 +Date: Wed Jul 11 18:39:11 2007 +0200
  
 -    Support PCIe extended config registers
 +    [PCS440EP]        - Show on the DIAG LEDs, if the SHA1 check failed
 +              - now the Flash ST M29W040B is supported (not tested)
 +              - fix the "led" command
 +              - fix compile error, if BUILD_DIR is used
  
 -    FSL PCIe block has extended cfg registers in the 100 and 400 range.
 -    For example, to read the LTSSM register: pci display <busn>.0 404 1
 +    Signed-off-by: Heiko Schocher <hs@denx.de>
  
 -    Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
 +commit 4ef218f6fdf8d747f4589da5252b004e7d2c2876
 +Author: Wolfgang Denk <wd@denx.de>
 +Date: Tue Jul 10 00:01:28 2007 +0200
  
 -commit ba5feb12581bb2912ce301e4866b71f846e9fc07
 -Author: Ed Swarthout <Ed.Swarthout@freescale.com>
 -Date: Wed Jul 11 14:51:48 2007 -0500
 +    Coding style cleanup; update CHANGELOG.
  
 -    Minor improvements to drivers/pci_auto.c
 +    Signed-off-by: Wolfgang Denk <wd@denx.de>
  
 -    - Make pciauto_{pre,post}scan_setup_bridge non-static
 -    - Added physical address display in debug messages.
 +commit f1152f8c28db4a22087c21c618a3f7baa48e9a4f
 +Author: Wolfgang Denk <wd@denx.de>
 +Date: Fri Jul 6 02:50:19 2007 +0200
  
 -    Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
 +    Code cleanup and default config update for STC GP3 SSA board.
  
 -commit 40e81addab7bb74d20ddf681ce9babc880a828ee
 -Author: Ed Swarthout <Ed.Swarthout@freescale.com>
 -Date: Wed Jul 11 14:51:35 2007 -0500
 +    Signed-off-by: Wolfgang Denk <wd@denx.de>
  
 -    Start pci hose scan from hose->current_busno.
 +commit b44896215a09c60fa40cae906f7ed207bbc2c492
 +Author: Sergei Poselenov <sposelenov@emcraft.com>
 +Date: Thu Jul 5 08:17:37 2007 +0200
  
 -    Ensure hose->current_busno is not less than first_busno.  This fixes
 -    broken board code which leaves current_busno=0 when first_busno is
 -    greater than 0 for the cases with multiple controllers.
 +    Merged POST framework with the current TOT.
  
 -    Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
 +    Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
  
 -commit 3865b1fb7843a08ad49a6319a36415752276ff48
 -Author: Stefan Roese <sr@denx.de>
 -Date: Wed Jul 11 12:13:53 2007 +0200
 +commit f780b83316d9af1f61d71cc88b1917b387b9b995
 +Author: Niklaus Giger <niklausgiger@gmx.ch>
 +Date: Wed Jun 27 18:11:38 2007 +0200
  
 -    Fix some compile problems introduced by the latest CFG_CMD_xxx cleanup
 +    resubmit: ppc4xx: Remove sequoia/sequioa.h. Cleanup ppc440.h for PPC440EPX
  
 -    Signed-off-by: Stefan Roese <sr@denx.de>
 +    Signed-off-by: Niklaus Giger <niklaus.giger@nestal.com>
  
 -commit e9514751cfa5cce61ea699fa0d3eb37898a5eeb5
 +commit 04e6c38b766eaa2f3287561563c9e215e0c3a0d4
  Author: Stefan Roese <sr@denx.de>
 -Date: Sun Jul 8 13:44:27 2007 +0200
 +Date: Wed Jul 4 10:06:30 2007 +0200
  
 -    Fix malloc problem introduced with the relocation fixup for the PPC platform
 +    ppc4xx: Update lwmon5 board
  
 -    The relocation fixup didn't handle the malloc pointer initialization
 -    correctly. This patch fixes this problem. Tested successfully on 4xx.
 -    The relocation fixup patches for 4xx will follow soon.
 +    - Add optional ECC generation routine to preserve existing
 +      RAM values. This is needed for the Linux log-buffer support
 +    - Add optional DDR2 setup with CL=4
 +    - GPIO50 not used anymore
 +    - Lime register setup added
  
      Signed-off-by: Stefan Roese <sr@denx.de>
  
 -commit b3aff0cb9ecf236d7e8c93761dd1dadf6837a582
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 11:19:50 2007 -0500
 -
 -    disk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols.
 -
 -    Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
 -    Those always evaluated TRUE, and thus were always compiled
 -    even when IDE really wasn't defined/wanted.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit ddb5d86f0215bcb6c293510c50eb050e92883b7a
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 11:13:21 2007 -0500
 -
 -    drivers/: Remove lingering references to CFG_CMD_* symbols.
 -
 -    Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
 -    Those always evaluated TRUE, and thus were always compiled
 -    even when IDE really wasn't defined/wanted.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit f40a7f3e3888b42a43674b099e5470022c8c544c
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 11:07:56 2007 -0500
 -
 -    fs/: Remove lingering references to CFG_CMD_* symbols.
 -
 -    Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
 -    Those always evaluated TRUE, and thus were always compiled
 -    even when IDE really wasn't defined/wanted.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 610f2e9c28a9c101e09fa1b78143cf5f00ed1593
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 11:05:02 2007 -0500
 -
 -    net/: Remove lingering references to CFG_CMD_* symbols.
 -
 -    Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
 -    Those always evaluated TRUE, and thus were always compiled
 -    even when IDE really wasn't defined/wanted.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 902531788376046da212afd1661cffb62f3daa1c
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 11:02:44 2007 -0500
 -
 -    common/: Remove lingering references to CFG_CMD_* symbols.
 -
 -    Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
 -    Those always evaluated TRUE, and thus were always compiled
 -    even when IDE really wasn't defined/wanted.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit d39b57415838c73fb0a37eca84de3c68ba990586
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 10:48:22 2007 -0500
 -
 -    board/[j-z]*: Remove lingering references to CFG_CMD_* symbols.
 -
 -    Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
 -    Those always evaluated TRUE, and thus were always compiled
 -    even when IDE really wasn't defined/wanted.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 77a318545d57aefa844752465b94c7e09a3f26d0
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 10:39:10 2007 -0500
 -
 -    board/[A-Za-i]*: Remove lingering references to CFG_CMD_* symbols.
 -
 -    Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
 -    Those always evaluated TRUE, and thus were always compiled
 -    even when IDE really wasn't defined/wanted.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 068b60a0eb7e73b243ca55399f2a7df76e2c3f3d
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 10:27:39 2007 -0500
 -
 -    cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 079a136c3588814784561d6e4856970ee82d6e2a
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 10:12:10 2007 -0500
 -
 -    include/configs/[p-z]* + misc: Cleanup BOOTP and lingering CFG_CMD_*.
 -
 -    Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
 -    used to be included but CONFIG_BOOTP_MASK was not defined.
 -
 -    Remove lingering references to CFG_CMD_* symbols.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 7f5c01577400c74cc5bac74f41dd0d3c79df623c
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 09:38:02 2007 -0500
 -
 -    include/configs/[g-o]*: Cleanup BOOTP and lingering CFG_CMD_*.
 -
 -    Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
 -    used to be included but CONFIG_BOOTP_MASK was not defined.
 -
 -    Remove lingering references to CFG_CMD_* symbols.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 80ff4f99b84b64edca3fd10da365ec1493be1c95
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 09:29:01 2007 -0500
 -
 -    include/configs/[a-e]*: Cleanup BOOTP and lingering CFG_CMD_*.
 -
 -    Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
 -    used to be included but CONFIG_BOOTP_MASK was not defined.
 -
 -    Remove lingering references to CFG_CMD_* symbols.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit a1aa0bb502e25fd598b5e0ccdfb2c174921d714a
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 09:22:23 2007 -0500
 -
 -    include/configs/[P-Z]*: Cleanup BOOTP and lingering CFG_CMD_*.
 -
 -    Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
 -    used to be included but CONFIG_BOOTP_MASK was not defined.
 -
 -    Remove lingering references to CFG_CMD_* symbols.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 659e2f6736232a08acca8785c206e2b4d9cd07d7
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 09:10:49 2007 -0500
 -
 -    include/configs/[J-O]*: Cleanup BOOTP and lingering CFG_CMD_*.
 -
 -    Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
 -    used to be included but CONFIG_BOOTP_MASK was not defined.
 -
 -    Remove lingering references to CFG_CMD_* symbols.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 11799434c5ff15a612577bb1ad1f4ea1a0595e4b
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Tue Jul 10 09:02:57 2007 -0500
 -
 -    include/configs/[A-I]*: Cleanup BOOTP and lingering CFG_CMD_*.
 -
 -    Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
 -    used to be included but CONFIG_BOOTP_MASK was not defined.
 -
 -    Remove lingering references to CFG_CMD_* symbols.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 1fe80d79c5c4e52d3410a7ab4b8515da095cdab3
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 22:08:34 2007 -0500
 -
 -    Finally retire cmd_confdefs.h and CONFIG_BOOTP_MASK!
 -
 -    All of the choices for CONFIG_BOOTP_ are now documented in
 -    the README file.  You must now individually select exactly
 -    the set that you want using a series of
 -      #define CONFIG_BOOTP_<x>
 -    statements in the board port config files now.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit d3b8c1a743dcd31625c99e6a44590f207eb00028
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 21:57:31 2007 -0500
 -
 -    include/configs/[m-z]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_MASK.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 2fd90ce575b02d189cbf443c85309bcd001aa393
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 21:48:26 2007 -0500
 -
 -    include/configs/[a-m]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_MASK.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 37d4bb70586659dedef1658ce1bed071be098aec
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 21:38:02 2007 -0500
 -
 -    include/configs/[T-Z]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_MASK.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 18225e8dd1950bd6dbf35011e436db7f474c187d
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 21:31:24 2007 -0500
 -
 -    include/configs/[P-S]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_MASK.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 7be044e4ea644b0ef1c486dadc1a4c2665b4374d
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 21:24:19 2007 -0500
 -
 -    include/configs/[H-N]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_MASK.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 5d2ebe1b3ef0055c661bb1a0d252bf252380069f
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 21:16:53 2007 -0500
 -
 -    include/configs/[A-G]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_MASK.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit f55f7f8d83f36021ab1f0e3d738f5d8c8083a7e3
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 19:12:30 2007 -0500
 -
 -    Retire CONFIG_COMMANDS finally.
 -    Strip old CFG_CMD_* symbols out.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit b5501f7d720fed99ab0b42c83f5dea52868ce007
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 19:10:03 2007 -0500
 -
 -    Update README.* to reference new CONFIG_CMD_* names now.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 4431283c7e6d54ae180d466e51bf2d97471a0ad9
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 19:06:00 2007 -0500
 -
 -    cpu/m*: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 3a1ed1e1f922c419bb71f7df4949d783ade369fa
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 18:57:22 2007 -0500
 -
 -    cpu/[7a-ln-z]*: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit ab3abcbabd840928fb1eb5122118ca466b5e5013
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 18:45:16 2007 -0500
 -
 -    board/[q-z]*: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 3fe00109a5f12de55b6e25b1f98dfc24bc9090c9
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 18:38:39 2007 -0500
 -
 -    board/[m-p]*: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit c508a4cefd8a953fc64957650506a035e6e3d9d1
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 18:31:28 2007 -0500
 -
 -    board/[f-l]*: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit b9307262f8a9f3b5c9e15a6067eadc17407146f6
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 18:24:55 2007 -0500
 -
 -    board/[d-e]*: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit fcec2eb93e126400009729328e797f12bc94f1fd
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 18:19:09 2007 -0500
 -
 -    board/[A-Za-c]*: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit a593814f2be0c9cdc3133cd550b167b8a988328f
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 18:10:50 2007 -0500
 -
 -    rtc/: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 67350568f9d46e66c21829f3513b3db0caeb948b
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 18:05:38 2007 -0500
 -
 -    lib_{arm,avr32,blackfin,generic,i386}/: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 7def6b34f910f08d7ef0a14646da067719237ca2
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 18:02:11 2007 -0500
 -
 -    lib_{m68k,microblaze,mips,ppc}/: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit dd60d1223b99a88a7216f3e041fe40634ad4c2bb
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 17:56:50 2007 -0500
 -
 -    fs/: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit c91898bbc505aff3e12a807af88e76da18efb7ee
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 17:46:09 2007 -0500
 -
 -    tools/: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 643d1ab23960950b52e0a2803c2d3ea4c558fa01
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 17:45:14 2007 -0500
 -
 -    net/: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit cb51c0bf88f95a1bca68324b0126f8eed8b43273
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 17:39:42 2007 -0500
 -
 -    drivers/[n-z]*: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 07d38a17e964aec4c7827f0ee9a583bc8cc1ad6b
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 17:30:01 2007 -0500
 -
 -    drivers/[a-m]*: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit cde5c64d17cf4834aa7b5c373f288bc7dad27b29
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 17:22:37 2007 -0500
 -
 -    disk/: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 639221c76c88215bd55af83ad174fc30d1940f8f
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Mon Jul 9 17:15:49 2007 -0500
 -
 -    include/: Remove obsolete references to CONFIG_COMMANDS
 -    Mostly removed from comments here.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 4ef218f6fdf8d747f4589da5252b004e7d2c2876
 -Author: Wolfgang Denk <wd@denx.de>
 -Date: Tue Jul 10 00:01:28 2007 +0200
 -
 -    Coding style cleanup; update CHANGELOG.
 -
 -    Signed-off-by: Wolfgang Denk <wd@denx.de>
 -
 -commit c3517f919d0f61650cf3027fd4faf0f631142f6c
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 18:10:08 2007 -0500
 -
 -    common/* non-cmd*: Remove obsolete references to CONFIG_COMMANDS
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit fd9bcaa35be64fe41a4223fdb6ecdbad52470b39
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 18:05:39 2007 -0500
 -
 -    common/cmd_[p-x]*: Remove obsolete references to CONFIG_COMMANDS.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit c76fe47425afc7d5d670ff0539823c85d65d9c42
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 18:02:23 2007 -0500
 -
 -    common/cmd_[i-n]*: Remove obsolete references to CONFIG_COMMANDS.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit baa26db4113679b80970ff447d91cc10217742a6
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 17:51:39 2007 -0500
 -
 -    common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit af075ee96e52dda7b6bca6c937588aeaaec5f2cd
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 17:02:01 2007 -0500
 -
 -    Clear up confusion over the CMD_POST and POST_DIAG mess.
 -
 -    For some reason, CONFIG_POST permeated as CONFIG_CMD_POST_DIAG
 -    when it really means just CONFIG_CMD_DIAG.        There is no CMD_POST.
 -    Clear this mess up some.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit b3631487105a57ab7cbadfc26efbaf9676275018
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 15:45:08 2007 -0500
 -
 -    Remove references to the old cmd_confdefs.h include file.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit a22d4da95e20049b4daa1c2a022f61e8a72f2fb6
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 15:42:59 2007 -0500
 -
 -    include/configs: Catch some CONFIG_CMD_* conversion stragglers.
 -
 -    Use new CONFIG_CMD_* in lwmon5.h board config file.
 -    Fix CONFIG_CMD_* typo braindamage in omap1510inn.h
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit a5562901661bd428f7e5feb333f796372cb81019
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 15:31:57 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various [TUVWZYZ]* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit fe7f782d5b8c64a0195c68c31a0a11d4f641355e
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 15:02:44 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various S* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit e9a0f8f15c11f337967aa0600ad6e8af33037f50
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 15:12:40 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various R* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 12aa9fd23d724bd6ab88e1baa0db35133a27303f
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 14:55:07 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various Q* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit acf0269779422f3e147d2ddfb499c9f6ff10ad5e
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 14:49:44 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various P* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit e18a1061a8630cb67995fdf99afd3fb50d1b187d
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 14:21:43 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various [NO]* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 8353e139bfad9059c54f5b2421f1a3090e15a2e2
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 14:14:17 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various M* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 348f258f24253433e4a2302a0bbceb6740a67246
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 13:46:18 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various [IJKL]* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 6c4f4da9bfc9f9403f54fce678ed0364b7c86a6a
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sun Jul 8 10:09:35 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various H* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 60a0876b5106b34220e459c208bbf648073306c0
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sat Jul 7 21:04:26 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various F* and G* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit dcaa71562826a2466e894c868d132509dcda8444
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sat Jul 7 20:56:05 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various E* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 3c3227f3c737502311b25b72084573901cbbf17d
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Sat Jul 7 20:40:43 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various D* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 49cf7e8ee7ef943fdfe866ce28410b0bfbf6a26c
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Thu Jul 5 19:52:35 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various C* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit de8b2a6e33298dcdb10bdda48db25e53c3089eba
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Thu Jul 5 19:32:07 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various B* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 498ff9a228485bd4b9f23d066bada268f9add1dd
 -Author: Jon Loeliger <jdl@freescale.com>
 -Date: Thu Jul 5 19:13:52 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various A* named board config files.
 -
 -    Since ADS860.h includes "board/fads/fads.h" with ramifications
 -    on the CONFIG_COMMAND treatment, it too has to be adjusted to
 -    exclude already configured commands in this same commit.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 6b0a174a1e6f55e1f5a1fbb223cdad7645a4646e
 -Author: Stefan Roese <sr@denx.de>
 -Date: Fri Jul 6 09:45:47 2007 +0200
 -
 -    Fix problem with get/setdcr commands introduced by cfg patches
 -
 -    Signed-off-by: Stefan Roese <sr@denx.de>
 -
 -commit f1152f8c28db4a22087c21c618a3f7baa48e9a4f
 -Author: Wolfgang Denk <wd@denx.de>
 -Date: Fri Jul 6 02:50:19 2007 +0200
 -
 -    Code cleanup and default config update for STC GP3 SSA board.
 -
 -    Signed-off-by: Wolfgang Denk <wd@denx.de>
 -
 -commit e4dbe1b215f5c6c462e76909d240bd96472b84de
 -Author: Wolfgang Denk <wd@denx.de>
 -Date: Thu Jul 5 17:56:27 2007 +0200
 -
 -    Fixing some typos etc. introduced mainly by cfg patches.
 -
 -    Signed-off-by: Wolfgang Denk <wd@denx.de>
 -
 -commit b6b4684546809f89c8bac72863ca49b5fd8ac0cd
 -Author: Wolfgang Denk <wd@denx.de>
 -Date: Thu Jul 5 11:12:16 2007 +0200
 -
 -    Minor coding style cleanup. Update CHANGELOG.
 -
 -commit dca3b3d6d6396b67e5e84af53452164923c73443
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:33:46 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various [v-z]* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 6c18eb9804b525f3e4f3bb3d014dd69a200d9fa7
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:33:38 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various t* and u* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 46da1e96b7db14f4fcd2c92544e7c0862024bc76
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:33:30 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various s* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 90cc3eb6d2be856d9ddd81436de9cf343bc6b5c8
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:33:23 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various q* and r* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 26a34560d56a9df5bc2ae23525d9229736134757
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:33:17 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various p* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit a5cb23092a7d31490a33d4ec871468b63babfa3c
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:33:13 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various o* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 929a2bfd142737003a8fc32e1b86e1f2c1850257
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:33:07 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various n* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 5dc11a511960d490f7f01ffd746edfe6277f99b0
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:33:01 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various m* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 9bbb1c0820c1fbd3811ab6ee4ba0f6c6f76b27e4
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:32:57 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various l* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit bc234c129fa04fb9fa33530930e5cbc6084cd47a
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:32:51 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various j* and k* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 1d2c6bc491969f8d8fb34c8e30e8bea7a2af9c31
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:32:32 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various i* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 48d5d102a2f2e619c92050b9aedbb69689185bc0
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:32:25 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various h* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 72eb0efaed7048afcc61fc6f0085c49394b5dc36
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:32:19 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various g* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 1bec3d3002d3bbbae6f2468a0f7376db1120d33e
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:32:10 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various e* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit ab999ba1b31ebe78dd16374394a55d7c6e5aa6e4
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:32:03 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various d* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 37e4f24b87fa255ae456d193b7cd23c18dd1d56b
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:31:56 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various c* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit ba2351f9d1e841bd00ea6dad1e3c16d0259ad264
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:31:49 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various b* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 0b361c916617aff79e647b40f0e43361e0bbaccf
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:31:42 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various a* named board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit b730cda82e362df6a22f4c59c0a9b97e885b1014
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:31:35 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in mpc5xx board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit d794cfefead5fc177cf4f41164e80382e9c9484a
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:31:15 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in various 5200 board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit ef0df52ab49eea4a30c15087fd27d54c1d946f2c
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:31:07 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in STx board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 866e3089bfc826bb4dc74637f8aad87a3bab79fc
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:30:58 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in sbc* board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 2694690e285acaa34922f55f4b5ae030da60c55a
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:30:50 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in TQM board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 1cc4c458329765b58e584a19821e796b3c10e976
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:30:28 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in 82xx board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 8ea5499afdaba0acf60923dd99001c399d4a7c8e
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jul 4 22:30:06 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in 83xx board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit b44896215a09c60fa40cae906f7ed207bbc2c492
 -Author: Sergei Poselenov <sposelenov@emcraft.com>
 -Date: Thu Jul 5 08:17:37 2007 +0200
 -
 -    Merged POST framework with the current TOT.
 -
 -    Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
 -
 -commit b24629fa377214d63bb40d1360e354b6d3e4af56
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jun 13 13:23:15 2007 -0500
 -
 -    mpc86xx: Remove old CFG_CMD_* references.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 46175d9764da129bb4fd341cd2554dc7d55f5b2a
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jun 13 13:22:54 2007 -0500
 -
 -    Add MPC8568MDS to MAKEALL 85xx target.
 -
 -    It was missing from the original port submission.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 2835e518c969e5124ba1174eef3e8375e12fa7d5
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jun 13 13:22:08 2007 -0500
 -
 -    include/configs: Use new CONFIG_CMD_* in 85xx board config files.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 56b304ac2091689506088a9ae67f63fd6300cf16
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Wed Jun 13 13:21:37 2007 -0500
 -
 -    Fix #if typo in CONFIG_CMD_* changes.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit f780b83316d9af1f61d71cc88b1917b387b9b995
 -Author: Niklaus Giger <niklausgiger@gmx.ch>
 -Date: Wed Jun 27 18:11:38 2007 +0200
 -
 -    resubmit: ppc4xx: Remove sequoia/sequioa.h. Cleanup ppc440.h for PPC440EPX
 -
 -    Signed-off-by: Niklaus Giger <niklaus.giger@nestal.com>
 -
 -commit 04e6c38b766eaa2f3287561563c9e215e0c3a0d4
 -Author: Stefan Roese <sr@denx.de>
 -Date: Wed Jul 4 10:06:30 2007 +0200
 -
 -    ppc4xx: Update lwmon5 board
 -
 -    - Add optional ECC generation routine to preserve existing
 -      RAM values. This is needed for the Linux log-buffer support
 -    - Add optional DDR2 setup with CL=4
 -    - GPIO50 not used anymore
 -    - Lime register setup added
 -
 -    Signed-off-by: Stefan Roese <sr@denx.de>
 -
 -commit 6810a34677dbc446334f5e451f1682426dd33b49
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:17:28 2007 -0600
 -
 -    Fix Makefile to use $(MKCONFIG) macro for all board ports
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 90b1b2d69b9396ff2f01165ebc16c9a594eb5926
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:17:28 2007 -0600
 -
 -    Fix Makefile to use $(MKCONFIG) macro for all board ports
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 057004f4a4863554d56cc56268bfa7c7d9738e27
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:34:49 2007 -0600
 -
 -    Correct fixup relocation for mpc83xx
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 5af61b2f4b838a05f79be274f3e5a66edd2d9c96
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:34:44 2007 -0600
 -
 -    Correct fixup relocation for mpc8260
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit f3a52fe05923935db86985daf9438e2f70ac39aa
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:34:39 2007 -0600
 -
 -    Correct fixup relocation for mpc824x
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit a85dd254c0577fca13627c46e93fc2ad4c4f1f00
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:34:34 2007 -0600
 -
 -    Correct fixup relocation for mpc8220
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 6f7576b20ecf0d040c3ac3b032b5cbc860e38a90
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:34:29 2007 -0600
 -
 -    Correct fixup relocation for MPC5xxx
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 3649cd99ba815b6601868735765602f00ef3692b
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:34:24 2007 -0600
 -
 -    Correct relocation fixup for mpc5xx
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit f82b3b6304b620ef7e28bfaa1ea887a2ad2fa325
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:34:19 2007 -0600
 -
 -    Don't set gd->reloc_off if relocation of .fixup works correctly
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit e1a6144c32dc7de73bcdd33995de0148cbd0bd28
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:34:14 2007 -0600
 -
 -    Remove obsolete mpc83xx linker scripts
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 17e32fc3908bf7089d3f16fc82a1c3ae674dd65b
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:34:09 2007 -0600
 -
 -    Consolidate mpc8260 linker scripts
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit af7d38b393690d7eeaf418ac85a1e831a50d5fd0
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:34:04 2007 -0600
 -
 -    Remove obsolete mpc824x linker scripts
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit f94a3aecebc40ca0939c7d66d010009cf51be9e2
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:59 2007 -0600
 -
 -    Remove obsolete mpc824x linker scripts (3 of 4)
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit a71c084f3ac7fedf144537db2b2da47323068833
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:53 2007 -0600
 -
 -    Remove obsolete mpc824x linker scripts (2 of 4)
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit f670a15468d1365241d40022b9408e1004181f5e
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:48 2007 -0600
 -
 -    Remove obsolete mpc824x linker scripts (1 of 4)
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 09555bd45a04c0e54f172528d21bc18896550d28
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:43 2007 -0600
 -
 -    Remove obsolete mpc8220 linker scripts
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 5efb992f046e51225c93d52f80fecbe433abd789
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:38 2007 -0600
 -
 -    Remove obsolete mpc5xxx linker scripts (3 of 3)
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 07c13dfef65b31647e69d8b61daa1eec598add1a
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:33 2007 -0600
 -
 -    Remove obsolete mpc5xxx linker scripts (2 of 3)
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit b4f67513a624ce85866c66c575bd2d9d7977d7f0
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:28 2007 -0600
 -
 -    Remove obsolete mpc5xxx linker scripts (1 of 3)
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit b7d8e05f8675249b5f208aa73babeed384a4519d
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:23 2007 -0600
 -
 -    Remove obsolete mpc5xx linker scripts
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 416a0b6d40f6eba3a2fc547253c16bda28d922f7
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:18 2007 -0600
 -
 -    Consolidate mpc83xx linker scripts
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 5fc59175b92883ed5d2666a04e6bc49e70a4a365
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:13 2007 -0600
 -
 -    Consolidate mpc8260 linker scripts
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 737f9eb02d7335df2b3e4d7a4d3348784d1da207
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:08 2007 -0600
 -
 -    Consolidate mpc824x linker scripts
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 9c757b789a59a855db57b448dd825329c4e9c4a0
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:33:03 2007 -0600
 -
 -    Consolidate mpc8220 linker scripts
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit d181c9a15cd41863fe24840d17848429f27d3c8c
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:32:58 2007 -0600
 -
 -    Consolidate mpc5xxx linker scripts
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 287ac924adb7291bebe5086652a362a30ab28b13
 -Author: Grant Likely <grant.likely@secretlab.ca>
 -Date: Tue Jul 3 00:32:53 2007 -0600
 -
 -    Consolidate mpc5xx linker scripts
 -
 -    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
 -
 -commit 52b8704d0245e589f86d462e9ec25aeb7ecbbbdd
 -Author: Wolfgang Denk <wd@denx.de>
 -Date: Wed Jul 4 00:43:53 2007 +0200
 -
 -    Fix a few file permission problems.
 -
 -    Signed-off-by: Wolfgang Denk <wd@denx.de>
 -
 -commit 78e0cf2de7be7f1eaeeb622eb61fd50e4d5e205c
 -Author: Wolfgang Denk <wd@denx.de>
 -Date: Wed Jul 4 00:38:38 2007 +0200
 -
 -    Minor coding style cleanup. Rebuild CHANGELOG file.
 -
 -commit 2f9c19e496acb6bb50d9299e1aab377625d48c38
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:03:44 2007 -0500
 -
 -    configs/ mpc86xx: Rewrite command line options using new CONFIG_CMD-* style.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 602ad3b33d9ceef83dbab46be68646d645d637ee
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:03:39 2007 -0500
 -
 -    README: Rewrite command line config to use CONFIG_CMD_* names.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
 -commit 72a074cec68e5bad60d63206c050974e08afd804
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:03:34 2007 -0500
 -
 -    include/ non-config: 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>
 -
 -commit 5fcf543e0b6628c76ff48705b1b0566bfd11507b
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:03:28 2007 -0500
 -
 -    tools/ : 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>
 -
 -commit 9107ebe0d352420895ab69b715697bdebc8caf50
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:03:23 2007 -0500
 -
 -    board/[k-z]*: 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>
 -
 -commit 5e378003d592ea828ec69d6defcd4de79096dd5c
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:03:19 2007 -0500
 -
 -    board/[Ma-i]*: 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>
 -
 -commit 737184114ec9c9e0ab94d6713536126073bd2472
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:03:15 2007 -0500
 -
 -    cpu/ non-mpc*: 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>
 -
 -commit f48070fe5fe440dfb5ee5268c920de70e48ea327
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:03:08 2007 -0500
 -
 -    cpu/mpc*/ : 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>
 -
 -commit 0c505db0a0dc1f670b13ce3b4d3fbf1ec5b3cbd2
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:03:03 2007 -0500
 -
 -    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>
 -
 -commit 73f032021ec5f13cda8faa4e34b6de80960eb86f
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:02:58 2007 -0500
 -
 -    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>
 -
 -commit 98b79003c21c2578206003256de4e781d6b36ca8
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:02:53 2007 -0500
 -
 -    rtc/: 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>
 -
 -commit 6e2115acb6a892d53a6881bf253ae41d3df39156
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:02:49 2007 -0500
 -
 -    net/: 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>
 -
 -commit 45cdb9b72c94655c7308b464a2666057c0b286e0
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:02:34 2007 -0500
 -
 -    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>
 -
 -commit 4e109ae98294a5ca7ff848b7652c7bfd4023a94a
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:02:20 2007 -0500
 -
 -    fs/: 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>
 -
 -commit d5be43de93ff905c465e509d45a3164ef48d26e7
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:02:10 2007 -0500
 -
 -    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>
 -
 -commit b453960d4fdb87b3970d96119b90df2ed024fc4a
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:02:05 2007 -0500
 -
 -    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>
 -
 -commit 65c450b47a62659d522cfa8f4fa1e4e5c60dccd0
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:01:54 2007 -0500
 -
 -    common/cmd_[i-z]* : 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>
 -
 -commit a76adc8142c1d956385a109e0b70f9319ede4d66
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:01:43 2007 -0500
 -
 -    common/cmd_[a-f]* : 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>
 -
 -commit ec63b10b61fd68238d4c15c1cd04c0b38228e2c1
 -Author: Jon Loeliger <jdl@jdl.com>
 -Date: Mon Jun 11 19:01:34 2007 -0500
 -
 -    Introduce initial versions of new Command Config files.
 -
 -    Derive three new files from cmd_confdefs.h:
 -      config_bootp.h - Has BOOTP related config options, not commands
 -      config_cmd_all.h - Has a CONFIG_CMD_* definition for every command
 -      config_cmd_default.h - Has a CONFIG_CMD_* definition for default cmds.
 -
 -    For now, include "config_bootp.h" for compatability until all
 -    users of it directly include it properly.
 -
 -    Signed-off-by: Jon Loeliger <jdl@freescale.com>
 -
  commit 1f2a05898658900dc5717761e27abf2052e67e13
  Author: Mushtaq Khan <mushtaqk_921@yahoo.co.in>
  Date: Sat Jun 30 18:50:48 2007 +0200
@@@ -1204,7 -2694,7 +1212,7 @@@ Date:   Sat May 5 08:12:30 2007 +020
      5xxx: write MAC address to mac-address and local-mac-address
  
      Some device trees have a mac-address property, some have local-mac-address,
 -    and some have both.        To support all of these device trees, ftp_cpu_setup()
 +    and some have both.  To support all of these device trees, ftp_cpu_setup()
      should write the MAC address to mac-address and local-mac-address, if they
      exist.
  
@@@ -1346,7 -2836,7 +1354,7 @@@ Date:   Sat May 5 08:12:30 2007 +020
      5xxx: write MAC address to mac-address and local-mac-address
  
      Some device trees have a mac-address property, some have local-mac-address,
 -    and some have both.        To support all of these device trees, ftp_cpu_setup()
 +    and some have both.  To support all of these device trees, ftp_cpu_setup()
      should write the MAC address to mac-address and local-mac-address, if they
      exist.
  
@@@ -1477,7 -2967,7 +1485,7 @@@ Date:   Mon Apr 30 13:59:50 2007 -050
      Fix memory initialization on MPC8349E-mITX
  
      Define CFG_DDR_SDRAM_CLK_CNTL for the MPC8349E-mITX and MPC8349E-mITX-GP.
 -    This allows ddr->sdram_clk_cntl to be properly initialized.        This is necessary
 +    This allows ddr->sdram_clk_cntl to be properly initialized.  This is necessary
      on some ITX boards, notably those with a revision 3.1 CPU.
  
      Also change spd_sdram() in cpu/mpc83xx/spd_sdram.c to not write anything into
@@@ -1634,7 -3124,7 +1642,7 @@@ Date:   Mon Feb 12 13:34:55 2007 -060
      85xx: write MAC address to mac-address and local-mac-address
  
      Some device trees have a mac-address property, some have local-mac-address,
 -    and some have both.        To support all of these device trees, ftp_cpu_setup()
 +    and some have both.  To support all of these device trees, ftp_cpu_setup()
      should write the MAC address to mac-address and local-mac-address, if they
      exist.
  
@@@ -1943,7 -3433,7 +1951,7 @@@ Date:   Fri Apr 20 14:12:26 2007 -050
      mpc86xx; Write MAC address to mac-address and local-mac-address
  
      Some device trees have a mac-address property, some have local-mac-address,
 -    and some have both.        To support all of these device trees, ftp_cpu_setup()
 +    and some have both.  To support all of these device trees, ftp_cpu_setup()
      should write the MAC address to mac-address and local-mac-address, if they
      exist.
  
@@@ -1996,7 -3486,7 +2004,7 @@@ Date:   Thu Apr 19 23:14:39 2007 -040
  
      What was suppose to be a stack variable was declared as a pointer,
        overwriting random memory.
 -    Also moved the libfdt.a requirement into the main Makefile.        That is
 +    Also moved the libfdt.a requirement into the main Makefile.  That is
        The U-Boot Way.
  
  commit d21686263574e95cb3e9e9b0496f968b1b897fdb
@@@ -2591,7 -4081,7 +2599,7 @@@ Date:   Sat Mar 31 12:22:10 2007 -040
      Add a flattened device tree (fdt) command (1 of 2)
  
      The fdt command uses David Gibson's libfdt library to manipulate as well
 -    as print the flattened device tree.        This patch is the new command,
 +    as print the flattened device tree.  This patch is the new command,
      the second part is the modifications to the existing code.
  
  commit 3af0d587d93e0be5f96e1b30fa41e662f8b0803e
@@@ -3292,7 -4782,7 +3300,7 @@@ Date:   Tue Feb 13 10:41:42 2007 -060
      mpc83xx: write MAC address to mac-address and local-mac-address
  
      Some device trees have a mac-address property, some have local-mac-address,
 -    and some have both.        To support all of these device trees, this patch
 +    and some have both.  To support all of these device trees, this patch
      updates ftp_cpu_setup() to write the MAC address to mac-address if it exists.
      This function already updates local-mac-address.
  
@@@ -3515,7 -5005,7 +3523,7 @@@ Date:   Wed Dec 6 21:23:55 2006 -050
  
      mpc83xx: Put the version (and magic) after the HRCW.
  
 -    Put the version (and magic) after the HRCW.        This puts it in a fixed
 +    Put the version (and magic) after the HRCW.  This puts it in a fixed
      location in flash, not at the start of flash but as close as we can get.
  
      Signed-off-by: Jerry Van Baren <vanbaren@cideas.com>
@@@ -3809,7 -5299,7 +3817,7 @@@ Date:   Tue Feb 20 09:05:31 2007 +010
  
      [PATCH 7_9] Replace ace_readw_ace_writeb functions with macros
  
 -    Register read/write does not need to be wrapped in a full function.        The
 +    Register read/write does not need to be wrapped in a full function.  The
      patch replaces them with macros.
  
      Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
@@@ -4112,7 -5602,7 +4120,7 @@@ commit fdef388758506765d4d6a7155c8f1584
  Author: roy zang <tie-fei.zang@freescale.com>
  Date: Mon Jan 22 13:19:21 2007 +0800
  
 -    use        CFG_WRITE_SWAPPED_DATA define instead of define CFG_FLASH_CFI_SWAP
 +    use  CFG_WRITE_SWAPPED_DATA define instead of define CFG_FLASH_CFI_SWAP
      The patch by Heiko Schocher <hs@pollux.denx.de> on Jan, 19, 2007
      fixes cfi_driver bug for mpc7448hpc2 board. The default cfi_driver can support
      mpc7448hpc2 board.
@@@ -4800,7 -6290,7 +4808,7 @@@ Date:   Mon Nov 27 17:04:06 2006 +010
      [PATCH] Allow CONFIG_OF_FLAT_TREE to boot a non-arch/powerpc kernel
  
      This patch allows an arch/ppc kernel to be booted by just passing 1 or 2
 -    arguments to bootm.        It removes the getenv("disable_of") test that used
 +    arguments to bootm.  It removes the getenv("disable_of") test that used
      to be used for this purpose.
  
      Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
@@@ -5376,7 -6866,7 +5384,7 @@@ Date:   Thu Nov 2 19:08:55 2006 +080
      Gigabit Ethernet ports,E0 and E1.  It uses a single Management interface
      to manage the two physical connection devices (PHYs).  Each Ethernet port
      has its own statistics monitor that tracks and reports key interface
 -    statistics.        Each port supports a 256-entry hash table for address
 +    statistics.  Each port supports a 256-entry hash table for address
      filtering.        In addition, each port is bridged to the Switch Fabric
      through a 2-Kbyte transmit FIFO and a 4-Kbyte Receive FIFO.
  
@@@ -5422,7 -6912,7 +5430,7 @@@ commit 87c4db09699c6b89176b31004afcb83e
  Author: roy zang <tie-fei.zang@freescale.com>
  Date: Thu Nov 2 18:59:15 2006 +0800
  
 -    Add        mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
 +    Add  mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
      mpc7448hpc2 board support high level code:tsi108 init + mpc7448hpc2.
  
      Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
@@@ -5432,7 -6922,7 +5440,7 @@@ commit 27801b8ab11c61b577e45742a515bb3b
  Author: roy zang <tie-fei.zang@freescale.com>
  Date: Thu Nov 2 18:57:21 2006 +0800
  
 -    Add        mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
 +    Add  mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
      Make ,config.mk and link file for the mpc7448hpc2 board.
  
      Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
@@@ -5442,7 -6932,7 +5450,7 @@@ commit c6411c0c3bbc79f9ba8aef58296a42d8
  Author: roy zang <tie-fei.zang@freescale.com>
  Date: Thu Nov 2 18:55:04 2006 +0800
  
 -    Add        mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
 +    Add  mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
      The mpc7448hpc2 board support header file.
  
      Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
@@@ -5452,7 -6942,7 +5460,7 @@@ commit 625bb5ddb50b243f931262ca8c469564
  Author: roy zang <tie-fei.zang@freescale.com>
  Date: Thu Nov 2 18:52:21 2006 +0800
  
 -    Add        mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
 +    Add  mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
      The mpc7448hpc2 board support low level assemble language init code.
  
      Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
@@@ -5677,7 -7167,7 +5685,7 @@@ Date:   Tue Oct 24 23:47:37 2006 -050
  
      If a Multi-Image file contains a third image we try to use it as a
      device tree.  The device tree image is assumed to be uncompressed in the
 -    image file.        We automatically allocate space for the device tree in memory
 +    image file.  We automatically allocate space for the device tree in memory
      and provide an 8k pad to allow more than a reasonable amount of growth.
  
      Additionally, a device tree that was contained in flash will now automatically
diff --combined MAKEALL
index 2a03b68708366abb1d773f1af2ce2dff65b25668,0721472c0ecc590d6f077a3570d60478c167ea35..8c241f6c9f8da7b5c4590529a3e2b93d2c3e8b17
+++ b/MAKEALL
@@@ -35,20 -35,12 +35,20 @@@ LIST_5xx=" 
  #########################################################################
  
  LIST_5xxx="   \
 -      BC3450          cpci5200        EVAL5200        fo300           \
 -      icecube_5100    icecube_5200    lite5200b       mcc200          \
 -      mecp5200        motionpro       o2dnt           pf5200          \
 -      PM520           TB5200          Total5100       Total5200       \
 -      Total5200_Rev2  TQM5200         TQM5200_B       TQM5200S        \
 -      v38b                                                            \
 +      BC3450          cm1_qp1         cpci5200        EVAL5200        \
 +      fo300           icecube_5100    icecube_5200    lite5200b       \
 +      mcc200          mecp5200        motionpro       o2dnt           \
 +      pf5200          PM520           TB5200          Total5100       \
 +      Total5200       Total5200_Rev2  TQM5200         TQM5200_B       \
 +      TQM5200S        v38b                                            \
 +"
 +
 +#########################################################################
 +## MPC512x Systems
 +#########################################################################
 +
 +LIST_512x="   \
 +      ads5121                                                 \
  "
  
  #########################################################################
@@@ -141,8 -133,9 +141,9 @@@ LIST_8260="        
  #########################################################################
  
  LIST_83xx="   \
-       MPC8313ERDB     MPC832XEMDS     MPC8349EMDS     MPC8349ITX      \
-       MPC8349ITXGP    MPC8360EMDS     sbc8349         TQM834x         \
+       MPC8313ERDB_33  MPC8313ERDB_66  MPC832XEMDS     MPC8349EMDS     \
+       MPC8349ITX      MPC8349ITXGP    MPC8360EMDS     sbc8349         \
+       TQM834x                                                         \
  "
  
  
  
  LIST_85xx="   \
        MPC8540ADS      MPC8540EVAL     MPC8541CDS      MPC8544DS       \
-       MPC8548CDS      MPC8555CDS      MPC8560ADS      PM854           \
-       PM856           sbc8540         sbc8560         stxgp3          \
-       stxssa          TQM8540         TQM8541         TQM8555         \
-       TQM8560                                                         \
+       MPC8548CDS      MPC8555CDS      MPC8560ADS      MPC8568MDS      \
+       PM854           PM856           sbc8540         sbc8560         \
+       stxgp3          stxssa          TQM8540         TQM8541         \
+       TQM8555         TQM8560                                         \
  "
  
  #########################################################################
@@@ -373,7 -366,7 +374,7 @@@ d
        microblaze| \
        mips|mips_el| \
        nios|nios2| \
 -      ppc|5xx|5xxx|8xx|8220|824x|8260|83xx|85xx|86xx|4xx|7xx|74xx| \
 +      ppc|5xx|5xxx|512x|8xx|8220|824x|8260|83xx|85xx|86xx|4xx|7xx|74xx| \
        x86|I486)
                        for target in `eval echo '$LIST_'${arg}`
                        do
diff --combined Makefile
index 5b87aad5b9f8a60a9f5798c2b166d52d586e4667,4fdd485fb73ab67a1a2836cdd1139cebcbd87f20..ef1ab20593252ead004d46d59281815eea00b855
+++ b/Makefile
@@@ -268,7 -268,7 +268,7 @@@ $(obj)u-boot.img:  $(obj)u-boot.bi
                -d $< $@
  
  $(obj)u-boot.sha1:    $(obj)u-boot.bin
 -              ./tools/ubsha1 $(obj)u-boot.bin
 +              $(obj)tools/ubsha1 $(obj)u-boot.bin
  
  $(obj)u-boot.dis:     $(obj)u-boot
                $(OBJDUMP) -d $< > $@
@@@ -429,7 -429,7 +429,7 @@@ jupiter_config:         unconfi
        @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
  
  v38b_config: unconfig
-       @./mkconfig -a v38b ppc mpc5xxx v38b
+       @$(MKCONFIG) -a v38b ppc mpc5xxx v38b
  
  inka4x0_config:       unconfig
        @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
@@@ -532,14 -532,6 +532,14 @@@ PM520_ROMBOOT_DDR_config:        unconfi
  smmaco4_config: unconfig
        @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
  
 +cm1_qp1_config:       unconfig
 +      @ >include/config.h
 +      @[ -z "$(findstring cm1_qp1,$@)" ] || \
 +              {  echo "... with 64 MByte SDRAM" ; \
 +                echo "... with 32 MByte Flash" ; \
 +              }
 +      @./mkconfig -a cm1_qp1 ppc mpc5xxx cm1_qp1
 +
  spieval_config:       unconfig
        @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
  
@@@ -641,13 -633,6 +641,13 @@@ motionpro_config:         unconfi
        @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
  
  
 +#########################################################################
 +## MPC512x Systems
 +#########################################################################
 +ads5121_config: unconfig
 +      @$(MKCONFIG) ads5121 ppc mpc512x ads5121
 +
 +
  #########################################################################
  ## MPC8xx Systems
  #########################################################################
@@@ -1035,9 -1020,8 +1035,8 @@@ acadia_config:  unconfi
        @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
  
  acadia_nand_config:   unconfig
-       @mkdir -p $(obj)include
-       @mkdir -p $(obj)nand_spl
-       @mkdir -p $(obj)board/amcc/acadia
+       @mkdir -p $(obj)include $(obj)board/amcc/acadia
+       @mkdir -p $(obj)nand_spl/board/amcc/acadia
        @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
        @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc
        @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp
@@@ -1047,7 -1031,7 +1046,7 @@@ ADCIOP_config:  unconfi
        @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
  
  alpr_config:  unconfig
-       @./mkconfig $(@:_config=) ppc ppc4xx alpr prodrive
+       @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive
  
  AP1000_config:unconfig
        @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
@@@ -1065,9 -1049,8 +1064,8 @@@ bamboo_config:  unconfi
        @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
  
  bamboo_nand_config:   unconfig
-       @mkdir -p $(obj)include
-       @mkdir -p $(obj)nand_spl
-       @mkdir -p $(obj)board/amcc/bamboo
+       @mkdir -p $(obj)include $(obj)board/amcc/bamboo
+       @mkdir -p $(obj)nand_spl/board/amcc/bamboo
        @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
        @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc
        @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
@@@ -1248,9 -1231,8 +1246,8 @@@ rainier_config: unconfi
  
  sequoia_nand_config \
  rainier_nand_config: unconfig
-       @mkdir -p $(obj)include
-       @mkdir -p $(obj)nand_spl
-       @mkdir -p $(obj)board/amcc/sequoia
+       @mkdir -p $(obj)include $(obj)board/amcc/sequoia
+       @mkdir -p $(obj)nand_spl/board/amcc/sequoia
        @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
        @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
                tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
        @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
  
  sc3_config:unconfig
-       @./mkconfig $(@:_config=) ppc ppc4xx sc3
+       @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3
  
  taishan_config:       unconfig
        @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
@@@ -1425,7 -1407,7 +1422,7 @@@ ep8260_config:  unconfi
        @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
  
  ep82xxm_config:       unconfig
-       @./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
+       @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm
  
  gw8260_config:        unconfig
        @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
@@@ -1666,14 -1648,15 +1663,15 @@@ r5200_config :               unconfi
  
  MPC8313ERDB_33_config \
  MPC8313ERDB_66_config: unconfig
-       @echo "" >include/config.h ; \
+       @mkdir -p $(obj)include
+       @echo "" >$(obj)include/config.h ; \
        if [ "$(findstring _33_,$@)" ] ; then \
-               echo -n "...33M ..." ; \
-               echo "#define CFG_33MHZ" >>include/config.h ; \
+               echo "...33M ..." ; \
+               echo "#define CFG_33MHZ" >>$(obj)include/config.h ; \
        fi ; \
        if [ "$(findstring _66_,$@)" ] ; then \
-               echo -n "...66M..." ; \
-               echo "#define CFG_66MHZ" >>include/config.h ; \
+               echo "...66M..." ; \
+               echo "#define CFG_66MHZ" >>$(obj)include/config.h ; \
        fi ;
        @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb
  
@@@ -1681,23 -1664,24 +1679,24 @@@ MPC832XEMDS_config 
  MPC832XEMDS_HOST_33_config \
  MPC832XEMDS_HOST_66_config \
  MPC832XEMDS_SLAVE_config:     unconfig
-       @echo "" >include/config.h ; \
+       @mkdir -p $(obj)include
+       @echo "" >$(obj)include/config.h ; \
        if [ "$(findstring _HOST_,$@)" ] ; then \
-               echo -n "... PCI HOST " ; \
-               echo "#define CONFIG_PCI" >>include/config.h ; \
+               echo "... PCI HOST " ; \
+               echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
        fi ; \
        if [ "$(findstring _SLAVE_,$@)" ] ; then \
                echo "...PCI SLAVE 66M"  ; \
-               echo "#define CONFIG_PCI" >>include/config.h ; \
-               echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
+               echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
+               echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
        fi ; \
        if [ "$(findstring _33_,$@)" ] ; then \
-               echo -n "...33M ..." ; \
-               echo "#define PCI_33M" >>include/config.h ; \
+               echo "...33M ..." ; \
+               echo "#define PCI_33M" >>$(obj)include/config.h ; \
        fi ; \
        if [ "$(findstring _66_,$@)" ] ; then \
-               echo -n "...66M..." ; \
-               echo "#define PCI_66M" >>include/config.h ; \
+               echo "...66M..." ; \
+               echo "#define PCI_66M" >>$(obj)include/config.h ; \
        fi ;
        @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds
  
@@@ -1722,23 -1706,24 +1721,24 @@@ MPC8360EMDS_config 
  MPC8360EMDS_HOST_33_config \
  MPC8360EMDS_HOST_66_config \
  MPC8360EMDS_SLAVE_config:     unconfig
-       @echo "" >include/config.h ; \
+       @mkdir -p $(obj)include
+       @echo "" >$(obj)include/config.h ; \
        if [ "$(findstring _HOST_,$@)" ] ; then \
-               echo -n "... PCI HOST " ; \
-               echo "#define CONFIG_PCI" >>include/config.h ; \
+               echo "... PCI HOST " ; \
+               echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
        fi ; \
        if [ "$(findstring _SLAVE_,$@)" ] ; then \
                echo "...PCI SLAVE 66M"  ; \
-               echo "#define CONFIG_PCI" >>include/config.h ; \
-               echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
+               echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
+               echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
        fi ; \
        if [ "$(findstring _33_,$@)" ] ; then \
-               echo -n "...33M ..." ; \
-               echo "#define PCI_33M" >>include/config.h ; \
+               echo "...33M ..." ; \
+               echo "#define PCI_33M" >>$(obj)include/config.h ; \
        fi ; \
        if [ "$(findstring _66_,$@)" ] ; then \
-               echo -n "...66M..." ; \
-               echo "#define PCI_66M" >>include/config.h ; \
+               echo "...66M..." ; \
+               echo "#define PCI_66M" >>$(obj)include/config.h ; \
        fi ;
        @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
  
@@@ -1764,10 -1749,10 +1764,10 @@@ MPC8540EVAL_66_slave_config:      uncon
        @mkdir -p $(obj)include
        @echo "" >$(obj)include/config.h ; \
        if [ "$(findstring _33_,$@)" ] ; then \
-               echo -n "... 33 MHz PCI" ; \
+               echo "... 33 MHz PCI" ; \
        else \
                echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
-               echo -n "... 66 MHz PCI" ; \
+               echo "... 66 MHz PCI" ; \
        fi ; \
        if [ "$(findstring _slave_,$@)" ] ; then \
                echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
@@@ -1861,7 -1846,7 +1861,7 @@@ TQM8560_config:         unconfi
  #########################################################################
  
  MPC8641HPCN_config:    unconfig
-       @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
+       @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn
  
  
  #########################################################################
@@@ -2028,13 -2013,13 +2028,13 @@@ omap1610h2_cs3boot_config 
  omap1610h2_cs_autoboot_config:        unconfig
        @mkdir -p $(obj)include
        @if [ "$(findstring _cs0boot_, $@)" ] ; then \
-               echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
+               echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \
                echo "... configured for CS0 boot"; \
        elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
-               echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
+               echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \
                echo "... configured for CS_AUTO boot"; \
        else \
-               echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
+               echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
                echo "... configured for CS3 boot"; \
        fi;
        @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
@@@ -2203,11 -2188,12 +2203,12 @@@ logodl_config        :       unconfi
  
  pdnb3_config \
  scpu_config:    unconfig
+       @mkdir -p $(obj)include
        @if [ "$(findstring scpu_,$@)" ] ; then \
-               echo "#define CONFIG_SCPU"      >>include/config.h ; \
+               echo "#define CONFIG_SCPU"      >>$(obj)include/config.h ; \
                echo "... on SCPU board variant" ; \
        else \
-               >include/config.h ; \
+               >$(obj)include/config.h ; \
        fi
        @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
  
@@@ -2429,14 -2415,16 +2430,16 @@@ suzaku_config:       unconfi
        @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
  
  ml401_config: unconfig
-       @ >include/config.h
-       @echo "#define CONFIG_ML401 1" >> include/config.h
-       @./mkconfig -a $(@:_config=) microblaze microblaze ml401 xilinx
+       @mkdir -p $(obj)include
+       @ >$(obj)include/config.h
+       @echo "#define CONFIG_ML401 1" >> $(obj)include/config.h
+       @$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx
  
  xupv2p_config:        unconfig
-       @ >include/config.h
-       @echo "#define CONFIG_XUPV2P 1" >> include/config.h
-       @./mkconfig -a $(@:_config=) microblaze microblaze xupv2p xilinx
+       @mkdir -p $(obj)include
+       @ >$(obj)include/config.h
+       @echo "#define CONFIG_XUPV2P 1" >> $(obj)include/config.h
+       @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx
  
  #########################################################################
  ## Blackfin
@@@ -2461,7 -2449,7 +2464,7 @@@ bf561-ezkit_config:     unconfi
  #########################################################################
  
  atstk1002_config      :       unconfig
-       @./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
+       @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
  
  #########################################################################
  #########################################################################
diff --combined common/cmd_bootm.c
index ba286f1e636c1f6d36ea41b0366b6e192ef03d0f,c371f0e86436affca804eedc0ea75a32fb7c06fd..2436581b18cfe32a5c914432dedc5cb2f8a3fed9
@@@ -48,7 -48,7 +48,7 @@@ DECLARE_GLOBAL_DATA_PTR
   /*cmd_boot.c*/
   extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
  
- #if (CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_TIMESTAMP)
+ #if defined(CONFIG_TIMESTAMP) || defined(CONFIG_CMD_DATE)
  #include <rtc.h>
  #endif
  
  #include <hush.h>
  #endif
  
 -#ifdef CONFIG_SHOW_BOOT_PROGRESS
 -# include <status_led.h>
 -# define SHOW_BOOT_PROGRESS(arg)      show_boot_progress(arg)
 -#else
 -# define SHOW_BOOT_PROGRESS(arg)
 -#endif
 -
  #ifdef CFG_INIT_RAM_LOCK
  #include <asm/cache.h>
  #endif
@@@ -82,11 -89,11 +82,11 @@@ int  gunzip (void *, int, unsigned cha
  static void *zalloc(void *, unsigned, unsigned);
  static void zfree(void *, void *, unsigned);
  
- #if (CONFIG_COMMANDS & CFG_CMD_IMI)
+ #if defined(CONFIG_CMD_IMI)
  static int image_info (unsigned long addr);
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_IMLS)
+ #if defined(CONFIG_CMD_IMLS)
  #include <flash.h>
  extern flash_info_t flash_info[]; /* info for FLASH chips */
  static int do_imls (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
@@@ -126,12 -133,12 +126,12 @@@ static void fixup_silent_linux (void)
  #endif
  static boot_os_Fcn do_bootm_netbsd;
  static boot_os_Fcn do_bootm_rtems;
- #if (CONFIG_COMMANDS & CFG_CMD_ELF)
+ #if defined(CONFIG_CMD_ELF)
  static boot_os_Fcn do_bootm_vxworks;
  static boot_os_Fcn do_bootm_qnxelf;
  int do_bootvx ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[] );
  int do_bootelf (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[] );
- #endif /* CFG_CMD_ELF */
+ #endif
  #if defined(CONFIG_ARTOS) && defined(CONFIG_PPC)
  static boot_os_Fcn do_bootm_artos;
  #endif
@@@ -169,7 -176,7 +169,7 @@@ int do_bootm (cmd_tbl_t *cmdtp, int fla
                addr = simple_strtoul(argv[1], NULL, 16);
        }
  
 -      SHOW_BOOT_PROGRESS (1);
 +      show_boot_progress (1);
        printf ("## Booting image at %08lx ...\n", addr);
  
        /* Copy header so we can blank CRC field for re-calculation */
  #endif        /* __I386__ */
            {
                puts ("Bad Magic Number\n");
 -              SHOW_BOOT_PROGRESS (-1);
 +              show_boot_progress (-1);
                return 1;
            }
        }
 -      SHOW_BOOT_PROGRESS (2);
 +      show_boot_progress (2);
  
        data = (ulong)&header;
        len  = sizeof(image_header_t);
  
        if (crc32 (0, (uchar *)data, len) != checksum) {
                puts ("Bad Header Checksum\n");
 -              SHOW_BOOT_PROGRESS (-2);
 +              show_boot_progress (-2);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (3);
 +      show_boot_progress (3);
  
  #ifdef CONFIG_HAS_DATAFLASH
        if (addr_dataflash(addr)){
                puts ("   Verifying Checksum ... ");
                if (crc32 (0, (uchar *)data, len) != ntohl(hdr->ih_dcrc)) {
                        printf ("Bad Data CRC\n");
 -                      SHOW_BOOT_PROGRESS (-3);
 +                      show_boot_progress (-3);
                        return 1;
                }
                puts ("OK\n");
        }
 -      SHOW_BOOT_PROGRESS (4);
 +      show_boot_progress (4);
  
        len_ptr = (ulong *)data;
  
  #endif
        {
                printf ("Unsupported Architecture 0x%x\n", hdr->ih_arch);
 -              SHOW_BOOT_PROGRESS (-4);
 +              show_boot_progress (-4);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (5);
 +      show_boot_progress (5);
  
        switch (hdr->ih_type) {
        case IH_TYPE_STANDALONE:
                        data += 4;
                break;
        default: printf ("Wrong Image Type for %s command\n", cmdtp->name);
 -              SHOW_BOOT_PROGRESS (-5);
 +              show_boot_progress (-5);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (6);
 +      show_boot_progress (6);
  
        /*
         * We have reached the point of no return: we are going to
                if (gunzip ((void *)ntohl(hdr->ih_load), unc_len,
                            (uchar *)data, &len) != 0) {
                        puts ("GUNZIP ERROR - must RESET board to recover\n");
 -                      SHOW_BOOT_PROGRESS (-6);
 +                      show_boot_progress (-6);
                        do_reset (cmdtp, flag, argc, argv);
                }
                break;
                                                CFG_MALLOC_LEN < (4096 * 1024), 0);
                if (i != BZ_OK) {
                        printf ("BUNZIP2 ERROR %d - must RESET board to recover\n", i);
 -                      SHOW_BOOT_PROGRESS (-6);
 +                      show_boot_progress (-6);
                        udelay(100000);
                        do_reset (cmdtp, flag, argc, argv);
                }
                if (iflag)
                        enable_interrupts();
                printf ("Unimplemented compression type %d\n", hdr->ih_comp);
 -              SHOW_BOOT_PROGRESS (-7);
 +              show_boot_progress (-7);
                return 1;
        }
        puts ("OK\n");
 -      SHOW_BOOT_PROGRESS (7);
 +      show_boot_progress (7);
  
        switch (hdr->ih_type) {
        case IH_TYPE_STANDALONE:
                if (iflag)
                        enable_interrupts();
                printf ("Can't boot image type %d\n", hdr->ih_type);
 -              SHOW_BOOT_PROGRESS (-8);
 +              show_boot_progress (-8);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (8);
 +      show_boot_progress (8);
  
        switch (hdr->ih_os) {
        default:                        /* handled by (original) Linux case */
                             addr, len_ptr, verify);
            break;
  
- #if (CONFIG_COMMANDS & CFG_CMD_ELF)
+ #if defined(CONFIG_CMD_ELF)
        case IH_OS_VXWORKS:
            do_bootm_vxworks (cmdtp, flag, argc, argv,
                              addr, len_ptr, verify);
            do_bootm_qnxelf (cmdtp, flag, argc, argv,
                              addr, len_ptr, verify);
            break;
- #endif /* CFG_CMD_ELF */
+ #endif
  #ifdef CONFIG_ARTOS
        case IH_OS_ARTOS:
            do_bootm_artos  (cmdtp, flag, argc, argv,
  #endif
        }
  
 -      SHOW_BOOT_PROGRESS (-9);
 +      show_boot_progress (-9);
  #ifdef DEBUG
        puts ("\n## Control returned to monitor - resetting...\n");
        do_reset (cmdtp, flag, argc, argv);
@@@ -630,7 -637,7 +630,7 @@@ do_bootm_linux (cmd_tbl_t *cmdtp, int f
  #endif
        if (argc >= 3) {
                debug ("Not skipping initrd\n");
 -              SHOW_BOOT_PROGRESS (9);
 +              show_boot_progress (9);
  
                addr = simple_strtoul(argv[2], NULL, 16);
  
  
                if (ntohl(hdr->ih_magic)  != IH_MAGIC) {
                        puts ("Bad Magic Number\n");
 -                      SHOW_BOOT_PROGRESS (-10);
 +                      show_boot_progress (-10);
                        do_reset (cmdtp, flag, argc, argv);
                }
  
  
                if (crc32 (0, (uchar *)data, len) != checksum) {
                        puts ("Bad Header Checksum\n");
 -                      SHOW_BOOT_PROGRESS (-11);
 +                      show_boot_progress (-11);
                        do_reset (cmdtp, flag, argc, argv);
                }
  
 -              SHOW_BOOT_PROGRESS (10);
 +              show_boot_progress (10);
  
                print_image_hdr (hdr);
  
  
                        if (csum != ntohl(hdr->ih_dcrc)) {
                                puts ("Bad Data CRC\n");
 -                              SHOW_BOOT_PROGRESS (-12);
 +                              show_boot_progress (-12);
                                do_reset (cmdtp, flag, argc, argv);
                        }
                        puts ("OK\n");
                }
  
 -              SHOW_BOOT_PROGRESS (11);
 +              show_boot_progress (11);
  
                if ((hdr->ih_os   != IH_OS_LINUX)       ||
                    (hdr->ih_arch != IH_CPU_PPC)        ||
                    (hdr->ih_type != IH_TYPE_RAMDISK)   ) {
                        puts ("No Linux PPC Ramdisk Image\n");
 -                      SHOW_BOOT_PROGRESS (-13);
 +                      show_boot_progress (-13);
                        do_reset (cmdtp, flag, argc, argv);
                }
  
                u_long tail    = ntohl(len_ptr[0]) % 4;
                int i;
  
 -              SHOW_BOOT_PROGRESS (13);
 +              show_boot_progress (13);
  
                /* skip kernel length and terminator */
                data = (ulong)(&len_ptr[2]);
                /*
                 * no initrd image
                 */
 -              SHOW_BOOT_PROGRESS (14);
 +              show_boot_progress (14);
  
                len = data = 0;
        }
                                initrd_start = nsp;
                }
  
 -              SHOW_BOOT_PROGRESS (12);
 +              show_boot_progress (12);
  
                debug ("## initrd at 0x%08lX ... 0x%08lX (len=%ld=0x%lX)\n",
                        data, data + len - 1, len, len);
        debug ("## Transferring control to Linux (at address %08lx) ...\n",
                (ulong)kernel);
  
 -      SHOW_BOOT_PROGRESS (15);
 +      show_boot_progress (15);
  
  #if defined(CFG_INIT_RAM_LOCK) && !defined(CONFIG_E500)
        unlock_ram_in_cache();
@@@ -1108,7 -1115,7 +1108,7 @@@ do_bootm_netbsd (cmd_tbl_t *cmdtp, int 
        printf ("## Transferring control to NetBSD stage-2 loader (at address %08lx) ...\n",
                (ulong)loader);
  
 -      SHOW_BOOT_PROGRESS (15);
 +      show_boot_progress (15);
  
        /*
         * NetBSD Stage-2 Loader Parameters:
@@@ -1212,7 -1219,7 +1212,7 @@@ do_bootm_artos (cmd_tbl_t *cmdtp, int f
  #endif
  
  
- #if (CONFIG_COMMANDS & CFG_CMD_BOOTD)
+ #if defined(CONFIG_CMD_BOOTD)
  int do_bootd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
  {
        int rcode = 0;
@@@ -1240,7 -1247,7 +1240,7 @@@ U_BOOT_CMD
  
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_IMI)
+ #if defined(CONFIG_CMD_IMI)
  int do_iminfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
  {
        int     arg;
@@@ -1308,9 -1315,9 +1308,9 @@@ U_BOOT_CMD
        "      image contents (magic number, header and payload checksums)\n"
  );
  
- #endif        /* CFG_CMD_IMI */
+ #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_IMLS)
+ #if defined(CONFIG_CMD_IMLS)
  /*-----------------------------------------------------------------------
   * List all images found in flash.
   */
@@@ -1366,23 -1373,23 +1366,23 @@@ U_BOOT_CMD
        "    - Prints information about all images found at sector\n"
        "      boundaries in flash.\n"
  );
- #endif        /* CFG_CMD_IMLS */
+ #endif
  
  void
  print_image_hdr (image_header_t *hdr)
  {
- #if (CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_TIMESTAMP)
+ #if defined(CONFIG_TIMESTAMP) || defined(CONFIG_CMD_DATE)
        time_t timestamp = (time_t)ntohl(hdr->ih_time);
        struct rtc_time tm;
  #endif
  
        printf ("   Image Name:   %.*s\n", IH_NMLEN, hdr->ih_name);
- #if (CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_TIMESTAMP)
+ #if defined(CONFIG_TIMESTAMP) || defined(CONFIG_CMD_DATE)
        to_tm (timestamp, &tm);
        printf ("   Created:      %4d-%02d-%02d  %2d:%02d:%02d UTC\n",
                tm.tm_year, tm.tm_mon, tm.tm_mday,
                tm.tm_hour, tm.tm_min, tm.tm_sec);
- #endif        /* CFG_CMD_DATE, CONFIG_TIMESTAMP */
+ #endif
        puts ("   Image Type:   "); print_type(hdr);
        printf ("\n   Data Size:    %d Bytes = ", ntohl(hdr->ih_size));
        print_size (ntohl(hdr->ih_size), "\n");
@@@ -1571,7 -1578,7 +1571,7 @@@ do_bootm_rtems (cmd_tbl_t *cmdtp, int f
        printf ("## Transferring control to RTEMS (at address %08lx) ...\n",
                (ulong)entry_point);
  
 -      SHOW_BOOT_PROGRESS (15);
 +      show_boot_progress (15);
  
        /*
         * RTEMS Parameters:
        (*entry_point ) ( gd->bd );
  }
  
- #if (CONFIG_COMMANDS & CFG_CMD_ELF)
+ #if defined(CONFIG_CMD_ELF)
  static void
  do_bootm_vxworks (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
                  ulong addr, ulong *len_ptr, int verify)
@@@ -1607,7 -1614,7 +1607,7 @@@ do_bootm_qnxelf (cmd_tbl_t *cmdtp, int 
        local_args[1] = str;    /* and provide it via the arguments */
        do_bootelf(cmdtp, 0, 2, local_args);
  }
- #endif /* CFG_CMD_ELF */
+ #endif
  
  #ifdef CONFIG_LYNXKDI
  static void
diff --combined common/cmd_doc.c
index 9814d754fb7adf5ab8d07cd1b071656e26a04c45,a172b3b68ccff3fff5902db96d9104b9552d2daa..d6d3aff8c875757e62067455643a94ad01a40194
  #include <malloc.h>
  #include <asm/io.h>
  
- #if (CONFIG_COMMANDS & CFG_CMD_DOC)
 -#ifdef CONFIG_SHOW_BOOT_PROGRESS
 -# include <status_led.h>
 -# define SHOW_BOOT_PROGRESS(arg)      show_boot_progress(arg)
 -#else
 -# define SHOW_BOOT_PROGRESS(arg)
 -#endif
 -
+ #if defined(CONFIG_CMD_DOC)
  
  #include <linux/mtd/nftl.h>
  #include <linux/mtd/doc2000.h>
@@@ -209,7 -216,7 +209,7 @@@ int do_docboot (cmd_tbl_t *cmdtp, int f
        image_header_t *hdr;
        int rcode = 0;
  
 -      SHOW_BOOT_PROGRESS (34);
 +      show_boot_progress (34);
        switch (argc) {
        case 1:
                addr = CFG_LOAD_ADDR;
                break;
        default:
                printf ("Usage:\n%s\n", cmdtp->usage);
 -              SHOW_BOOT_PROGRESS (-35);
 +              show_boot_progress (-35);
                return 1;
        }
  
 -      SHOW_BOOT_PROGRESS (35);
 +      show_boot_progress (35);
        if (!boot_device) {
                puts ("\n** No boot device **\n");
 -              SHOW_BOOT_PROGRESS (-36);
 +              show_boot_progress (-36);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (36);
 +      show_boot_progress (36);
  
        dev = simple_strtoul(boot_device, &ep, 16);
  
        if ((dev >= CFG_MAX_DOC_DEVICE) ||
            (doc_dev_desc[dev].ChipID == DOC_ChipID_UNKNOWN)) {
                printf ("\n** Device %d not available\n", dev);
 -              SHOW_BOOT_PROGRESS (-37);
 +              show_boot_progress (-37);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (37);
 +      show_boot_progress (37);
  
        printf ("\nLoading from device %d: %s at 0x%lX (offset 0x%lX)\n",
                dev, doc_dev_desc[dev].name, doc_dev_desc[dev].physadr,
        if (doc_rw (doc_dev_desc + dev, 1, offset,
                    SECTORSIZE, NULL, (u_char *)addr)) {
                printf ("** Read error on %d\n", dev);
 -              SHOW_BOOT_PROGRESS (-38);
 +              show_boot_progress (-38);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (38);
 +      show_boot_progress (38);
  
        hdr = (image_header_t *)addr;
  
                cnt -= SECTORSIZE;
        } else {
                puts ("\n** Bad Magic Number **\n");
 -              SHOW_BOOT_PROGRESS (-39);
 +              show_boot_progress (-39);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (39);
 +      show_boot_progress (39);
  
        if (doc_rw (doc_dev_desc + dev, 1, offset + SECTORSIZE, cnt,
                    NULL, (u_char *)(addr+SECTORSIZE))) {
                printf ("** Read error on %d\n", dev);
 -              SHOW_BOOT_PROGRESS (-40);
 +              show_boot_progress (-40);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (40);
 +      show_boot_progress (40);
  
        /* Loading ok, update default load address */
  
@@@ -1608,4 -1615,4 +1608,4 @@@ void doc_probe(unsigned long physadr
        }
  }
  
- #endif /* (CONFIG_COMMANDS & CFG_CMD_DOC) */
+ #endif
diff --combined common/cmd_ide.c
index 877915694903a9bf07e753e5de07898b294d46f9,cbfc30390ccd2f23416319efb4584d1930f154eb..89fefed33d06fccdc535eefaad9a038d1626b621
@@@ -59,6 -59,13 +59,6 @@@ unsigned long mips_io_port_base = 0
  #endif
  #endif
  
 -#ifdef CONFIG_SHOW_BOOT_PROGRESS
 -# include <status_led.h>
 -# define SHOW_BOOT_PROGRESS(arg)      show_boot_progress(arg)
 -#else
 -# define SHOW_BOOT_PROGRESS(arg)
 -#endif
 -
  #ifdef CONFIG_IDE_8xx_DIRECT
  DECLARE_GLOBAL_DATA_PTR;
  #endif
@@@ -71,7 -78,7 +71,7 @@@
  # define SYNC         /* nothing */
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_IDE)
+ #if defined(CONFIG_CMD_IDE)
  
  #ifdef CONFIG_IDE_8xx_DIRECT
  /* Timings for IDE Interface
@@@ -378,7 -385,7 +378,7 @@@ int do_diskboot (cmd_tbl_t *cmdtp, int 
        image_header_t *hdr;
        int rcode = 0;
  
 -      SHOW_BOOT_PROGRESS (41);
 +      show_boot_progress (41);
        switch (argc) {
        case 1:
                addr = CFG_LOAD_ADDR;
                break;
        default:
                printf ("Usage:\n%s\n", cmdtp->usage);
 -              SHOW_BOOT_PROGRESS (-42);
 +              show_boot_progress (-42);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (42);
 +      show_boot_progress (42);
  
        if (!boot_device) {
                puts ("\n** No boot device **\n");
 -              SHOW_BOOT_PROGRESS (-43);
 +              show_boot_progress (-43);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (43);
 +      show_boot_progress (43);
  
        dev = simple_strtoul(boot_device, &ep, 16);
  
        if (ide_dev_desc[dev].type==DEV_TYPE_UNKNOWN) {
                printf ("\n** Device %d not available\n", dev);
 -              SHOW_BOOT_PROGRESS (-44);
 +              show_boot_progress (-44);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (44);
 +      show_boot_progress (44);
  
        if (*ep) {
                if (*ep != ':') {
                        puts ("\n** Invalid boot device, use `dev[:part]' **\n");
 -                      SHOW_BOOT_PROGRESS (-45);
 +                      show_boot_progress (-45);
                        return 1;
                }
                part = simple_strtoul(++ep, NULL, 16);
        }
 -      SHOW_BOOT_PROGRESS (45);
 +      show_boot_progress (45);
        if (get_partition_info (&ide_dev_desc[dev], part, &info)) {
 -              SHOW_BOOT_PROGRESS (-46);
 +              show_boot_progress (-46);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (46);
 +      show_boot_progress (46);
        if ((strncmp((char *)info.type, BOOT_PART_TYPE, sizeof(info.type)) != 0) &&
            (strncmp((char *)info.type, BOOT_PART_COMP, sizeof(info.type)) != 0)) {
                printf ("\n** Invalid partition type \"%.32s\""
                        " (expect \"" BOOT_PART_TYPE "\")\n",
                        info.type);
 -              SHOW_BOOT_PROGRESS (-47);
 +              show_boot_progress (-47);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (47);
 +      show_boot_progress (47);
  
        printf ("\nLoading from IDE device %d, partition %d: "
                "Name: %.32s  Type: %.32s\n",
  
        if (ide_dev_desc[dev].block_read (dev, info.start, 1, (ulong *)addr) != 1) {
                printf ("** Read error on %d:%d\n", dev, part);
 -              SHOW_BOOT_PROGRESS (-48);
 +              show_boot_progress (-48);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (48);
 +      show_boot_progress (48);
  
        hdr = (image_header_t *)addr;
  
        if (ntohl(hdr->ih_magic) != IH_MAGIC) {
                printf("\n** Bad Magic Number **\n");
 -              SHOW_BOOT_PROGRESS (-49);
 +              show_boot_progress (-49);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (49);
 +      show_boot_progress (49);
  
        checksum = ntohl(hdr->ih_hcrc);
        hdr->ih_hcrc = 0;
  
        if (crc32 (0, (uchar *)hdr, sizeof(image_header_t)) != checksum) {
                puts ("\n** Bad Header Checksum **\n");
 -              SHOW_BOOT_PROGRESS (-50);
 +              show_boot_progress (-50);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (50);
 +      show_boot_progress (50);
        hdr->ih_hcrc = htonl(checksum); /* restore checksum for later use */
  
        print_image_hdr (hdr);
        if (ide_dev_desc[dev].block_read (dev, info.start+1, cnt,
                      (ulong *)(addr+info.blksz)) != cnt) {
                printf ("** Read error on %d:%d\n", dev, part);
 -              SHOW_BOOT_PROGRESS (-51);
 +              show_boot_progress (-51);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS (51);
 +      show_boot_progress (51);
  
  
        /* Loading ok, update default load address */
@@@ -2105,4 -2112,4 +2105,4 @@@ U_BOOT_CMD
        "loadAddr dev:part\n"
  );
  
- #endif        /* CONFIG_COMMANDS & CFG_CMD_IDE */
+ #endif
diff --combined common/cmd_nand.c
index cb62661ec2703375099409ffaf71f3826d07bafa,8832db9606ab49bcfd4aa72e7c12976ba7e4f694..c72612d0d6f3c828271d48ab5b4a053cb121576f
   */
  #include <common.h>
  
- #if (CONFIG_COMMANDS & CFG_CMD_NAND)
+ #if defined(CONFIG_CMD_NAND)
  
  #include <command.h>
  #include <watchdog.h>
  #include <malloc.h>
  #include <asm/byteorder.h>
 -
 -#ifdef CONFIG_SHOW_BOOT_PROGRESS
 -# include <status_led.h>
 -# define SHOW_BOOT_PROGRESS(arg)      show_boot_progress(arg)
 -#else
 -# define SHOW_BOOT_PROGRESS(arg)
 -#endif
 -
  #include <jffs2/jffs2.h>
  #include <nand.h>
  
- #if (CONFIG_COMMANDS & CFG_CMD_JFFS2) && defined(CONFIG_JFFS2_CMDLINE)
+ #if defined(CONFIG_CMD_JFFS2) && defined(CONFIG_JFFS2_CMDLINE)
  
  /* parition handling routines */
  int mtdparts_init(void);
@@@ -96,7 -104,7 +96,7 @@@ static in
  arg_off_size(int argc, char *argv[], nand_info_t *nand, ulong *off, ulong *size)
  {
        int idx = nand_curr_device;
- #if (CONFIG_COMMANDS & CFG_CMD_JFFS2) && defined(CONFIG_JFFS2_CMDLINE)
+ #if defined(CONFIG_CMD_JFFS2) && defined(CONFIG_JFFS2_CMDLINE)
        struct mtd_device *dev;
        struct part_info *part;
        u8 pnum;
                *size = nand->size - *off;
        }
  
- #if (CONFIG_COMMANDS & CFG_CMD_JFFS2) && defined(CONFIG_JFFS2_CMDLINE)
+ #if  defined(CONFIG_CMD_JFFS2) && defined(CONFIG_JFFS2_CMDLINE)
  out:
  #endif
        printf("device %d ", idx);
@@@ -478,19 -486,19 +478,19 @@@ static int nand_load_image(cmd_tbl_t *c
        r = nand_read(nand, offset, &cnt, (u_char *) addr);
        if (r) {
                puts("** Read error\n");
 -              SHOW_BOOT_PROGRESS(-56);
 +              show_boot_progress (-56);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS(56);
 +      show_boot_progress (56);
  
        hdr = (image_header_t *) addr;
  
        if (ntohl(hdr->ih_magic) != IH_MAGIC) {
                printf("\n** Bad Magic Number 0x%x **\n", hdr->ih_magic);
 -              SHOW_BOOT_PROGRESS(-57);
 +              show_boot_progress (-57);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS(57);
 +      show_boot_progress (57);
  
        print_image_hdr(hdr);
  
        r = nand_read(nand, offset, &cnt, (u_char *) addr);
        if (r) {
                puts("** Read error\n");
 -              SHOW_BOOT_PROGRESS(-58);
 +              show_boot_progress (-58);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS(58);
 +      show_boot_progress (58);
  
        /* Loading ok, update default load address */
  
@@@ -529,7 -537,7 +529,7 @@@ int do_nandboot(cmd_tbl_t * cmdtp, int 
        char *boot_device = NULL;
        int idx;
        ulong addr, offset = 0;
- #if (CONFIG_COMMANDS & CFG_CMD_JFFS2) && defined(CONFIG_JFFS2_CMDLINE)
+ #if defined(CONFIG_CMD_JFFS2) && defined(CONFIG_JFFS2_CMDLINE)
        struct mtd_device *dev;
        struct part_info *part;
        u8 pnum;
        }
  #endif
  
 -      SHOW_BOOT_PROGRESS(52);
 +      show_boot_progress(52);
        switch (argc) {
        case 1:
                addr = CFG_LOAD_ADDR;
                offset = simple_strtoul(argv[3], NULL, 16);
                break;
        default:
- #if (CONFIG_COMMANDS & CFG_CMD_JFFS2) && defined(CONFIG_JFFS2_CMDLINE)
+ #if defined(CONFIG_CMD_JFFS2) && defined(CONFIG_JFFS2_CMDLINE)
  usage:
  #endif
                printf("Usage:\n%s\n", cmdtp->usage);
 -              SHOW_BOOT_PROGRESS(-53);
 +              show_boot_progress(-53);
                return 1;
        }
  
 -      SHOW_BOOT_PROGRESS(53);
 +      show_boot_progress(53);
        if (!boot_device) {
                puts("\n** No boot device **\n");
 -              SHOW_BOOT_PROGRESS(-54);
 +              show_boot_progress(-54);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS(54);
 +      show_boot_progress(54);
  
        idx = simple_strtoul(boot_device, NULL, 16);
  
        if (idx < 0 || idx >= CFG_MAX_NAND_DEVICE || !nand_info[idx].name) {
                printf("\n** Device %d not available\n", idx);
 -              SHOW_BOOT_PROGRESS(-55);
 +              show_boot_progress(-55);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS(55);
 +      show_boot_progress(55);
  
        return nand_load_image(cmdtp, &nand_info[idx], offset, addr, argv[0]);
  }
@@@ -606,7 -614,7 +606,7 @@@ U_BOOT_CMD(nboot, 4, 1, do_nandboot
        "nboot   - boot from NAND device\n",
        "[partition] | [[[loadAddr] dev] offset]\n");
  
- #endif                                /* (CONFIG_COMMANDS & CFG_CMD_NAND) */
+ #endif
  
  #else /* CFG_NAND_LEGACY */
  /*
  #include <asm/io.h>
  #include <watchdog.h>
  
 -#ifdef CONFIG_SHOW_BOOT_PROGRESS
 +#ifdef CONFIG_show_boot_progress
  # include <status_led.h>
 -# define SHOW_BOOT_PROGRESS(arg)      show_boot_progress(arg)
 +# define show_boot_progress(arg)      show_boot_progress(arg)
  #else
 -# define SHOW_BOOT_PROGRESS(arg)
 +# define show_boot_progress(arg)
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_NAND)
+ #if defined(CONFIG_CMD_NAND)
  #include <linux/mtd/nand_legacy.h>
  #if 0
  #include <linux/mtd/nand_ids.h>
@@@ -886,7 -894,7 +886,7 @@@ int do_nandboot (cmd_tbl_t *cmdtp, int 
        ulong offset = 0;
        image_header_t *hdr;
        int rcode = 0;
 -      SHOW_BOOT_PROGRESS(52);
 +      show_boot_progress (52);
        switch (argc) {
        case 1:
                addr = CFG_LOAD_ADDR;
                break;
        default:
                printf ("Usage:\n%s\n", cmdtp->usage);
 -              SHOW_BOOT_PROGRESS (-53);
 +              show_boot_progress (-53);
                return 1;
        }
  
 -      SHOW_BOOT_PROGRESS(53);
 +      show_boot_progress (53);
        if (!boot_device) {
                puts ("\n** No boot device **\n");
 -              SHOW_BOOT_PROGRESS (-54);
 +              show_boot_progress (-54);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS(54);
 +      show_boot_progress (54);
  
        dev = simple_strtoul(boot_device, &ep, 16);
  
        if ((dev >= CFG_MAX_NAND_DEVICE) ||
            (nand_dev_desc[dev].ChipID == NAND_ChipID_UNKNOWN)) {
                printf ("\n** Device %d not available\n", dev);
 -              SHOW_BOOT_PROGRESS (-55);
 +              show_boot_progress (-55);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS(55);
 +      show_boot_progress (55);
  
        printf ("\nLoading from device %d: %s at 0x%lx (offset 0x%lx)\n",
                dev, nand_dev_desc[dev].name, nand_dev_desc[dev].IO_ADDR,
        if (nand_legacy_rw (nand_dev_desc + dev, NANDRW_READ, offset,
                        SECTORSIZE, NULL, (u_char *)addr)) {
                printf ("** Read error on %d\n", dev);
 -              SHOW_BOOT_PROGRESS (-56);
 +              show_boot_progress (-56);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS(56);
 +      show_boot_progress (56);
  
        hdr = (image_header_t *)addr;
  
                cnt -= SECTORSIZE;
        } else {
                printf ("\n** Bad Magic Number 0x%x **\n", ntohl(hdr->ih_magic));
 -              SHOW_BOOT_PROGRESS (-57);
 +              show_boot_progress (-57);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS(57);
 +      show_boot_progress (57);
  
        if (nand_legacy_rw (nand_dev_desc + dev, NANDRW_READ,
                        offset + SECTORSIZE, cnt, NULL,
                        (u_char *)(addr+SECTORSIZE))) {
                printf ("** Read error on %d\n", dev);
 -              SHOW_BOOT_PROGRESS (-58);
 +              show_boot_progress (-58);
                return 1;
        }
 -      SHOW_BOOT_PROGRESS(58);
 +      show_boot_progress (58);
  
        /* Loading ok, update default load address */
  
@@@ -991,6 -999,6 +991,6 @@@ U_BOOT_CMD
        "loadAddr dev\n"
  );
  
- #endif /* (CONFIG_COMMANDS & CFG_CMD_NAND) */
+ #endif
  
  #endif /* CFG_NAND_LEGACY */
diff --combined common/cmd_net.c
index f1097a9951d368b9e1e5ac44cb6dba275405574c,fa4f968a0d42ba79547f60362e4d741529622214..0715fbc203ce06fc8fa2c61af5db240ec9de50b3
  #include <command.h>
  #include <net.h>
  
- #if (CONFIG_COMMANDS & CFG_CMD_NET)
+ #if defined(CONFIG_CMD_NET)
  
 -#ifdef CONFIG_SHOW_BOOT_PROGRESS
 -# include <status_led.h>
 -extern void show_boot_progress (int val);
 -# define SHOW_BOOT_PROGRESS(arg)      show_boot_progress (arg)
 -#else
 -# define SHOW_BOOT_PROGRESS(arg)
 -#endif
 -
  extern int do_bootm (cmd_tbl_t *, int, int, char *[]);
  
  static int netboot_common (proto_t, cmd_tbl_t *, int , char *[]);
@@@ -67,7 -75,7 +67,7 @@@ U_BOOT_CMD
        "[loadAddress] [bootfilename]\n"
  );
  
- #if (CONFIG_COMMANDS & CFG_CMD_DHCP)
+ #if defined(CONFIG_CMD_DHCP)
  int do_dhcp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
  {
        return netboot_common(DHCP, cmdtp, argc, argv);
@@@ -78,9 -86,9 +78,9 @@@ U_BOOT_CMD
        "dhcp\t- invoke DHCP client to obtain IP/boot params\n",
        "\n"
  );
- #endif        /* CFG_CMD_DHCP */
+ #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_NFS)
+ #if defined(CONFIG_CMD_NFS)
  int do_nfs (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
  {
        return netboot_common(NFS, cmdtp, argc, argv);
@@@ -91,7 -99,7 +91,7 @@@ U_BOOT_CMD
        "nfs\t- boot image via network using NFS protocol\n",
        "[loadAddress] [host ip addr:bootfilename]\n"
  );
- #endif        /* CFG_CMD_NFS */
+ #endif
  
  static void netboot_update_env (void)
  {
                ip_to_string (NetOurDNSIP, tmp);
                setenv ("dnsip", tmp);
        }
- #if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS2)
+ #if defined(CONFIG_BOOTP_DNS2)
        if (NetOurDNS2IP) {
                ip_to_string (NetOurDNS2IP, tmp);
                setenv ("dnsip2", tmp);
        if (NetOurNISDomain[0])
                setenv ("domain", NetOurNISDomain);
  
- #if (CONFIG_COMMANDS & CFG_CMD_SNTP) && (CONFIG_BOOTP_MASK & CONFIG_BOOTP_TIMEOFFSET)
+ #if defined(CONFIG_CMD_SNTP) \
+     && defined(CONFIG_BOOTP_TIMEOFFSET)
        if (NetTimeOffset) {
                sprintf (tmp, "%d", NetTimeOffset);
                setenv ("timeoffset", tmp);
        }
  #endif
- #if (CONFIG_COMMANDS & CFG_CMD_SNTP) && (CONFIG_BOOTP_MASK & CONFIG_BOOTP_NTPSERVER)
+ #if defined(CONFIG_CMD_SNTP) \
+     && defined(CONFIG_BOOTP_NTPSERVER)
        if (NetNtpServerIP) {
                ip_to_string (NetNtpServerIP, tmp);
                setenv ("ntpserverip", tmp);
@@@ -183,23 -193,23 +185,23 @@@ netboot_common (proto_t proto, cmd_tbl_
                break;
  
        default: printf ("Usage:\n%s\n", cmdtp->usage);
 -              SHOW_BOOT_PROGRESS(-80);
 +              show_boot_progress (-80);
                return 1;
        }
  
 -      SHOW_BOOT_PROGRESS(80);
 +      show_boot_progress (80);
        if ((size = NetLoop(proto)) < 0) {
 -              SHOW_BOOT_PROGRESS(-81);
 +              show_boot_progress (-81);
                return 1;
        }
  
 -      SHOW_BOOT_PROGRESS(81);
 +      show_boot_progress (81);
        /* NetLoop ok, update environment */
        netboot_update_env();
  
        /* done if no file was loaded (no errors though) */
        if (size == 0) {
 -              SHOW_BOOT_PROGRESS(-82);
 +              show_boot_progress (-82);
                return 0;
        }
  
  
                printf ("Automatic boot of image at addr 0x%08lX ...\n",
                        load_addr);
 -              SHOW_BOOT_PROGRESS(82);
 +              show_boot_progress (82);
                rcode = do_bootm (cmdtp, 0, 1, local_args);
        }
  
  #ifdef CONFIG_AUTOSCRIPT
        if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) {
                printf("Running autoscript at addr 0x%08lX ...\n", load_addr);
 -              SHOW_BOOT_PROGRESS(83);
 +              show_boot_progress (83);
                rcode = autoscript (load_addr);
        }
  #endif
 -#if defined(CONFIG_SHOW_BOOT_PROGRESS)
        if (rcode < 0)
 -              SHOW_BOOT_PROGRESS(-83);
 +              show_boot_progress (-83);
        else
 -              SHOW_BOOT_PROGRESS(84);
 -#endif
 +              show_boot_progress (84);
        return rcode;
  }
  
- #if (CONFIG_COMMANDS & CFG_CMD_PING)
+ #if defined(CONFIG_CMD_PING)
  int do_ping (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
  {
        if (argc < 2)
@@@ -259,9 -271,9 +261,9 @@@ U_BOOT_CMD
        "ping\t- send ICMP ECHO_REQUEST to network host\n",
        "pingAddress\n"
  );
- #endif        /* CFG_CMD_PING */
+ #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_CDP)
+ #if defined(CONFIG_CMD_CDP)
  
  static void cdp_update_env(void)
  {
@@@ -302,9 -314,9 +304,9 @@@ U_BOOT_CMD
        cdp,    1,      1,      do_cdp,
        "cdp\t- Perform CDP network configuration\n",
  );
- #endif        /* CFG_CMD_CDP */
+ #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_SNTP)
+ #if defined(CONFIG_CMD_SNTP)
  int do_sntp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
  {
        char *toff;
@@@ -340,6 -352,6 +342,6 @@@ U_BOOT_CMD
        "sntp\t- synchronize RTC via network\n",
        "[NTP server IP]\n"
  );
- #endif        /* CFG_CMD_SNTP */
+ #endif
  
- #endif        /* CFG_CMD_NET */
+ #endif
diff --combined common/main.c
index 000686d85a9a833a8521d896c1bef294f7fd642a,c6a65b01e87d31806742b0c643c06120765fb118..379695cc426b8c496c18b9b10295d0970c3a9690
  DECLARE_GLOBAL_DATA_PTR;
  #endif
  
 +/*
 + * Board-specific Platform code can reimplement show_boot_progress () if needed
 + */
 +void inline __show_boot_progress (int val) {}
 +void inline show_boot_progress (int val) __attribute__((weak, alias("__show_boot_progress")));
 +
  #if defined(CONFIG_BOOT_RETRY_TIME) && defined(CONFIG_RESET_TO_RETRY)
  extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);             /* for do_reset() prototype */
  #endif
@@@ -1317,7 -1311,7 +1317,7 @@@ int run_command (const char *cmd, int f
                        continue;
                }
  
- #if (CONFIG_COMMANDS & CFG_CMD_BOOTD)
+ #if defined(CONFIG_CMD_BOOTD)
                /* avoid "bootd" recursion */
                if (cmdtp->cmd == do_bootd) {
  #ifdef DEBUG_PARSER
                                flag |= CMD_FLAG_BOOTD;
                        }
                }
- #endif        /* CFG_CMD_BOOTD */
+ #endif
  
                /* OK - call function to do the command */
                if ((cmdtp->cmd) (cmdtp, flag, argc, argv) != 0) {
  
  /****************************************************************************/
  
- #if (CONFIG_COMMANDS & CFG_CMD_RUN)
+ #if defined(CONFIG_CMD_RUN)
  int do_run (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
  {
        int i;
        }
        return 0;
  }
- #endif        /* CFG_CMD_RUN */
+ #endif
diff --combined cpu/mpc5xxx/fec.c
index 3d99d5c1ec66973f4a77842bded5c21cfcbc77cd,727f954e3ae37f87b1ab58fffbe6530070c8ce76..1a4d2f2e26074b410e232c1036924cc693c0dcb8
@@@ -18,10 -18,10 +18,10 @@@ DECLARE_GLOBAL_DATA_PTR
  
  /* #define DEBUG      0x28 */
  
- #if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI) && \
+ #if defined(CONFIG_CMD_NET) && defined(CONFIG_NET_MULTI) && \
        defined(CONFIG_MPC5xxx_FEC)
  
- #if !(defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII))
+ #if !(defined(CONFIG_MII) || defined(CONFIG_CMD_MII))
  #error "CONFIG_MII has to be defined!"
  #endif
  
@@@ -889,20 -889,13 +889,20 @@@ int mpc5xxx_fec_initialize(bd_t * bis
        fec->eth = (ethernet_regs *)MPC5XXX_FEC;
        fec->tbdBase = (FEC_TBD *)FEC_BD_BASE;
        fec->rbdBase = (FEC_RBD *)(FEC_BD_BASE + FEC_TBD_NUM * sizeof(FEC_TBD));
 -#if defined(CONFIG_CANMB)    || defined(CONFIG_HMI1001)       || \
 -    defined(CONFIG_ICECUBE)  || defined(CONFIG_INKA4X0)       || \
 -    defined(CONFIG_JUPITER)  || defined(CONFIG_MCC200)        || \
 -    defined(CONFIG_MOTIONPRO)|| defined(CONFIG_O2DNT) || \
 -    defined(CONFIG_PM520)    || defined(CONFIG_TOP5200)       || \
 -    defined(CONFIG_TQM5200)  || defined(CONFIG_UC101) || \
 -    defined(CONFIG_V38B)
 +#if defined(CONFIG_CANMB)             || \
 +      defined(CONFIG_CM1_QP1)         || \
 +      defined(CONFIG_HMI1001)         || \
 +      defined(CONFIG_ICECUBE)         || \
 +      defined(CONFIG_INKA4X0)         || \
 +      defined(CONFIG_JUPITER)         || \
 +      defined(CONFIG_MCC200)          || \
 +      defined(CONFIG_MOTIONPRO)       || \
 +      defined(CONFIG_O2DNT)           || \
 +      defined(CONFIG_PM520)           || \
 +      defined(CONFIG_TOP5200)         || \
 +      defined(CONFIG_TQM5200)         || \
 +      defined(CONFIG_UC101)           || \
 +      defined(CONFIG_V38B)
  # ifndef CONFIG_FEC_10MBIT
        fec->xcv_type = MII100;
  # else
        sprintf(dev->name, "FEC ETHERNET");
        eth_register(dev);
  
- #if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII)
+ #if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
        miiphy_register (dev->name,
                        fec5xxx_miiphy_read, fec5xxx_miiphy_write);
  #endif
index 753f5412953c1635b9be192556023f0745b230ac,fcb6d2b5334e199a4da046cd919df1052cfe6998..49d2ebb67d3fd8392c6d2b0e75c5788830a933ee
  #include <asm/io.h>
  #include <watchdog.h>
  
- #if (CONFIG_COMMANDS & CFG_CMD_NAND) && defined(CFG_NAND_LEGACY)
 -#ifdef CONFIG_SHOW_BOOT_PROGRESS
 -# include <status_led.h>
 -# define SHOW_BOOT_PROGRESS(arg)      show_boot_progress(arg)
 -#else
 -# define SHOW_BOOT_PROGRESS(arg)
 -#endif
 -
+ #if defined(CONFIG_CMD_NAND) && defined(CFG_NAND_LEGACY)
  
  #include <linux/mtd/nand_legacy.h>
  #include <linux/mtd/nand_ids.h>
@@@ -1609,4 -1616,4 +1609,4 @@@ int read_jffs2_nand(size_t start, size_
  }
  #endif /* CONFIG_JFFS2_NAND */
  
- #endif /* (CONFIG_COMMANDS & CFG_CMD_NAND) && defined(CFG_NAND_LEGACY) */
+ #endif
diff --combined include/common.h
index d823733b67fd4d65f4a30e14f242fad81990e4d3,d89617ae2c9d39f2d2702a5ffb56b26a07476369..ac29d3aac6cce3d628381f3f904e2d56b4342393
@@@ -1,5 -1,5 +1,5 @@@
  /*
 - * (C) Copyright 2000-2004
 + * (C) Copyright 2000-2007
   * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
   *
   * See file CREDITS for list of people who contributed to this
@@@ -63,13 -63,15 +63,19 @@@ typedef volatile unsigned char     vu_char
  #endif
  #elif defined(CONFIG_5xx)
  #include <asm/5xx_immap.h>
+ #define CONFIG_RELOC_FIXUP_WORKS
  #elif defined(CONFIG_MPC5xxx)
  #include <mpc5xxx.h>
+ #define CONFIG_RELOC_FIXUP_WORKS
 +#elif defined(CONFIG_MPC512X)
 +#include <mpc512x.h>
 +#include <asm/immap_512x.h>
++#define CONFIG_RELOC_FIXUP_WORKS
  #elif defined(CONFIG_MPC8220)
  #include <asm/immap_8220.h>
+ #define CONFIG_RELOC_FIXUP_WORKS
+ #elif defined(CONFIG_824X)
+ #define CONFIG_RELOC_FIXUP_WORKS
  #elif defined(CONFIG_8260)
  #if   defined(CONFIG_MPC8247) \
     || defined(CONFIG_MPC8248) \
@@@ -81,6 -83,7 +87,7 @@@
  #define CONFIG_MPC8260        1
  #endif
  #include <asm/immap_8260.h>
+ #define CONFIG_RELOC_FIXUP_WORKS
  #endif
  #ifdef CONFIG_MPC86xx
  #include <mpc86xx.h>
  #ifdef CONFIG_MPC83XX
  #include <mpc83xx.h>
  #include <asm/immap_83xx.h>
+ #define CONFIG_RELOC_FIXUP_WORKS
  #endif
  #ifdef        CONFIG_4xx
  #include <ppc4xx.h>
@@@ -451,9 -455,6 +459,9 @@@ int        prt_8260_clks (void)
  #elif defined(CONFIG_MPC5xxx)
  int   prt_mpc5xxx_clks (void);
  #endif
 +#if defined(CONFIG_MPC512x)
 +int   prt_mpc512xxx_clks (void);
 +#endif
  #if defined(CONFIG_MPC8220)
  int   prt_mpc8220_clks (void);
  #endif
@@@ -632,13 -633,9 +640,13 @@@ int      fgetc(int file)
  
  int   pcmcia_init (void);
  
 -#ifdef CONFIG_SHOW_BOOT_PROGRESS
 -void  show_boot_progress (int status);
 +#ifdef CONFIG_STATUS_LED
 +# include <status_led.h>
  #endif
 +/*
 + * Board-specific Platform code can reimplement show_boot_progress () if needed
 + */
 +void inline show_boot_progress (int val);
  
  #ifdef CONFIG_INIT_CRITICAL
  #error CONFIG_INIT_CRITICAL is deprecated!
index 5ee97c12794edf9f47ba8577e635ab1a92f3b93a,0b79de0f6402cfc394550ea9b111422a406f4212..8e51d2d3c05bebb5354fe5465dd9f4e4c75500e1
  #define CONFIG_STATUS_LED     1       /* Status LED enabled           */
  #define CONFIG_BOARD_SPECIFIC_LED     1
  
 -#define STATUS_LED_BIT                0x08                    /* LED 1 is on GPIO_PPC_1 */
 +#define STATUS_LED_BIT                0x08                    /* DIAG1 is on GPIO_PPC_1 */
  #define STATUS_LED_PERIOD     ((CFG_HZ / 2) / 5)      /* blink at 5 Hz */
  #define STATUS_LED_STATE      STATUS_LED_OFF
 -#define STATUS_LED_BIT1               0x04                    /* LED 2 is on GPIO_PPC_2 */
 +#define STATUS_LED_BIT1               0x04                    /* DIAG2 is on GPIO_PPC_2 */
  #define STATUS_LED_PERIOD1    ((CFG_HZ / 2) / 5)      /* blink at 5 Hz */
  #define STATUS_LED_STATE1     STATUS_LED_ON
 -#define STATUS_LED_BIT2               0x02                    /* LED 3 is on GPIO_PPC_3 */
 +#define STATUS_LED_BIT2               0x02                    /* DIAG3 is on GPIO_PPC_3 */
  #define STATUS_LED_PERIOD2    ((CFG_HZ / 2) / 5)      /* blink at 5 Hz */
  #define STATUS_LED_STATE2     STATUS_LED_OFF
 -#define STATUS_LED_BIT3               0x01                    /* LED 4 is on GPIO_PPC_4 */
 +#define STATUS_LED_BIT3               0x01                    /* DIAG4 is on GPIO_PPC_4 */
  #define STATUS_LED_PERIOD3    ((CFG_HZ / 2) / 5)      /* blink at 5 Hz */
  #define STATUS_LED_STATE3     STATUS_LED_OFF
  
  #define CONFIG_HW_WATCHDOG                    /* watchdog */
  #endif
  
- #define CONFIG_COMMANDS              (CONFIG_CMD_DFL  | \
-                               CFG_CMD_ASKENV  | \
-                               CFG_CMD_DHCP    | \
-                               CFG_CMD_DIAG    | \
-                               CFG_CMD_EEPROM  | \
-                               CFG_CMD_ELF     | \
-                               CFG_CMD_EXT2    | \
-                               CFG_CMD_FAT     | \
-                               CFG_CMD_I2C     | \
-                               CFG_CMD_IDE     | \
-                               CFG_CMD_IRQ     | \
-                               CFG_CMD_MII     | \
-                               CFG_CMD_NET     | \
-                               CFG_CMD_NFS     | \
-                               CFG_CMD_PCI     | \
-                               CFG_CMD_PING    | \
-                               CFG_CMD_REGINFO | \
-                               CFG_CMD_REISER  | \
-                               CFG_CMD_SDRAM   | \
-                               CFG_CMD_USB     )
  
+ /*
+  * BOOTP options
+  */
+ #define CONFIG_BOOTP_BOOTFILESIZE
+ #define CONFIG_BOOTP_BOOTPATH
+ #define CONFIG_BOOTP_GATEWAY
+ #define CONFIG_BOOTP_HOSTNAME
  
- #define CONFIG_SUPPORT_VFAT
  
- /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
- #include <cmd_confdefs.h>
+ /*
+  * Command line configuration.
+  */
+ #include <config_cmd_default.h>
+ #define CONFIG_CMD_ASKENV
+ #define CONFIG_CMD_DHCP
+ #define CONFIG_CMD_DIAG
+ #define CONFIG_CMD_EEPROM
+ #define CONFIG_CMD_ELF
+ #define CONFIG_CMD_I2C
+ #define CONFIG_CMD_IRQ
+ #define CONFIG_CMD_MII
+ #define CONFIG_CMD_NET
+ #define CONFIG_CMD_NFS
+ #define CONFIG_CMD_PCI
+ #define CONFIG_CMD_PING
+ #define CONFIG_CMD_REGINFO
+ #define CONFIG_CMD_SDRAM
+ #define CONFIG_CMD_EXT2
+ #define CONFIG_CMD_FAT
+ #define CONFIG_CMD_USB
+ #define CONFIG_SUPPORT_VFAT
  
  /*
   * Miscellaneous configurable options
   */
  #define CFG_LONGHELP                  /* undef to save memory         */
  #define CFG_PROMPT            "=> "   /* Monitor Command Prompt       */
- #if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+ #if defined(CONFIG_CMD_KGDB)
  #define CFG_CBSIZE            1024    /* Console I/O Buffer Size      */
  #else
  #define CFG_CBSIZE            256     /* Console I/O Buffer Size      */
   */
  #define CFG_DCACHE_SIZE               (32<<10) /* For AMCC 440 CPUs                   */
  #define CFG_CACHELINE_SIZE    32      /* ...                  */
- #if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+ #if defined(CONFIG_CMD_KGDB)
  #define CFG_CACHELINE_SHIFT   5       /* log base 2 of the above value        */
  #endif
  
  #define BOOTFLAG_COLD 0x01            /* Normal Power-On: Boot from FLASH     */
  #define BOOTFLAG_WARM 0x02            /* Software reboot                      */
  
- #if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+ #if defined(CONFIG_CMD_KGDB)
  #define CONFIG_KGDB_BAUDRATE  230400  /* speed to run kgdb serial port */
  #define CONFIG_KGDB_SER_INDEX 2       /* which serial port to use */
  #endif
diff --combined lib_ppc/board.c
index 3b1bfeab4a540ca84b3cc11535061bbdec2905c0,163aaeb5d45da0ed011dbd8964038715c208351b..325f5c219ced78f352f04b13d13ec30fb820dd3b
  #ifdef CONFIG_MPC5xxx
  #include <mpc5xxx.h>
  #endif
- #if (CONFIG_COMMANDS & CFG_CMD_IDE)
+ #if defined(CONFIG_CMD_IDE)
  #include <ide.h>
  #endif
- #if (CONFIG_COMMANDS & CFG_CMD_SCSI)
+ #if defined(CONFIG_CMD_SCSI)
  #include <scsi.h>
  #endif
- #if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+ #if defined(CONFIG_CMD_KGDB)
  #include <kgdb.h>
  #endif
  #ifdef CONFIG_STATUS_LED
@@@ -80,14 -80,14 +80,14 @@@ extern int update_flash_size (int flash
  extern void sc3_read_eeprom(void);
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_DOC)
+ #if defined(CONFIG_CMD_DOC)
  void doc_init (void);
  #endif
  #if defined(CONFIG_HARD_I2C) || \
      defined(CONFIG_SOFT_I2C)
  #include <i2c.h>
  #endif
- #if (CONFIG_COMMANDS & CFG_CMD_NAND)
+ #if defined(CONFIG_CMD_NAND)
  void nand_init (void);
  #endif
  
@@@ -118,7 -118,7 +118,7 @@@ extern ulong __init_end
  extern ulong _end;
  ulong monitor_flash_len;
  
- #if (CONFIG_COMMANDS & CFG_CMD_BEDBUG)
+ #if defined(CONFIG_CMD_BEDBUG)
  #include <bedbug/type.h>
  #endif
  
@@@ -139,10 -139,10 +139,10 @@@ static  ulong   mem_malloc_brk   = 0
   */
  static void mem_malloc_init (void)
  {
-       ulong dest_addr = CFG_MONITOR_BASE + gd->reloc_off;
-       mem_malloc_end = dest_addr;
-       mem_malloc_start = dest_addr - TOTAL_MALLOC_LEN;
+ #if !defined(CONFIG_RELOC_FIXUP_WORKS)
+       mem_malloc_end = CFG_MONITOR_BASE + gd->reloc_off;
+ #endif
+       mem_malloc_start = mem_malloc_end - TOTAL_MALLOC_LEN;
        mem_malloc_brk = mem_malloc_start;
  
        memset ((void *) mem_malloc_start,
@@@ -620,7 -620,13 +620,13 @@@ void board_init_r (gd_t *id, ulong dest
        bd = gd->bd;
  
        gd->flags |= GD_FLG_RELOC;      /* tell others: relocation done */
+ #if defined(CONFIG_RELOC_FIXUP_WORKS)
+       gd->reloc_off = 0;
+       mem_malloc_end = dest_addr;
+ #else
        gd->reloc_off = dest_addr - CFG_MONITOR_BASE;
+ #endif
  
  #ifdef CONFIG_SERIAL_MULTI
        serial_initialize();
        spi_init_r ();
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_NAND)
+ #if defined(CONFIG_CMD_NAND)
        WATCHDOG_RESET ();
        puts ("NAND:  ");
        nand_init();            /* go init the NAND */
                hermes_start_lxt980 ((int) bd->bi_ethspeed);
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+ #if defined(CONFIG_CMD_KGDB)
        WATCHDOG_RESET ();
        puts ("KGDB:  ");
        kgdb_init ();
        if ((s = getenv ("loadaddr")) != NULL) {
                load_addr = simple_strtoul (s, NULL, 16);
        }
- #if (CONFIG_COMMANDS & CFG_CMD_NET)
+ #if defined(CONFIG_CMD_NET)
        if ((s = getenv ("bootfile")) != NULL) {
                copy_filename (BootFile, s, sizeof (BootFile));
        }
- #endif /* CFG_CMD_NET */
+ #endif
  
        WATCHDOG_RESET ();
  
- #if (CONFIG_COMMANDS & CFG_CMD_SCSI)
+ #if defined(CONFIG_CMD_SCSI)
        WATCHDOG_RESET ();
        puts ("SCSI:  ");
        scsi_init ();
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_DOC)
+ #if defined(CONFIG_CMD_DOC)
        WATCHDOG_RESET ();
        puts ("DOC:   ");
        doc_init ();
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_NET)
+ #if defined(CONFIG_CMD_NET)
  #if defined(CONFIG_NET_MULTI)
        WATCHDOG_RESET ();
        puts ("Net:   ");
        eth_initialize (bd);
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_NET) && ( \
+ #if defined(CONFIG_CMD_NET) && ( \
      defined(CONFIG_CCM)               || \
      defined(CONFIG_ELPT860)   || \
      defined(CONFIG_EP8260)    || \
        post_run (NULL, POST_RAM | post_bootmode_get(0));
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_PCMCIA) && !(CONFIG_COMMANDS & CFG_CMD_IDE)
+ #if defined(CONFIG_CMD_PCMCIA) \
+     && !defined(CONFIG_CMD_IDE)
        WATCHDOG_RESET ();
        puts ("PCMCIA:");
        pcmcia_init ();
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_IDE)
+ #if defined(CONFIG_CMD_IDE)
        WATCHDOG_RESET ();
  # ifdef       CONFIG_IDE_8xx_PCCARD
        puts ("PCMCIA:");
  #else
        ide_init ();
  #endif
- #endif /* CFG_CMD_IDE */
+ #endif
  
  #ifdef CONFIG_LAST_STAGE_INIT
        WATCHDOG_RESET ();
        last_stage_init ();
  #endif
  
- #if (CONFIG_COMMANDS & CFG_CMD_BEDBUG)
+ #if defined(CONFIG_CMD_BEDBUG)
        WATCHDOG_RESET ();
        bedbug_init ();
  #endif
  void hang (void)
  {
        puts ("### ERROR ### Please RESET the board ###\n");
 -#ifdef CONFIG_SHOW_BOOT_PROGRESS
        show_boot_progress(-30);
 -#endif
        for (;;);
  }
  
diff --combined net/eth.c
index 68e2c54b2ea53a8eb1081c26b0f3f38e3466dd50,233032059c79eb254dc6218d35ef75b397cbe57f..6576ee405bb19a065a920b8db043d35ee113a8be
+++ b/net/eth.c
  #include <net.h>
  #include <miiphy.h>
  
- #if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI)
+ #if defined(CONFIG_CMD_NET) && defined(CONFIG_NET_MULTI)
  
 -#if defined(CONFIG_SHOW_BOOT_PROGRESS)
 -# include <status_led.h>
 -extern void show_ethcfg_progress (int arg);
 -# define SHOW_BOOT_PROGRESS(arg)      show_boot_progress (arg)
 -#else
 -# define SHOW_BOOT_PROGRESS(arg)
 -#endif
 -
  #ifdef CFG_GT_6426x
  extern int gt6426x_eth_initialize(bd_t *bis);
  #endif
@@@ -40,7 -48,6 +40,7 @@@ extern int eth_3com_initialize(bd_t*)
  extern int fec_initialize(bd_t*);
  extern int inca_switch_initialize(bd_t*);
  extern int mpc5xxx_fec_initialize(bd_t*);
 +extern int mpc512x_fec_initialize(bd_t*);
  extern int mpc8220_fec_initialize(bd_t*);
  extern int mv6436x_eth_initialize(bd_t *);
  extern int mv6446x_eth_initialize(bd_t *);
@@@ -143,8 -150,7 +143,8 @@@ int eth_initialize(bd_t *bis
        eth_devices = NULL;
        eth_current = NULL;
  
- #if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII)
 +      show_boot_progress (64);
+ #if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
        miiphy_init();
  #endif
  
  #if defined(CONFIG_MPC5xxx_FEC)
        mpc5xxx_fec_initialize(bis);
  #endif
 +#if defined(CONFIG_MPC512x_FEC)
 +      mpc512x_fec_initialize (bis);
 +#endif
  #if defined(CONFIG_MPC8220_FEC)
        mpc8220_fec_initialize(bis);
  #endif
  
        if (!eth_devices) {
                puts ("No ethernet found.\n");
 -              SHOW_BOOT_PROGRESS(-64);
 +              show_boot_progress (-64);
        } else {
                struct eth_device *dev = eth_devices;
                char *ethprime = getenv ("ethprime");
  
 -              SHOW_BOOT_PROGRESS(65);
 +              show_boot_progress (65);
                do {
                        if (eth_number)
                                puts (", ");
@@@ -458,7 -461,7 +458,7 @@@ char *eth_get_name (void
  {
        return (eth_current ? eth_current->name : "unknown");
  }
- #elif (CONFIG_COMMANDS & CFG_CMD_NET) && !defined(CONFIG_NET_MULTI)
+ #elif defined(CONFIG_CMD_NET) && !defined(CONFIG_NET_MULTI)
  
  extern int at91rm9200_miiphy_initialize(bd_t *bis);
  extern int emac4xx_miiphy_initialize(bd_t *bis);
@@@ -467,7 -470,7 +467,7 @@@ extern int ns7520_miiphy_initialize(bd_
  
  int eth_initialize(bd_t *bis)
  {
- #if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII)
+ #if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
        miiphy_init();
  #endif