]> git.kernelconcepts.de Git - karo-tx-uboot.git/log
karo-tx-uboot.git
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Sun, 31 Aug 2008 22:04:26 +0000 (00:04 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-sh
Wolfgang Denk [Sun, 31 Aug 2008 22:03:40 +0000 (00:03 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-sh

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc5xxx
Wolfgang Denk [Sun, 31 Aug 2008 21:53:22 +0000 (23:53 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxx

15 years agosh: Remove CC line from board's Makefile
Nobuhiro Iwamatsu [Sun, 31 Aug 2008 14:28:15 +0000 (23:28 +0900)]
sh: Remove CC line from board's Makefile

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Replaced "@./mkconfig" for @$(MKCONFIG)
Nobuhiro Iwamatsu [Sun, 31 Aug 2008 14:25:57 +0000 (23:25 +0900)]
sh: Replaced "@./mkconfig" for @$(MKCONFIG)

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Add support sh2 to MAKEALL
Nobuhiro Iwamatsu [Thu, 28 Aug 2008 05:50:52 +0000 (14:50 +0900)]
sh: Add support sh2 to MAKEALL

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Fix compile error rsk7203 board
Nobuhiro Iwamatsu [Thu, 28 Aug 2008 05:52:23 +0000 (14:52 +0900)]
sh: Fix compile error rsk7203 board

This boards used old type preprocessor.
This patch fix compile error.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Fix compile error sh7785lcr board
Nobuhiro Iwamatsu [Thu, 28 Aug 2008 05:53:31 +0000 (14:53 +0900)]
sh: Fix compile error sh7785lcr board

This boards used old type preprocessor.
This patch fix compile error.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Renesas Solutions AP325RXA board support
Nobuhiro Iwamatsu [Fri, 22 Aug 2008 08:39:09 +0000 (17:39 +0900)]
sh: Renesas Solutions AP325RXA board support

AP325RXA is SH7723's reference board.
This has SCIF, NOR Flash, Ethernet, USB host, LCDC, SD Host, Camera and other.
In this patch, support SCIF, NOR Flash, and Ethernet.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: add support Renesas SH7723
Nobuhiro Iwamatsu [Fri, 22 Aug 2008 08:48:51 +0000 (17:48 +0900)]
sh: add support Renesas SH7723

Renesas SH7723 has 5 SCIF, SD, Camera, LCDC and other.
This patch supports CPU register's header file and SCIF serial driver.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Renesas RSK+ 7203 board support
Nobuhiro Iwamatsu [Sun, 31 Aug 2008 14:02:04 +0000 (23:02 +0900)]
sh: Renesas RSK+ 7203 board support

This adds initial support for the RTE RSK+ SH7203 board.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Add support Renesas SH7203 processor
Nobuhiro Iwamatsu [Thu, 3 Jul 2008 14:11:02 +0000 (23:11 +0900)]
sh: Add support Renesas SH7203 processor

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Add support SH2/SH2A which is CPU of Renesas Technology
Nobuhiro Iwamatsu [Sun, 31 Aug 2008 13:48:33 +0000 (22:48 +0900)]
sh: Add support SH2/SH2A which is CPU of Renesas Technology

Add support SH2/SH2A basic function.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Renesas R0P7785LC0011RL board support
Nobuhiro Iwamatsu [Sun, 31 Aug 2008 13:45:08 +0000 (22:45 +0900)]
sh: Renesas R0P7785LC0011RL board support

This board has SH7785, 512MB DDR2-SDRAM, NOR Flash,
Graphic, Ethernet, USB, SD, RTC, and I2C controller.

This patch supports the following functions:
 - 128MB DDR2-SDRAM (29-bit address mode only)
 - NOR Flash
 - USB host
 - Ethernet

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: add support for SH7785
Yoshihiro Shimoda [Thu, 10 Jul 2008 10:32:53 +0000 (19:32 +0900)]
sh: add support for SH7785

Renesas SH7785 has DDR2-SDRAM controller, PCI, and other.
This patch supports CPU register's header file.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agoppc4xx/NAND: Add select_chip function to 4xx NDFC driver
Stefan Roese [Fri, 29 Aug 2008 09:56:49 +0000 (11:56 +0200)]
ppc4xx/NAND: Add select_chip function to 4xx NDFC driver

This function is needed for the new NAND infrastructure. We only need
a dummy implementation though for the NDFC.

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Increase image size for NAND boot target
Stefan Roese [Fri, 29 Aug 2008 10:06:27 +0000 (12:06 +0200)]
ppc4xx: Increase image size for NAND boot target

This is needed since now with HUSH enabled (amcc-common.h) the image
read from NAND exceeds the previous limit.

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoMove MPC512x_FEC driver to drivers/net
Ben Warren [Fri, 29 Aug 2008 06:58:30 +0000 (23:58 -0700)]
Move MPC512x_FEC driver to drivers/net

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMove MPC5xxx_FEC driver to drivers/net
Ben Warren [Fri, 29 Aug 2008 06:58:29 +0000 (23:58 -0700)]
Move MPC5xxx_FEC driver to drivers/net

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoppc4xx: NAND configuration
Wolfgang Ocker [Tue, 26 Aug 2008 17:55:23 +0000 (19:55 +0200)]
ppc4xx: NAND configuration

Made NAND bank configuration setting a config variable.

Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: fix UIC external_interrupt hang on UIC0
Victor Gallardo [Thu, 28 Aug 2008 23:03:28 +0000 (16:03 -0700)]
ppc4xx: fix UIC external_interrupt hang on UIC0

This patch fixes a UIC external_interrupt hang if critical or non-critical
interrupt is set at the same time as a normal interrupt is set on UIC0.

Signed-off-by: Victor Gallardo <vgallardo@amcc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Optimizations/Cleanups for IBM DDR2 Memory Controller
Prodyut Hazarika [Wed, 27 Aug 2008 23:39:00 +0000 (16:39 -0700)]
ppc4xx: Optimizations/Cleanups for IBM DDR2 Memory Controller

Removed Magic numbers from Initialization preload registers
Tested with Kilauea, Glacier, Canyonlands and Katmai boards
About 5-7% improvement seen for LMBench memtests

Signed-off-by: Prodyut Hazarika <phazarika@amcc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoADS5121: Fix NOR and CPLD ALE timing for rev 2 silicon
John Rigby [Thu, 28 Aug 2008 19:17:07 +0000 (13:17 -0600)]
ADS5121: Fix NOR and CPLD ALE timing for rev 2 silicon

MPC5121 rev 2 silicon has a new register for controlling how long
CS is asserted after deassertion of ALE in multiplexed mode.

The default is to assert CS together with ALE.  The alternative
is to assert CS (ALEN+1)*LPC_CLK clocks after deassertion of ALE.

The default is wrong for the NOR flash and CPLD on the ADS5121.

This patch turns on the alternative for CS0 (NOR) and CS2 (CPLD)
it does so conditionally based on silicon rev 2.0 or greater.

Signed-off-by: Martha J Marx <mmarx@silicontkx.com>
Signed-off-by: John Rigby <jrigby@freescale.com>
15 years agoAdd I2C frequency dividers for ColdFire
TsiChung Liew [Mon, 18 Aug 2008 18:56:46 +0000 (00:56 +0600)]
Add I2C frequency dividers for ColdFire

The existing I2C freqency dividers for FDR does not apply
to ColdFire platforms; thus, a seperate table is added
based on MCF5xxx Reference Manual

Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: Tabi Timur <timur@freescale.com>
15 years agoColdFire: I2C fix for multiple platforms
TsiChung Liew [Mon, 18 Aug 2008 21:01:19 +0000 (03:01 +0600)]
ColdFire: I2C fix for multiple platforms

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
15 years agoColdFire: Add CONFIG_MII_INIT for M5272C3
TsiChung Liew [Mon, 18 Aug 2008 18:37:13 +0000 (00:37 +0600)]
ColdFire: Add CONFIG_MII_INIT for M5272C3

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
15 years agoColdFire: Multiple fixes for MCF5445x platforms
TsiChung Liew [Mon, 18 Aug 2008 18:26:25 +0000 (00:26 +0600)]
ColdFire: Multiple fixes for MCF5445x platforms

Add FEC pin set and mii reset in __mii_init(). Change
legacy flash vendor from 2 to AMD LEGACY (0xFFF0),
change cfi_offset to 0, and change CFG_FLASH_CFI to
CONFIG_FLASH_CFI_LEGACY. Correct M54451EVB and
M54455EVB env settings in configuration file.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
15 years agoColdFire: Change the SDRAM BRD2WT timing from 3 to 7
TsiChung Liew [Fri, 15 Aug 2008 18:24:25 +0000 (18:24 +0000)]
ColdFire: Change the SDRAM BRD2WT timing from 3 to 7

The user manuals recommend 7.

Signed-off-by: Kurt Mahan <kmahan@freescale.com>
Acked-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
15 years agoColdFire: Raise uart baudrate to 115200 bps
TsiChung Liew [Fri, 15 Aug 2008 16:50:07 +0000 (16:50 +0000)]
ColdFire: Raise uart baudrate to 115200 bps

M5249EVB, M5271EVB, M5272C3, M5275EVB and M5282EVB platforms
uart baudrate increase from 19200 to 115200 bps

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
15 years agoColdFire: Fix board.c warning message
TsiChung Liew [Wed, 13 Aug 2008 12:07:03 +0000 (12:07 +0000)]
ColdFire: Fix board.c warning message

Implicit declaration of nand_init() warning message

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
15 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Wed, 27 Aug 2008 22:39:43 +0000 (00:39 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc5xxx
Wolfgang Denk [Wed, 27 Aug 2008 22:39:27 +0000 (00:39 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxx

15 years agoFSL DDR: Remove duplicate setting of cs0_bnds register on 86xx.
Kumar Gala [Wed, 27 Aug 2008 06:10:34 +0000 (01:10 -0500)]
FSL DDR: Remove duplicate setting of cs0_bnds register on 86xx.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Wolfgang Denk [Wed, 27 Aug 2008 22:26:52 +0000 (00:26 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx

15 years agompc52xx: added support for the MPC5200 based MUC.MC52 board from MAN.
Heiko Schocher [Thu, 21 Aug 2008 18:44:49 +0000 (20:44 +0200)]
mpc52xx: added support for the MPC5200 based MUC.MC52 board from MAN.

Signed-off-by: Heiko Schocher <hs@denx.de>
15 years agompc85xx: remove redudant code with lib_ppc/interrupts.c
Kumar Gala [Tue, 19 Aug 2008 19:46:36 +0000 (14:46 -0500)]
mpc85xx: remove redudant code with lib_ppc/interrupts.c

For some reason we duplicated the majority of code in lib_ppc/interrupts.c
not show how that happened, but there is no good reason for it.

Use the interrupt_init_cpu() and timer_interrupt_cpu() since its why
they exist.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agompc85xx: Add support for the MPC8536DS reference board
Kumar Gala [Fri, 25 Jul 2008 18:31:05 +0000 (13:31 -0500)]
mpc85xx: Add support for the MPC8536DS reference board

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Srikanth Srinivasan <srikanth.srinivasan@freescale.com>
Signed-off-by: Dejan Minic <minic@freescale.com>
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agompc85xx: Add support for the MPC8536
Kumar Gala [Tue, 12 Aug 2008 16:14:19 +0000 (11:14 -0500)]
mpc85xx: Add support for the MPC8536

The MPC8536 Adds SDHC and SATA controllers to the PQ3 family.  We
also have SERDES init code for the 8536.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Srikanth Srinivasan <srikanth.srinivasan@freescale.com>
Signed-off-by: Dejan Minic <minic@freescale.com>
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Dave Liu <daveliu@freescale.com>
15 years agompc85xx: Add support for the MPC8572DS reference board
Kumar Gala [Tue, 12 Aug 2008 16:13:08 +0000 (11:13 -0500)]
mpc85xx: Add support for the MPC8572DS reference board

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Remove old SPD support from cpu/mpc85xx
Kumar Gala [Wed, 27 Aug 2008 06:05:35 +0000 (01:05 -0500)]
FSL DDR: Remove old SPD support from cpu/mpc85xx

All 85xx boards have been converted to the new code so we can
remove the old SPD DDR setup code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert STXSSA to new DDR code.
Kumar Gala [Wed, 27 Aug 2008 06:04:07 +0000 (01:04 -0500)]
FSL DDR: Convert STXSSA to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert STXGP3 to new DDR code.
Kumar Gala [Wed, 27 Aug 2008 06:03:42 +0000 (01:03 -0500)]
FSL DDR: Convert STXGP3 to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert SBC8560 to new DDR code.
Kumar Gala [Wed, 27 Aug 2008 04:52:58 +0000 (23:52 -0500)]
FSL DDR: Convert SBC8560 to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert MPC8540EVAL to new DDR code.
Kumar Gala [Wed, 27 Aug 2008 04:52:32 +0000 (23:52 -0500)]
FSL DDR: Convert MPC8540EVAL to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert PM856 to new DDR code.
Kumar Gala [Wed, 27 Aug 2008 04:52:07 +0000 (23:52 -0500)]
FSL DDR: Convert PM856 to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert PM854 to new DDR code.
Kumar Gala [Wed, 27 Aug 2008 04:51:49 +0000 (23:51 -0500)]
FSL DDR: Convert PM854 to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert sbc8548 to new DDR code.
Kumar Gala [Wed, 27 Aug 2008 04:15:28 +0000 (23:15 -0500)]
FSL DDR: Convert sbc8548 to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert atum8548 to new DDR code.
Kumar Gala [Wed, 27 Aug 2008 04:14:14 +0000 (23:14 -0500)]
FSL DDR: Convert atum8548 to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert socrates to new DDR code.
Kumar Gala [Wed, 27 Aug 2008 03:56:56 +0000 (22:56 -0500)]
FSL DDR: Convert socrates to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert MPC8544DS to new DDR code.
Kumar Gala [Tue, 26 Aug 2008 13:02:30 +0000 (08:02 -0500)]
FSL DDR: Convert MPC8544DS to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert MPC8568MDS to new DDR code.
Jon Loeliger [Tue, 18 Mar 2008 18:51:05 +0000 (13:51 -0500)]
FSL DDR: Convert MPC8568MDS to new DDR code.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert MPC8548CDS to new DDR code.
Jon Loeliger [Tue, 18 Mar 2008 18:51:06 +0000 (13:51 -0500)]
FSL DDR: Convert MPC8548CDS to new DDR code.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert MPC8541CDS to new DDR code.
Jon Loeliger [Mon, 17 Mar 2008 20:48:18 +0000 (15:48 -0500)]
FSL DDR: Convert MPC8541CDS to new DDR code.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert MPC8555ADS to new DDR code.
Jon Loeliger [Tue, 18 Mar 2008 16:12:42 +0000 (11:12 -0500)]
FSL DDR: Convert MPC8555ADS to new DDR code.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert MPC8560ADS to new DDR code.
Jon Loeliger [Tue, 18 Mar 2008 16:12:44 +0000 (11:12 -0500)]
FSL DDR: Convert MPC8560ADS to new DDR code.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert MPC8540ADS to new DDR code.
Kumar Gala [Fri, 6 Jun 2008 18:12:18 +0000 (13:12 -0500)]
FSL DDR: Convert MPC8540ADS to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Add 85xx specific register setting
Kumar Gala [Wed, 27 Aug 2008 02:34:55 +0000 (21:34 -0500)]
FSL DDR: Add 85xx specific register setting

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Add e500 TLB helper for DDR code
Kumar Gala [Mon, 9 Jun 2008 16:07:46 +0000 (11:07 -0500)]
FSL DDR: Add e500 TLB helper for DDR code

Provide a helper function that board code can call to map TLBs when
setting up DDR.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agodm9000 remove dead external phy support, gpio fix
Andrew Dyer [Tue, 26 Aug 2008 22:03:38 +0000 (17:03 -0500)]
dm9000 remove dead external phy support, gpio fix

dm9000 has code to detect and initialize external phy parts, but later
on in the code the part is forced to use the internal phy
unconditionally.  Remove the unused/untested code.

change the GPIO initialization so that only the GPIO used as an
internal phy reset (hardwired in the chip) is set as an output.  The
remaining GPIO need to be handled by board specific code to prevent
possible drive conflicts.  Set as inputs for safety.

replace a few magic numbers with defines

Signed-off-by: Andrew Dyer <adyer@righthandtech.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoStandardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions
Peter Tyser [Tue, 26 Aug 2008 16:17:48 +0000 (11:17 -0500)]
Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions

cmd_net.c command descriptions were updated to describe the optional
hostIPaddr argument.  The dhcp command help message was also updated
to more closely reflect the other commands in cmd_net.c

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoFix bogus error message in the DHCP handler
Remy Bohmer [Wed, 20 Aug 2008 09:30:28 +0000 (11:30 +0200)]
Fix bogus error message in the DHCP handler

The DHCP handler has 1 state that is not listed in this case, causing a
failure message when there is actually no failure.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoFix compile error when CONFIG_BOOTP_RANDOM_DELAY is set.
Remy Bohmer [Wed, 20 Aug 2008 09:30:27 +0000 (11:30 +0200)]
Fix compile error when CONFIG_BOOTP_RANDOM_DELAY is set.

The option CONFIG_BOOTP_RANDOM_DELAY does not compile, because of a
missing extern inside the net/bootp.h header

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoColdFire: Add FEC Buffer descriptors in SRAM
TsiChung Liew [Tue, 19 Aug 2008 21:26:32 +0000 (21:26 +0000)]
ColdFire: Add FEC Buffer descriptors in SRAM

Add FEC Buffer descriptors and data buffer in SRAM for
faster execution and access.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoFix ColdFire FEC warning messages
TsiChung Liew [Thu, 21 Aug 2008 23:55:11 +0000 (23:55 +0000)]
Fix ColdFire FEC warning messages

Types mismatch and implicit declaration of icache_invalid()
warning messages

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMoved initialization of SKGE Ethernet driver to board code.
Ben Warren [Sat, 12 Jul 2008 07:17:50 +0000 (00:17 -0700)]
Moved initialization of SKGE Ethernet driver to board code.

The only board using this driver is the SL8245 board.
Removed initialization for the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMoved conditional compilation to Makefile for SK98 Ethernet driver
Ben Warren [Sat, 12 Jul 2008 07:08:45 +0000 (00:08 -0700)]
Moved conditional compilation to Makefile for SK98 Ethernet driver

Brute-force removal of #ifdefs.  Didn't touch the code.
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMoved initialization of ULI526X Ethernet driver to board code.
Ben Warren [Sat, 12 Jul 2008 06:42:19 +0000 (23:42 -0700)]
Moved initialization of ULI526X Ethernet driver to board code.

The only board using this driver is the Freescale MPC8610HPCD board.
Removed initialization for the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMoved initialization of Blackfin EMAC Ethernet controller to board_eth_init()
Ben Warren [Sat, 12 Jul 2008 06:15:28 +0000 (23:15 -0700)]
Moved initialization of Blackfin EMAC Ethernet controller to board_eth_init()

Added board_eth_init() function to bf537-stamp board.
Removed initialization for the Blackin EMAC driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMoved initialization of GRETH Ethernet driver to CPU directory
Ben Warren [Wed, 9 Jul 2008 08:04:19 +0000 (01:04 -0700)]
Moved initialization of GRETH Ethernet driver to CPU directory

Added a cpu_eth_init() function to leon2/leon3 CPU directories and
removed code from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMoved initialization of MCFFEC Ethernet driver to CPU directory
Ben Warren [Wed, 27 Aug 2008 05:16:25 +0000 (22:16 -0700)]
Moved initialization of MCFFEC Ethernet driver to CPU directory

Added a cpu_eth_init() function to coldfire CPU directories and
removed code from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMoved initialization of FSL_MCDMAFEC Ethernet driver to CPU directory
Ben Warren [Wed, 27 Aug 2008 05:12:36 +0000 (22:12 -0700)]
Moved initialization of FSL_MCDMAFEC Ethernet driver to CPU directory

Added a cpu_eth_init() function to cpu/mcf547x_8x directory and
removed code from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoFSL DDR: Remove old SPD support from cpu/mpc86xx
Kumar Gala [Tue, 26 Aug 2008 20:01:38 +0000 (15:01 -0500)]
FSL DDR: Remove old SPD support from cpu/mpc86xx

All 86xx boards have been converted to the new code so we can
remove the old SPD DDR setup code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert SBC8641D to new DDR code.
Kumar Gala [Tue, 26 Aug 2008 20:01:37 +0000 (15:01 -0500)]
FSL DDR: Convert SBC8641D to new DDR code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert MPC8610HPCD to new DDR code.
Jon Loeliger [Tue, 26 Aug 2008 20:01:36 +0000 (15:01 -0500)]
FSL DDR: Convert MPC8610HPCD to new DDR code.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Convert MPC8641HPCN to new DDR code.
Kumar Gala [Tue, 26 Aug 2008 20:01:35 +0000 (15:01 -0500)]
FSL DDR: Convert MPC8641HPCN to new DDR code.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Add 86xx specific register setting
Kumar Gala [Tue, 26 Aug 2008 20:01:34 +0000 (15:01 -0500)]
FSL DDR: Add 86xx specific register setting

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Add DDR2 DIMM paramter support
Kumar Gala [Tue, 26 Aug 2008 20:01:32 +0000 (15:01 -0500)]
FSL DDR: Add DDR2 DIMM paramter support

Compute DIMM parameters based upon the SPD information.

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Add DDR1 DIMM paramter support
Kumar Gala [Tue, 26 Aug 2008 20:01:30 +0000 (15:01 -0500)]
FSL DDR: Add DDR1 DIMM paramter support

Compute DIMM parameters based upon the SPD information in spd.

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Rewrite the FSL mpc8xxx DDR controller setup code.
Kumar Gala [Tue, 26 Aug 2008 20:01:29 +0000 (15:01 -0500)]
FSL DDR: Rewrite the FSL mpc8xxx DDR controller setup code.

The main purpose of this rewrite it to be able to share the same
initialization code on all FSL PowerPC products that have DDR
controllers.  (83xx, 85xx, 86xx).

The code is broken up into the following steps:
GET_SPD
COMPUTE_DIMM_PARMS
COMPUTE_COMMON_PARMS
GATHER_OPTS
ASSIGN_ADDRESSES
COMPUTE_REGS
PROGRAM_REGS

This allows us to share more code an easily allow for board specific code
overrides.

Additionally this code base adds support for >4G of DDR and provides a
foundation for supporting interleaving on processors with more than one
controller.

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoFSL DDR: Provide a generic set_ddr_laws()
Kumar Gala [Tue, 26 Aug 2008 20:01:28 +0000 (15:01 -0500)]
FSL DDR: Provide a generic set_ddr_laws()

Provide a helper function that will setup the last available
LAWs (upto 2) for DDR.  Useful for SPD/dyanmic DDR setting code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoAdd proper SPD definitions for DDR1/2/3
James Yang [Tue, 26 Aug 2008 20:01:27 +0000 (15:01 -0500)]
Add proper SPD definitions for DDR1/2/3

Also adds helper functions for DDR1/2 to verify the checksum.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoUpdate CHANGELOG
Wolfgang Denk [Tue, 26 Aug 2008 23:02:48 +0000 (01:02 +0200)]
Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoAdd support for muas3001 board (MPC8270)
Heiko Schocher [Tue, 19 Aug 2008 08:08:49 +0000 (10:08 +0200)]
Add support for muas3001 board (MPC8270)

Signed-off-by: Heiko Schocher <hs@denx.de>
15 years agocommon/cmd_load.c cleanup - remove unused variables
Gururaja Hebbar K R [Tue, 19 Aug 2008 03:01:18 +0000 (08:31 +0530)]
common/cmd_load.c cleanup - remove unused variables

- Remove unused global variable os_data_count.
- Remove unused variable z.

Signed-off-by: Gururaja Hebbar <gururajakr@sanyo.co.in>
15 years agoremove MVS1 board
Andre Schwarz [Mon, 18 Aug 2008 11:35:27 +0000 (13:35 +0200)]
remove MVS1 board

MVS1 board has reached end-of-life and can be removed completely.

Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
15 years agobootm: refactor do_reset and os boot function args
Kumar Gala [Fri, 15 Aug 2008 13:24:45 +0000 (08:24 -0500)]
bootm: refactor do_reset and os boot function args

There is no need for each OS specific function to call do_reset() we
can just do it once in bootm. This means its feasible on an error for
the OS boot function to return.

Also, remove passing in cmd_tbl_t as its not needed by the OS boot
functions.  flag isn't currently used but might be in the future so
we left it alone.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agofdt: Added resize command
Kumar Gala [Fri, 15 Aug 2008 13:24:44 +0000 (08:24 -0500)]
fdt: Added resize command

Resize the fdt to size + padding to 4k boundary

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agofdt: refactor initrd related code
Kumar Gala [Fri, 15 Aug 2008 13:24:43 +0000 (08:24 -0500)]
fdt: refactor initrd related code

Created a new fdt_initrd() to deal with setting the initrd properties
in the device tree and fixing up the mem reserve.  We can use this
both in the choosen node handling and lets us remove some duplicated
code when we fixup the initrd info in bootm on PPC.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agofdt: refactor fdt resize code
Kumar Gala [Fri, 15 Aug 2008 13:24:42 +0000 (08:24 -0500)]
fdt: refactor fdt resize code

Move the fdt resizing code out of ppc specific boot code and into
common fdt support code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agobootm: refactor image detection and os load steps
Kumar Gala [Fri, 15 Aug 2008 13:24:41 +0000 (08:24 -0500)]
bootm: refactor image detection and os load steps

Created a bootm_start() that handles the parsing and detection of all
the images that will be used by the bootm command (OS, ramdisk, fdt).
As part of this we now tract all the relevant image offsets in the
bootm_headers_t struct. This will allow us to have all the needed
state for future sub-commands and lets us reduce a bit of arch
specific code on SPARC.

Created a bootm_load_os() that deals with decompression and loading
the OS image.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agobootm: move lmb into the bootm_headers_t structure
Kumar Gala [Fri, 15 Aug 2008 13:24:40 +0000 (08:24 -0500)]
bootm: move lmb into the bootm_headers_t structure

To allow for persistent state between future bootm subcommands we
need the lmb to exist in a global state.
Moving it into the bootm_headers_t allows us to do that.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agobootm: Set working fdt address as part of the bootm flow
Kumar Gala [Fri, 15 Aug 2008 13:24:39 +0000 (08:24 -0500)]
bootm: Set working fdt address as part of the bootm flow

Set the fdt working address so "fdt FOO" commands can be used as part
of the bootm flow.  Also set an the environment variable "fdtaddr"
with the value.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agobootm: refactor fdt locating and relocation code
Kumar Gala [Fri, 15 Aug 2008 13:24:38 +0000 (08:24 -0500)]
bootm: refactor fdt locating and relocation code

Move the code that handles finding a device tree blob and relocating
it (if needed) into common code so all arch's have access to it.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agobootm: refactor ramdisk locating code
Kumar Gala [Fri, 15 Aug 2008 13:24:37 +0000 (08:24 -0500)]
bootm: refactor ramdisk locating code

Move determing if we have a ramdisk and where its located into the
common code. Keep track of the ramdisk start and end in the
bootm_headers_t image struct.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agobootm: refactor entry point code
Kumar Gala [Fri, 15 Aug 2008 13:24:36 +0000 (08:24 -0500)]
bootm: refactor entry point code

Move entry point code out of each arch and into common code.
Keep the entry point in the bootm_headers_t images struct.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agompc7448hpc2: Fix PCI I/O space mapping.
Randy Vinson [Wed, 13 Aug 2008 18:44:57 +0000 (11:44 -0700)]
mpc7448hpc2: Fix PCI I/O space mapping.

PCI I/O space is currently mapped 1:1 at 0xFA000000. Linux requires
PCI I/O space to start at 0 on the PCI bus. This patch maps PCI I/O
space such that 0xFA000000 in the processor's address space maps to 0
on the PCI I/O bus.

Signed-off-by Randy Vinson <rvinson@mvista.com>
Acked-by: Roy Zang <tie-fei.zang@freescale.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc83xx
Wolfgang Denk [Tue, 26 Aug 2008 21:14:58 +0000 (23:14 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx

15 years agoi.MX31: Specify maintainers for i.MX31-based boards
Guennadi Liakhovetski [Wed, 13 Aug 2008 16:10:26 +0000 (18:10 +0200)]
i.MX31: Specify maintainers for i.MX31-based boards

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoADS5121: adjust image addresses in RAM and flash
Wolfgang Denk [Tue, 26 Aug 2008 13:01:28 +0000 (15:01 +0200)]
ADS5121: adjust image addresses in RAM and flash

Use the same mapping in flash as used by Linux

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agocmd_mem.c: Fix help message alignment
Wolfgang Denk [Tue, 26 Aug 2008 11:14:34 +0000 (13:14 +0200)]
cmd_mem.c: Fix help message alignment

Bug was introced by "Big white-space cleanup" (53677ef1)

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