summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* Change the TEXT_BASE from 0xFFF00000 to 0xFF000000.roy zang2006-11-03-1/+1
| | | | Both work. 0xFF000000 seems more reasonable.
* This patch comes from Yuli's posted patch on 8/8/2006roy zang2006-11-02-6/+26
| | | | | | | | | | | | titled "CFI Driver Little-Endian write Issue". http://sourceforge.net/mailarchive/message.php?msg_id=36311999 If that patch applied, please discard this one. Until now , I do not see his patch is applied. So please apply this one. Signed-off-by: Yuli Barcohen <yuli@arabellasw.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* Tsi108 on chip i2c support.roy zang2006-11-02-0/+300
| | | | | | | | | The i2c Interface provides a master-only, serial interface that can be used for initializing Tsi108/Tsi109 registers from an EEPROM after a device reset. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* Tsi108 on chip pci controller support.roy zang2006-11-02-0/+178
| | | | | | | | | If there is no pci card, the tsi108/109 pci configure read will cause a machine check exception to the processor. PCI error should also be cleared after the read. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* Tundra tsi108 on chip Ethernet controller support.roy zang2006-11-02-0/+1047
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following is a brief description of the Ethernet controller: The Tsi108/9 Ethernet Controller connects Switch Fabric to two independent 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 filtering. In addition, each port is bridged to the Switch Fabric through a 2-Kbyte transmit FIFO and a 4-Kbyte Receive FIFO. Each Ethernet port also has a pair of internal Ethernet DMA channels to support the transmit and receive data flows. The Ethernet DMA channels use descriptors set up in memory, the memory map of the device, and access via the Switch Fabric. The Ethernet Controller?s DMA arbiter handles arbitration for the Switch Fabric. The Controller also has a register businterface for register accesses and status monitor control. The PMD (Physical Media Device) interface operates in MII, GMII, or TBI modes. The MII mode is used for connecting with 10 or 100 Mbit/s PMDs. The GMII and TBI modes are used to connect with Gigabit PMDs. Internal data flows to and from the Ethernet Controller through the Switch Fabric. Each Ethernet port uses its transmit and receive DMA channels to manage data flows through buffer descriptors that are predefined by the system (the descriptors can exist anywhere in the system memory map). These descriptors are data structures that point to buffers filled with data ready to transmit over Ethernet, or they point to empty buffers ready to receive data from Ethernet. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* Tundra tsi108 header file.roy zang2006-11-02-0/+221
| | | | | | | | | | | The Tundra Semiconductor Corporation (Tundra) Tsi108 is a host bridge for PowerPC processors that offers numerous system interconnect options for embedded application designers. The Tsi108 can interconnect 60x or MPX processors to PCI/X peripherals, DDR2-400 memory, Gigabit Ethernet, and Flash. Provided the macro define for tsi108 chip. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* Add mpc7448hpc2 (mpc7448 + tsi108) board associated code support.roy zang2006-11-02-0/+1151
| | | | | | | mpc7448hpc2 board support high level code:tsi108 init + mpc7448hpc2. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* Add mpc7448hpc2 (mpc7448 + tsi108) board associated code support.roy zang2006-11-02-0/+212
| | | | | | | Make ,config.mk and link file for the mpc7448hpc2 board. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* Add mpc7448hpc2 (mpc7448 + tsi108) board associated code support.roy zang2006-11-02-0/+453
| | | | | | | The mpc7448hpc2 board support header file. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* Add mpc7448hpc2 (mpc7448 + tsi108) board associated code support.roy zang2006-11-02-0/+955
| | | | | | | The mpc7448hpc2 board support low level assemble language init code. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* General code modification for mpc7448hpc2 board support.roy zang2006-11-02-24/+136
| | | | | | | | | | | | | | | | | | | | | 1. Add 7447A and 7448 processor support. 2. Add the following flags. CFG_CONFIG_BUS_CLK : If the 74xx bus frequency can be configured dynamically (such as by switch on board), this flag should be set. CFG_EXCEPTION_AFTER_RELOCATE: If an exception occurs after the u-boot relocates to RAM, this flag should be set. CFG_SERIAL_HANG_IN_EXCEPTION: If the print out function will cause the system hang in exception, this flag should be set. There is a design issue for tsi108/109 pci configure read. When pci scan the slots, if there is no pci card, the tsi108/9 will cause a machine check exception for mpc7448 processor. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* Add README file for mpc7448hpc2 board.roy zang2006-11-02-0/+193
| | | | Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
* Merge with /home/sr/git/u-boot/nand-ladisWolfgang Denk2006-10-29-217/+230
|\
| * [PATCH] omap925.c: Remove unused functionsStefan Roese2006-10-28-38/+0
| | | | | | | | | | Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Stefan Roese <sr@denx.de>
| * [PATCH] Add some missing machtypes for netstar & voiceblue boardsStefan Roese2006-10-28-5/+4
| | | | | | | | | | | | | | | | Use MACH_TYPE_NETSTAR and MACH_TYPE_VOICEBLUE defines instead of numbers in code. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Stefan Roese <sr@denx.de>
| * [PATCH] NAND: Partition name support added to NAND subsystemStefan Roese2006-10-28-174/+226
| | | | | | | | | | | | | | | | chpart, nboot and NAND subsystem related commands now accept also partition name to specify offset. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Stefan Roese <sr@denx.de>
* | Automatically adjust ARFLAGS so "make -s" is really silent.Wolfgang Denk2006-10-29-0/+4
|/
* Update CHANGELOG.Wolfgang Denk2006-10-28-0/+77
|
* Enable commandline editing and hush shell on all TQM boards.Wolfgang Denk2006-10-28-41/+43
|
* README says CFG_AUTO_COMPLETE, but ocde uses CONFIG_AUTO_COMPLETEWolfgang Denk2006-10-28-5/+8
|
* Check for illegal character '=' in environment variable names.Wolfgang Denk2006-10-28-0/+5
| | | | | | | | Make sure the string passed as variable name does not contain a '=' character. This not only prevents the common error or typing "setenv foo=bar" instead of "setenv foo bar", but (more importantly) also closes a backdoor which allowed to delete write-protected environment variables, for example by using "setenv ethaddr=".
* Minor code cleanup.Wolfgang Denk2006-10-28-94/+80
|
* Don't pass any debug options directly to the assemblerHaavard Skinnemoen2006-10-27-1/+3
| | | | | | | | | When passing the -g option to gcc, gcc automatically selects a suitable --g<format> option to pass on to the assembler. Thus, there's no point in forcing a specific debug option on the assembler using the -Wa mechanism. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* MPC86xx: Cleaned up unused and conditionally used local variables.Jon Loeliger2006-10-27-6/+2
| | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Fix "ar" flags in some Makefiles to allow for silent "make -s"Wolfgang Denk2006-10-27-6/+6
|
* Fix TSEC driver (now for real): avoid crashes if PHY is not attachedBen Warren2006-10-26-3/+6
| | | | | | | to a TSEC (e.g. a switch is connected via RMII) or if the PHY is defective/incorrectly configured. Signed-off-by: Ben Warren <bwarren@qstreams.com>
* Fix TSEC driver: avoid crashes if PHY is not attachedBen Warren2006-10-26-113/+120
| | | | | | | to a TSEC (e.g. a switch is connected via RMII) or if the PHY is defective/incorrectly configured. Signed-off-by: Ben Warren <bwarren@qstreams.com>
* Code cleanup.Wolfgang Denk2006-10-26-150/+189
|
* Merge with git://git.kernel.org/pub/scm/boot/u-boot/galak/u-boot.git#device_treeWolfgang Denk2006-10-26-6/+55
|\
| * Added support for Multi-Image files that contain a device treeKumar Gala2006-10-24-6/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 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 get copied to system memory as part of boot. Previously an error was reported if one tried to boot a device tree that was in flash. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | Finish up support for the ATSTK1000/ATSTK1002 boardsHaavard Skinnemoen2006-10-25-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | Add atstk1002_config target to Makefile and move the AVR32 section down below Blackfin so that it doesn't end up in the middle of MIPS. Drop the autogenerated linker script thing for now. Will have to revisit how to handle chips with different flash and RAM layout later. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* | Fix Makefile for "CHANGELOG" targetWolfgang Denk2006-10-25-5/+140
|\ \ | | | | | | | | | Merge with /home/sr/git/u-boot/4xx-idcr
| * | Add monitor functions for indirect access to PPC440 DCR'sStefan Roese2006-10-17-2/+132
| | | | | | | | | | | | Patch by Leonid Baryudin, 12 Oct 2006
* | | Switch to automatically generated CHANGELOG file.Wolfgang Denk2006-10-24-5499/+6598
| | | | | | | | | | | | (use "make CHANGELOG" to update it from time to time)
* | | Fix bug in PPC440 NAND driver cpu/ppc4xx/ndfc.cStefan Roese2006-10-24-4/+12
| |/ |/| | | | | Patch by Stefan Roese, 24 Oct 2006
* | Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-10-24-0/+0
| |
* | Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-10-24-875/+16439
|\ \ | | | | | | | | | | | | (Conflicts between Jon Loeliger's and Matthew McClintock's tree were resolved by in favour of Jon's version.)
| * | Code cleanupWolfgang Denk2006-10-24-166/+166
| | |
| * | Merge with http://www.jdl.com/software/u-boot-86xx.gitWolfgang Denk2006-10-24-76/+9
| |\ \
| | * \ Merge branch 'i2c'Jon Loeliger2006-10-20-76/+9
| | |\ \
| | | * | Use generic I2C register block on 85xx and 86xx.Jon Loeliger2006-10-20-76/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace private IMMAP I2C structures with generic reg block and allow 86xx to have multiple I2C device busses. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | | | Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-10-24-61/+6298
| |\ \ \ \
| | * \ \ \ Merge with /home/wd/git/u-boot/mailing-list/Haavard_SkinnemoenWolfgang Denk2006-10-24-21/+6236
| | |\ \ \ \
| | | * | | | Move atstk1000 files into vendor specific directory.Wolfgang Denk2006-10-24-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Haavard Skinnemoen, 12 Sep 2006
| | | * | | | Add ATSTK1000 and ATSTK1002 board supportWolfgang Denk2006-10-24-1/+606
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Haavard Skinnemoen, 06 Sep 2006 This patch adds support for the ATSTK1000 with the ATSTK1002 CPU daughterboard. ATSTK1000 is a full-featured development board for AT32AP CPUs. It has two ethernet ports, a high quality QVGA LCD panel, a loudspeaker, and connectors for USART, PS/2, VGA, USB, MMC/SD cards and CompactFlash cards. For more information, please see this page: http://www.atmel.com/dyn/products/tools.asp?family_id=682 The ATSTK1002 is a daughterboard for the ATSTK1000 supporting the AT32AP7000 chip. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
| | | * | | | Add common serial driver for Atmel AT32 and AT91 chipsWolfgang Denk2006-10-24-1/+403
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Haavard Skinnemoen, 06 Sep 2006 This is a first attempt at creating a common serial driver for Atmel chips. For now, it supports the AT32AP7000 AVR32 chip, but it should be possible to support AT91RM9200 and other ARM-based chips with some minor modifications. There's nothing fundamentally AVR32-specific in this driver, but it does use some features which are currently only defined for the AT32AP CPU port: * pm_get_clock_freq: Obtain the clock frequency of a given domain * gd->console_uart: A "struct device" containing information about register mappings, gpio resources and clocks associated with the UART device. For more information about these features, please see the "AT32AP CPU" patch.
| | | * | | | Add AT32AP CPU and AT32AP7000 SoC supportWolfgang Denk2006-10-24-0/+2733
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Haavard Skinnemoen, 06 Sep 2006 This patch adds support for the AT32AP CPU family and the AT32AP7000 chip, which is the first chip implementing the AVR32 architecture. The AT32AP CPU core is a high-performance implementation featuring a 7-stage pipeline, separate instruction- and data caches, and a MMU. For more information, please see the "AVR32 AP Technical Reference": http://www.atmel.com/dyn/resources/prod_documents/doc32001.pdf In addition to this, the AT32AP7000 chip comes with a large set of integrated peripherals, many of which are shared with the AT91 series of ARM-based microcontrollers from Atmel. Full data sheet is available here: http://www.atmel.com/dyn/resources/prod_documents/doc32003.pdf Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
| | | * | | | Add AVR32 architecture supportWolfgang Denk2006-10-24-2/+2463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Haavard Skinnemoen, 6 Sep 2006 16:23:02 +0200 This patch adds common infrastructure code for the Atmel AVR32 architecture. See doc/README.AVR32 for details. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
| | | * | | | Use -g instead of -gstabs in AFLAGS_DEBUGWolfgang Denk2006-10-24-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Haavard Skinnemoen, 30 Aug 2006 In config.mk, -Wa,-gstabs is unconditionally appended to AFLAGS no matter what the target's preferred debugging format is. This patch simply replaces -gstabs with -g, so that the default debugging format for the architecture is used.
| | | * | | | Fix/workaround broken dependency handling with make 3.81Wolfgang Denk2006-10-24-16/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on patch by Haavard Skinnemoen, 29 Aug 2006 11:20:39 +0200