oweals/u-boot.git
17 years agoFix cfi failure with Spansion Flash (Spansion Flash Devices have a different offset...
Stefano Babic [Mon, 11 Dec 2006 23:22:42 +0000 (00:22 +0100)]
Fix cfi failure with Spansion Flash (Spansion Flash Devices have a different offset to go into CFI mode)

17 years ago[PATCH] Fix sequoia flash autodetection (finally correct)
Stefan Roese [Fri, 22 Dec 2006 13:29:40 +0000 (14:29 +0100)]
[PATCH] Fix sequoia flash autodetection (finally correct)

Now 32MByte and 64MByte FLASH is know to work and other
configurations should work too.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMinor code cleanup; update CHANGELOG.
Wolfgang Denk [Fri, 22 Dec 2006 09:30:26 +0000 (10:30 +0100)]
Minor code cleanup; update CHANGELOG.

17 years agoFix to make the baudrate changes immediate for the MCF52x2 family.
Bartlomiej Sieka [Tue, 19 Dec 2006 23:29:43 +0000 (00:29 +0100)]
Fix to make the baudrate changes immediate for the MCF52x2 family.

17 years agoPreliminary support for the iDMR board (ColdFire).
Bartlomiej Sieka [Tue, 19 Dec 2006 23:27:32 +0000 (00:27 +0100)]
Preliminary support for the iDMR board (ColdFire).

17 years agoautomatic update mechanism
Andrei Safronov [Fri, 8 Dec 2006 15:23:08 +0000 (16:23 +0100)]
automatic update mechanism

18 years agoCode cleanup.
Wolfgang Denk [Thu, 30 Nov 2006 17:02:20 +0000 (18:02 +0100)]
Code cleanup.

18 years agoMerge with http://opensource.freescale.com/pub/scm/u-boot-83xx.git
Wolfgang Denk [Thu, 30 Nov 2006 01:01:32 +0000 (02:01 +0100)]
Merge ... opensource.freescale.com/u-boot-83xx.git

18 years agoCode cleanup. Update CHANGELOG.
Wolfgang Denk [Thu, 30 Nov 2006 00:54:07 +0000 (01:54 +0100)]
Code cleanup. Update CHANGELOG.

18 years ago[PATCH] [MPC52xx] Use IPB bus frequency for SOC peripherals
Grant Likely [Wed, 29 Nov 2006 15:23:42 +0000 (16:23 +0100)]
[PATCH] [MPC52xx] Use IPB bus frequency for SOC peripherals

The soc node of the mpc52xx needs to be loaded with the IPB bus frequency,
not the XLB frequency.

This patch depends on the previous patches for MPC52xx device tree support

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
18 years ago[PATCH] Add support for Prodrive P3M750 & P3M7448 (P3Mx) boards
Stefan Roese [Wed, 29 Nov 2006 14:42:37 +0000 (15:42 +0100)]
[PATCH] Add support for Prodrive P3M750 & P3M7448 (P3Mx) boards

This patch adds support for the Prodrive P3M750 (PPC750 & MV64460)
and the P3M7448 (MPC7448 & MV64460) PMC modules. Both modules are
quite similar and share the same board directory "prodrive/p3mx"
and the same config file "p3mx.h".

Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] common/cmd_elf.c: Enable loadaddr as parameter in bootvx command
Stefan Roese [Wed, 29 Nov 2006 11:53:15 +0000 (12:53 +0100)]
[PATCH] common/cmd_elf.c: Enable loadaddr as parameter in bootvx command

In the bootvx command the load address was only read from the env
variable "loadaddr" and not optionally passed as paramter as described
in the help. This is fixed with this patch. The behaviour is now the
same as in the bootelf command.

Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] include/ppc440.h minor error affecting interrupts
Stefan Roese [Wed, 29 Nov 2006 11:03:57 +0000 (12:03 +0100)]
[PATCH] include/ppc440.h minor error affecting interrupts

Fixed include/ppc440.c for UIC address Bug

Corrects bug affecting the addresses for the universal interrupt
controller UIC2 and UIC3 on the PPC440 Epx, GRx, and SPE chips.

Signed-off-by: Jeff Mann <mannj@embeddedplanet.com>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years agoMake fsl-i2c not conflict with SOFT I2C
Joakim Tjernlund [Tue, 28 Nov 2006 22:17:27 +0000 (16:17 -0600)]
Make fsl-i2c not conflict with SOFT I2C

Signed-off-by: Timur Tabi <timur@freescale.com>
18 years agoFix I2C master address initialization.
Joakim Tjernlund [Tue, 28 Nov 2006 22:17:18 +0000 (16:17 -0600)]
Fix I2C master address initialization.

Signed-off-by: Timur Tabi <timur@freescale.com>
18 years agoMerge http://www.denx.de/git/u-boot
Kim Phillips [Wed, 29 Nov 2006 05:35:49 +0000 (23:35 -0600)]
Merge http://www.denx.de/git/u-boot

18 years agoAssign maintainers for mpc8349emds and mpc8360emds
Kim Phillips [Wed, 29 Nov 2006 05:31:19 +0000 (23:31 -0600)]
Assign maintainers for mpc8349emds and mpc8360emds

Dave for mpc8360emds, and me for mpc8349emds.

18 years agoEliminate gcc 4 'used uninitialized' warnings in drivers/qe/uccf.c
Kim Phillips [Wed, 29 Nov 2006 05:28:33 +0000 (23:28 -0600)]
Eliminate gcc 4 'used uninitialized' warnings in drivers/qe/uccf.c

give initial values for reg_num, shift, p_cmxucr in ucc_set_clk_src
since they are passed by reference to ucc_get_cmxucr_reg and assigned.

18 years agompc83xx: Miscellaneous code style fixes
Timur Tabi [Tue, 28 Nov 2006 18:09:35 +0000 (12:09 -0600)]
mpc83xx: Miscellaneous code style fixes

Implement various code style fixes and similar changes.

Signed-off-by: Timur Tabi <timur@freescale.com>
18 years ago[PATCH] Enable the IceCube/lite5200 variants to pass a device tree to Linux.
Stefan Roese [Tue, 28 Nov 2006 16:55:49 +0000 (17:55 +0100)]
[PATCH] Enable the IceCube/lite5200 variants to pass a device tree to Linux.

This patch adds the code and configuration necessary to boot with an
arch/powerpc Linux kernel.

Signed-off-by: Grant Likely <grant.likely@gmail.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
18 years ago[PATCH] PPC4xx: 440SP Rev. C detection added
Stefan Roese [Tue, 28 Nov 2006 15:09:24 +0000 (16:09 +0100)]
[PATCH] PPC4xx: 440SP Rev. C detection added

Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] nand: Fix patch merge problem
Stefan Roese [Tue, 28 Nov 2006 10:04:45 +0000 (11:04 +0100)]
[PATCH] nand: Fix patch merge problem

Signed-off-by: Stefan Roese <sr@denx.de>
18 years agoMerge with /home/sr/git/u-boot/denx-alpr-merge-test
Wolfgang Denk [Mon, 27 Nov 2006 22:11:18 +0000 (23:11 +0100)]
Merge ... /home/sr/git/u-boot/denx-alpr-merge-test

18 years agoUpdate CHANGELOG
Wolfgang Denk [Mon, 27 Nov 2006 21:53:53 +0000 (22:53 +0100)]
Update CHANGELOG

18 years agoMerge with /home/sr/git/u-boot/4xx-enet
Wolfgang Denk [Mon, 27 Nov 2006 21:50:25 +0000 (22:50 +0100)]
Merge with /home/sr/git/u-boot/4xx-enet

18 years agoMerge with /home/sr/git/u-boot/nand-env
Wolfgang Denk [Mon, 27 Nov 2006 21:49:46 +0000 (22:49 +0100)]
Merge with /home/sr/git/u-boot/nand-env

18 years agoMerge with /home/sr/git/u-boot/nand-timeout
Wolfgang Denk [Mon, 27 Nov 2006 21:49:11 +0000 (22:49 +0100)]
Merge with /home/sr/git/u-boot/nand-timeout

18 years agoMerge with /home/sr/git/u-boot/denx-of
Wolfgang Denk [Mon, 27 Nov 2006 21:46:10 +0000 (22:46 +0100)]
Merge with /home/sr/git/u-boot/denx-of

18 years ago[PATCH] 4xx_enet.c: Correct the setting of zmiifer register
Stefan Roese [Mon, 27 Nov 2006 16:43:25 +0000 (17:43 +0100)]
[PATCH] 4xx_enet.c: Correct the setting of zmiifer register

Patch below corrects the setting of the zmiifer register, it was
overwritting the register rather than ORing the settings.

Signed-off-by: Neil Wilson <NWilson@airspan.com>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Select NAND embedded environment from board configuration
Stefan Roese [Mon, 27 Nov 2006 16:34:10 +0000 (17:34 +0100)]
[PATCH] Select NAND embedded environment from board configuration

The current NAND Bootloader setup forces the environment
variables to be in line with the bootloader. This change
enables the configuration to be made in the board include
file instead so that it can be individually enabled.

Signed-off-by: Nick Spence <nick.spence@freescale.com>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] nand_wait() timeout fixes
Stefan Roese [Mon, 27 Nov 2006 16:22:19 +0000 (17:22 +0100)]
[PATCH] nand_wait() timeout fixes

Two fixes for the nand_wait() function in
drivers/nand/nand_base.c:

1. Use correct timeouts. The original timeouts in Linux
source are 400ms and 20ms not 40s and 20s

2. Return correct error value in case of timeout. 0 is
interpreted as OK.

Signed-off-by: Rui Sousa <rui.sousa@laposte.net>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Allow CONFIG_OF_FLAT_TREE to boot a non-arch/powerpc kernel
Stefan Roese [Mon, 27 Nov 2006 16:04:06 +0000 (17:04 +0100)]
[PATCH] Allow CONFIG_OF_FLAT_TREE to boot a non-arch/powerpc kernel

This patch allows an arch/ppc kernel to be booted by just passing 1 or 2
arguments to bootm.  It removes the getenv("disable_of") test that used
to be used for this purpose.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Jon Loeliger <jdl@freescale.com>
18 years agoMinor code cleanup. Update CHANGELOG.
Wolfgang Denk [Mon, 27 Nov 2006 14:32:42 +0000 (15:32 +0100)]
Minor code cleanup. Update CHANGELOG.

18 years ago[PATCH] 4xx: Fix problem with board specific reset code (now for real)
Stefan Roese [Mon, 27 Nov 2006 13:52:04 +0000 (14:52 +0100)]
[PATCH] 4xx: Fix problem with board specific reset code (now for real)

Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] alpr: remove unused board specific flash driver
Stefan Roese [Mon, 27 Nov 2006 13:49:51 +0000 (14:49 +0100)]
[PATCH] alpr: remove unused board specific flash driver

Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] 4xx: Fix problem with board specific reset code
Stefan Roese [Mon, 27 Nov 2006 13:48:41 +0000 (14:48 +0100)]
[PATCH] 4xx: Fix problem with board specific reset code

Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Remove testing 4xx enet PHY setup
Stefan Roese [Mon, 27 Nov 2006 13:46:06 +0000 (14:46 +0100)]
[PATCH] Remove testing 4xx enet PHY setup

Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Update Prodrive ALPR board support (440GX)
Stefan Roese [Mon, 27 Nov 2006 13:12:17 +0000 (14:12 +0100)]
[PATCH] Update Prodrive ALPR board support (440GX)

Signed-off-by: Stefan Roese <sr@denx.de>
18 years agoMerge with /home/stefan/git/u-boot/denx
Stefan Roese [Mon, 27 Nov 2006 13:11:22 +0000 (14:11 +0100)]
Merge with /home/stefan/git/u-boot/denx

18 years agoMerge with /home/sr/git/u-boot/denx
Wolfgang Denk [Mon, 27 Nov 2006 12:55:31 +0000 (13:55 +0100)]
Merge with /home/sr/git/u-boot/denx

18 years agoUpdates for TQM5200 modules:
Wolfgang Denk [Thu, 23 Nov 2006 21:58:58 +0000 (22:58 +0100)]
Updates for TQM5200 modules:
- fix off-by-one error in board/tqm5200/cam5200_flash.c error message
- simplify "udate" definitions

18 years ago[PATCH] PPC4xx start.S: Fix for processor errata
Stefan Roese [Wed, 22 Nov 2006 12:20:50 +0000 (13:20 +0100)]
[PATCH] PPC4xx start.S: Fix for processor errata

Fixed cpu/ppc4xx/start.S for 440EPx Errata: further corrects PPC440EPx
errata 1.12: 440_33 by moving patch up in code.

Signed-off-by: Jeff Mann <mannj@embeddedplanet.com>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Update AMCC Sequoia config file to support 64MByte NOR FLASH
Stefan Roese [Mon, 20 Nov 2006 19:39:52 +0000 (20:39 +0100)]
[PATCH] Update AMCC Sequoia config file to support 64MByte NOR FLASH

Signed-off-by: Stefan Roese <sr@denx.de>
18 years agoUpdate CHANGELOG
Wolfgang Denk [Mon, 20 Nov 2006 09:28:30 +0000 (10:28 +0100)]
Update CHANGELOG

18 years agoMerge with /home/sr/git/u-boot/cfi-update
Wolfgang Denk [Mon, 20 Nov 2006 09:27:39 +0000 (10:27 +0100)]
Merge with /home/sr/git/u-boot/cfi-update

18 years ago[PATCH] CFI driver AMD Command Set Top boot geometry reversal, etc. [Updated]
Stefan Roese [Mon, 13 Nov 2006 12:55:24 +0000 (13:55 +0100)]
[PATCH] CFI driver AMD Command Set Top boot geometry reversal, etc. [Updated]

   * Adds support for AMD command set Top Boot flash geometry reversal
   * Adds support for reading JEDEC Manufacturer ID and Device ID
   * Adds support for displaying command set, manufacturer id and
     device ids (flinfo)
   * Makes flinfo output to be consistent when CFG_FLASH_EMPTY_INFO defined
   * Removes outdated change history (refer to git log instead)

Signed-off-by: Tolunay Orkun <listmember@orkun.us>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years agoUpdate CHANGELOG
Wolfgang Denk [Sun, 12 Nov 2006 20:13:23 +0000 (21:13 +0100)]
Update CHANGELOG

18 years agoMerge with /home/tur/proj/v38b/u-boot
Wolfgang Denk [Sun, 12 Nov 2006 20:12:52 +0000 (21:12 +0100)]
Merge with /home/tur/proj/v38b/u-boot

18 years agoDisable the watchdog in the default config for the V38B board.
Bartlomiej Sieka [Sat, 11 Nov 2006 21:48:22 +0000 (22:48 +0100)]
Disable the watchdog in the default config for the V38B board.

18 years agoChange the GPIO pin multiplexing configuration for V38B. The USB GPIO pin
Bartlomiej Sieka [Sat, 11 Nov 2006 21:43:00 +0000 (22:43 +0100)]
Change the GPIO pin multiplexing configuration for V38B. The USB GPIO pin
group is enabled for USB earlier (in cpu_init_f() instead of
usb_lowlevel_init()).

18 years agoMerge with /home/stefan/git/u-boot/denx
Stefan Roese [Fri, 10 Nov 2006 06:48:47 +0000 (07:48 +0100)]
Merge with /home/stefan/git/u-boot/denx

18 years agoSequential accesses to non-existent memory must be synchronized,
Wolfgang Denk [Mon, 6 Nov 2006 16:06:36 +0000 (17:06 +0100)]
Sequential accesses to non-existent memory must be synchronized,
at least on G2 cores.

This fixes get_ram_size() problems on MPC5200 Rev. B boards.

18 years agompc83xx: Update 83xx to use fsl_i2c.c
Timur Tabi [Sat, 4 Nov 2006 01:15:00 +0000 (19:15 -0600)]
mpc83xx: Update 83xx to use fsl_i2c.c

Update the 83xx tree to use I2C support in drivers/fsl_i2c.c.  Delete
cpu/mpc83xx/i2c.c, include/asm-ppc/i2c.h, and all references to those files.
Added multiple I2C bus support to fsl_i2c.c.

Signed-off-by: Timur Tabi <timur@freescale.com>
18 years agompc83xx: Replace CFG_IMMRBAR with CFG_IMMR
Timur Tabi [Fri, 3 Nov 2006 18:00:28 +0000 (12:00 -0600)]
mpc83xx: Replace CFG_IMMRBAR with CFG_IMMR

Replace all instances of CFG_IMMRBAR with CFG_IMMR, so that the 83xx
tree matches the other 8xxx trees.

Signed-off-by: Timur Tabi <timur@freescale.com>
18 years agompc83xx: Lindent and clean up cpu/mpc83xx/speed.c
Kim Phillips [Fri, 3 Nov 2006 01:47:11 +0000 (19:47 -0600)]
mpc83xx: Lindent and clean up cpu/mpc83xx/speed.c

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