]> git.sur5r.net Git - u-boot/log
u-boot
18 years agoThis patch comes from Yuli's posted patch on 8/8/2006
roy zang [Thu, 2 Nov 2006 11:14:48 +0000 (19:14 +0800)]
This patch comes from Yuli's posted patch on 8/8/2006
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>
18 years agoTsi108 on chip i2c support.
roy zang [Thu, 2 Nov 2006 11:12:31 +0000 (19:12 +0800)]
Tsi108 on chip i2c support.

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>
18 years agoTsi108 on chip pci controller support.
roy zang [Thu, 2 Nov 2006 11:11:06 +0000 (19:11 +0800)]
Tsi108 on chip pci controller support.

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>
18 years agoTundra tsi108 on chip Ethernet controller support.
roy zang [Thu, 2 Nov 2006 11:08:55 +0000 (19:08 +0800)]
Tundra tsi108 on chip Ethernet controller support.

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>
18 years agoTundra tsi108 header file.
roy zang [Thu, 2 Nov 2006 11:01:33 +0000 (19:01 +0800)]
Tundra tsi108 header file.

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>
18 years agoAdd mpc7448hpc2 (mpc7448 + tsi108) board associated code support.
roy zang [Thu, 2 Nov 2006 10:59:15 +0000 (18:59 +0800)]
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>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoAdd mpc7448hpc2 (mpc7448 + tsi108) board associated code support.
roy zang [Thu, 2 Nov 2006 10:57:21 +0000 (18:57 +0800)]
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>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoAdd mpc7448hpc2 (mpc7448 + tsi108) board associated code support.
roy zang [Thu, 2 Nov 2006 10:55:04 +0000 (18:55 +0800)]
Add  mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
The mpc7448hpc2 board support header file.

Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoAdd mpc7448hpc2 (mpc7448 + tsi108) board associated code support.
roy zang [Thu, 2 Nov 2006 10:52:21 +0000 (18:52 +0800)]
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>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoGeneral code modification for mpc7448hpc2 board support.
roy zang [Thu, 2 Nov 2006 10:49:51 +0000 (18:49 +0800)]
General code modification for mpc7448hpc2 board support.
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>
18 years agoAdd README file for mpc7448hpc2 board.
roy zang [Thu, 2 Nov 2006 10:34:47 +0000 (18:34 +0800)]
Add README file for mpc7448hpc2 board.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoMerge with /home/sr/git/u-boot/nand-ladis
Wolfgang Denk [Sat, 28 Oct 2006 23:12:53 +0000 (01:12 +0200)]
Merge with /home/sr/git/u-boot/nand-ladis

18 years agoAutomatically adjust ARFLAGS so "make -s" is really silent.
Wolfgang Denk [Sat, 28 Oct 2006 23:03:51 +0000 (01:03 +0200)]
Automatically adjust ARFLAGS so "make -s" is really silent.

18 years ago[PATCH] omap925.c: Remove unused functions
Stefan Roese [Sat, 28 Oct 2006 14:45:00 +0000 (16:45 +0200)]
[PATCH] omap925.c: Remove unused functions

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Add some missing machtypes for netstar & voiceblue boards
Stefan Roese [Sat, 28 Oct 2006 15:12:58 +0000 (17:12 +0200)]
[PATCH] Add some missing machtypes for netstar & voiceblue boards

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>
18 years ago[PATCH] NAND: Partition name support added to NAND subsystem
Stefan Roese [Sat, 28 Oct 2006 13:55:52 +0000 (15:55 +0200)]
[PATCH] NAND: Partition name support added to NAND subsystem

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>
18 years agoUpdate CHANGELOG.
Wolfgang Denk [Sat, 28 Oct 2006 00:29:44 +0000 (02:29 +0200)]
Update CHANGELOG.

18 years agoEnable commandline editing and hush shell on all TQM boards.
Wolfgang Denk [Sat, 28 Oct 2006 00:29:14 +0000 (02:29 +0200)]
Enable commandline editing and hush shell on all TQM boards.

18 years agoREADME says CFG_AUTO_COMPLETE, but ocde uses CONFIG_AUTO_COMPLETE
Wolfgang Denk [Sat, 28 Oct 2006 00:28:02 +0000 (02:28 +0200)]
README says CFG_AUTO_COMPLETE, but ocde uses CONFIG_AUTO_COMPLETE

18 years agoCheck for illegal character '=' in environment variable names.
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=".

18 years agoMinor code cleanup.
Wolfgang Denk [Fri, 27 Oct 2006 22:38:39 +0000 (00:38 +0200)]
Minor code cleanup.

18 years agoDon't pass any debug options directly to the assembler
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>
18 years agoMPC86xx: Cleaned up unused and conditionally used local variables.
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>
18 years agoFix "ar" flags in some Makefiles to allow for silent "make -s"
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"

18 years agoFix TSEC driver (now for real): avoid crashes if PHY is not attached
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>
18 years agoFix TSEC driver: avoid crashes if PHY is not attached
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>
18 years agoCode cleanup.
Wolfgang Denk [Thu, 26 Oct 2006 14:24:31 +0000 (16:24 +0200)]
Code cleanup.

18 years agoMerge with git://git.kernel.org/pub/scm/boot/u-boot/galak/u-boot.git#device_tree
Wolfgang Denk [Thu, 26 Oct 2006 14:18:49 +0000 (16:18 +0200)]
Merge with git://git.kernel.org/pub/scm/boot/u-boot/galak/u-boot.git#device_tree

18 years agoFinish up support for the ATSTK1000/ATSTK1002 boards
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>
18 years agoAdded support for Multi-Image files that contain a device tree
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>
18 years agoFix Makefile for "CHANGELOG" target
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

18 years agoSwitch to automatically generated CHANGELOG file.
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)

18 years agoFix bug in PPC440 NAND driver cpu/ppc4xx/ndfc.c
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

18 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Tue, 24 Oct 2006 15:24:55 +0000 (17:24 +0200)]
Merge with /home/wd/git/u-boot/master

18 years agoMerge 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.)

18 years agoCode cleanup
Wolfgang Denk [Tue, 24 Oct 2006 13:32:57 +0000 (15:32 +0200)]
Code cleanup

18 years agoMerge with http://www.jdl.com/software/u-boot-86xx.git
Wolfgang Denk [Tue, 24 Oct 2006 13:18:23 +0000 (15:18 +0200)]
Merge with http://www.jdl.com/software/u-boot-86xx.git

18 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Tue, 24 Oct 2006 13:17:59 +0000 (15:17 +0200)]
Merge with /home/wd/git/u-boot/master

18 years agoMerge with /home/wd/git/u-boot/mailing-list/Haavard_Skinnemoen
Wolfgang Denk [Tue, 24 Oct 2006 13:17:18 +0000 (15:17 +0200)]
Merge with /home/wd/git/u-boot/mailing-list/Haavard_Skinnemoen

18 years agoMove atstk1000 files into vendor specific directory.
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

18 years agoAdd ATSTK1000 and ATSTK1002 board support
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>
18 years agoAdd common serial driver for Atmel AT32 and AT91 chips
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.

18 years agoAdd AT32AP CPU and AT32AP7000 SoC support
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>
18 years agoAdd AVR32 architecture support
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>
18 years agoUse -g instead of -gstabs in AFLAGS_DEBUG
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.

18 years agoFix/workaround broken dependency handling with make 3.81
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

18 years agoFix sequoia separate object direcory building problems.
Marian Balakowicz [Mon, 23 Oct 2006 20:17:05 +0000 (22:17 +0200)]
Fix sequoia separate object direcory building problems.

18 years agoMerge branch 'i2c'
Jon Loeliger [Fri, 20 Oct 2006 22:16:50 +0000 (17:16 -0500)]
Merge branch 'i2c'

18 years agoUse generic I2C register block on 85xx and 86xx.
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>
18 years agoMerge with http://www.jdl.com/software/u-boot-86xx.git
Wolfgang Denk [Fri, 20 Oct 2006 21:52:58 +0000 (23:52 +0200)]
Merge with http://www.jdl.com/software/u-boot-86xx.git

18 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Fri, 20 Oct 2006 21:04:42 +0000 (23:04 +0200)]
Merge with /home/wd/git/u-boot/master

18 years agoMerge branch 'i2c'
Jon Loeliger [Fri, 20 Oct 2006 20:54:48 +0000 (15:54 -0500)]
Merge branch 'i2c'

18 years agoFix compilation warnings on a few 85xx boards.
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>
18 years agoConverted all 85xx boards to use a common FSL I2C driver.
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>
18 years agoCleanup compile warnings. Prepare for release 1.1.5 U-Boot-1_1_5
Wolfgang Denk [Fri, 20 Oct 2006 15:54:33 +0000 (17:54 +0200)]
Cleanup compile warnings. Prepare for release 1.1.5

18 years agoFix compile problem in include/configs/ep82xxm.h
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!)

18 years agoMCC200: Fix uninitialized variable problem in LCD driver
Wolfgang Denk [Fri, 20 Oct 2006 13:51:21 +0000 (15:51 +0200)]
MCC200: Fix uninitialized variable problem in LCD driver

18 years agoUpdate CHANGELOG
Stefan Roese [Fri, 20 Oct 2006 13:18:51 +0000 (15:18 +0200)]
Update CHANGELOG

18 years agoAdd board/cpu specific NAND chip select function to 440 NDFC
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

18 years agoCoding style cleanup
Wolfgang Denk [Fri, 20 Oct 2006 10:02:59 +0000 (12:02 +0200)]
Coding style cleanup

18 years agoMerge with /home/sr/git/u-boot/440epx-boot-msg
Wolfgang Denk [Fri, 20 Oct 2006 10:02:47 +0000 (12:02 +0200)]
Merge with /home/sr/git/u-boot/440epx-boot-msg

18 years agoMerge branch 'master' of http://www.denx.de/git/u-boot
Jon Loeliger [Thu, 19 Oct 2006 17:03:44 +0000 (12:03 -0500)]
Merge branch 'master' of http://www.denx.de/git/u-boot

18 years agoRewrite a series of goto statements as a sequences of
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>
18 years agoMoved i2c driver out of cpu/mpc86xx/i2c.c into drivers/fsl_i2c.c
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>
18 years ago* Fix a bunch of compiler warnings for gcc 4.0
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>
18 years agoCoding Style cleanup.
Wolfgang Denk [Wed, 18 Oct 2006 20:44:38 +0000 (22:44 +0200)]
Coding Style cleanup.

18 years agoUpdate CHANGELOG
Wolfgang Denk [Wed, 18 Oct 2006 20:31:08 +0000 (22:31 +0200)]
Update CHANGELOG

18 years agoMerge with /home/tur/proj/051_uboot_linux_v38b/u-boot
Wolfgang Denk [Wed, 18 Oct 2006 20:27:57 +0000 (22:27 +0200)]
Merge with /home/tur/proj/051_uboot_linux_v38b/u-boot

18 years agoMake 4xx bootup message shorter on 440EPx/GRx platforms
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

18 years agoAdd monitor functions for indirect access to PPC440 DCR's
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

18 years agoFixed leading whitespace issues.
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>
18 years agoPreliminary patch adding support for the MarelV38B board.
Bartlomiej Sieka [Fri, 13 Oct 2006 19:09:09 +0000 (21:09 +0200)]
Preliminary patch adding support for the MarelV38B board.

18 years ago* PPC405EP: Add support for board configuration of CPC0_PCI register
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

18 years ago* PPC405EP: Add CFG_GPIO0_OR, CFG_GPIO0_ODR to setup GPIO completely.
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

18 years agoMerge branch 'master' of http://www.denx.de/git/u-boot
Jon Loeliger [Thu, 12 Oct 2006 16:29:33 +0000 (11:29 -0500)]
Merge branch 'master' of http://www.denx.de/git/u-boot

18 years agoRemove unneeded include files and local variable.
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>
18 years agoFix possible uninitialized variable compiler warning.
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>
18 years agoFix spelling; minor code cleanup.
Wolfgang Denk [Thu, 12 Oct 2006 09:43:47 +0000 (11:43 +0200)]
Fix spelling; minor code cleanup.

18 years agoFix JFFS2 compilation problem
Stefan Roese [Thu, 12 Oct 2006 05:04:24 +0000 (07:04 +0200)]
Fix JFFS2 compilation problem
Patch by Stefan Roese, 12 Oct 2006

18 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Wed, 11 Oct 2006 23:26:20 +0000 (01:26 +0200)]
Merge with /home/wd/git/u-boot/master

18 years agoMerge 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

18 years agoMinor code cleanup.
Wolfgang Denk [Wed, 11 Oct 2006 22:01:08 +0000 (00:01 +0200)]
Minor code cleanup.

18 years agoMerge with http://opensource.freescale.com/pub/scm/u-boot-85xx.git#for_wd
Wolfgang Denk [Wed, 11 Oct 2006 21:54:37 +0000 (23:54 +0200)]
Merge with http://opensource.freescale.com/pub/scm/u-boot-85xx.git#for_wd

18 years ago* Fix a bunch of compiler warnings for gcc 4.0
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>
18 years agoMerge branch 'master' of http://www.denx.de/git/u-boot
Jon Loeliger [Wed, 11 Oct 2006 15:16:01 +0000 (10:16 -0500)]
Merge branch 'master' of http://www.denx.de/git/u-boot

18 years agoMove "ar" flags to config.mk to allow for silent "make -s"
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"

18 years agoCleanup of NAND update patch (remove changelog from cmd_nand.c)
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

18 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Wed, 11 Oct 2006 12:15:21 +0000 (14:15 +0200)]
Merge with /home/wd/git/u-boot/master

18 years agoMerge branch 'master' of http://www.denx.de/git/u-boot
Jon Loeliger [Tue, 10 Oct 2006 22:21:42 +0000 (17:21 -0500)]
Merge branch 'master' of http://www.denx.de/git/u-boot

18 years agoCoding style changes to remove local varible blocks
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.

18 years agoFix whitespace issues.
Jon Loeliger [Tue, 10 Oct 2006 22:16:04 +0000 (17:16 -0500)]
Fix whitespace issues.

18 years agoFix whitespace issues.
Jon Loeliger [Tue, 10 Oct 2006 22:14:45 +0000 (17:14 -0500)]
Fix whitespace issues.

18 years agoFix whitespace issues.
Jon Loeliger [Tue, 10 Oct 2006 22:06:53 +0000 (17:06 -0500)]
Fix whitespace issues.

18 years agoRan lindent and cleaned up 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.

18 years agoFix whitespace and 80-col issues.
Jon Loeliger [Tue, 10 Oct 2006 22:02:22 +0000 (17:02 -0500)]
Fix whitespace and 80-col issues.

18 years ago* Several improvements to the new NAND subsystem:
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

18 years agoMerge with /home/sr/git/u-boot/avr32
Wolfgang Denk [Mon, 9 Oct 2006 11:32:53 +0000 (13:32 +0200)]
Merge with /home/sr/git/u-boot/avr32

18 years agoDefine IH_CPU_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

18 years agoFix buffer overflow problem in ft_build.c
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

18 years agoMake bootp implementation RFC3046 compliant
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