project/bcm63xx/u-boot.git
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Wed, 23 Jan 2008 13:19:45 +0000 (14:19 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc86xx
Wolfgang Denk [Wed, 23 Jan 2008 13:18:18 +0000 (14:18 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc86xx

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx
Wolfgang Denk [Wed, 23 Jan 2008 12:56:55 +0000 (13:56 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc85xx

16 years agompc83xx: Correct the struct spi8xxx in mpc8xxx_spi.h
Dave Liu [Fri, 18 Jan 2008 02:07:04 +0000 (10:07 +0800)]
mpc83xx: Correct the struct spi8xxx in mpc8xxx_spi.h

The commit 04a9e1180ac76a7bacc15a6fcd95ad839d65bddb
cause the 83xx immap broken, so the DMA and PCI will
be failed.

The patch fix the struct spi8xxx and rm struct spi83xx.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoMerge branch 'kumar'
Andy Fleming [Thu, 17 Jan 2008 21:52:38 +0000 (15:52 -0600)]
Merge branch 'kumar'

16 years agocodingstyle cleanup for spi driver
Kim Phillips [Thu, 17 Jan 2008 18:48:00 +0000 (12:48 -0600)]
codingstyle cleanup for spi driver

..and rm unused CONFIG_FSL_SPI define

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoFSL: Fix common EEPROM_data structure definition
Haiying Wang [Wed, 16 Jan 2008 22:12:12 +0000 (17:12 -0500)]
FSL: Fix common EEPROM_data structure definition

- Fix EEPROM_data structure definition according to System EEPROM Data Format.
- Read MAC addresses from EEPROM to ethXaddr before saving ethXaddr to
  bd->bi_ethaddr.

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
16 years ago86xx: enable command-line editing
Timur Tabi [Wed, 16 Jan 2008 21:48:12 +0000 (15:48 -0600)]
86xx: enable command-line editing

Enable command-line editing for all MPC86xx boards.

Signed-off-by: Timur Tabi <timur@freescale.com>
16 years agoImplement hard SPI driver on MPC8349EMDS
Ben Warren [Thu, 17 Jan 2008 03:37:42 +0000 (22:37 -0500)]
Implement hard SPI driver on MPC8349EMDS

This patch implements the fsl_spi driver on the MPC8349EMDS evaluation board.
This board has an ST M25P40 4Mbit EEPROM on its SPI bus

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoAdd support for a Freescale non-CPM SPI controller
Ben Warren [Thu, 17 Jan 2008 03:37:35 +0000 (22:37 -0500)]
Add support for a Freescale non-CPM SPI controller

This patch adds support for the SPI controller found on Freescale PowerPC
processors such as the MCP834x family.  Additionally, a new config option,
CONFIG_HARD_SPI, is added for general purpose SPI controller use.

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Fix the fatal conflict of merge
Dave Liu [Thu, 17 Jan 2008 10:23:19 +0000 (18:23 +0800)]
mpc83xx: Fix the fatal conflict of merge

The commit 9e89647889cd4b5ada5b5e7cad6cbe55737a08d7
will cause the mpc8315erdb board can't boot up.

The patch fix that bug, and remove the duplicated #ifdef
CFG_SPCR_TSECEP code and clean the SCCR_TSEC2 for
MPC8313E processor.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoMerge branch 'master' of /home/stefan/git/u-boot/u-boot
Stefan Roese [Thu, 17 Jan 2008 15:04:12 +0000 (16:04 +0100)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot

16 years agoMerge Sequoia beautification into Korat code
Larry Johnson [Thu, 17 Jan 2008 13:50:09 +0000 (08:50 -0500)]
Merge Sequoia beautification into Korat code

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agoppc4xx: Fix compilation warnings and coding style issues in HCU4/HCU5
Stefan Roese [Thu, 17 Jan 2008 13:29:04 +0000 (14:29 +0100)]
ppc4xx: Fix compilation warnings and coding style issues in HCU4/HCU5

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Netstal HCU4 board: added various fixes and POST
Niklaus Giger [Wed, 16 Jan 2008 17:39:20 +0000 (18:39 +0100)]
ppc4xx: Netstal HCU4 board: added various fixes and POST

- Moved some common code to netstal/common/nm_bsp.c.
- sdram initialisation goes go netstal/common/fixed_sdram.c.
- Added support for POST.
- Stylistic cleanups (multi-line comments/ enforce 80 colomn width)

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: netstal/common define routines used by all boards
Niklaus Giger [Thu, 17 Jan 2008 11:53:56 +0000 (12:53 +0100)]
ppc4xx: netstal/common define routines used by all boards

Added some routines used by all Netstal boards:
- nm_bsp.c: - nm_show_print and
        -  common_misc_init_r
        - set_params_for_sw_install. Very specific code to handle our SW
          installation procedure
- fixed_sdram.c: Common routines for HCU4 (and upcoming) MCU25 boards
  to handle sdram initialization.
- nm.h: Common header

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Netstal HCU5 board: added various fixes and POST
Niklaus Giger [Wed, 16 Jan 2008 17:39:18 +0000 (18:39 +0100)]
ppc4xx: Netstal HCU5 board: added various fixes and POST

- Moved some common code to nestal/common/nm_bsp.c.
- Added support for the vxWorks EDR.
- Enable trace for Lauterbach, if present.
- Added support for POST.
- Stylistic cleanups (multi-line comments/ enforce 80 colomn width)

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Netstal HCU5 board. Added POST. Various fixes
Niklaus Giger [Wed, 16 Jan 2008 17:39:08 +0000 (18:39 +0100)]
ppc4xx: Netstal HCU5 board. Added POST. Various fixes

- Various fixes
- Reduced rom_size from 384 to 320 kB
- Environment is now in flash
- Added POST
- Support for OF

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Netstal HCU4 board. Added POST. Various fixes
Niklaus Giger [Wed, 16 Jan 2008 17:37:50 +0000 (18:37 +0100)]
ppc4xx: Netstal HCU4 board. Added POST. Various fixes

- Various fixes
- Reduced rom_size from 384 to 320 kB
- Environment is now in flash
- Added POST
- Support for OF

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Complete DU440 board support
Matthias Fuchs [Thu, 17 Jan 2008 09:53:08 +0000 (10:53 +0100)]
ppc4xx: Complete DU440 board support

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
16 years agoppc4xx: Add DU440 board support
Matthias Fuchs [Thu, 17 Jan 2008 09:52:30 +0000 (10:52 +0100)]
ppc4xx: Add DU440 board support

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
16 years agoMerge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Thu, 17 Jan 2008 08:35:26 +0000 (09:35 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master

16 years agoSet ips dividor to 1/4 of csb clock.
Grzegorz Bernacki [Wed, 16 Jan 2008 14:12:47 +0000 (15:12 +0100)]
Set ips dividor to 1/4 of csb clock.

Previous setting cause ips clock to be out of spec. This bug was found by John
Rigby from Freescale.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
16 years ago85xx: Get ride of old TLB setup code
Kumar Gala [Thu, 17 Jan 2008 08:19:18 +0000 (02:19 -0600)]
85xx: Get ride of old TLB setup code

Now that all boards have been converted, remove old config code and the
config option for the new style.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Convert TQM85xx to new TLB setup
Kumar Gala [Thu, 17 Jan 2008 08:02:10 +0000 (02:02 -0600)]
85xx: Convert TQM85xx to new TLB setup

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Convert STXGP3 & STXSSA to new TLB setup
Kumar Gala [Thu, 17 Jan 2008 07:56:32 +0000 (01:56 -0600)]
85xx: Convert STXGP3 & STXSSA to new TLB setup

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Convert SBC8540/SBC8560/SBC8548 to new TLB setup
Kumar Gala [Thu, 17 Jan 2008 07:44:34 +0000 (01:44 -0600)]
85xx: Convert SBC8540/SBC8560/SBC8548 to new TLB setup

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Convert PM854/PM856 to new TLB setup
Kumar Gala [Thu, 17 Jan 2008 07:31:34 +0000 (01:31 -0600)]
85xx: Convert PM854/PM856 to new TLB setup

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Convert MPC8540EVAL to new TLB setup
Kumar Gala [Thu, 17 Jan 2008 07:25:33 +0000 (01:25 -0600)]
85xx: Convert MPC8540EVAL to new TLB setup

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Convert MPC8568 MDS to new TLB setup
Kumar Gala [Thu, 17 Jan 2008 07:12:22 +0000 (01:12 -0600)]
85xx: Convert MPC8568 MDS to new TLB setup

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Convert MPC8541/MPC8555/MPC8548 CDS to new TLB setup
Kumar Gala [Thu, 17 Jan 2008 07:01:09 +0000 (01:01 -0600)]
85xx: Convert MPC8541/MPC8555/MPC8548 CDS to new TLB setup

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Convert MPC8540/MPC8560 ADS to new TLB setup
Kumar Gala [Thu, 17 Jan 2008 06:52:29 +0000 (00:52 -0600)]
85xx: Convert MPC8540/MPC8560 ADS to new TLB setup

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Convert ATUM8548 to new TLB setup
Kumar Gala [Thu, 17 Jan 2008 06:32:17 +0000 (00:32 -0600)]
85xx: Convert ATUM8548 to new TLB setup

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Convert MPC8544 DS to new TLB setup
Kumar Gala [Thu, 17 Jan 2008 05:11:57 +0000 (23:11 -0600)]
85xx: Convert MPC8544 DS to new TLB setup

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Reworked initial processor init
Kumar Gala [Thu, 17 Jan 2008 04:38:34 +0000 (22:38 -0600)]
85xx: Reworked initial processor init

Reworked the initial processor initialzation sequence:
* introduced cpu_early_init_f that is run in address space 1 (AS=1)
* Moved TLB/LAW and CCSR init into cpu_early_init_f()
* Reworked initial asm code to do most of the core init before TLBs

The main reasons for these changes are to allow handling of 36-bit phys
addresses in the future and some of the issues that will exist when we
do that.

There are a few caveats on what can be initialized via the LAW and TLB
static tables:
* TLB entry 14/15 can't be initialized via the TLB table
* any LAW that covers the implicit boot window (4G-8M to 4G) must map to
  the code that is currently executing.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Introduce new tlb API
Kumar Gala [Thu, 17 Jan 2008 04:33:22 +0000 (22:33 -0600)]
85xx: Introduce new tlb API

Add a set of functions to manipulate TLB entries:
 * set_tlb() - write a tlb entry
 * invalidate_tlb() - invalidate a tlb array
 * disable_tlb() - disable a variable size tlb entry
 * init_tlbs() - setup initial tlbs based on static table

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoppc4xx: Fix remaining CONFIG_COMMANDS in 4xx files
Stefan Roese [Thu, 17 Jan 2008 06:50:17 +0000 (07:50 +0100)]
ppc4xx: Fix remaining CONFIG_COMMANDS in 4xx files

Signed-off-by: Stefan Roese <sr@denx.de>
16 years ago85xx: Use proper defines for PCI addresses
Kumar Gala [Wed, 16 Jan 2008 16:04:42 +0000 (10:04 -0600)]
85xx: Use proper defines for PCI addresses

We should be using the _MEM_PHYS for LAW and TLB setup and not _MEM_BASE.
While _MEM_BASE & _MEM_PHYS are normally the same, _MEM_BASE should only
be used for configuring the PCI ATMU.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Remove old style of LAW init
Kumar Gala [Wed, 16 Jan 2008 15:22:29 +0000 (09:22 -0600)]
85xx: Remove old style of LAW init

All boards are now using the new fsl_law code so we can drop the old version.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: convert remaining 85xx boards over to use new LAW init code
Kumar Gala [Wed, 16 Jan 2008 15:15:29 +0000 (09:15 -0600)]
85xx: convert remaining 85xx boards over to use new LAW init code

Converted ATUM8548, MPC8568 MDS, MPC8540 EVAL, and TQM85xx boards over
to use new LAW init code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: convert STXGP3/STXSSA over to use new LAW init code
Kumar Gala [Wed, 16 Jan 2008 15:11:53 +0000 (09:11 -0600)]
85xx: convert STXGP3/STXSSA over to use new LAW init code

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: convert PM854/PM856 over to use new LAW init code
Kumar Gala [Wed, 16 Jan 2008 15:06:48 +0000 (09:06 -0600)]
85xx: convert PM854/PM856 over to use new LAW init code

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: convert SBC8540/SBC8560/SBC8548 over to use new LAW init code
Kumar Gala [Wed, 16 Jan 2008 15:05:27 +0000 (09:05 -0600)]
85xx: convert SBC8540/SBC8560/SBC8548 over to use new LAW init code

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: convert MPC8541/MPC8555/MPC8548 CDS over to use new LAW init code
Kumar Gala [Wed, 16 Jan 2008 07:45:10 +0000 (01:45 -0600)]
85xx: convert MPC8541/MPC8555/MPC8548 CDS over to use new LAW init code

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: convert MPC8540/MPC8560 ADS over to use new LAW init code
Kumar Gala [Wed, 16 Jan 2008 07:32:06 +0000 (01:32 -0600)]
85xx: convert MPC8540/MPC8560 ADS over to use new LAW init code

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: convert MPC8544 DS over to use new LAW init code
Kumar Gala [Wed, 16 Jan 2008 07:16:16 +0000 (01:16 -0600)]
85xx: convert MPC8544 DS over to use new LAW init code

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Move LAW init code into C
Kumar Gala [Wed, 16 Jan 2008 07:13:58 +0000 (01:13 -0600)]
85xx: Move LAW init code into C

Move the initialization of the LAWs into C code and provide an API
to allow modification of LAWs after init.

Board code is responsible to provide a law_table and num_law_entries.

We should be able to use the same code on 86xx as well.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-sh
Wolfgang Denk [Wed, 16 Jan 2008 21:11:08 +0000 (22:11 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-sh

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc86xx
Wolfgang Denk [Wed, 16 Jan 2008 21:06:51 +0000 (22:06 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc86xx

16 years agoAdd support for the MPC837xERDB
Kim Phillips [Wed, 16 Jan 2008 06:38:05 +0000 (00:38 -0600)]
Add support for the MPC837xERDB

MPC837xERDB board support includes:
* DDR2 330MHz hardcoded (soldered on the board)
* Local Bus NOR Flash
* I2C, UART and RTC
* eTSEC RGMII (TSEC0 - RTL8211B with MII;
*        TSEC1 - VSC7385 local bus, hardcoded, requires seperate firmware
*        load)

Signed-off-by: Kevin Lam <kevin.lam@freescale.com>
Signed-off-by: Joe D'Abbraccio <joe.d'abbraccio@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: add support for more system clock performance controls
Kim Phillips [Wed, 16 Jan 2008 18:06:16 +0000 (12:06 -0600)]
mpc83xx: add support for more system clock performance controls

System registers that are modified are the Arbiter Configuration
Register (ACR), the System Priority Control Register (SPCR), and the
System Clock Configuration Register (SCCR).

Signed-off by: Michael F. Reiss <Michael.F.Reiss@freescale.com>
Signed-off by: Joe D'Abbraccio <ljd015@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoFSL: Generalize PIXIS reset command parsing.
James Yang [Wed, 16 Jan 2008 17:58:08 +0000 (11:58 -0600)]
FSL: Generalize PIXIS reset command parsing.

Before, the order of arguments to the pixis_reset
command needed to be supplied in a hard-coded order.
Generalize the command parsing to allow any order.

Signed-off-by: James Yang <james.yang@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
16 years agoFSL: Convert board/freescale/common/Makefile to use CONFIG_
Jon Loeliger [Tue, 15 Jan 2008 19:42:41 +0000 (13:42 -0600)]
FSL: Convert board/freescale/common/Makefile to use CONFIG_

Convert the board/freescale/common/Makefile to use
CONFIG_* options to select which files to conditionally
compile into the board/freescale/common library rather
than conditionally compiling entire files.

Now handles::
    CONFIG_FSL_PIXIS
    CONFIG_FSL_DIU_FB
    CONFIG_PQ_MDS_PIB

CONFIG_ID_EEPROM is introduced until CFG_ID_EEPROM is gone.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoUse CONFIG_ULI526X as MPC8610HPCD default Ethernet driver
Roy Zang [Tue, 15 Jan 2008 08:38:38 +0000 (16:38 +0800)]
Use CONFIG_ULI526X as MPC8610HPCD default Ethernet driver

Use driver/net/uli526x.c as MPC8610HPCD default Ethernet driver.
Remove unused ethernet CONFIG_ options.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
16 years agompc83xx: fix QE ETHPRIMEs to correct 'FSL UEC0' value
Kim Phillips [Tue, 15 Jan 2008 20:05:14 +0000 (14:05 -0600)]
mpc83xx: fix QE ETHPRIMEs to correct 'FSL UEC0' value

continuation of commit b96c83d4ae475a70ef2635cd0e748174c44c8601

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: clean up mpc8360emds.c warnings
Kim Phillips [Tue, 15 Jan 2008 15:51:12 +0000 (09:51 -0600)]
mpc83xx: clean up mpc8360emds.c warnings

mpc8360emds.c: In function 'ft_board_setup':
mpc8360emds.c:327: warning: assignment makes pointer from integer without a cast
mpc8360emds.c:329: warning: passing argument 2 of 'fdt_getprop' makes integer from pointer without a cast
mpc8360emds.c:334: warning: passing argument 2 of 'fdt_setprop' makes integer from pointer without a cast
mpc8360emds.c:341: warning: assignment makes pointer from integer without a cast
mpc8360emds.c:343: warning: passing argument 2 of 'fdt_getprop' makes integer from pointer without a cast
mpc8360emds.c:348: warning: passing argument 2 of 'fdt_setprop' makes integer from pointer without a cast

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: fix phy-connection-type fixup code
Kim Phillips [Mon, 14 Jan 2008 22:14:46 +0000 (16:14 -0600)]
mpc83xx: fix phy-connection-type fixup code

use tree passed to us in local blob, not global fdt.

Also use fdt_path_offset to convert to relative offset, since absolute
reference is needed to check for rgmii-id mode string value.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: fix mpc8313/mpc8315/mpc8349itx Makefiles for silent build (with -s)
Kumar Gala [Mon, 14 Jan 2008 15:01:40 +0000 (09:01 -0600)]
mpc83xx: fix mpc8313/mpc8315/mpc8349itx Makefiles for silent build (with -s)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoChanges in uboot DDR configuration for MPC8313eRDB
Poonam Aggrwal [Mon, 14 Jan 2008 04:11:14 +0000 (09:41 +0530)]
Changes in uboot DDR configuration for MPC8313eRDB

These changes were identified by HighSmith Bill ,Mazzyar and Joseph for
DDR configuration in u-boot code. Some are related to performance, some
affect stability and some correct few basic errors in the current
configuration.

The changes have been tested and found to give better memory latency
figures on MPC8313eRDB.LMBench figures prove it.

The changes are:

- CS0_CONFIG[ AP_n_EN] is changed from 1 to 0
  (this may improve performance for application with many read
  or write to open pages).
- CS0_CONFIG[ODT_WR_CFG] is currently changed from 100 to
  001 (activating all the CS when only one is used may cause
  unwanted noise on the system)

- TIMING_CFG_1[ACTTOPRE] is changed from 9clks to 8clks (based on
  Tras=45ns)
- TIMING_CFG_1[REFREC] changed from 21 clks to 18clks.

- TIMING_CFG_2[AL] value changed from 0 setting to 1 clk to
  comply with the 3 ODT clk requirements)
- TIMING_CFG_2[CPO] was set to a reserved value, changed to RL+3/4.
- TIMING_CFG_2[FOUR_ACT] is changed from 10 clks to 6clks.

- DDR_SDRAM_MODE[AL]changed from 0 to 1.
- DDR_SDRAM_MODE[WRREC] changed from 1 clk to 3 clks.

- DDR_SDRAM_INTERVAL[REFINT] is changed from 0x0320 to 0x0510.
- DDR_SDRAM_INTERVAL[BSTOPRE] is changed from 0x64 to 0x0500.

The patch is based of git://www.denx.de/git/u-boot-mpc83xx.git
The last commit on this tree was 6775c68683a53c7abc778774641aac6f833a2cbf

Signed-off-by: Poonam Aggrwal-b10812 <b10812@freescale.com>
Cc: Bill HighSmith <Bill.Highsmith@freescale.com>
Cc: Razzaz Mazyar <MRazzaz@freescale.com>
Cc: Josep P J <PJ.Joseph@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoEnable the isdram command on the MPC8360EMDS board
Jerry Van Baren [Sat, 12 Jan 2008 18:24:14 +0000 (13:24 -0500)]
Enable the isdram command on the MPC8360EMDS board

The isdram command prints out decoded information the "serial presence
detect" (SPD) chip on the SDRAM SIMMs.  This can be very helpful when
debugging memory configuration problems.

Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Add the support for MPC8315ERDB board
Dave Liu [Fri, 11 Jan 2008 10:48:24 +0000 (18:48 +0800)]
mpc83xx: Add the support for MPC8315ERDB board

The features list:
- Boot from NOR Flash
- DDR2 266MHz hardcoded configuration
- Local bus NOR Flash R/W operation
- I2C, UART, MII and RTC
- eTSEC0/1 support
- PCI host

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Add config of eTSEC emergency priority in SPCR
Dave Liu [Fri, 11 Jan 2008 10:46:50 +0000 (18:46 +0800)]
mpc83xx: Add config of eTSEC emergency priority in SPCR

The TSEC emergency priority definition of 831x/837x
is different than the definition of 834x in SPCR register.

Add the other config of TSEC emergency priority into
cpu_init.c

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Remove cache config from MPC8360ERDK.h
Dave Liu [Fri, 11 Jan 2008 10:42:19 +0000 (18:42 +0800)]
mpc83xx: Remove cache config from MPC8360ERDK.h

The MPC8360ERDK board support patch is added before
the commit 2c5b48fc205c3e2752910da8f39209ed075929e5
so, miss clean up it.

The patch clean up the miss cache config.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agonand: FSL UPM NAND driver
Anton Vorontsov [Mon, 14 Jan 2008 20:09:32 +0000 (23:09 +0300)]
nand: FSL UPM NAND driver

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
16 years agoOneNAND: Separate U-Boot dependent code from OneNAND
Kyungmin Park [Mon, 14 Jan 2008 23:59:44 +0000 (08:59 +0900)]
OneNAND: Separate U-Boot dependent code from OneNAND

OneNAND: Separate U-Boot dependent code from OneNAND

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
16 years agoppc4xx: Sequoia coding style cleanup and beautification
Matthias Fuchs [Wed, 16 Jan 2008 09:33:46 +0000 (10:33 +0100)]
ppc4xx: Sequoia coding style cleanup and beautification

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
16 years agoppc4xx: Refactor ECC POST for AMCC Denali core
Larry Johnson [Tue, 15 Jan 2008 19:35:58 +0000 (14:35 -0500)]
ppc4xx: Refactor ECC POST for AMCC Denali core

The ECC POST reported intermittent failures running after power-up on
the Korat PPC440EPx board.  Even when the test passed, the debugging
output occasionally reported additional unexpected ECC errors.

This refactoring has three main objectives: (1) minimize the code
executed with ECC enabled during the tests, (2) add more checking of the
results so any unexpected ECC errors would cause the test to fail, and
(3) use synchronization (only) where required by the processor.

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agoMerge branch 'master' of /home/stefan/git/u-boot/u-boot
Stefan Roese [Wed, 16 Jan 2008 10:22:30 +0000 (11:22 +0100)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot

16 years agoLWMON5: enable hush shell as command line parser
Wolfgang Denk [Tue, 15 Jan 2008 23:01:01 +0000 (00:01 +0100)]
LWMON5: enable hush shell as command line parser

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: disable watchdog; enable image timestamps
Wolfgang Denk [Tue, 15 Jan 2008 16:22:28 +0000 (17:22 +0100)]
ADS5121: disable watchdog; enable image timestamps

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoTK885D: fixes for bigger flash sector sizes on new modules;
Wolfgang Denk [Tue, 15 Jan 2008 16:21:28 +0000 (17:21 +0100)]
TK885D: fixes for bigger flash sector sizes on new modules;
adjust default environment;
disable SCC ethernet (not used on this board).

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agopcmcia: Remove CONFIG_COMMANDS from marubun pcmcia driver
Nobuhiro Iwamatsu [Tue, 15 Jan 2008 08:48:13 +0000 (17:48 +0900)]
pcmcia: Remove CONFIG_COMMANDS from marubun pcmcia driver

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agosh: Add support SH7710/SH7712
Nobuhiro Iwamatsu [Tue, 15 Jan 2008 14:25:25 +0000 (23:25 +0900)]
sh: Add support SH7710/SH7712

SH7710/SH7712 of SH3 CPU are supported.
SH771X is called SH-Ether, and has the Ether controller in CPU.
The driver of Ether is not included in this patch.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agosh: Add support of map_physmem() and unmap_physmem() to SuperH
Nobuhiro Iwamatsu [Tue, 15 Jan 2008 14:06:17 +0000 (23:06 +0900)]
sh: Add support of map_physmem() and unmap_physmem() to SuperH

This patch add the support of map_physmem() and unmap_physmem()
used with Common Flash Interface(CFI) driver.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agosh: Add maintainer of MS7720SE to the MAINTAINER file
Nobuhiro Iwamatsu [Wed, 9 Jan 2008 05:42:27 +0000 (14:42 +0900)]
sh: Add maintainer of MS7720SE to the MAINTAINER file

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agosh: Fix board name in MS7720SE's config.mk
Nobuhiro Iwamatsu [Wed, 9 Jan 2008 05:39:58 +0000 (14:39 +0900)]
sh: Fix board name in MS7720SE's config.mk

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agosh: Add MS7720SE to MAKEALL
Nobuhiro Iwamatsu [Wed, 9 Jan 2008 05:37:36 +0000 (14:37 +0900)]
sh: Add MS7720SE to MAKEALL

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agosh: Add support for MS7720RP02 board
Yoshihiro Shimoda [Mon, 3 Dec 2007 13:58:50 +0000 (22:58 +0900)]
sh: Add support for MS7720RP02 board

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agosh: Add support for SH7720 in serial_sh driver.
Yoshihiro Shimoda [Wed, 9 Jan 2008 05:30:02 +0000 (14:30 +0900)]
sh: Add support for SH7720 in serial_sh driver.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agosh: Add support SH3 and SH7720
Yoshihiro Shimoda [Mon, 3 Dec 2007 13:58:45 +0000 (22:58 +0900)]
sh: Add support SH3 and SH7720

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agoppc4xx: Remove compiler warning in cpu/ppc4xx/44x_spd_ddr2.c
Stefan Roese [Tue, 15 Jan 2008 09:11:02 +0000 (10:11 +0100)]
ppc4xx: Remove compiler warning in cpu/ppc4xx/44x_spd_ddr2.c

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc_4xx: Fix post spr.c for PPC405
Niklaus Giger [Mon, 14 Jan 2008 13:04:42 +0000 (14:04 +0100)]
ppc_4xx: Fix post spr.c for PPC405

post/cpu/ppc4xx/spr.c contained a few checks for registers only present
for PPC440 and derivates processor.

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Mon, 14 Jan 2008 09:48:28 +0000 (10:48 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx

16 years agoQE: fix compile warning
Dave Liu [Mon, 14 Jan 2008 03:12:01 +0000 (11:12 +0800)]
QE: fix compile warning

qe.c: In function 'qe_upload_firmware':
qe.c:390: warning: pointer targets in passing argument 2
uec.c: In function 'uec_initialize':
uec.c:1236: warning: 'uec_info' may be used uninitialized

Signed-off-by: Dave Liu <daveliu@freescale.com>
16 years agoppc4xx: Update Kilauea CPLD configuration with USB PHY reset bit
Stefan Roese [Mon, 14 Jan 2008 09:05:05 +0000 (10:05 +0100)]
ppc4xx: Update Kilauea CPLD configuration with USB PHY reset bit

Now that bit 29 is the USB PHY reset bit, update the Kilauea port
to remove the USB PHY reset after powerup. The CPLD will keep the
USB PHY in reset (active low) until the bit is set to 1 in
board_early_init_f().

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoARM: update mach-types.h from 2.6.24-rc7 Linux kernel tree
Wolfgang Denk [Sun, 13 Jan 2008 22:26:45 +0000 (23:26 +0100)]
ARM: update mach-types.h from 2.6.24-rc7 Linux kernel tree

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: Fix typo in ads5121.c, adjust default environment
Wolfgang Denk [Sun, 13 Jan 2008 22:37:50 +0000 (23:37 +0100)]
ADS5121: Fix typo in ads5121.c, adjust default environment

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: MAX slew rate for PATA pins
John Rigby [Sat, 25 Aug 2007 00:18:43 +0000 (18:18 -0600)]
ADS5121: MAX slew rate for PATA pins

Signed-off-by: John Rigby <jrigby@freescale.com>
16 years agoFix Makefile dependency problem with parallel builds.
Wolfgang Denk [Sun, 13 Jan 2008 20:05:52 +0000 (21:05 +0100)]
Fix Makefile dependency problem with parallel builds.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMPC8544DS: fix board Makefile for silent build (with -s)
Wolfgang Denk [Sun, 13 Jan 2008 18:51:39 +0000 (19:51 +0100)]
MPC8544DS: fix board Makefile for silent build (with -s)

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoPMC440 board: fix board Makefile for out-of-tree building
Wolfgang Denk [Sun, 13 Jan 2008 15:44:08 +0000 (16:44 +0100)]
PMC440 board: fix board Makefile for out-of-tree building

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMakalu: fix compile warning
Wolfgang Denk [Sun, 13 Jan 2008 15:07:44 +0000 (16:07 +0100)]
Makalu: fix compile warning

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Sun, 13 Jan 2008 14:59:21 +0000 (15:59 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master

16 years agocmd_nand : fix compiler warning.
Jean-Christophe PLAGNIOL-VILLARD [Sun, 13 Jan 2008 11:36:12 +0000 (12:36 +0100)]
cmd_nand : fix compiler warning.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoCFI: Fix CONFIG_FLASH_CFI_LEGACY compilation
Michael Schwingen [Sat, 12 Jan 2008 19:29:47 +0000 (20:29 +0100)]
CFI: Fix CONFIG_FLASH_CFI_LEGACY compilation

Signed-off-by: Michael Schwingen <michael@schwingen.org>
Acked-by: Stefan Roese <sr@denx.de>
16 years agoMerge branch 'master' of /home/stefan/git/u-boot/u-boot
Stefan Roese [Sun, 13 Jan 2008 14:04:37 +0000 (15:04 +0100)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot

16 years agoMPC8360ERDK: fix incorrect initialization of CFG_I2C_NOPROBES
Wolfgang Denk [Sun, 13 Jan 2008 01:19:44 +0000 (02:19 +0100)]
MPC8360ERDK: fix incorrect initialization of CFG_I2C_NOPROBES

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMPC8xx FEC driver: fix compiler warning.
Wolfgang Denk [Sun, 13 Jan 2008 01:19:13 +0000 (02:19 +0100)]
MPC8xx FEC driver: fix compiler warning.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoFix Makefile dependencies issues; allow silent build
Wolfgang Denk [Sat, 12 Jan 2008 23:59:21 +0000 (00:59 +0100)]
Fix Makefile dependencies issues; allow silent build

- get rid of "version" target whichdidn't really work
- make autoconf.mk depend on version_autogenerated.h to make sure
  to rebuild files as needed
- add XECHO macro to allow for silent build using "make -s"

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121e: fix compile warning
Wolfgang Denk [Sat, 12 Jan 2008 23:55:47 +0000 (00:55 +0100)]
ADS5121e: fix compile warning

Signed-off-by: Wolfgang Denk <wd@denx.de>