oweals/u-boot.git
16 years agoARM: add I2C init function call in lib_arm/board.c
Hebbar [Wed, 19 Dec 2007 00:00:54 +0000 (16:00 -0800)]
ARM: add I2C init function call in lib_arm/board.c

Adds I2C init func call to init sequence for ARM boards. This is
present in ppc,blackfin and other processor init sequence.

Signed-off-by: K R Gururaja Hebbar <gururajakr@sanyo.co.in>
16 years agoARM: Board voiceblue update
Ladislav Michl [Thu, 6 Dec 2007 23:42:32 +0000 (00:42 +0100)]
ARM: Board voiceblue update

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
16 years agoARM: AT91RM9200 based boards config cleanup
Ladislav Michl [Thu, 6 Dec 2007 22:24:57 +0000 (23:24 +0100)]
ARM: AT91RM9200 based boards config cleanup

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Remove nowhere used struct bd_info_ext, remove trailing whitespaces, fix
indentation.

16 years agoARM: Fix at91rm9200dk base address
Ladislav Michl [Thu, 6 Dec 2007 21:59:16 +0000 (22:59 +0100)]
ARM: Fix at91rm9200dk base address

Somewhere during development of U-Boot-1.1.3 CONFIG_BOOTBINFUNC was
renamed into CONFIG_INIT_CRITICAL which was 04 Apr 2005 replaced
with CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT.
However CONFIG_SKIP_LOWLEVEL_INIT has oposite meaning to
CONFIG_BOOTBINFUNC, so fix configuration to reflect this fact.
I'm sending this patch 4th (!) time in hope it produces at least some
reaction.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Fix at91rm9200dk base and environment address.

16 years agoMMC for PXA 27X (resubmit)
stefano babic [Tue, 20 Nov 2007 09:40:24 +0000 (10:40 +0100)]
MMC for PXA 27X (resubmit)

MMC support for X_Scale PXA is broken and does not work.
Mainly, the mmc_init() function cannot recognize current SD/MMC cards.
There were already some patches around the world but none of them was
merged into the official u-boot tree.

This patch makes order fixing this issue. Resubmit after code cleanup.

Applied and tested on PXA 270 (TrizepsIV module).

Signed-off-by: Stefano Babic <sbabic@denx.de>
16 years agoFix gcc issues in pxa-regs.h
stefano babic [Tue, 20 Nov 2007 09:37:04 +0000 (10:37 +0100)]
Fix gcc issues in pxa-regs.h

Fix gcc4 issue. With some toolchain, a previous patch that fixes gcc4
issues generates wrong code.
(Problem was reported with gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu).
This patch fixes the problem and solves the gcc-4 issues as the linux
kernel does.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Dmitry Ivanov <ivadmitry@gmail.com>
16 years agoinka4x0: remove dead code
Wolfgang Denk [Fri, 25 Jan 2008 08:56:17 +0000 (09:56 +0100)]
inka4x0: remove dead code

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoCoding Style Cleanup; update CHANGELOG
Wolfgang Denk [Wed, 23 Jan 2008 13:41:37 +0000 (14:41 +0100)]
Coding Style Cleanup; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:40:34 +0000 (14:40 +0100)]
Merge ../custodians

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

16 years agoMerge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:37:59 +0000 (14:37 +0100)]
Merge ../custodians

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://denx.de/git/u-boot-mips

16 years agoMerge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:35:32 +0000 (14:35 +0100)]
Merge ../custodians

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://denx.de/git/u-boot-sh

16 years agoMerge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:34:00 +0000 (14:34 +0100)]
Merge ../custodians

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://denx.de/git/u-boot-avr32

16 years agoCoding Style Cleanup; update CHANGELOG
Wolfgang Denk [Wed, 23 Jan 2008 13:31:17 +0000 (14:31 +0100)]
Coding Style Cleanup; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
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://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://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://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 '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://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 agoAdd AcTux board support
Michael Schwingen [Thu, 17 Jan 2008 23:04:28 +0000 (00:04 +0100)]
Add AcTux board support

Hi,

The patch adds 4 boards, called AcTux-1 .. AcTux-4. This patch contains the
files that
contain changes for multiple boards, the board-specific files follow as
separate patches.

Signed-off-by: Michael Schwingen <michael@schwingen.org>
16 years agoadd AcTux-4 board support
Michael Schwingen [Wed, 16 Jan 2008 18:53:23 +0000 (19:53 +0100)]
add AcTux-4 board support

Signed-off-by: Michael Schwingen <michael@schwingen.org>
16 years agoadd AcTux-3 board support
Michael Schwingen [Wed, 16 Jan 2008 18:51:55 +0000 (19:51 +0100)]
add AcTux-3 board support

Signed-off-by: Michael Schwingen <michael@schwingen.org>
16 years agoadd AcTux-2 board support
Michael Schwingen [Wed, 16 Jan 2008 18:51:14 +0000 (19:51 +0100)]
add AcTux-2 board support

Signed-off-by: Michael Schwingen <michael@schwingen.org>
16 years agoadd AcTux-1 board support
Michael Schwingen [Wed, 16 Jan 2008 18:50:37 +0000 (19:50 +0100)]
add AcTux-1 board support

Signed-off-by: Michael Schwingen <michael@schwingen.org>
16 years agoARM: remove useless function board_post_init
Jean-Christophe PLAGNIOL-VILLARD [Mon, 14 Jan 2008 18:20:08 +0000 (19:20 +0100)]
ARM: remove useless function board_post_init

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoIXP: enable RTS
Michael Schwingen [Thu, 10 Jan 2008 13:59:46 +0000 (14:59 +0100)]
IXP: enable RTS

enables the RTS signal with CONFIG_SERIAL_RTS_ACTIVE.
No handshaking is done, but the active RTS signal allows to
connect to the target using a PC which is using RTS/CTS
handshake, and does no harm if the PC is set to ignore RTS.

Signed-off-by: Michael Schwingen <michael@schwingen.org>
16 years agoIXP: add dynamic microcode addr
Jean-Christophe PLAGNIOL-VILLARD [Mon, 7 Jan 2008 07:41:34 +0000 (08:41 +0100)]
IXP: add dynamic microcode addr

allow to load the microde from flash or ram by download it through
the serial or other.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Stefan Roese <sr@denx.de>
16 years agoload ixp42x NPE firmware from separate flash block, remove dead code
Michael Schwingen [Sat, 10 Nov 2007 14:44:12 +0000 (15:44 +0100)]
load ixp42x NPE firmware from separate flash block, remove dead code

Hi,

the following patch adds support to move the IXP42X NPE firmware to a
separate flash block, whose start address is defined in
CONFIG_IXP4XX_NPE_EXT_UCODE_BASE. Using that, it is possible to build
NPE-enabled u-boot without copyright problems due to the NPE firmware.

I hope the patch applies, I get whitespace-related differences in the NPE
files due to trailing whitespace in the original versions.

Signed-off-by: Michael Schwingen <michael@schwingen.org>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.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>