oweals/u-boot.git
16 years agoGet rid of "#undef DEBUG" from board config files.
Wolfgang Denk [Mon, 11 Feb 2008 23:45:06 +0000 (00:45 +0100)]
Get rid of "#undef DEBUG" from board config files.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoRemove #undef DEBUG from MPC83xx board header files
Timur Tabi [Tue, 15 Jan 2008 23:09:41 +0000 (17:09 -0600)]
Remove #undef DEBUG from MPC83xx board header files

Remove the "#undef DEBUG" line from all Freescale 83xx board header files.
The inclusion of this line makes it impossible to enable debug code in
other source files, because "#define DEBUG" typically needs to be defined
before any header files are included.

Signed-off-by: Timur Tabi <timur@freescale.com>
16 years agoQE: Move FDT support into a common file
Kumar Gala [Thu, 17 Jan 2008 14:25:45 +0000 (08:25 -0600)]
QE: Move FDT support into a common file

Move the flat device tree setup for QE related devices into
a common file shared between 83xx & 85xx platforms that have QE's.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoADS5121e: DDR2 init/timing update.
Grzegorz Bernacki [Mon, 28 Jan 2008 09:15:02 +0000 (10:15 +0100)]
ADS5121e: DDR2 init/timing update.

Signed-off-by: John Rigby <jrigby@freescale.com>
Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
16 years agoDevice tree updates
John Rigby [Wed, 30 Jan 2008 20:36:57 +0000 (13:36 -0700)]
Device tree updates

Changes to match 5121 device tree going mainline in 2.6.25.

Change OF_SOC from "soc5121" to plain "soc".
Remove unneeded "ref-frequency" fixups.
Remove "address" enetaddr fixup.

Add bus-frequency fixup for old OF_SOC so old
kernels with old device trees will work with new
u-boot with 66MHz IPS clock

Signed-off-by: John Rigby <jrigby@freescale.com>
16 years agoChange IPS freq to 66MHz
John Rigby [Wed, 30 Jan 2008 20:36:56 +0000 (13:36 -0700)]
Change IPS freq to 66MHz

Recommended frequency is 66MHz
Change divider from 4 to 3.

Signed-off-by: John Rigby <jrigby@freescale.com>
16 years agoxsengine: rename board_post_init to board_late_init
Jean-Christophe PLAGNIOL-VILLARD [Mon, 14 Jan 2008 21:38:55 +0000 (22:38 +0100)]
xsengine: rename board_post_init to board_late_init

missing migration from "Cleanup of some init functions"
in c837dcb1a316745092567bfe4fb266d0941884ff

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoAdd attribute POST_PREREL to ECC memory POST
Larry Johnson [Sun, 13 Jan 2008 04:35:33 +0000 (23:35 -0500)]
Add attribute POST_PREREL to ECC memory POST

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agoTFTP: add host ip addr support
Jean-Christophe PLAGNIOL-VILLARD [Fri, 18 Jan 2008 00:14:03 +0000 (01:14 +0100)]
TFTP: add host ip addr support

allow to use a different server as set in serverip
add CONFIG_TFTP_FILE_NAME_MAX_LEN to configure the file name length
if not defined the max length will be at 128

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoOMAP5912: fix FIFO handling in UART driver
Wolfgang Denk [Thu, 27 Dec 2007 09:56:54 +0000 (10:56 +0100)]
OMAP5912: fix FIFO handling in UART driver

According to the OMAP5912 Serial Interfaces Reference Guide (see
http://focus.ti.com/lit/ug/spru760c/spru760c.pdf, page 150), the
FIFO_EN enable bit in the FIFO Control Register (FCR) can only be
changed when the baud clock is not running, i. e. when both DLL and
DLH are set to 0.

Thus make sure that DLL and DLH are 0 when writing the FCR.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoARM: S3C24x0 SoC NAND controller support
Harald Welte [Wed, 19 Dec 2007 14:10:52 +0000 (15:10 +0100)]
ARM: S3C24x0 SoC NAND controller support

This patch adds NAND support to the S3C24x0 SoC code in u-boot

Signed-off-by: Harald Welte <laforge@openmoko.org>
16 years agoARM: s3c24xx: Multiple serial port support
Harald Welte [Wed, 19 Dec 2007 13:24:40 +0000 (14:24 +0100)]
ARM: s3c24xx: Multiple serial port support

This patch adds support for CONFIG_SERIAL_MULTI on s3c24x0 CPU's

Signed-off-by: Harald Welte <laforge@openmoko.org>
16 years agoARM: arm920t: Allow use of 'gd' pointer from IRQ
Harald Welte [Wed, 19 Dec 2007 13:16:57 +0000 (14:16 +0100)]
ARM: arm920t: Allow use of 'gd' pointer from IRQ

This patch allows us to use the 'gd' pointer (and thus environment
and everything else associated with it) from interrupt context on
arm920t.

Signed-off-by: Harald Welte <laforge@openmoko.org>
16 years agoARM: arm920/s3c24xx: IRQ demulitplexer callback
Harald Welte [Wed, 19 Dec 2007 13:19:38 +0000 (14:19 +0100)]
ARM: arm920/s3c24xx: IRQ demulitplexer callback

This patch adds a IRQ demultiplexer callback to the arm920 cpu core code,
plus a stub implementation of it for the S3C2410.

The purpose is to allow arm920t implementations such as the s3c24x0 to
implement interrupt handlers in u-boot without having to touch core
arm920t code.

Signed-off-by: Harald Welte <laforge@openmoko.org>
16 years agoARM: Display Ethernet info in do_bdinfo only if CONFIG_CMD_NET is defined
Hebbar [Wed, 19 Dec 2007 00:03:07 +0000 (16:03 -0800)]
ARM: Display Ethernet info in do_bdinfo only if CONFIG_CMD_NET is defined

Add ifdef to bdinfo command to display ethernet information
only if CONFIG_CMD_NET is defined for arm modules.

Signed-off-by: K R Gururaja Hebbar <gururajakr@sanyo.co.in>
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>