]> git.dujemihanovic.xyz Git - u-boot.git/log
u-boot.git
18 years agompc83xx: Fix the incorrect dcbz operation
Dave Liu [Fri, 3 Nov 2006 00:05:50 +0000 (18:05 -0600)]
mpc83xx: Fix the incorrect dcbz operation

The 834x rev1.x silicon has one CPU5 errata.

The issue is when the data cache locked with
HID0[DLOCK], the dcbz instruction looks like no-op inst.

The right behavior of the data cache is when the data cache
Locked with HID0[DLOCK], the dcbz instruction allocates
new tags in cache.

The 834x rev3.0 and later and 8360 have not this bug inside.

So, when 834x rev3.0/8360 are working with ECC, the dcbz
instruction will corrupt the stack in cache, the processor will
checkstop reset.

However, the 834x rev1.x can work with ECC with these code,
because the sillicon has this cache bug. The dcbz will not
corrupt the stack in cache.
Really, it is the fault code running on fault sillicon.

This patch fix the incorrect dcbz operation. Instead of
CPU FP writing to initialise the ECC.

CHANGELOG:
* Fix the incorrect dcbz operation instead of CPU FP
writing to initialise the ECC memory. Otherwise, it
will corrupt the stack in cache, The processor will checkstop
reset.

Signed-off-by: Dave Liu <daveliu@freescale.com>
18 years agompc83xx: add OF_FLAT_TREE bits to 83xx boards
Kim Phillips [Wed, 1 Nov 2006 06:10:40 +0000 (00:10 -0600)]
mpc83xx: add OF_FLAT_TREE bits to 83xx boards

add ft_pci_setup, OF_CPU, OF_SOC, OF_TBCLK, and
STDOUT_PATH configuration bits to mpc8349emds,
mpc8349itx, and mpc8360emds board code.

redo environment to use bootm with the fdtaddr
for booting ARCH=powerpc kernels by default,
and provide default fdtaddr values.

18 years agompc83xx: change ft code to modify local-mac-address property
Kim Phillips [Wed, 1 Nov 2006 06:07:25 +0000 (00:07 -0600)]
mpc83xx: change ft code to modify local-mac-address property

Update 83xx OF code to update local-mac-address properties
for ethernet instead of the obsolete 'address' property.

18 years agompc83xx: Fix dual I2C support for the MPC8349ITX, MPC8349EMDS, TQM834x, and MPC8360EMDS
Timur Tabi [Wed, 1 Nov 2006 03:23:16 +0000 (21:23 -0600)]
mpc83xx: Fix dual I2C support for the MPC8349ITX, MPC8349EMDS, TQM834x, and MPC8360EMDS

This patch also adds an improved I2C set_speed(), which handles all clock
frequencies.

Signed-off-by: Timur Tabi <timur@freescale.com>
18 years agompc83xx: add the README.mpc8360emds
Dave Liu [Wed, 1 Nov 2006 01:54:59 +0000 (19:54 -0600)]
mpc83xx: add the README.mpc8360emds

add doc/README.mpc8360emds to accompany the new board support

18 years agompc83xx: add QE ethernet support
Dave Liu [Fri, 3 Nov 2006 18:11:15 +0000 (12:11 -0600)]
mpc83xx: add QE ethernet support

this patch adds support for the QUICC Engine based UCC gigabit ethernet device.

18 years agompc83xx: Add MPC8360EMDS basic board support
Dave Liu [Sat, 4 Nov 2006 01:33:44 +0000 (19:33 -0600)]
mpc83xx: Add MPC8360EMDS basic board support

Add support for the Freescale MPC8360EMDS board.
Includes DDR, DUART, Local Bus, PCI.

18 years agompc83xx: add the QUICC Engine (QE) immap file
Dave Liu [Wed, 1 Nov 2006 01:30:40 +0000 (19:30 -0600)]
mpc83xx: add the QUICC Engine (QE) immap file

common QE immap file.  Also required for 8360.

18 years agompc83xx: Add 8360 specifics to 83xx immap
Dave Liu [Wed, 1 Nov 2006 01:25:38 +0000 (19:25 -0600)]
mpc83xx: Add 8360 specifics to 83xx immap

Mainly add QE device dependencies, with appropriate 8360 protection.
Lindent also run.

18 years agompc83xx: Fix PCI, USB, bootargs for MPC8349E-mITX
Timur Tabi [Wed, 1 Nov 2006 01:14:41 +0000 (19:14 -0600)]
mpc83xx: Fix PCI, USB, bootargs for MPC8349E-mITX

PREREQUISITE PATCHES:

* This patch can only be applied after the following patches have been applied:

  1) DNX#2006092142000015 "Add support for the MPC8349E-mITX  1/2"
  2) DNX#2006092142000024 "Add support for the MPC8349E-mITX  2/2"

CHANGELOG:

* For the 8349E-mITX, fix some size values in pci_init_board(), enable
  the clock for the 2nd USB board (Linux kernel will hang otherwise),
  and fix the CONFIG_BOOTARGS macro.

Signed-off-by: Timur Tabi <timur@freescale.com>
18 years agompc83xx: Add support for the MPC8349E-mITX
Timur Tabi [Wed, 1 Nov 2006 00:44:42 +0000 (18:44 -0600)]
mpc83xx: Add support for the MPC8349E-mITX

PREREQUISITE PATCHES:

* This patch can only be applied after the following patches have been applied:

  1) DNX#2006090742000024 "Add support for multiple I2C buses"
  2) DNX#2006090742000033 "Multi-bus I2C implementation of MPC834x"
  3) DNX#2006091242000041 "Additional MPC8349 support for multibus i2c"
  4) DNX#2006091242000078 "Add support for variable flash memory sizes on 83xx systems"
  5) DNX#2006091242000069 "Add support for Errata DDR6 on MPC 834x systems"

CHANGELOG:

* Add support for the Freescale MPC8349E-mITX reference design platform.
  The second TSEC (Vitesse 7385 switch) is not supported at this time.

Signed-off-by: Timur Tabi <timur@freescale.com>
18 years agoAdditional MPC8349 support for multibus i2c
Ben Warren [Tue, 12 Sep 2006 14:15:53 +0000 (10:15 -0400)]
Additional MPC8349 support for multibus i2c

Hello,

Here is a patch for a file that was accidentally left out of a previous
attempt.

It accompanies the patch with ticket DNX#2006090742000024

CHANGELOG:
        Change PCI initialization to use new multi-bus I2C API.

regards,
Ben

18 years agoMulti-bus I2C implementation of MPC834x
Ben Warren [Thu, 7 Sep 2006 20:51:04 +0000 (16:51 -0400)]
Multi-bus I2C implementation of MPC834x

Hello,

Attached is a patch implementing multiple I2C buses on the MPC834x CPU
family and the MPC8349EMDS board in particular.
This patch requires Patch 1 (Add support for multiple I2C buses).
Testing was performed on a 533MHz board.

/*** Note: This patch replaces ticket DNX#2006083042000027 ***/

Signed-off-by: Ben Warren <bwarren@qstreams.com>
CHANGELOG:
        Implemented driver-level code to support two I2C buses on the
MPC834x CPU family and the MPC8349EMDS board.  Available I2C bus speeds
are 50kHz, 100kHz and 400kHz on each bus.

regards,
Ben

18 years agoAdd support for multiple I2C buses
Ben Warren [Thu, 7 Sep 2006 20:50:54 +0000 (16:50 -0400)]
Add support for multiple I2C buses

Hello,

Attached is a patch providing support for multiple I2C buses at the
command level.  The second part of the patch includes an implementation
for the MPC834x CPU and MPC8349EMDS board.

/*** Note: This patch replaces ticket DNX#2006083042000018 ***/

Signed-off-by: Ben Warren <bwarren@qstreams.com>
Overview:

1. Include new 'i2c' command (based on USB implementation) using
CONFIG_I2C_CMD_TREE.

2. Allow multiple buses by defining CONFIG_I2C_MULTI_BUS.  Note that
the commands to change bus number and speed are only available under the
new 'i2c' command mentioned in the first bullet.

3. The option CFG_I2C_NOPROBES has been expanded to work in multi-bus
systems.  When CONFIG_I2C_MULTI_BUS is used, this option takes the form
of an array of bus-device pairs.  Otherwise, it is an array of uchar.

CHANGELOG:
        Added new 'i2c' master command for all I2C interaction.  This is
conditionally compiled with CONFIG_I2C_CMD_TREE.  New commands added for
setting I2C bus speed as well as changing the active bus if the board
has more than one (conditionally compiled with
CONFIG_I2C_MULTI_BUS).  Updated NOPROBE logic to handle multiple buses.
Updated README.

regards,
Ben

18 years agompc83xx: Add support for Errata DDR6 on MPC 834x systems
Timur Tabi [Wed, 1 Nov 2006 00:13:36 +0000 (18:13 -0600)]
mpc83xx: Add support for Errata DDR6 on MPC 834x systems

CHANGELOG:

* Errata DDR6, which affects all current MPC 834x processors, lists changes
  required to maintain compatibility with various types of DDR memory.  This
  patch implements those changes.

Signed-off-by: Timur Tabi <timur@freescale.com>
18 years agompc83xx: fix TQM build by defining a CFG_FLASH_SIZE for it
Timur Tabi [Wed, 25 Oct 2006 23:45:23 +0000 (18:45 -0500)]
mpc83xx: fix TQM build by defining a CFG_FLASH_SIZE for it

18 years agompc83xx: Add support for variable flash memory sizes on 83xx systems
Timur Tabi [Tue, 22 Aug 2006 22:07:00 +0000 (17:07 -0500)]
mpc83xx: Add support for variable flash memory sizes on 83xx systems

CHANGELOG:

* On 83xx systems, use the CFG_FLASH_SIZE macro to program the LBC local access
   window registers, instead of using a hard-coded value of 8MB.

Signed-off-by: Timur Tabi <timur@freescale.com>
18 years agompc83xx: Unified TQM834x variable names with 83xx and consolidated macros
Tanya Jiang [Thu, 3 Aug 2006 10:38:13 +0000 (18:38 +0800)]
mpc83xx: Unified TQM834x variable names with 83xx and consolidated macros

Unified TQM834x variable names with 83xx and consolidated macro
in preparation for the 8360 and other upcoming 83xx devices.

Signed-off-by: Tanya Jiang <tanya.jiang@freescale.com>
18 years agompc83xx: Changed to unified mpx83xx names and added common 83xx changes
Dave Liu [Wed, 25 Oct 2006 19:41:21 +0000 (14:41 -0500)]
mpc83xx: Changed to unified mpx83xx names and added common 83xx changes

Incorporated the common unified variable names and the changes in preparation
for releasing mpc8360 patches.

Signed-off-by: Dave Liu <daveliu@freescale.com>
18 years agompc83xx: Fix missing build for mpc8349emds pci.c
Tanya Jiang [Thu, 3 Aug 2006 10:36:02 +0000 (18:36 +0800)]
mpc83xx: Fix missing build for mpc8349emds pci.c

Make pci build for mpc8349emds

Signed-off-by: Tanya Jiang <tanya.jiang@freescale.com>
18 years agompc83xx: Removed unused file resetvec.S for mpc83xx cpu
Tanya Jiang [Thu, 3 Aug 2006 10:39:49 +0000 (18:39 +0800)]
mpc83xx: Removed unused file resetvec.S for mpc83xx cpu

Removed unused file resetvec.S for mpc83xx cpu

Signed-off-by: Tanya Jiang <tanya.jiang@freescale.com>
18 years agoNAND Flash verify across block boundaries
Nick Spence [Sat, 30 Sep 2006 07:32:59 +0000 (00:32 -0700)]
NAND Flash verify across block boundaries

This patch addresses a problem when CONFIG_MTD_NAND_VERIFY_WRITE is
defined
and the write crosses a block boundary. The pointer to the verification
buffer (bufstart) is not being updated to reflect the starting of the
new
block so the verification of the second block fails.

CHANGELOG:

* Fix NAND FLASH page verification across block boundaries

18 years agoAdded RGMII support to the TSECs and Marvell 881111 Phy
Nick Spence [Thu, 7 Sep 2006 14:39:46 +0000 (07:39 -0700)]
Added RGMII support to the TSECs and Marvell 881111 Phy

Added a phy initialization to adjust the RGMII RX and TX timing
Always set the R100 bit in 100 BaseT mode regardless of the TSEC mode

Signed-off-by: Nick Spence <nick.spence@freescale.com>
18 years agoMerge with /home/tur/proj/uboot_linux_v38b/u-boot
Wolfgang Denk [Thu, 2 Nov 2006 20:26:38 +0000 (21:26 +0100)]
Merge with /home/tur/proj/uboot_linux_v38b/u-boot

18 years agoRelease U-Boot 1.1.6
Wolfgang Denk [Thu, 2 Nov 2006 14:15:01 +0000 (15:15 +0100)]
Release U-Boot 1.1.6

18 years agoFinish up support for MarelV38B board
Bartlomiej Sieka [Wed, 1 Nov 2006 01:04:38 +0000 (02:04 +0100)]
Finish up support for MarelV38B board
 - add watchdog support
 - enable GPIO_WKUP_7 pin for input
 - code cleanup

18 years ago- Fix issues related to the use of ELDK 4 when compiling for MarelV38B:
Bartlomiej Sieka [Wed, 1 Nov 2006 00:45:46 +0000 (01:45 +0100)]
- Fix issues related to the use of ELDK 4 when compiling for MarelV38B:
      * remove warnings when compiling ethaddr.c
      * adjust linker script (fixes a crash resulting from incorrect
      definition of __u_boot_cmd_start)
- Some MarelV38B code cleanup.

18 years ago- Add MPC5XXX register definition MPC5XXX_WU_GPIO_DATA_I and change the
Bartlomiej Sieka [Wed, 1 Nov 2006 00:38:16 +0000 (01:38 +0100)]
- Add MPC5XXX register definition MPC5XXX_WU_GPIO_DATA_I and change the
  MPC5XXX_WU_GPIO_DATA macro to MPC5XXX_WU_GPIO_DATA_O (per MPC5200 User's
  Manual). Replace the uses of MPC5XXX_WU_GPIO_DATA with
  MPC5XXX_WU_GPIO_DATA_O for affected boards.

- Add defintions for some MPC5XXX GPIO pins.

18 years agoChanged MarelV38B board make target to lowercase. Config file cleanup.
Bartlomiej Sieka [Wed, 1 Nov 2006 00:34:29 +0000 (01:34 +0100)]
Changed MarelV38B board make target to lowercase. Config file cleanup.

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
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.