platform/kernel/u-boot.git
17 years agoFix the cpu speed setup to work with all boards.
Markus Klotzbuecher [Tue, 9 Jan 2007 13:57:14 +0000 (14:57 +0100)]
Fix the cpu speed setup to work with all boards.

17 years agoSPC1920: add support for the FM18L08 Ramtron FRAM
Markus Klotzbuecher [Tue, 9 Jan 2007 13:57:13 +0000 (14:57 +0100)]
SPC1920: add support for the FM18L08 Ramtron FRAM

17 years agoSPC1920: update the HPI register addresses to work with the second
Markus Klotzbuecher [Tue, 9 Jan 2007 13:57:13 +0000 (14:57 +0100)]
SPC1920: update the HPI register addresses to work with the second
generation of hardware

17 years agoMiscellanious spc1920 related cleanups
Markus Klotzbuecher [Tue, 9 Jan 2007 13:57:13 +0000 (14:57 +0100)]
Miscellanious spc1920 related cleanups

17 years agoSPC1920 GO/NOGO led should be set to color red in U-Boot
Markus Klotzbuecher [Tue, 9 Jan 2007 13:57:12 +0000 (14:57 +0100)]
SPC1920 GO/NOGO led should be set to color red in U-Boot

17 years agoAdd support for the DS3231 RTC
Markus Klotzbuecher [Tue, 9 Jan 2007 13:57:12 +0000 (14:57 +0100)]
Add support for the DS3231 RTC

17 years agoSMC1 uses external CLK4 instead of BRG on spc1920
Markus Klotzbuecher [Tue, 9 Jan 2007 13:57:11 +0000 (14:57 +0100)]
SMC1 uses external CLK4 instead of BRG on spc1920

17 years agoUpdate the SPC1920 CMB PLD driver
Markus Klotzbuecher [Tue, 9 Jan 2007 13:57:10 +0000 (14:57 +0100)]
Update the SPC1920 CMB PLD driver

17 years agoAdd / enable I2C support on the spc1920 board
Markus Klotzbuecher [Tue, 9 Jan 2007 13:57:10 +0000 (14:57 +0100)]
Add / enable I2C support on the spc1920 board

17 years agoAdd support for the tms320671x host port interface (HPI)
Markus Klotzbuecher [Tue, 9 Jan 2007 13:57:10 +0000 (14:57 +0100)]
Add support for the tms320671x host port interface (HPI)

17 years agoPrepare for release 1.2.0
Wolfgang Denk [Sat, 6 Jan 2007 23:13:11 +0000 (00:13 +0100)]
Prepare for release 1.2.0

17 years ago[PATCH] 44x: Fix problem with DDR controller setup (refresh rate)
Stefan Roese [Sat, 6 Jan 2007 14:58:09 +0000 (15:58 +0100)]
[PATCH] 44x: Fix problem with DDR controller setup (refresh rate)

This patch fixes a problem with an incorrect setup for the refresh
timer of the 44x DDR controller in the file cpu/ppc4xx/sdram.c

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] Update ALPR board files
Stefan Roese [Sat, 6 Jan 2007 14:56:13 +0000 (15:56 +0100)]
[PATCH] Update ALPR board files

This update brings the ALPR board support to the newest version.
It also fixes a problem with the NAND driver.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] nand: Fix problem with oobsize calculation
Stefan Roese [Fri, 5 Jan 2007 10:46:05 +0000 (11:46 +0100)]
[PATCH] nand: Fix problem with oobsize calculation

Here the description from Brian Brelsford <Brian_Brelsford@dell.com>:

The Hynix part returns a 0x1d in the 4th ID byte. The Samsung part
returns a 0x15. In the code fragment below bits [1:0] determine the
page size, it is ANDed via "(extid & 0x3)" then shifted out. The
next field is also ANDed with 0x3. However this is a one bit field
as defined in the Hynix and Samsung parts in the 4th ID byte that
determins the oobsize, not a two bit field. It works on Samsung as
bits[3:2] are 01. However for the Hynix there is a 11 in these two
bits, so the oob size gets messed up.

I checked the correct linux code and the suggested fix from Brian is
also available in the linux nand mtd driver.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/stefan/git/u-boot/denx-merge-sr
Stefan Roese [Fri, 5 Jan 2007 09:40:50 +0000 (10:40 +0100)]
Merge with /home/stefan/git/u-boot/denx-merge-sr

17 years ago[PATCH] Clear PLB4A0_ACR[WRP] on Sequoia (440EPx)
Stefan Roese [Fri, 5 Jan 2007 09:40:36 +0000 (10:40 +0100)]
[PATCH] Clear PLB4A0_ACR[WRP] on Sequoia (440EPx)

This fix will make the MAL burst disabling patch for the Linux
EMAC driver obsolete.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] Add DDR2 optimization code for Sequoia (440EPx) board
Stefan Roese [Fri, 5 Jan 2007 09:38:05 +0000 (10:38 +0100)]
[PATCH] Add DDR2 optimization code for Sequoia (440EPx) board

This code will optimize the DDR2 controller setup on a board specific
basis.

Note: This code doesn't work right now on the NAND booting image for the
Sequoia board, since it doesn't fit into the 4kBytes for the SPL image.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/tur/proj/v38b/u-boot
Wolfgang Denk [Thu, 4 Jan 2007 01:05:51 +0000 (02:05 +0100)]
Merge with /home/tur/proj/v38b/u-boot

17 years agoFew V38B changes:
Bartlomiej Sieka [Thu, 28 Dec 2006 18:08:21 +0000 (19:08 +0100)]
Few V38B changes:
  - fix a typo in V38B config file
  - move watchdog initialisation earlier in the boot process
  - add "wdt=off" to default kernel command line (disables kernel watchdog)

17 years agoFix bug in adaption of Stefano Babic's CFI driver patch.
Wolfgang Denk [Wed, 27 Dec 2006 00:26:13 +0000 (01:26 +0100)]
Fix bug in adaption of Stefano Babic's CFI driver patch.

17 years agoMinor code cleanup.
Wolfgang Denk [Sun, 24 Dec 2006 00:42:57 +0000 (01:42 +0100)]
Minor code cleanup.

17 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Sun, 24 Dec 2006 00:33:32 +0000 (01:33 +0100)]
Merge with /home/wd/git/u-boot/master

17 years agoMerge with /home/hs/TQ/u-boot-dev
Wolfgang Denk [Sun, 24 Dec 2006 00:30:04 +0000 (01:30 +0100)]
Merge with /home/hs/TQ/u-boot-dev

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 agoAdded support for the TQM8272 board from TQ
Heiko Schocher [Thu, 21 Dec 2006 16:17:02 +0000 (17:17 +0100)]
Added support for the TQM8272 board from TQ

Signed-off-by: Heiko Schocher <hs@denx.de>
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

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

17 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

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

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

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

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

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

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

17 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

17 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

17 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

17 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

17 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>
17 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>
17 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>
17 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>
17 years agoMinor code cleanup. Update CHANGELOG.
Wolfgang Denk [Mon, 27 Nov 2006 14:32:42 +0000 (15:32 +0100)]
Minor code cleanup. Update CHANGELOG.

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

17 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

17 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

17 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>
17 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>
17 years agoUpdate CHANGELOG
Wolfgang Denk [Mon, 20 Nov 2006 09:28:30 +0000 (10:28 +0100)]
Update CHANGELOG

17 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

17 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>
17 years agoUpdate CHANGELOG
Wolfgang Denk [Sun, 12 Nov 2006 20:13:23 +0000 (21:13 +0100)]
Update CHANGELOG

17 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

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

17 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()).

17 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

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