Add support for Freescale M5271: Merge with /work/u-boot.mcf5271
authorMarian Balakowicz <m8@semihalf.com>
Thu, 27 Apr 2006 17:12:19 +0000 (19:12 +0200)
committerMarian Balakowicz <m8@semihalf.com>
Thu, 27 Apr 2006 17:12:19 +0000 (19:12 +0200)
1  2 
CHANGELOG
MAKEALL
Makefile
cpu/mcf52x2/serial.c
examples/Makefile

diff --combined CHANGELOG
+++ b/CHANGELOG
  Changes since U-Boot 1.1.4:
  ======================================================================
  
 +* Added support for BC3450 board
 +  Patch by Stefan Strobl, 21. Oct 2005
 +
 +* Update for NC650 board:
 +  - Support rev1 and rev2 hardware
 +  - adapt to new NAND layer
 +  - add CP850 configuration based on NC650
 +
 +* MPC5200: enable snooping of DMA transactions on XLB even if no PCI
 +  is configured; othrwise DMA accesses aren't cache coherent which
 +  causes for example USB to fail.
 +
 +* Some code cleanup
 +
 +* Fix dbau1x00 boards broken by dbau1550 patch
 +  PLL:s were not set for boards other than 1550.
 +  Flash CFI caused card to hang due to undefined CFG_FLASH_BANKS_LIST.
 +  Default boot is now bootp for cards other than 1550.
 +  Patch by Thomas Lange, 10 Aug 2005
 +
 +* Fixes common/cmd_flash.c:
 +  - fix some compiler/parser error, if using m68k tool chain
 +  - optical fix for protect on/off all messages, if using more
 +    then one bank
 +  Patch by Jens Scharsig, 28 Jul 2005
 +
 +* Fix Quad UART mapping on MCC200 board due to new HW revision
 +
 +* Fix JFFS2 support for legacy NAND driver.
 +
 +* Remove dependencies between DoC code and old legacy NAND driver.
 +
 +* Fix PM828_PCI target, for which PCI was *not* configured in.
 +
 +* Fix Lite5200B support: initialize SDelay register
 +  See Freescale's AN3221 "MPC5200B SDRAM Initialization and
 +  Configuration", 3.3.1 SDelay--MBAR + 0x0190
 +
 +* Changes/fixes for drivers/cfi_flash.c:
 +
 +  - Add Intel legacy lock/unlock support to common CFI driver
 +
 +    On some Intel flash's (e.g. Intel J3) legacy unlocking is
 +    supported, meaning that unlocking of one sector will unlock
 +    all sectors of this bank. Using this feature, unlocking
 +    of all sectors upon startup (via env var "unlock=yes") will
 +    get much faster.
 +
 +  - Fixed problem with multiple reads of envronment variable
 +    "unlock" as pointed out by Reinhard Arlt & Anders Larsen.
 +
 +  - Removed unwanted linefeeds from "protect" command when
 +    CFG_FLASH_PROTECTION is enabled.
 +
 +  - Changed p3p400 board to use CFG_FLASH_PROTECTION
 +
 +  Patch by Stefan Roese, 01 Apr 2006
 +
 +* Changes/fixes for drivers/cfi_flash.c:
 +  - Correctly handle the cases where CFG_HZ != 1000 (several
 +    XScale-based boards)
 +  - Fix the timeout calculation of buffered writes (off by a
 +    factor of 1000)
 +  Patch by Anders Larsen, 31 Mar 2006
 +
 +* Updates to common PPC4xx onboard (DDR)SDRAM init code (405 and 440)
 +
 +  405 SDRAM: - The SDRAM parameters can now be defined in the board
 +             config file and the 405 SDRAM controller values will
 +             be calculated upon bootup (see PPChameleonEVB).
 +             When those settings are not defined in the board
 +             config file, the register setup will be as it is now,
 +             so this implementation should not break any current
 +             design using this code.
 +
 +             Thanks to Andrea Marson from DAVE for this patch.
 +
 +  440 DDR:   - Added function sdram_tr1_set to auto calculate the
 +             TR1 value for the DDR.
 +           - Added ECC support (see p3p440).
 +
 +  Patch by Stefan Roese, 17 Mar 2006
 +
 +* Fix CONFIG_SKIP_LOWLEVEL_INIT dependency in cpu/arm920t/start.S
 +  Patch by Peter Menzebach, 13 Oct 2005 [DNX#2006040142000473]
 +
 +* Add support for ymodem protocol download
 +  Patch by Stefano Babic, 29 Mar 2006
 +
 +* Memory Map Update for Delta board: U-Boot is at 0x80000000-0x84000000
 +  Merge from Markus Klotzbücher's repo, 01 Apr 2006
 +
 +* GCC-4.x fixes: clean up global data pointer initialization for all
 +  boards
 +
 +* Update for Delta board:
 +  - redundant NAND environment
 +  - misc Monahans cleanups (remove dead code etc.)
 +  - DA9030 Initialization; some minimal changes to PXA I2C driver to
 +    make it work with the Monahans.
 +  - Make Monahans clock frequency configurable using
 +    CFG_MONAHANS_RUN_MODE_OSC_RATIO and
 +    CFG_MONAHANS_TURBO_RUN_MODE_RATIO.
 +  Merge from Markus Klotzbücher's repo, 25 Mar 2006
 +
 +* Enable Quad UART om MCC200 board.
 +
 +* Cleanup MCC200 board configuration; omit non-existent stuff.
 +
 +* Add support for MPC859/866 Rev. A.0
 +
 +* Add command for handling DDR ECC registers on MPC8349EE MDS board.
 +
 +* Fix DDR ECC bit definitions for MPC83xx.
 +
 +* Add initial support for MPC8349E MDS board.
 +
 +* Add support for ECC DDR initialization on MPC83xx.
 +
 +* Add DMA support for MPC83xx.
 +
 +* Add sync in do_reset() routine for MPC83xx after RPR register
 +  was written to. It is need on some targets when BAT translation
 +  is enabled.
 +
 +* Add bit definitions for MPC83xx DDR controller registers.
 +
 +* Add Dcbz(), Dcbi() and Dcbf() routines for MPC83xx.
 +
 +* Correct shift offsets in icache_status and dcache_status for MPC83xx.
 +
 +* Add support for DS1374 RTC chip.
 +
 +* Add support for Lite5200B board.
 +  Patch by  Patch by Jose Maria (Txema) Lopez, 16 Jan 2006
 +
 +* Apply SoC concept to arm926ejs CPUs, i.e. move the SoC specific
 +  timer and cpu_reset code from cpu/$(CPU) into the new
 +  cpu/$(CPU)/$(SOC) directories
 +  Patch by Andreas Engel, 13 Mar 2006
 +
 +* Change max size of uncompressed uImage's to 8MByte and add
 +  CFG_BOOTM_LEN to adjust this setting.
 +
 +  As mentioned by Robin Getz on 2005-05-24 the size of uncompressed
 +  uImages was restricted to 4MBytes. This default size is now
 +  increased to 8Mbytes and can be overrided by setting CFG_BOOTM_LEN
 +  in the board config file.
 +
 +  Patch by Stefan Roese, 13 Mar 2006
 +
 +* Fix problem with updated PCI code in cpu/ppc4xx/405gp_pci.c
 +  Patch by Stefan Roese, 13 Mar 2006
 +
 +* cpu/ppc4xx/start.S : exceptions are enabled after relocation
 +  Patch by Cedric Vincent, 06 Jul 2005
 +
 +* au1x00_eth.c: check malloc return value and abort if it failed
 +  Patch by Andrew Dyer, 26 Jul 2005
 +
 +* Change the sequence of events in soft_i2c.c:send_ack() to keep from
 +  incorrectly generating start/stop conditions on the bus.
 +  Patch by Andrew Dyer, 26 Jul 2005
 +
 +* Fix bug in [id]cache_status commands for MPC85xx processors;
 +  should look at LSB of L1CSRn registers to determine if L1 cache is
 +  enabled, not the MSB.
 +  Patch by Murray Jensen, 19 Jul 2005
 +
 +* Fix array overflow with fw_setenv on uninitialised environment
 +  Patch by Murray Jensen, 15 Jul 2005
 +
 +* Add support for EmbeddedPlanet EP88x boards
 +  Patch by Yuli Barcohen, 13 Jul 2005
 +
 +* Remove board specific configuration includes from the common xilinx
 +  ethernet and iic adapter code.
 +  Patch by Michael Libeskind, 12 Jul 2005
 +
 +* Add Nat Semi DP83865 PHY support to MPC85xx TSEC driver
 +  Patch by Murray Jensen, 08 Jul 2005
 +
 +* Add (some) definitions for the MPC85xx local bus controller
 +  Patch by Murray Jensen, 08 Jul 2005
 +
 +* Add CPM2 I/O pin functions for MPC85xx processors
 +  Patch by Murray Jensen, 08 Jul 2005
 +
 +* Fix compile problem
 +
 +* Added PCI support for MPC8349ADS board
 +  Patch by Kumar Gala 11 Jan 2006
 +
 +* Enable address translation on MPC83xx
 +  Patch by Kumar Gala, 10 Feb 2006
 +
 +* Decopuled setting of OR/BR and LBLAWBAR/LBLAWAR on MPC83xx
 +  Patch by Kumar Gala, 25 Jan 2006
 +
 +* Fixed defines for MPC83xx SICRL register to match current specs
 +  Patch by Kumar Gala, 23 Jan 2006
 +
 +* Only disable the MPC83xx watchdog if its enabled out of reset.
 +  If its disabled out of reset SW can later enable it if so desired
 +  Patch by Kumar Gala, 11 Jan 2006
 +
 +* Allow config of GPIO direction & data registers at boot on 83xx
 +  Patch by Kumar Gala, 11 Jan 2006
 +
 +* Enable time handling on 83xx
 +  Patch by Kumar Gala, 11 Jan 2006
 +
 +* Make System IO Config Registers board configurable on MPC83xx
 +  Patch by Kumar Gala, 11 Jan 2006
 +
 +* Fixed PCI indirect config ops to handle multiple PCI controllers
 +  We need to adjust the bus number we are trying to access based
 +  on which PCI controller its on
 +  Patch by Kumar Gala, 12 Jan 2006
 +
 +* Report back PCI bus when doing table based device config
 +  Patch by Kumar Gala, 11 Jan 2006
 +
 +* Added support for PCI prefetchable region and BARs
 +  If a host controller sets up a region as prefetchable and
 +  a device's BAR denotes it as prefetchable, allocate the
 +  BAR into the prefetch region.
 +
 +  If a BAR is prefetchable and no prefetchable region has
 +  been setup by the controller we fall back to allocating
 +  the BAR into the normally memory region.
 +  Patch by Kumar Gala, 11 Jan 2006
 +
 +* Add helper function for generic flat device tree fixups for mpc83xx
 +  Patch by Kumar Gala, 11 Jan 2006
 +
 +* Add support for passing initrd information via flat device tree
 +  Patch by Kumar Gala, 11 Jan 2006
 +
 +* Added OF_STDOUT_PATH and OF_SOC
 +
 +  OF_STDOUT_PATH specifies the path to the device the kernel can use
 +  for console output
 +
 +  OF_SOC specifies the proper name of the SOC node if one exists.
 +  Patch by Kumar Gala, 11 Jan 2006
 +
 +* Allow board code to fixup the flat device tree before booting a kernel
 +  Patch by Kumar Gala, 11 Jan 2006
 +
 +* Added CONFIG_ options for bd_t and env in flat dev tree
 +
 +      CONFIG_OF_HAS_BD_T will put a copy of the bd_t
 +      into the resulting flat device tree.
 +
 +      CONFIG_OF_HAS_UBOOT_ENV will copy the environment
 +      variables from u-boot into the flat device tree
 +
 +  Patch by Kumar Gala, 11 Jan 2006
 +
 +* Add support for the DHCP vendor optional bootfile (#67).
 +  Ignores the vendor TFTP server name option (#66).
 +  Patch by Murray Jensen, 30 Jun 2005
 +
 +* Fix a HW timing issue on 8548 CDS for eTSEC 3 in RGMII mode
 +  Patch by Andy Fleming, 14 Jun 2005
 +
 +* Fix bad register definitions for LTX971 PHY on MPC85xx boards.
 +  Patch by Gerhard Jaeger, 21 Jun 2005
 +
 +* Add netconsole and some more commands to RPXlite_DW board
 +  Patch by Sam Song, 19 Jun 2005
 +
 +* Fix bad declaration on pci_cfgfunc_nothing
 +  Patch by Sam Song, 19 Jun 2005
 +
 +* Adjust "echo" as a default command
 +  Patch by Sam Song, 19 Jun 2005
 +
 +* Fix PCIDF calculation in cpu/mpc8260/speed.c for MPC8280EC
 +  Patch by KokHow Teh, 16 Jun 2005
 +
 +* Add crc of data to jffs2 (in jffs2_1pass_build_lists()).
 +  Patch by Rick Bronson, 15 Jun 2005
 +
 +* Coding Style cleanup
 +
 +* Avoid dereferencing NULL in find_cmd() if no valid commands were found
 +  Patch by Andrew Dyer, 13 Jun 2005
 +
 +* Add ADI Blackfin support
 +  - add support for Analog Devices Blackfin BF533 CPU
 +  - add support for the ADI BF533 Stamp uClinux board
 +  - add support for the ADI BF533 EZKit board
 +  Patches by Richard Klingler, 11 Jun 2005
 +
 +* Add loads of ntohl() in image header handling
 +  Patch by Steven Scholz, 10 Jun 2005
 +
 +* Switch MPC86xADS and MPC885ADS boards to use cpuclk environment
 +  variable to set clock
 +  Patch by Yuli Barcohen, 05 Jun 2005
 +
 +* RPXlite configuration fixes
 +  - Use correct flash sector size
 +  - Use correct memory test end address
 +  - Add support for bzip2 compression
 +  - Various small fixes
 +  Patch by Yuli Barcohen, 05 Jun 2005
 +
 +* Memory configuration changes for ZPC.1900 board
 +  - Fix SDRAM timing on both local bus and 60x bus
 +  - Add support for second flash bank (SIMM)
 +  - Change boot flash base
 +  Patch by Yuli Barcohen, 05 Jun 2005
 +
 +* Add support for Adder boards with 16MB SDRAM;
 +  add support for second FEC on Adder87x board.
 +  Patch by Yuli Barcohen, 05 Jun 2005
 +
 +* Fix conditional for including ks8695eth driver
 +  Patch by Greg Ungerer, 04 Jun 2005
 +
 +* Fix Makefile: include config.mk only after CROSS_COMPILE is defined
 +  Patch by Friedrich Lobenstock, 02 Jun 2005
 +
 +* Fix comment in common/soft_i2c.c
 +  Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005
 +
 +* Cleanup compiler warnings.
 +  Patch by Greg Ungerer, 21 May 2005
 +
 +* Word alignment fixes for word aligned NS16550 UART
 +  Patch by Jean-Paul Saman, 01 Mar 2005
 +
 +  Fixes bug with UART that only supports word aligned access: removed
 +  "__attribute__ ((packed));" for "(CFG_NS16550_REG_SIZE == 4)" some
 +  (broken!) versions of GCC generate byte accesses when encountering
 +  the packed attribute regardless if the struct is already correctly
 +  aligned for a platform. Peripherals that can only handle word
 +  aligned access won't work properly when accessed with byte access.
 +  The struct NS16550 is already word aligned for REG_SIZE = 4, so
 +  there is no need to packed the struct in that case.
 +
 +* Fix behaviour if gatewayip is not set
 +  Patch by Robin Gilks, 23 Dec 2004
 +
 +* Fix cleanup for netstart board.
 +  Remove build results from repository
 +
 +* Some code cleanup for GCC 4.x
 +
 +* Fixes to support environment in NAND flash;
 +  enable NAND flash based environment for delta board.
 +
 +* Add support for Intel Monahans CPU on Zylonite and Delta boards
 +  (This is Work in Progress!)
 +
 +* Add support for TQM8260-AI boards.
 +
 +* Minor code cleanup
 +
 +* Merge the new NAND code (testing-NAND brach); see doc/README.nand
 +  Rewrite of NAND code based on what is in 2.6.12 Linux kernel
 +  Patch by Ladislav Michl, 29 Jun 2005
 +
 +* Add lowboot target to mcc200 board
 +  Patch by Stefan Roese, 4 Mar 2006
 +
 +* Fix problem with flash_get_size() from CFI driver update
 +  Patch by Stefan Roese, 1 Mar 2006
 +
 +* Make CFG_NO_FLASH work on ARM systems
 +  Patch by Markus Klotzbuecher, 27 Feb 2006
 +
 +* Update mcc200 config: Disable PCI and DoC, use 133 MHz IPB clock,
 +  use hush shell.
 +
 +* Convert mcc200 to use common CFI flash driver
 +  Patch by Stefan Roese, 28 Feb 2006
 +
 +* Add env-variable "unlock" to handle initial state of sectors
 +  (locked/unlocked).
 +
 +  Only the U-Boot image and it's environment is protected,
 +  all other sectors are unprotected (unlocked) if flash
 +  hardware protection is used (CFG_FLASH_PROTECTION) and
 +  the environment variable "unlock" is set to "yes".
 +
 +  Patch by Stefan Roese, 28 Feb 2006
 +
 +* Update drivers/cfi_flash.c:
 +  - find_sector() called in both versions of flash_write_cfiword()
 +  Patch by Peter Pearse, 27th Feb 2006
 +
 +* CFI support for a x8/x16 AMD/Spansion flash configured in x8 mode
 +  Patch by Jose Maria Lopez, 16 Jan 2006
 +
 +* Add support for AMD/Spansion Flashes in flash_write_cfibuffer
 +  Patch by Alex Bastos and Thomas Schaefer, 2005-08-29
 +
 +* Changes/fixes for drivers/cfi_flash.c:
 +  We *should* check if there are any error bits if the previous call
 +  returned ERR_OK (Otherwise we will have output an error message in
 +  flash_status_check() already.)  The original code would only check for
 +  error bits if flash_status_check() returns ERR_TIMEOUT.
 +  Patch by Marcus Hall, 23 Aug 2005
 +
 +* Changes/fixes for drivers/cfi_flash.c:
 +  - Add CFG_FLASH_PROTECT_CLEAR on drivers/cfi_flash.c
 +  - Prohibit buffer write when buffer_size is 1 on drivers/cfi_flash.c
 +  Patch by Sangmoon Kim, 19 Aug 2005
 +
 +* Fixes for drivers/cfi_flash.c:
 +  - Fix wrong timeout value usage in flash_status_check()
 +  - Round write_tout up when converting to msec in flash_get_size()
 +  - Remove clearing flash status at the end of flash_write_cfibuffer()
 +    which sets Intel 28F640J3 flash back to command mode on CSB472
 +  Patch by Tolunay Orkun, 02 July 2005
 +
 +* Add basic support for the SMMACO4 Board from PanDaCom.
 +  Patch by Heiko Schocher, 20 Feb 2006
 +
 +* Add GIT version information (commid ID) to untagged U-Boot versions
 +
 +  As done in the linux kernel, the U-Boot version (U_BOOT_VERSION)
 +  of all unreleased (untagged) U-Boot images will be automatically
 +  extended upon compiletime with a part of the GIT commit ID and
 +  possibly with "dirty" if uncommited changes are detected.
 +
 +  Here an example for the resulting version:
 +  "U-Boot 1.1.4-g3457ac18-dirty"
 +
 +  The version is now maintained in the toplevel Makefile and the
 +  version headers are autogenerated.
 +
 +  Patch by Stefan Roese, 9 Feb 2006
 +
 +* Update default environment for INKA4x00 board.
 +
 +* Convert CPCI750 to use common CFI flash driver
 +  Patch by Reinhard Arlt, 8 Feb 2006
 +
 +* Various changes to esd HH405 board specific files
 +  Patch by Matthias Fuchs, 07 Feb 2006
 +
 +* Cleanup U-Boot boot messages on ARM.
 +
 +  To match the U-Boot user interface on ARM platforms to the U-Boot
 +  standard (as on PPC platforms), some messages with debug character
 +  are removed from the default U-Boot build.
 +  Enable DEBUG for lib_arm/board.c to enable debug messages.
 +  New CONFIG_DISPLAY_CPUINFO and CONFIG_DISPLAY_BOARDINFO options.
 +  Patch        by Stefan Roese, 24 Jan 2006
 +
 +* Fix various compiler warnings on ppc4xx builds (ELDK 4.0)
 +  Patch by Stefan Roese, 18 Jan 2006
 +
 +* Add VGA support (CT69000) to CPCI750 board.
 +  Insert missing __le32_to_cpu() for filesize in ext2fs_read_file().
 +  Patch by Reinhard Arlt, 30 Dec 2005
 +
 +* PMC405 and CPCI405: Moved configuration of pci resources
 +  into config file.
 +  PMC405 and CPCI2DP: Added firmware download and booting via pci.
 +  Patch by Matthias Fuchs, 20 Dec 2005
 +
+ * Add ColdFire targets to MAKEALL script
+   Patch by Zachary Landau, 26 Jan 2006
+ * Add support for r5200 board
+   Patch by Zachary Landau, 26 Jan 2006
+ * Add support for Freescale M5271 processor
+   Patch by Zachary Landau, 26 Jan 2006
  * Fix 28F256J3A support on PM520 board
    (without bank-switching only 32 MB can be accessed)
  
@@@ -601,11 -143,11 +610,11 @@@ Changes for U-Boot 1.1.4
  
  * Add support for multiple PHYs.
    Tested on the following boards:
 -      cmcpu2      (at91rm9200/ether.c)
 +      cmcpu2      (at91rm9200/ether.c)
        PPChameleon (ppc4xx/4xx_enet.c)
 -      yukon       (mpc8220/fec.c)
 -      uc100       (mpc8xx/fec.c)
 -      tqm834x     (mpc834x/tsec.c) with EEPRO100
 +      yukon       (mpc8220/fec.c)
 +      uc100       (mpc8xx/fec.c)
 +      tqm834x     (mpc834x/tsec.c) with EEPRO100
        lite5200    (mpc5xxx/fec.c) with EEPRO100 card (drivers/eepro100.c)
    Main changes include:
    common/miiphyutil.c
@@@ -1145,18 -687,18 +1154,18 @@@ Changes for U-Boot 1.1.3
    The first one is to define a single, static partition:
  
    #undef CONFIG_JFFS2_CMDLINE
 -  #define CONFIG_JFFS2_DEV               "nor0"
 -  #define CONFIG_JFFS2_PART_SIZE         0xFFFFFFFF   /* use whole device */
 -  #define CONFIG_JFFS2_PART_SIZE         0x00100000   /* use 1MB */
 -  #define CONFIG_JFFS2_PART_OFFSET       0x00000000
 +  #define CONFIG_JFFS2_DEV             "nor0"
 +  #define CONFIG_JFFS2_PART_SIZE       0xFFFFFFFF     /* use whole device */
 +  #define CONFIG_JFFS2_PART_SIZE       0x00100000     /* use 1MB */
 +  #define CONFIG_JFFS2_PART_OFFSET     0x00000000
  
    The second method uses the mtdparts command line option and dynamic
    partitioning:
  
    /* mtdparts command line support */
    #define CONFIG_JFFS2_CMDLINE
 -  #define MTDIDS_DEFAULT         "nor1=zuma-1,nor2=zuma-2"
 -  #define MTDPARTS_DEFAULT       "mtdparts=zuma-1:-(jffs2),zuma-2:-(user)"
 +  #define MTDIDS_DEFAULT       "nor1=zuma-1,nor2=zuma-2"
 +  #define MTDPARTS_DEFAULT     "mtdparts=zuma-1:-(jffs2),zuma-2:-(user)"
  
    Command line of course produces bigger images, and may be inappropriate
    for some targets, so by default it's off.
@@@ -3469,7 -3011,7 +3478,7 @@@ Changes for U-Boot 1.0.1
    Bring ARM memory layout in sync with the documentation:
    stack and malloc-heap are now located _below_ the U-Boot code
  
 -* Accelerate booting on TRAB board: read and check  autoupdate  image
 +* Accelerate booting on TRAB board: read and check  autoupdate        image
    headers first instead of always reading the whole images.
  
  * Fix type in MPC5XXX code (pointed out by Victor Wren)
@@@ -3589,7 -3131,7 +3598,7 @@@ Changes for U-Boot 1.0.0
  * Make 5200 reset command _really_ reset the board, without running
    any other code after it
  
 -* Fix errors with flash erase when range spans  across banks
 +* Fix errors with flash erase when range spans        across banks
    that are mapped in reverse order
  
  * Fix flash mapping and display on P3G4 board
@@@ -3833,7 -3375,7 +3842,7 @@@ Changes for U-Boot 0.4.8
    or 1 x AM29LV652 (two LV065 in one chip = 16 MB);
    Run IPB at 133 Mhz; adjust the MII clock frequency accordingly
  
 -* Set BRG_CLK on PM825/826 to 64MHz (VCO_OUT / 4, instead of 16  MHz)
 +* Set BRG_CLK on PM825/826 to 64MHz (VCO_OUT / 4, instead of 16        MHz)
    to allow for more accurate baudrate settings
    (error now 0.7% at 115 kbps, instead of 3.5% before)
  
@@@ -4320,7 -3862,7 +4329,7 @@@ Changes for U-Boot 0.4.0
    Update for MPC8266ADS board
  
  * Get (mostly) rid of CFG_MONITOR_LEN definition; compute real length
 -  instead CFG_MONITOR_LEN is now only used to determine  _at_compile_
 +  instead CFG_MONITOR_LEN is now only used to determine        _at_compile_
    _time_  (!) if the environment is embedded within the U-Boot image,
    or in a separate flash sector.
  
  * Patch by Thomas Schäfer, 28 Apr 2003:
    Fix SPD handling for 256 ECC DIMM on Walnut
  
 -* Add support for arbitrary bitmaps for TRAB's  VFD command;
 +* Add support for arbitrary bitmaps for TRAB's        VFD command;
    allow to pass boot bitmap addresses in environment variables;
    allow for zero boot delay
  
@@@ -4713,7 -4255,7 +4722,7 @@@ Changes for U-Boot 0.3.0
  
  * Add VFD type detection to trab board
  
 -* extend drivers/cs8900.c driver to synchronize  ethaddr  environment
 +* extend drivers/cs8900.c driver to synchronize        ethaddr  environment
    variable with value in the EEPROM
  
  * Patch by Stefan Roese, 10 Feb 2003:
@@@ -4873,7 -4415,7 +4882,7 @@@ Changes for U-Boot 0.2.0
  * Patch by Pierre Aubert, 05 Nov 2002
    Add support for slave serial Spartan 2 FPGAs
  
 -* Fix uninitialized memory (MAC  address)  in  8xx  SCC/FEC  ethernet
 +* Fix uninitialized memory (MAC        address)  in  8xx  SCC/FEC  ethernet
    drivers
  
  * Add support for log buffer which can be passed to Linux kernel's
diff --combined MAKEALL
+++ b/MAKEALL
@@@ -25,10 -25,9 +25,10 @@@ LIST_5xx="  
  #########################################################################
  
  LIST_5xxx="   \
 -      cpci5200        icecube_5100    icecube_5200    EVAL5200        \
 +      BC3450          cpci5200        EVAL5200        icecube_5100    \
 +      icecube_5200    lite5200b       mcc200          o2dnt           \
        pf5200          PM520           Total5100       Total5200       \
 -      Total5200_Rev2  TQM5200_auto    o2dnt                           \
 +      Total5200_Rev2  TQM5200_auto                                    \
  "
  
  #########################################################################
@@@ -44,16 -43,16 +44,16 @@@ LIST_8xx=" 
        CCM             IP860           NETPHONE        RPXlite_DW      \
        cogent_mpc8xx   IVML24          NETTA           RRvision        \
        ELPT860         IVML24_128      NETTA2          SM850           \
 -      ESTEEM192E      IVML24_256      NETTA_ISDN      SPD823TS        \
 -      ETX094          IVMS8           NETVIA          svm_sc8xx       \
 -      FADS823         IVMS8_128       NETVIA_V2       SXNI855T        \
 -      FADS850SAR      IVMS8_256       NX823           TOP860          \
 -      FADS860T        KUP4K           pcu_e           TQM823L         \
 -      FLAGADM         KUP4X           QS823           TQM823L_LCD     \
 -      FPS850L         LANTEC          QS850           TQM850L         \
 -      GEN860T         lwmon           QS860T          TQM855L         \
 -      GEN860T_SC      MBX             quantum         TQM860L         \
 -                                                      uc100           \
 +      EP88x           IVML24_256      NETTA_ISDN      SPD823TS        \
 +      ESTEEM192E      IVMS8           NETVIA          svm_sc8xx       \
 +      ETX094          IVMS8_128       NETVIA_V2       SXNI855T        \
 +      FADS823         IVMS8_256       NX823           TOP860          \
 +      FADS850SAR      KUP4K           pcu_e           TQM823L         \
 +      FADS860T        KUP4X           QS823           TQM823L_LCD     \
 +      FLAGADM         LANTEC          QS850           TQM850L         \
 +      FPS850L         lwmon           QS860T          TQM855L         \
 +      GEN860T         MBX             quantum         TQM860L         \
 +      GEN860T_SC                                      uc100           \
                                                        v37             \
  "
  
@@@ -117,7 -116,7 +117,7 @@@ LIST_8260="        
  #########################################################################
  
  LIST_83xx="   \
 -      MPC8349ADS      TQM834x\
 +      MPC8349ADS      TQM834x         MPC8349EMDS                     \
  "
  
  
@@@ -178,10 -177,10 +178,10 @@@ LIST_ARM9="     
        ap920t          ap922_XA10      ap926ejs        ap946es         \
        ap966           cp920t          cp922_XA10      cp926ejs        \
        cp946es         cp966           lpd7a400        mp2usb          \
 -      mx1ads          mx1fs2          omap1510inn     omap1610h2      \
 -      omap1610inn     omap730p2       scb9328         smdk2400        \
 -      smdk2410        trab            VCMA9           versatile       \
 -      versatileab     versatilepb     voiceblue
 +      mx1ads          mx1fs2          netstar         omap1510inn     \
 +      omap1610h2      omap1610inn     omap730p2       scb9328         \
 +      smdk2400        smdk2410        trab            VCMA9           \
 +      versatile       versatileab     versatilepb     voiceblue
  "
  
  #########################################################################
@@@ -204,9 -203,8 +204,9 @@@ LIST_ARM11="       
  
  LIST_pxa="    \
        adsvix          cerf250         cradle          csb226          \
 -      innokom         lubbock         pxa255_idp      wepep250        \
 -      xaeniax         xm250           xsengine                        \
 +      delta           innokom         lubbock         pxa255_idp      \
 +      wepep250        xaeniax         xm250           xsengine        \
 +      zylonite                                                        \
  "
  
  LIST_ixp="ixdp425"
@@@ -273,6 -271,12 +273,12 @@@ LIST_nios2="PCI5441 PK1C20
  
  LIST_microblaze="suzaku"
  
+ #########################################################################
+ ## ColdFire Systems
+ #########################################################################
+ LIST_coldfire="cobra5272 M5272C3 M5282EVB TASREG r5200"
  #-----------------------------------------------------------------------
  
  #----- for now, just run PPC by default -----
@@@ -300,7 -304,8 +306,8 @@@ d
        microblaze| \
        mips|mips_el| \
        nios|nios2| \
-       x86|I486)
+       x86|I486| \
+       coldfire)
                        for target in `eval echo '$LIST_'${arg}`
                        do
                                build_target ${target}
diff --combined Makefile
+++ b/Makefile
@@@ -1,5 -1,5 +1,5 @@@
  #
 -# (C) Copyright 2000-2005
 +# (C) Copyright 2000-2006
  # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  #
  # See file CREDITS for list of people who contributed to this
  # MA 02111-1307 USA
  #
  
 +VERSION = 1
 +PATCHLEVEL = 1
 +SUBLEVEL = 4
 +EXTRAVERSION =
 +U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 +VERSION_FILE = include/version_autogenerated.h
 +
  HOSTARCH := $(shell uname -m | \
        sed -e s/i.86/i386/ \
            -e s/sun4u/sparc64/ \
@@@ -53,6 -46,9 +53,6 @@@ ifeq (include/config.mk,$(wildcard incl
  # load ARCH, BOARD, and CPU configuration
  include include/config.mk
  export        ARCH CPU BOARD VENDOR SOC
 -# load other configuration
 -include $(TOPDIR)/config.mk
 -
  ifndef CROSS_COMPILE
  ifeq ($(HOSTARCH),ppc)
  CROSS_COMPILE =
@@@ -85,18 -81,11 +85,18 @@@ endi
  ifeq ($(ARCH),microblaze)
  CROSS_COMPILE = mb-
  endif
 +ifeq ($(ARCH),blackfin)
 +CROSS_COMPILE = bfin-elf-
 +endif
  endif
  endif
  
  export        CROSS_COMPILE
  
 +# load other configuration
 +include $(TOPDIR)/config.mk
 +
 +
  #########################################################################
  # U-Boot objects....order is important (i.e. start must be first)
  
@@@ -114,10 -103,6 +114,10 @@@ endi
  ifeq ($(CPU),mpc85xx)
  OBJS += cpu/$(CPU)/resetvec.o
  endif
 +ifeq ($(CPU),bf533)
 +OBJS += cpu/$(CPU)/start1.o   cpu/$(CPU)/interrupt.o  cpu/$(CPU)/cache.o
 +OBJS += cpu/$(CPU)/cplbhdlr.o cpu/$(CPU)/cplbmgr.o    cpu/$(CPU)/flush.o
 +endif
  
  LIBS  = lib_generic/libgeneric.a
  LIBS += board/$(BOARDDIR)/lib$(BOARD).a
@@@ -133,12 -118,9 +133,12 @@@ LIBS += disk/libdisk.
  LIBS += rtc/librtc.a
  LIBS += dtt/libdtt.a
  LIBS += drivers/libdrivers.a
 +LIBS += drivers/nand/libnand.a
 +LIBS += drivers/nand_legacy/libnand_legacy.a
  LIBS += drivers/sk98lin/libsk98lin.a
  LIBS += post/libpost.a post/cpu/libcpu.a
  LIBS += common/libcommon.a
 +LIBS += $(BOARDLIBS)
  .PHONY : $(LIBS)
  
  # Add GCC lib
@@@ -172,14 -154,14 +172,14 @@@ u-boot.bin:     u-boo
  u-boot.img:   u-boot.bin
                ./tools/mkimage -A $(ARCH) -T firmware -C none \
                -a $(TEXT_BASE) -e 0 \
 -              -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' include/version.h | \
 +              -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
                        sed -e 's/"[     ]*$$/ for $(BOARD) board"/') \
                -d $< $@
  
  u-boot.dis:   u-boot
                $(OBJDUMP) -d $< > $@
  
 -u-boot:               depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
 +u-boot:               depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
                UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed  -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
                $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \
                        --start-group $(LIBS) --end-group $(PLATFORM_LIBS) \
@@@ -191,13 -173,6 +191,13 @@@ $(LIBS)
  $(SUBDIRS):
                $(MAKE) -C $@ all
  
 +version:
 +              @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
 +              echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
 +              echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
 +                       $(TOPDIR)) >> $(VERSION_FILE); \
 +              echo "\"" >> $(VERSION_FILE)
 +
  gdbtools:
                $(MAKE) -C tools/gdb || exit 1
  
@@@ -259,9 -234,6 +259,9 @@@ PATI_config:               unconfi
  aev_config: unconfig
        @./mkconfig -a aev ppc mpc5xxx tqm5200
  
 +BC3450_config:        unconfig
 +      @./mkconfig -a BC3450 ppc mpc5xxx bc3450
 +
  cpci5200_config:  unconfig
        @./mkconfig -a cpci5200  ppc mpc5xxx cpci5200 esd
  
@@@ -305,37 -277,14 +305,37 @@@ icecube_5100_config:                    unconfi
                }
        @./mkconfig -a IceCube ppc mpc5xxx icecube
  
 -inka4x0_config:               unconfig
 +inka4x0_config:       unconfig
        @./mkconfig inka4x0 ppc mpc5xxx inka4x0
  
 +lite5200b_config      \
 +lite5200b_LOWBOOT_config:     unconfig
 +      @ >include/config.h
 +      @ echo "#define CONFIG_MPC5200_DDR"     >>include/config.h
 +      @ echo "... DDR memory revision"
 +      @ echo "#define CONFIG_MPC5200"         >>include/config.h
 +      @ echo "#define CONFIG_LITE5200B"       >>include/config.h
 +      @[ -z "$(findstring LOWBOOT_,$@)" ] || \
 +              { echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \
 +                echo "... with LOWBOOT configuration" ; \
 +              }
 +      @ echo "... with MPC5200B processor"
 +      @./mkconfig -a IceCube  ppc mpc5xxx icecube
 +
 +mcc200_config \
 +mcc200_lowboot_config:        unconfig
 +      @ >include/config.h
 +      @[ -z "$(findstring lowboot_,$@)" ] || \
 +              { echo "TEXT_BASE = 0xFE000000" >board/mcc200/config.tmp ; \
 +                echo "... with lowboot configuration" ; \
 +              }
 +      @./mkconfig mcc200 ppc mpc5xxx mcc200
 +
  o2dnt_config:
 -      @./mkconfig -a o2dnt ppc mpc5xxx o2dnt
 +      @./mkconfig o2dnt ppc mpc5xxx o2dnt
  
  pf5200_config:  unconfig
 -      @./mkconfig -a pf5200  ppc mpc5xxx pf5200 esd
 +      @./mkconfig pf5200  ppc mpc5xxx pf5200 esd
  
  PM520_config \
  PM520_DDR_config \
@@@ -352,14 -301,6 +352,14 @@@ PM520_ROMBOOT_DDR_config:        unconfi
                }
        @./mkconfig -a PM520 ppc mpc5xxx pm520
  
 +smmaco4_config: unconfig
 +      @./mkconfig -a smmaco4 ppc mpc5xxx tqm5200
 +
 +spieval_config:       unconfig
 +      echo "#define CONFIG_CS_AUTOCONF">>include/config.h
 +      echo "... with automatic CS configuration"
 +      @./mkconfig -a spieval ppc mpc5xxx tqm5200
 +
  MINI5200_config       \
  EVAL5200_config       \
  TOP5200_config:       unconfig
@@@ -425,6 -366,11 +425,6 @@@ MiniFAP_config:   unconfi
                }
        @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200
  
 -spieval_config:       unconfig
 -      echo "#define CONFIG_CS_AUTOCONF">>include/config.h
 -      echo "... with automatic CS configuration"
 -      @./mkconfig -a spieval ppc mpc5xxx tqm5200
 -
  #########################################################################
  ## MPC8xx Systems
  #########################################################################
@@@ -460,9 -406,6 +460,9 @@@ cogent_mpc8xx_config:      unconfi
  ELPT860_config:               unconfig
        @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX
  
 +EP88x_config:         unconfig
 +      @./mkconfig $(@:_config=) ppc mpc8xx ep88x
 +
  ESTEEM192E_config:    unconfig
        @./mkconfig $(@:_config=) ppc mpc8xx esteem192e
  
@@@ -636,21 -579,8 +636,21 @@@ NETTA2_config:           unconfi
                 }
        @./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
  
 -NC650_config: unconfig
 -      @./mkconfig $(@:_config=) ppc mpc8xx nc650
 +NC650_Rev1_config \
 +NC650_Rev2_config \
 +CP850_config: unconfig
 +      @ >include/config.h
 +      @[ -z "$(findstring CP850,$@)" ] || \
 +               { echo "#define CONFIG_CP850 1" >>include/config.h ; \
 +                 echo "#define CONFIG_IDS852_REV2 1" >>include/config.h ; \
 +               }
 +      @[ -z "$(findstring Rev1,$@)" ] || \
 +               { echo "#define CONFIG_IDS852_REV1 1" >>include/config.h ; \
 +               }
 +      @[ -z "$(findstring Rev2,$@)" ] || \
 +               { echo "#define CONFIG_IDS852_REV2 1" >>include/config.h ; \
 +               }
 +      @./mkconfig -a NC650 ppc mpc8xx nc650
  
  NX823_config:         unconfig
        @./mkconfig $(@:_config=) ppc mpc8xx nx823
@@@ -1205,7 -1135,7 +1205,7 @@@ PM828_config    
  PM828_PCI_config      \
  PM828_ROMBOOT_config  \
  PM828_ROMBOOT_PCI_config:     unconfig
 -      @if [ -z "$(findstring _PCI_,$@)" ] ; then \
 +      @if [ "$(findstring _PCI_,$@)" ] ; then \
                echo "#define CONFIG_PCI"  >>include/config.h ; \
                echo "... with PCI enabled" ; \
        else \
@@@ -1251,20 -1181,18 +1251,20 @@@ TQM8260_AE_config 
  TQM8260_AF_config \
  TQM8260_AG_config \
  TQM8260_AH_config \
 +TQM8260_AI_config \
  TQM8265_AA_config:  unconfig
        @case "$@" in \
 -      TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no;  BMODE=8260;;  \
 -      TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no;  BMODE=8260;; \
 -      TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;;  \
 -      TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;;  \
 -      TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no;  BMODE=60x;;  \
 -      TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no;  BMODE=8260;; \
 -      TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no;  BMODE=60x;;  \
 -      TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no;  BMODE=8260;; \
 -      TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;;  \
 -      TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no;  BMODE=60x;;  \
 +      TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no;  BMODE=8260;;  \
 +      TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no;  BMODE=8260;; \
 +      TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;;  \
 +      TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;;  \
 +      TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no;  BMODE=60x;;  \
 +      TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no;  BMODE=8260;; \
 +      TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no;  BMODE=60x;;  \
 +      TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no;  BMODE=8260;; \
 +      TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;;  \
 +      TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no;  BMODE=60x;;  \
 +      TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no;  BMODE=60x;;  \
        esac; \
        >include/config.h ; \
        if [ "$${CTYPE}" != "MPC8260" ] ; then \
@@@ -1315,6 -1243,9 +1315,9 @@@ M5282EVB_config :               unconfi
  TASREG_config :               unconfig
        @./mkconfig $(@:_config=) m68k mcf52x2 tasreg esd
  
+ r5200_config :                unconfig
+       @./mkconfig $(@:_config=) m68k mcf52x2 r5200
  #########################################################################
  ## MPC83xx Systems
  #########################################################################
@@@ -1325,9 -1256,6 +1328,9 @@@ MPC8349ADS_config:      unconfi
  TQM834x_config:       unconfig
        @./mkconfig $(@:_config=) ppc mpc83xx tqm834x
  
 +MPC8349EMDS_config:   unconfig
 +      @./mkconfig $(@:_config=) ppc mpc83xx mpc8349emds
 +
  #########################################################################
  ## MPC85xx Systems
  #########################################################################
@@@ -1534,22 -1462,11 +1537,22 @@@ mx1ads_config        :       unconfi
  mx1fs2_config :       unconfig
        @./mkconfig $(@:_config=) arm arm920t mx1fs2 NULL imx
  
 +netstar_32_config     \
 +netstar_config:               unconfig
 +      @if [ "$(findstring _32_,$@)" ] ; then \
 +              echo "... 32MB SDRAM" ; \
 +              echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>include/config.h ; \
 +      else \
 +              echo "... 64MB SDRAM" ; \
 +              echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>include/config.h ; \
 +      fi
 +      @./mkconfig -a netstar arm arm925t netstar
 +
  omap1510inn_config :  unconfig
        @./mkconfig $(@:_config=) arm arm925t omap1510inn
  
  omap5912osk_config :  unconfig
 -      @./mkconfig $(@:_config=) arm arm926ejs omap5912osk
 +      @./mkconfig $(@:_config=) arm arm926ejs omap5912osk NULL omap
  
  omap1610inn_config \
  omap1610inn_cs0boot_config \
@@@ -1569,7 -1486,7 +1572,7 @@@ omap1610h2_cs_autoboot_config:  unconfi
                echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \
                echo "... configured for CS3 boot"; \
        fi;
 -      @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn
 +      @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
  
  omap730p2_config \
  omap730p2_cs0boot_config \
@@@ -1581,7 -1498,7 +1584,7 @@@ omap730p2_cs3boot_config :      unconfi
                echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \
                echo "... configured for CS3 boot"; \
        fi;
 -      @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2
 +      @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
  
  scb9328_config        :       unconfig
        @./mkconfig $(@:_config=) arm arm920t scb9328 NULL imx
@@@ -1692,9 -1609,6 +1695,9 @@@ cradle_config   :       unconfi
  csb226_config :       unconfig
        @./mkconfig $(@:_config=) arm pxa csb226
  
 +delta_config :
 +      @./mkconfig $(@:_config=) arm pxa delta
 +
  innokom_config        :       unconfig
        @./mkconfig $(@:_config=) arm pxa innokom
  
@@@ -1722,9 -1636,6 +1725,9 @@@ xm250_config    :       unconfi
  xsengine_config :     unconfig
        @./mkconfig $(@:_config=) arm pxa xsengine
  
 +zylonite_config :
 +      @./mkconfig $(@:_config=) arm pxa zylonite
 +
  #########################################################################
  ## ARM1136 Systems
  #########################################################################
@@@ -1905,19 -1816,6 +1908,19 @@@ suzaku_config:        unconfi
        @./mkconfig -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
  
  #########################################################################
 +## Blackfin
 +#########################################################################
 +ezkit533_config       :       unconfig
 +      @./mkconfig $(@:_config=) blackfin bf533 ezkit533
 +
 +stamp_config  :       unconfig
 +      @./mkconfig $(@:_config=) blackfin bf533 stamp
 +
 +dspstamp_config       :       unconfig
 +      @./mkconfig $(@:_config=) blackfin bf533 dsp_stamp
 +
 +#########################################################################
 +#########################################################################
  #########################################################################
  
  clean:
        rm -f examples/hello_world examples/timer \
              examples/eepro100_eeprom examples/sched \
              examples/mem_to_mem_idma2intr examples/82559_eeprom \
 +            examples/smc91111_eeprom \
              examples/test_burst
        rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr
        rm -f tools/mpc86x_clk tools/ncb
        rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend
        rm -f tools/env/fw_printenv tools/env/fw_setenv
        rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image
 +      rm -f board/netstar/eeprom board/netstar/crcek
 +      rm -f board/netstar/*.srec board/netstar/*.bin
        rm -f board/trab/trab_fkt board/voiceblue/eeprom
        rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds
  
@@@ -1946,7 -1841,7 +1949,7 @@@ clobber:        clea
                -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
                -print0 \
                | xargs -0 rm -f
 -      rm -f $(OBJS) *.bak tags TAGS
 +      rm -f $(OBJS) *.bak tags TAGS include/version_autogenerated.h
        rm -fr *.*~
        rm -f u-boot u-boot.map u-boot.hex $(ALL)
        rm -f tools/crc32.c tools/environment.c tools/env/crc32.c
diff --combined cpu/mcf52x2/serial.c
  
  #include <asm/mcfuart.h>
  
+ #ifdef CONFIG_M5271
+ #include <asm/m5271.h>
+ #endif
  #ifdef CONFIG_M5272
  #include <asm/m5272.h>
  #endif
@@@ -38,8 -42,6 +42,8 @@@
  #include <asm/m5249.h>
  #endif
  
 +DECLARE_GLOBAL_DATA_PTR;
 +
  #ifdef CONFIG_M5249
  #define DoubleClock(a) ((double)(CFG_CLK/2) / 32.0 / (double)(a))
  #else
@@@ -48,7 -50,7 +52,7 @@@
  
  void rs_serial_setbaudrate(int port,int baudrate)
  {
- #if defined(CONFIG_M5272) || defined(CONFIG_M5249)
+ #if defined(CONFIG_M5272) || defined(CONFIG_M5249) || defined(CONFIG_M5271)
        volatile unsigned char  *uartp;
        double clock, fraction;
  
  
        uartp[MCFUART_UBG1] = (((int)clock >> 8) & 0xff);  /* set msb baud */
        uartp[MCFUART_UBG2] = ((int)clock & 0xff);  /* set lsb baud */
+ #ifndef CONFIG_M5271
        uartp[MCFUART_UFPD] = ((int)fraction & 0xf);  /* set baud fraction adjust */
  #endif
+ #endif
  };
  
  void rs_serial_init(int port,int baudrate)
@@@ -136,10 -140,12 +142,10 @@@ int rs_get_char(void
  }
  
  void serial_setbrg(void) {
 -      DECLARE_GLOBAL_DATA_PTR;
        rs_serial_setbaudrate(0,gd->bd->bi_baudrate);
  }
  
  int serial_init(void) {
 -      DECLARE_GLOBAL_DATA_PTR;
        rs_serial_init(0,gd->baudrate);
        return 0;
  }
diff --combined examples/Makefile
@@@ -53,10 -53,6 +53,10 @@@ ifeq ($(ARCH),microblaze
  LOAD_ADDR = 0x80F00000
  endif
  
 +ifeq ($(ARCH),blackfin)
 +LOAD_ADDR = 0x1000
 +endif
 +
  include $(TOPDIR)/config.mk
  
  SREC  = hello_world.srec
@@@ -77,11 -73,6 +77,11 @@@ SREC   += sched.sre
  BIN    += sched.bin sched
  endif
  
 +ifeq ($(ARCH),blackfin)
 +SREC  += smc91111_eeprom.srec
 +BIN   += smc91111_eeprom.bin smc91111_eeprom
 +endif
 +
  # The following example is pretty 8xx specific...
  ifeq ($(CPU),mpc8xx)
  SREC   += timer.srec
@@@ -122,7 -113,7 +122,7 @@@ clibdir := $(shell dirname `$(CC) $(CFL
  
  CPPFLAGS += -I..
  
- all:  .depend $(OBJS) $(LIB) $(SREC) $(BIN)
+ all:  .depend $(OBJS) $(LIB) #$(SREC) $(BIN)
  
  #########################################################################
  $(LIB): .depend $(LIBOBJS)