Wolfgang Denk [Sat, 28 Oct 2006 00:29:14 +0000 (02:29 +0200)]
Enable commandline editing and hush shell on all TQM boards.
Wolfgang Denk [Sat, 28 Oct 2006 00:28:02 +0000 (02:28 +0200)]
README says CFG_AUTO_COMPLETE, but ocde uses CONFIG_AUTO_COMPLETE
Wolfgang Denk [Fri, 27 Oct 2006 23:14:32 +0000 (01:14 +0200)]
Check for illegal character '=' in environment variable names.
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=".
Wolfgang Denk [Fri, 27 Oct 2006 22:38:39 +0000 (00:38 +0200)]
Minor code cleanup.
Haavard Skinnemoen [Thu, 26 Oct 2006 15:55:31 +0000 (17:55 +0200)]
Don't pass any debug options directly to the assembler
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>
Jon Loeliger [Fri, 27 Oct 2006 12:47:22 +0000 (07:47 -0500)]
MPC86xx: Cleaned up unused and conditionally used local variables.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Wolfgang Denk [Fri, 27 Oct 2006 09:55:21 +0000 (11:55 +0200)]
Fix "ar" flags in some Makefiles to allow for silent "make -s"
Ben Warren [Thu, 26 Oct 2006 18:38:25 +0000 (14:38 -0400)]
Fix TSEC driver (now for real): avoid crashes if PHY is not attached
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>
Ben Warren [Thu, 26 Oct 2006 18:38:25 +0000 (14:38 -0400)]
Fix TSEC driver: avoid crashes if PHY is not attached
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>
Wolfgang Denk [Thu, 26 Oct 2006 14:24:31 +0000 (16:24 +0200)]
Code cleanup.
Wolfgang Denk [Thu, 26 Oct 2006 14:18:49 +0000 (16:18 +0200)]
Merge ... git://git./boot/u-boot/galak/u-boot.git#device_tree
Haavard Skinnemoen [Wed, 25 Oct 2006 13:48:59 +0000 (15:48 +0200)]
Finish up support for the ATSTK1000/ATSTK1002 boards
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>
Kumar Gala [Wed, 25 Oct 2006 04:47:37 +0000 (23:47 -0500)]
Added support for Multi-Image files that contain a device tree
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>
Wolfgang Denk [Tue, 24 Oct 2006 22:43:17 +0000 (00:43 +0200)]
Fix Makefile for "CHANGELOG" target
Merge with /home/sr/git/u-boot/4xx-idcr
Wolfgang Denk [Tue, 24 Oct 2006 19:35:55 +0000 (21:35 +0200)]
Switch to automatically generated CHANGELOG file.
(use "make CHANGELOG" to update it from time to time)
Stefan Roese [Tue, 24 Oct 2006 16:06:48 +0000 (18:06 +0200)]
Fix bug in PPC440 NAND driver cpu/ppc4xx/ndfc.c
Patch by Stefan Roese, 24 Oct 2006
Wolfgang Denk [Tue, 24 Oct 2006 15:24:55 +0000 (17:24 +0200)]
Merge with /home/wd/git/u-boot/master
Wolfgang Denk [Tue, 24 Oct 2006 15:08:31 +0000 (17:08 +0200)]
Merge with /home/wd/git/u-boot/master
(Conflicts between Jon Loeliger's and Matthew McClintock's tree
were resolved by in favour of Jon's version.)
Wolfgang Denk [Tue, 24 Oct 2006 13:32:57 +0000 (15:32 +0200)]
Code cleanup
Wolfgang Denk [Tue, 24 Oct 2006 13:18:23 +0000 (15:18 +0200)]
Merge ... www.jdl.com/software/u-boot-86xx.git
Wolfgang Denk [Tue, 24 Oct 2006 13:17:59 +0000 (15:17 +0200)]
Merge with /home/wd/git/u-boot/master
Wolfgang Denk [Tue, 24 Oct 2006 13:17:18 +0000 (15:17 +0200)]
Merge ... /home/wd/git/u-boot/mailing-list/Haavard_Skinnemoen
Wolfgang Denk [Tue, 24 Oct 2006 12:51:36 +0000 (14:51 +0200)]
Move atstk1000 files into vendor specific directory.
Patch by Haavard Skinnemoen, 12 Sep 2006
Wolfgang Denk [Tue, 24 Oct 2006 12:42:37 +0000 (14:42 +0200)]
Add ATSTK1000 and ATSTK1002 board support
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>
Wolfgang Denk [Tue, 24 Oct 2006 12:31:24 +0000 (14:31 +0200)]
Add common serial driver for Atmel AT32 and AT91 chips
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.
Wolfgang Denk [Tue, 24 Oct 2006 12:27:35 +0000 (14:27 +0200)]
Add AT32AP CPU and AT32AP7000 SoC support
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>
Wolfgang Denk [Tue, 24 Oct 2006 12:21:16 +0000 (14:21 +0200)]
Add AVR32 architecture support
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>
Wolfgang Denk [Tue, 24 Oct 2006 11:57:33 +0000 (13:57 +0200)]
Use -g instead of -gstabs in AFLAGS_DEBUG
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.
Wolfgang Denk [Tue, 24 Oct 2006 11:55:18 +0000 (13:55 +0200)]
Fix/workaround broken dependency handling with make 3.81
Based on patch by Haavard Skinnemoen, 29 Aug 2006 11:20:39 +0200
Marian Balakowicz [Mon, 23 Oct 2006 20:17:05 +0000 (22:17 +0200)]
Fix sequoia separate object direcory building problems.
Jon Loeliger [Fri, 20 Oct 2006 22:16:50 +0000 (17:16 -0500)]
Merge branch 'i2c'
Jon Loeliger [Fri, 20 Oct 2006 22:16:35 +0000 (17:16 -0500)]
Use generic I2C register block on 85xx and 86xx.
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>
Wolfgang Denk [Fri, 20 Oct 2006 21:52:58 +0000 (23:52 +0200)]
Merge ... www.jdl.com/software/u-boot-86xx.git
Wolfgang Denk [Fri, 20 Oct 2006 21:04:42 +0000 (23:04 +0200)]
Merge with /home/wd/git/u-boot/master
Jon Loeliger [Fri, 20 Oct 2006 20:54:48 +0000 (15:54 -0500)]
Merge branch 'i2c'
Jon Loeliger [Fri, 20 Oct 2006 20:54:34 +0000 (15:54 -0500)]
Fix compilation warnings on a few 85xx boards.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Jon Loeliger [Fri, 20 Oct 2006 20:50:15 +0000 (15:50 -0500)]
Converted all 85xx boards to use a common FSL I2C driver.
Introduced COFIG_FSL_I2C to select the common FSL I2C driver.
And removed hard i2c path from a few u-boot.lds scipts too.
Minor whitespace cleanups along the way.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Wolfgang Denk [Fri, 20 Oct 2006 15:54:33 +0000 (17:54 +0200)]
Cleanup compile warnings. Prepare for release 1.1.5
Wolfgang Denk [Fri, 20 Oct 2006 14:12:14 +0000 (16:12 +0200)]
Fix compile problem in include/configs/ep82xxm.h
(must have never been tested before!)
Wolfgang Denk [Fri, 20 Oct 2006 13:51:21 +0000 (15:51 +0200)]
MCC200: Fix uninitialized variable problem in LCD driver
Stefan Roese [Fri, 20 Oct 2006 13:18:51 +0000 (15:18 +0200)]
Update CHANGELOG
Stefan Roese [Fri, 20 Oct 2006 12:28:52 +0000 (14:28 +0200)]
Add board/cpu specific NAND chip select function to 440 NDFC
Based on idea and implementation from Jeff Mann
Patch by Stefan Roese, 20 Oct 2006
Wolfgang Denk [Fri, 20 Oct 2006 10:02:59 +0000 (12:02 +0200)]
Coding style cleanup
Wolfgang Denk [Fri, 20 Oct 2006 10:02:47 +0000 (12:02 +0200)]
Merge with /home/sr/git/u-boot/440epx-boot-msg
Jon Loeliger [Thu, 19 Oct 2006 17:03:44 +0000 (12:03 -0500)]
Merge branch 'master' of www.denx.de/git/u-boot
Jon Loeliger [Thu, 19 Oct 2006 17:02:24 +0000 (12:02 -0500)]
Rewrite a series of goto statements as a sequences of
conditional expressions instead.
Use consistent return code 0/-1 for good/bad indicators.
Include one fewer file if the driver isn't used at all.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Jon Loeliger [Thu, 19 Oct 2006 16:02:16 +0000 (11:02 -0500)]
Moved i2c driver out of cpu/mpc86xx/i2c.c into drivers/fsl_i2c.c
in an effort to begin to unify the umpteen FSL I2C drivers that
are all otherwise very similar.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Jon Loeliger [Thu, 19 Oct 2006 16:33:52 +0000 (11:33 -0500)]
* Fix a bunch of compiler warnings for gcc 4.0
Signed-off-by: Matthew McClintock <msm@freescale.com>
Wolfgang Denk [Wed, 18 Oct 2006 20:44:38 +0000 (22:44 +0200)]
Coding Style cleanup.
Wolfgang Denk [Wed, 18 Oct 2006 20:31:08 +0000 (22:31 +0200)]
Update CHANGELOG
Wolfgang Denk [Wed, 18 Oct 2006 20:27:57 +0000 (22:27 +0200)]
Merge ... /home/tur/proj/051_uboot_linux_v38b/u-boot
Stefan Roese [Wed, 18 Oct 2006 13:59:35 +0000 (15:59 +0200)]
Make 4xx bootup message shorter on 440EPx/GRx platforms
Patch by Stefan Roese, 18 Oct 2006
Stefan Roese [Tue, 17 Oct 2006 04:14:31 +0000 (06:14 +0200)]
Add monitor functions for indirect access to PPC440 DCR's
Patch by Leonid Baryudin, 12 Oct 2006
Jon Loeliger [Fri, 13 Oct 2006 21:47:53 +0000 (16:47 -0500)]
Fixed leading whitespace issues.
Removed spurious LAWAR thing.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Bartlomiej Sieka [Fri, 13 Oct 2006 19:09:09 +0000 (21:09 +0200)]
Preliminary patch adding support for the MarelV38B board.
Stefan Roese [Thu, 12 Oct 2006 17:50:17 +0000 (19:50 +0200)]
* PPC405EP: Add support for board configuration of CPC0_PCI register
This is needed to be able to configure PerWE*/PCI_INT* pin as PerWE*
Patch by Tolunay Orkun, 07 Apr 2006
Stefan Roese [Thu, 12 Oct 2006 17:43:29 +0000 (19:43 +0200)]
* PPC405EP: Add CFG_GPIO0_OR, CFG_GPIO0_ODR to setup GPIO completely.
- Add configuration of Open Drain GPIO Output selection
- Add configuration of initial value of GPIO output pins
Patch by Tolunay Orkun, 07 Apr 2006
Jon Loeliger [Thu, 12 Oct 2006 16:29:33 +0000 (11:29 -0500)]
Merge branch 'master' of www.denx.de/git/u-boot
Jon Loeliger [Thu, 12 Oct 2006 15:42:36 +0000 (10:42 -0500)]
Remove unneeded include files and local variable.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Grant Likely [Tue, 10 Oct 2006 06:23:32 +0000 (00:23 -0600)]
Fix possible uninitialized variable compiler warning.
When CONFIG_OF_FLAG_TREE is set, the compiler complains that 'len' in
do_bootm_linux() may be uninitialized. There is no possibility in the
current code that len will get used uninitialized, but this fix follows
the existing convention of setting both len and data to zero at the same
time.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Wolfgang Denk [Thu, 12 Oct 2006 09:43:47 +0000 (11:43 +0200)]
Fix spelling; minor code cleanup.
Stefan Roese [Thu, 12 Oct 2006 05:04:24 +0000 (07:04 +0200)]
Fix JFFS2 compilation problem
Patch by Stefan Roese, 12 Oct 2006
Wolfgang Denk [Wed, 11 Oct 2006 23:26:20 +0000 (01:26 +0200)]
Merge with /home/wd/git/u-boot/master
Wolfgang Denk [Wed, 11 Oct 2006 22:02:04 +0000 (00:02 +0200)]
Merge with /home/wd/git/u-boot/master
Wolfgang Denk [Wed, 11 Oct 2006 22:01:08 +0000 (00:01 +0200)]
Minor code cleanup.
Wolfgang Denk [Wed, 11 Oct 2006 21:54:37 +0000 (23:54 +0200)]
Merge ... opensource.freescale.com/u-boot-85xx.git#for_wd
Matthew McClintock [Wed, 11 Oct 2006 20:13:01 +0000 (15:13 -0500)]
* Fix a bunch of compiler warnings for gcc 4.0
Signed-off-by: Matthew McClintock <msm@freescale.com>
Jon Loeliger [Wed, 11 Oct 2006 15:16:01 +0000 (10:16 -0500)]
Merge branch 'master' of www.denx.de/git/u-boot
Jon Loeliger [Wed, 11 Oct 2006 15:10:43 +0000 (10:10 -0500)]
Move "ar" flags to config.mk to allow for silent "make -s"
Stefan Roese [Wed, 11 Oct 2006 14:57:01 +0000 (16:57 +0200)]
Cleanup of NAND update patch (remove changelog from cmd_nand.c)
Patch by Guido Classen, 10 Oct 2006
Wolfgang Denk [Wed, 11 Oct 2006 12:15:21 +0000 (14:15 +0200)]
Merge with /home/wd/git/u-boot/master
Jon Loeliger [Tue, 10 Oct 2006 22:21:42 +0000 (17:21 -0500)]
Merge branch 'master' of www.denx.de/git/u-boot
Jon Loeliger [Tue, 10 Oct 2006 22:19:03 +0000 (17:19 -0500)]
Coding style changes to remove local varible blocks
and reformat a bit nicer.
Jon Loeliger [Tue, 10 Oct 2006 22:16:04 +0000 (17:16 -0500)]
Fix whitespace issues.
Jon Loeliger [Tue, 10 Oct 2006 22:14:45 +0000 (17:14 -0500)]
Fix whitespace issues.
Jon Loeliger [Tue, 10 Oct 2006 22:06:53 +0000 (17:06 -0500)]
Fix whitespace issues.
Jon Loeliger [Tue, 10 Oct 2006 22:03:43 +0000 (17:03 -0500)]
Ran lindent and cleaned up whitespace issues.
Format for 80-columns too.
Jon Loeliger [Tue, 10 Oct 2006 22:02:22 +0000 (17:02 -0500)]
Fix whitespace and 80-col issues.
Stefan Roese [Tue, 10 Oct 2006 10:36:02 +0000 (12:36 +0200)]
* Several improvements to the new NAND subsystem:
- JFFS2 related commands implemented in mtd-utils style
- Support for bad blocks
- Bad block testing commands
- NAND lock commands
Please take a look at doc/README.nand for more details
Patch by Guido Classen, 10 Oct 2006
Wolfgang Denk [Mon, 9 Oct 2006 11:32:53 +0000 (13:32 +0200)]
Merge with /home/sr/git/u-boot/avr32
Stefan Roese [Mon, 9 Oct 2006 10:55:38 +0000 (12:55 +0200)]
Define IH_CPU_AVR32
Make it possible to generate AVR32 uImage files with mkimage and
make cmd_bootm recognize them.
Patch by Haavard Skinnemoen, 22 Sep 2006
Wolfgang Denk [Mon, 9 Oct 2006 10:50:41 +0000 (12:50 +0200)]
Fix buffer overflow problem in ft_build.c
Patch by Fredrik Roubert, 09 Oct 2006
Wolfgang Denk [Sun, 8 Oct 2006 23:26:14 +0000 (01:26 +0200)]
Make bootp implementation RFC3046 compliant
Patch by Joakim Larsson, 27 Jun 2006
Wolfgang Denk [Sun, 8 Oct 2006 23:07:53 +0000 (01:07 +0200)]
TQM5200: perform POST memory test only on STK52xx carrier board.
(and then only if PSC6_3 is read as "1" when booting).
Patch by Martin Krause, 21 Jun 2006
Wolfgang Denk [Sun, 8 Oct 2006 23:02:05 +0000 (01:02 +0200)]
Move "ar" flags to config.mk to allow for silent "make -s"
Based on patch by Mike Frysinger, 20 Jun 2006
Wolfgang Denk [Sun, 8 Oct 2006 22:48:57 +0000 (00:48 +0200)]
Add missing files for EP82xxM boards
Patch by Aaron Sells, 20 Jun 2006
Wolfgang Denk [Sun, 8 Oct 2006 22:42:01 +0000 (00:42 +0200)]
Coding style cleanup
Wolfgang Denk [Sun, 8 Oct 2006 22:35:30 +0000 (00:35 +0200)]
Add support for EP82xxM boards
Patch by Aaron Sells, 20 Jun 2006
Wolfgang Denk [Sun, 8 Oct 2006 20:19:41 +0000 (22:19 +0200)]
Merge ... git+ssh://fifi/home/wd/git/u-boot/master
Wolfgang Denk [Thu, 5 Oct 2006 09:10:17 +0000 (11:10 +0200)]
Merge with /home/m8/git/u-boot
Stefan Roese [Wed, 4 Oct 2006 05:12:49 +0000 (07:12 +0200)]
Fix TLB setup for Ocotea board
Patch by Stefan Roese, 30 Sep 2006
Stefan Roese [Wed, 4 Oct 2006 05:12:27 +0000 (07:12 +0200)]
Fix reset problem in sequoia sdram init code
Patch by Stefan Roese, 23 Sep 2006
Marian Balakowicz [Tue, 3 Oct 2006 18:28:38 +0000 (20:28 +0200)]
Update for CAM5200 board:
- Map in a additional chip selects CS4 and CS5.
- Modify the port configration, configure six UARTs and no PCI,
ATA and USB.
- Add custom flash driver to handle specific byte swapping
Jon Loeliger [Fri, 29 Sep 2006 14:34:35 +0000 (09:34 -0500)]
Merge branch 'mpc86xx'
John Traill [Fri, 29 Sep 2006 07:23:12 +0000 (08:23 +0100)]
Fix missing tCycle/modfreq calculation.
Signed-off-by: John Traill <john.traill@freescale.com>
Wolfgang Denk [Wed, 20 Sep 2006 21:47:49 +0000 (23:47 +0200)]
Fix comments in include/ppc440.h
Patch by Martin Hicks, 16 Jun 2006
Jon Loeliger [Tue, 19 Sep 2006 15:02:20 +0000 (10:02 -0500)]
Merge branch 'mpc85xx'
Conflicts:
drivers/tsec.c
Andy Fleming [Wed, 13 Sep 2006 15:33:35 +0000 (10:33 -0500)]
Updated config headers to add default FDT-based booting
Andy Fleming [Wed, 13 Sep 2006 15:34:18 +0000 (10:34 -0500)]
Add support for eTSEC 3 & 4 on 8548 CDS
* Added support for using eTSEC 3 and eTSEC 4 on the 8548 CDS.
This will only work on rev 1.3 boards (but doesn't break older boards)
* Cleaned up some comments to reflect the expanded role of tsec
in other systems
Andy Fleming [Wed, 13 Sep 2006 15:33:56 +0000 (10:33 -0500)]
Added code to support 2.6.18 PCI changes in u-boot
* Added code to swizzle the IRQ map for the PCI