]> git.dujemihanovic.xyz Git - u-boot.git/log
u-boot.git
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mips
Wolfgang Denk [Wed, 23 Jan 2008 13:37:52 +0000 (14:37 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-mips

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

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

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

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

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://www.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://www.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://www.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 'master' of git://www.denx.de/git/u-boot
Shinya Kuribayashi [Fri, 18 Jan 2008 13:48:06 +0000 (22:48 +0900)]
Merge branch 'master' of git://www.denx.de/git/u-boot

16 years agoAVR32: ATNGW100 board support
Haavard Skinnemoen [Sat, 14 Apr 2007 15:11:49 +0000 (17:11 +0200)]
AVR32: ATNGW100 board support

Add support for the ATNGW100 Network Gateway reference design,
including flash, ethernet and MMC support.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
16 years agoAVR32: Initialize ipaddr, loadaddr and bootfile at startup
Haavard Skinnemoen [Sat, 24 Nov 2007 17:15:31 +0000 (18:15 +0100)]
AVR32: Initialize ipaddr, loadaddr and bootfile at startup

I don't know why the relevant layers can't do this by itself, but this
is what ppc does.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
16 years agoMerge branch 'kumar'
Andy Fleming [Thu, 17 Jan 2008 21:52:38 +0000 (15:52 -0600)]
Merge branch 'kumar'

16 years agoColdFire: MCF547x_8x - Add M5475EVB and M5485EVB support
TsiChungLiew [Tue, 15 Jan 2008 20:15:46 +0000 (14:15 -0600)]
ColdFire: MCF547x_8x - Add M5475EVB and M5485EVB support

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: MCF547x_8x - Add M547xEVB and M548xEVB board
TsiChungLiew [Tue, 15 Jan 2008 20:02:49 +0000 (14:02 -0600)]
ColdFire: MCF547x_8x - Add M547xEVB and M548xEVB board

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add MCF547x_8x FEC driver
TsiChungLiew [Tue, 15 Jan 2008 20:00:25 +0000 (14:00 -0600)]
ColdFire: Add MCF547x_8x FEC driver

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add MCF547x_8x dma code and header files
TsiChungLiew [Tue, 15 Jan 2008 19:54:09 +0000 (13:54 -0600)]
ColdFire: Add MCF547x_8x dma code and header files

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add MCF547x_8x dma code - 2
TsiChungLiew [Tue, 15 Jan 2008 19:52:03 +0000 (13:52 -0600)]
ColdFire: Add MCF547x_8x dma code - 2

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add MCF547x_8x dma code - 1
TsiChungLiew [Tue, 15 Jan 2008 19:48:52 +0000 (13:48 -0600)]
ColdFire: Add MCF547x_8x dma code - 1

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add MCF547x_8x related header files
TsiChungLiew [Tue, 15 Jan 2008 19:39:44 +0000 (13:39 -0600)]
ColdFire: Add MCF547x_8x related header files

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add MCF547x_8x cpu arch
TsiChungLiew [Tue, 15 Jan 2008 19:37:34 +0000 (13:37 -0600)]
ColdFire: Add MCF547x_8x cpu arch

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add MCF5227x cpu and M52277EVB support-3
TsiChungLiew [Mon, 14 Jan 2008 23:47:23 +0000 (17:47 -0600)]
ColdFire: Add MCF5227x cpu and M52277EVB support-3

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add MCF5227x cpu and MCF52277EVB support-2
TsiChungLiew [Mon, 14 Jan 2008 23:46:19 +0000 (17:46 -0600)]
ColdFire: Add MCF5227x cpu and MCF52277EVB support-2

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add MCF5227x cpu and M52277EVB support-1
TsiChungLiew [Mon, 14 Jan 2008 23:43:33 +0000 (17:43 -0600)]
ColdFire: Add MCF5227x cpu and M52277EVB support-1

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Fix CFI Flash low level Read/Write macro
TsiChungLiew [Mon, 14 Jan 2008 23:35:44 +0000 (17:35 -0600)]
ColdFire: Fix CFI Flash low level Read/Write macro

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add M5373EVB platform support - 2
TsiChungLiew [Mon, 14 Jan 2008 23:23:08 +0000 (17:23 -0600)]
ColdFire: Add M5373EVB platform support - 2

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add M5373EVB platform support - 1
TsiChungLiew [Mon, 14 Jan 2008 23:19:54 +0000 (17:19 -0600)]
ColdFire: Add M5373EVB platform support - 1

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Update FlexBus CS for MCF532x
TsiChungLiew [Mon, 14 Jan 2008 23:17:03 +0000 (17:17 -0600)]
ColdFire: Update FlexBus CS for MCF532x

Definition update and change from 16bit to 32bit

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: PCI and misc updates for MCF5445x
TsiChungLiew [Mon, 14 Jan 2008 23:11:47 +0000 (17:11 -0600)]
ColdFire: PCI and misc updates for MCF5445x

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: MCF5445x header files cleanup
TsiChungLiew [Mon, 14 Jan 2008 23:06:55 +0000 (17:06 -0600)]
ColdFire: MCF5445x header files cleanup

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: MCF532x header files cleanup
TsiChungLiew [Mon, 14 Jan 2008 22:59:42 +0000 (16:59 -0600)]
ColdFire: MCF532x header files cleanup

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>

16 years agoColdFire: Add modules header files
TsiChungLiew [Mon, 14 Jan 2008 21:30:15 +0000 (15:30 -0600)]
ColdFire: Add modules header files

Add CF specific modules header files

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: John Rigby <jrigby@freescale.com>
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 agonet: add 'ethrotate' environment variable
Matthias Fuchs [Thu, 17 Jan 2008 06:45:05 +0000 (07:45 +0100)]
net: add 'ethrotate' environment variable

[PATCH] net: add 'ethrotate' environment variable

This patch replaces the buildtime configuration option
CONFIG_NET_DO_NOT_TRY_ANOTHER through the 'ethrotate' runtime
configuration veriable. See README.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
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 agosh: Remove CONFIG_COMMANDS from MS7720SE config file
Nobuhiro Iwamatsu [Thu, 17 Jan 2008 09:07:32 +0000 (18:07 +0900)]
sh: Remove CONFIG_COMMANDS from MS7720SE config file

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
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 agosh: Update SuperH SCIF driver
Nobuhiro Iwamatsu [Thu, 17 Jan 2008 06:53:52 +0000 (15:53 +0900)]
sh: Update SuperH SCIF driver

This patch fixed wrong SH7720 CPU macro and changed macro that
calculated value of SCBRR register.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
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 agoqemu-mips: active HUSH PARSER, AUTO_COMPLETE and CMDLINE_EDITING
Jean-Christophe PLAGNIOL-VILLARD [Sat, 22 Dec 2007 14:03:12 +0000 (15:03 +0100)]
qemu-mips: active HUSH PARSER, AUTO_COMPLETE and CMDLINE_EDITING

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoMIPS:Target support for qemu -M mips
Vlad Lungu [Wed, 16 Jan 2008 17:27:51 +0000 (19:27 +0200)]
MIPS:Target support for qemu -M mips

With serial, NE2000, IDE support. Tested in big-endian mode.
Memory size hard-coded to 128M for now, so don't play with
the -m option.

Signed-off-by: Vlad Lungu <vlad@comsys.ro>
16 years agoFix nfs command help to reflect that the serverip is optional
Jean-Christophe PLAGNIOL-VILLARD [Thu, 10 Jan 2008 23:01:37 +0000 (00:01 +0100)]
Fix nfs command help to reflect that the serverip is optional

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agobf537-stamp: remove already defined is_zero_ether_addr and is_multicast_ether_addr
Jean-Christophe PLAGNIOL-VILLARD [Mon, 10 Dec 2007 21:32:14 +0000 (22:32 +0100)]
bf537-stamp: remove already defined is_zero_ether_addr and is_multicast_ether_addr

and move is_valid_ether_addr board file

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agodrivers/net/rtl8139.c: rx_status should be le32_to_cpu(rx_status).
Shinya Kuribayashi [Wed, 16 Jan 2008 07:13:31 +0000 (16:13 +0900)]
drivers/net/rtl8139.c: rx_status should be le32_to_cpu(rx_status).

rx_status on the memory is basically in LE, but needs to be handled in CPU
endian. le32_to_cpu() takes up this mission. Even if on the sane hardware,
it'll work fine.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Cc: Masami Komiya <mkomiya@sonare.it>
Cc: Lucas Jin <lucasjin@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agodrivers/net/rtl8139.c: Fix cache coherency issues
Shinya Kuribayashi [Wed, 16 Jan 2008 07:12:26 +0000 (16:12 +0900)]
drivers/net/rtl8139.c: Fix cache coherency issues

Current driver is meant for cache coherent systems. This patch adds
flush_cache() routines to support cache non-coherent systems.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Cc: Masami Komiya <mkomiya@sonare.it>
Cc: Lucas Jin <lucasjin@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agodrivers/net/rtl8139.c: Fix tx timeout
Shinya Kuribayashi [Wed, 16 Jan 2008 07:11:14 +0000 (16:11 +0900)]
drivers/net/rtl8139.c: Fix tx timeout

"to = (currticks() + RTL_TIMEOUT)" has possibilities to wrap around. If it
does, the condition "(currticks() < to)" becomes invalid and immediately
leads to tx timeout error. This patch introduces the fine-graded udely(10)
loops to ease the impact of wrapping around.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Cc: Masami Komiya <mkomiya@sonare.it>
Cc: Lucas Jin <lucasjin@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agoTSEC: Add the support for RealTek RTL8211B PHY
Dave Liu [Fri, 11 Jan 2008 10:45:28 +0000 (18:45 +0800)]
TSEC: Add the support for RealTek RTL8211B PHY

Add the support of RealTek RTL8211B PHY, the RTL8211B
PHY only supports RGMII and MII mode.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agoRemove annoying debug printout for PHY less boards.
Joakim Tjernlund [Wed, 16 Jan 2008 08:40:41 +0000 (09:40 +0100)]
Remove annoying debug printout for PHY less boards.

PHY less board prints out lots of "read wrong ...":
read wrong value : mii_id 3,mii_reg 2, base e0102320
read wrong value : mii_id 3,mii_reg 3, base e0102320
UEC: PHY is Generic MII (ffffffff)
read wrong value : mii_id 3,mii_reg 4, base e0102320
read wrong value : mii_id 3,mii_reg 0, base e0102320
read wrong value : mii_id 3,mii_reg 1, base e0102320
read wrong value : mii_id 3,mii_reg 1, base e0102320
read wrong value : mii_id 3,mii_reg 5, base e0102320
read wrong value : mii_id 3,mii_reg 1, base e0102320
read wrong value : mii_id 3,mii_reg 1, base e0102320
read wrong value : mii_id 3,mii_reg 5, base e0102320
FSL UEC0: Full Duplex
FSL UEC0: Speed 100BT
FSL UEC0: Link is up
Using FSL UEC0 device

Make this printout depend on UEC_VERBOSE_DEBUG and
remove its definition in uec_phy.c

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agonet: reduce boot latency on QE UEC based boards
Kim Phillips [Tue, 15 Jan 2008 20:11:00 +0000 (14:11 -0600)]
net: reduce boot latency on QE UEC based boards

actually polling for PHY autonegotiation to finish enables us to remove the
5 second boot prompt latency present on QE based boards.

call to qe_set_mii_clk_src in init_phy, and mv call to init_phy from
uec_initialize to uec_init by Joakim Tjernlund; autonegotiation wait
code shamelessly stolen from tsec driver.

also rm unused CONFIG_RMII_MODE code.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agoTSEC driver: Change MDIO support to allow access to any PHYs on the MDIO bus
michael.firth@bt.com [Wed, 16 Jan 2008 11:40:51 +0000 (11:40 +0000)]
TSEC driver: Change MDIO support to allow access to any PHYs on the MDIO bus

The current TSEC driver limits MDIO access to the devices that have been configured as attached
to a TSEC MAC. This patch allows access to any PHY device on the MDIO bus through the 'mii' commands.

Signed-off-by: Michael Firth <michael.firth@bt.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
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://www.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://www.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>