platform/kernel/u-boot.git
17 years agoMerge /home/roy/CVS/7448/Open_Source/u-boot.git.dev
roy zang [Mon, 4 Dec 2006 15:57:35 +0000 (23:57 +0800)]
Merge /home/roy/CVS/7448/Open_Source/u-boot.git.dev

17 years agoSlight code clean up.
roy zang [Mon, 4 Dec 2006 09:56:59 +0000 (17:56 +0800)]
Slight code clean up.
Add comments, delete duplicate define and remove spaces.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
17 years agoIntroduce PLL_CFG[0:4] table for processor 7448/7447A/7455/7457. The original
roy zang [Mon, 4 Dec 2006 09:54:21 +0000 (17:54 +0800)]
Introduce PLL_CFG[0:4] table for processor 7448/7447A/7455/7457. The original
multiplier table can not refect the real PLL clock behavior of these
processors. Please refer to the hardware specification for detailed
information of the corresponding processors.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
17 years agoRemove the static MAC address, ip address, server ip, netmask and
roy zang [Mon, 4 Dec 2006 06:46:23 +0000 (14:46 +0800)]
Remove the static MAC address, ip address, server ip, netmask and
gateway ip for network setting.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
17 years agoRemove the duplicate memory test code for mpc744ihpc2 board.
roy zang [Mon, 4 Dec 2006 06:33:08 +0000 (14:33 +0800)]
Remove the duplicate memory test code for mpc744ihpc2 board.
If a memory test is needed, please use the functions in
post/memory.c or memtest command.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
17 years agoFix the exception occuring in RAM table search issue.
roy zang [Fri, 1 Dec 2006 11:01:25 +0000 (19:01 +0800)]
Fix the exception occuring in RAM table search issue.
The original search_one_table() function code can only processes the search
for the exception occurring in FLASH/ROM, because the exception and fixup
table usually locate in FLASH. If the exception address is also in
FLASH, it will be OK.
If the exception occurs in RAM, after the u-boot relocation, a
relocation offset should be added.

clean up the code in cpu/74xx_7xx/cpu.c

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
17 years agoFix the confilcts when merging 'master' into hpc2.
roy zang [Fri, 1 Dec 2006 04:09:33 +0000 (12:09 +0800)]
Fix the confilcts when merging 'master' into hpc2.
The conflicts due to a new mpc7448 p3m7448 board is in the main tree.

Merge branch 'master' into hpc2

Conflicts:

MAKEALL
cpu/74xx_7xx/cpu.c
cpu/74xx_7xx/cpu_init.c
cpu/74xx_7xx/speed.c

17 years agoClean up the code according to codestyle:
roy zang [Fri, 1 Dec 2006 03:47:36 +0000 (11:47 +0800)]
Clean up the code according to codestyle:
(1) remove some C++ comments.
(2) remove trailing white space.
(3) remove trailing empty line.
(4) Indentation by table.
(5) remove {} in one line condition.
(6) add space before '(' in function call.
Remove some weird printf () output.
Add necessary comments.
Modified Makefile to support building in a separate directory.

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 agoSolve the copyright conflicts when merging 'master' into hpc2.
roy zang [Wed, 29 Nov 2006 01:45:03 +0000 (09:45 +0800)]
Solve the copyright conflicts when merging 'master' into hpc2.
Merge branch 'master' into hpc2

Conflicts:

drivers/cfi_flash.c

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.

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

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

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

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

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

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

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

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

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

17 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

17 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

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

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

17 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>
17 years agoMerge /home/roy/CVS/7448/Open_Source/u-boot.git.dev
roy zang [Fri, 3 Nov 2006 05:40:18 +0000 (13:40 +0800)]
Merge /home/roy/CVS/7448/Open_Source/u-boot.git.dev

17 years agoMerge /home/roy/CVS/7448/Open_Source/u-boot.git.dev
roy zang [Fri, 3 Nov 2006 05:40:03 +0000 (13:40 +0800)]
Merge /home/roy/CVS/7448/Open_Source/u-boot.git.dev

17 years agoMerge branch 'master' into hpc2
roy zang [Fri, 3 Nov 2006 05:15:31 +0000 (13:15 +0800)]
Merge branch 'master' into hpc2

17 years agoRemove some unused CFG define.
roy zang [Fri, 3 Nov 2006 05:10:00 +0000 (13:10 +0800)]
Remove some unused CFG define.
undef CFG_DRAM_TEST

17 years agoChange the TEXT_BASE from 0xFFF00000 to 0xFF000000.
roy zang [Fri, 3 Nov 2006 05:07:36 +0000 (13:07 +0800)]
Change the TEXT_BASE from 0xFFF00000 to 0xFF000000.
Both work. 0xFF000000 seems more reasonable.

17 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

17 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

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