project/bcm63xx/u-boot.git
16 years agoFix OneNAND erase command
Kyungmin Park [Mon, 31 Mar 2008 01:40:19 +0000 (10:40 +0900)]
Fix OneNAND erase command

It mis-calculates the block address.
Also fix DECLARE_GLOBAL_DATA_PTR in env_onenand.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
16 years agoSupport for LinkStation / KuroBox HD and HG PPC models
Guennadi Liakhovetski [Sun, 30 Mar 2008 23:32:15 +0000 (01:32 +0200)]
Support for LinkStation / KuroBox HD and HG PPC models

This patch is based on the port by Mihai Georgian (see linkstation.c for
Copyright information) and implements support for LinkStation / KuroBox HD
and HG PPC models from Buffalo Technology, whereby HD is deactivated at
the moment, pending network driver fixing.

Notice to users: this is pretty much a barebone port. Support for network
on HG models is already in the U-Boot mainline, but you might also want
patches to switch fan / phy modes depending on the negotiated ethernet
parameters. This patch also doesn't support console switching, booting EM
mode, Buffalo specific ext2 magic number. So, if you want to use any of
those, you need additional patches. Otherwise this patche provides a fully
functional u-boot with a network console on your system.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agoAdd CONFIG_MII_INIT support to related boards
TsiChung Liew [Sun, 30 Mar 2008 06:22:13 +0000 (01:22 -0500)]
Add CONFIG_MII_INIT support to related boards

Replace CONFIG_8xx and CONFIG_MCF532x to CONFIG_MII_INIT in
cmd_init.c. Add CONFIG_MII_INIT to board configuration files
that use mii_init() in cmd_init.c.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
16 years agoUpdate CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to related boards
TsiChung Liew [Sun, 30 Mar 2008 06:19:06 +0000 (01:19 -0500)]
Update CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to related boards

Remove test for CONFIG_MPC5200 in drivers/pci/pci_auto.c and define
CONFIG_PCIAUTO_SKIP_HOST_BRIDGE in related board configuration files.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoIntroduce phys_size_t and move phys_addr_t into asm/types.h
Kumar Gala [Thu, 27 Mar 2008 16:46:38 +0000 (11:46 -0500)]
Introduce phys_size_t and move phys_addr_t into asm/types.h

Also add CONFIG_PHYS_64BIT on powerpc to deal with 32-bit ppc's
that have larger physical addresses like 44x, 85xx, and 86xx.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoRename include/md5.h to include/u-boot/md5.h
Andy Fleming [Wed, 2 Apr 2008 21:19:07 +0000 (16:19 -0500)]
Rename include/md5.h to include/u-boot/md5.h

Some systems have md5.h installed in /usr/include/. This isn't the
desired file (we want the one in include/md5.h). This will avoid the
conflict. This fixes the host tools building problem by creating a new
directory for U-Boot specific header files.

[Patch by Andy Fleming, modified to use separate directory by Wolfgang
Denk]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Acked-by: Timur Tabi <timur@freescale.com>
16 years agodrivers: code clean up
Dave Liu [Thu, 27 Mar 2008 10:51:17 +0000 (18:51 +0800)]
drivers: code clean up

Signed-off-by: Dave Liu <daveliu@freescale.com>
16 years agodrivers: clean up the ata_piix.h
Dave Liu [Thu, 27 Mar 2008 10:50:41 +0000 (18:50 +0800)]
drivers: clean up the ata_piix.h

Signed-off-by: Dave Liu <daveliu@freescale.com>
16 years agodoc: english polishing for README.sata
Dave Liu [Thu, 27 Mar 2008 10:49:56 +0000 (18:49 +0800)]
doc: english polishing for README.sata

according to gvb's suggestion, polishing for the doc.

Signed-off-by: Jerry Van Baren <gerald.vanbaren@ge.com>
Signed-off-by: Dave Liu <daveliu@freescale.com>
16 years agoFix warnings introduced by I2C bus speed setting patch
Kumar Gala [Wed, 26 Mar 2008 23:53:28 +0000 (18:53 -0500)]
Fix warnings introduced by I2C bus speed setting patch

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoAltera Stratix II support
eran liberty [Wed, 26 Mar 2008 23:50:49 +0000 (00:50 +0100)]
Altera Stratix II support

Adds Support for Altera's Stratix II.

Within your board specific init file you will have to call

1. fpga_init (/* relocated code offset. usually => */ gd->reloc_off);
2. fpga_add (fpga_altera, (Altera_desc*)&altera_desc);

Altera_desc* contines (for example):
{
 Altera_StratixII, /* part type */
 passive_serial, /* interface type */
 1, /* bytes of data part can accept */
 (void *)(&funcs), /* interface function table */
 0L, /* base interface address */
 0 /* implementation specific cookie */
 }

funcs is the interface. It is of type altera_board_specific_func.
It looks like this:
altera_board_specific_func func = {
pre_fn,
config_fn,
status_fn,
done_fn,
clk_fn,
data_fn,
abort_fn,
post_fn,
};

you will have to implement these functions, which is usually bit
banging some gpio.

Signed-off-by: Eran Liberty <liberty@extricom.com>
16 years agoUpdate CHANGELOG
Wolfgang Denk [Sun, 13 Apr 2008 21:32:54 +0000 (14:32 -0700)]
Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoPhytec Phycore-i.MX31 support
Sascha Hauer [Wed, 26 Mar 2008 19:41:17 +0000 (20:41 +0100)]
Phytec Phycore-i.MX31 support

This patch adds support for the Phytec Phycore-i.MX31 board

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agomx31 litekit support
Sascha Hauer [Wed, 26 Mar 2008 19:41:09 +0000 (20:41 +0100)]
mx31 litekit support

This patch adds support for the mx31 litekit board

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agoadd an i2c driver for mx31
Sascha Hauer [Wed, 26 Mar 2008 19:40:49 +0000 (20:40 +0100)]
add an i2c driver for mx31

This patch adds an i2c driver for Freescale i.MX processors

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agocore support for Freescale mx31
Sascha Hauer [Wed, 26 Mar 2008 19:40:42 +0000 (20:40 +0100)]
core support for Freescale mx31

This patch adds the core support for Freescale mx31

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agoFix compile error
Wolfgang Denk [Sun, 13 Apr 2008 21:19:23 +0000 (14:19 -0700)]
Fix compile error

...as suggested by Peter Pearse

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoSeparate omap24xx specific code from arm1136
Sascha Hauer [Wed, 26 Mar 2008 19:40:36 +0000 (20:40 +0100)]
Separate omap24xx specific code from arm1136

Move omap24xx code to cpu/arm1136/omap24xx, rename include/asm-arm/arch-arm1136
to cpu/arm1136/omap24xx.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agodisable caches before booting an app for Blackfin apps
Mike Frysinger [Tue, 29 Jan 2008 23:21:05 +0000 (18:21 -0500)]
disable caches before booting an app for Blackfin apps

It isn't generally save to execute applications outside of U-Boot with caches
enabled due to the way the Blackfin processor handles caches (requires
software assistance).  This patch disables caches before booting an ELF or
just booting raw code.  The previous discussion on the patch was that we
wanted to use weaks instead, but that proved to not be feasible when multiple
symbols are involved, which puts us back at the ifdef solution.  I've
minimized the ugliness by moving the setup step outside of the main function.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoppc: Get rid of unused machine type definitions
Wolfgang Denk [Sun, 13 Apr 2008 17:03:54 +0000 (10:03 -0700)]
ppc: Get rid of unused machine type definitions

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoCoding Style cleanup; update CHANGELOG
Wolfgang Denk [Sun, 13 Apr 2008 16:59:26 +0000 (09:59 -0700)]
Coding Style cleanup; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sun, 13 Apr 2008 16:42:35 +0000 (09:42 -0700)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash
Wolfgang Denk [Sun, 13 Apr 2008 16:40:35 +0000 (09:40 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-cfi-flash

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx
Wolfgang Denk [Sun, 13 Apr 2008 16:39:26 +0000 (09:39 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc83xx

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx
Wolfgang Denk [Sun, 13 Apr 2008 16:38:13 +0000 (09:38 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc85xx

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Sun, 13 Apr 2008 16:34:11 +0000 (09:34 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-microblaze
Wolfgang Denk [Sun, 13 Apr 2008 16:30:26 +0000 (09:30 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-microblaze

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-sparc
Wolfgang Denk [Sun, 13 Apr 2008 16:21:00 +0000 (09:21 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-sparc

16 years agoLM73 bug fix for negative temperatures and cleanup
Larry Johnson [Thu, 21 Feb 2008 18:58:11 +0000 (13:58 -0500)]
LM73 bug fix for negative temperatures and cleanup

When the LM73 temperature sensor measures a temperature below 0 C, the
current driver does not perform sign extension, so the result returned is
512 C too high.  This patch fixes the problem, and does general cleanup
of the code.

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agocfi_flash: Support buffered writes on non-standard Spansion NOR flash
Guennadi Liakhovetski [Thu, 3 Apr 2008 11:36:02 +0000 (13:36 +0200)]
cfi_flash: Support buffered writes on non-standard Spansion NOR flash

Some NOR flash chip from Spansion, for example, the s29ws-n MirrorBit
series require different addresses for buffered write commands. Define a
configuration option to support buffered writes on those chips. A more
elegant solution would be to automatically detect those chips by parsing
their CFI records, but that would require introduction of a fixup table
into the cfi_flash driver.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agompc83xx: Update DIMM data bus width test to support 40-bit width
Lee Nipper [Thu, 10 Apr 2008 14:35:06 +0000 (09:35 -0500)]
mpc83xx: Update DIMM data bus width test to support 40-bit width

32-bit wide ECC memory modules report 40-bit width.
Changed the DIMM data bus width test to 'less than 64' instead of 'equal 32'.

Signed-off-by: Lee Nipper <lee.nipper@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Fix the bug of serdes initialization
Dave Liu [Mon, 31 Mar 2008 09:05:12 +0000 (17:05 +0800)]
mpc83xx: Fix the bug of serdes initialization

Currently the serdes will not be initializated due to the
partid's error.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Fix the SATA clock setting of 837x targets
Dave Liu [Thu, 3 Apr 2008 08:28:29 +0000 (16:28 +0800)]
mpc83xx: Fix the SATA clock setting of 837x targets

Currently the SATA controller clock is configured as CSB clock,
usually the CSB clock is 400/333/266MHz.

However, The SATA IP block is only guaranteed to operate up to
200 MHz as stated in the HW spec.

The bug is reported by Joe D'Abbraccio <ljd015@freescale.com>

This patch makes the SATA clock as half of CSB clock.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc837xerdb: Fix warning: implicit declaration of function 'fdt_fixup_dr_usb'
Jean-Christophe PLAGNIOL-VILLARD [Wed, 2 Apr 2008 11:41:21 +0000 (13:41 +0200)]
mpc837xerdb: Fix warning: implicit declaration of function 'fdt_fixup_dr_usb'

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years ago85xx: Fix detection of MP cpu spin up
Kumar Gala [Wed, 9 Apr 2008 09:20:57 +0000 (04:20 -0500)]
85xx: Fix detection of MP cpu spin up

We were looking at the wrong memory offset to determine of a secondary
cpu had been spun up or not.  Also added a warning message if the
all the secondary cpus we expect don't spin up.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Use SVR_SOC_VER instead of SVR_VER
Kumar Gala [Tue, 8 Apr 2008 15:45:50 +0000 (10:45 -0500)]
85xx: Use SVR_SOC_VER instead of SVR_VER

The recent change introduced by 'Update SVR numbers to expand support'
now requires that we use SVR_SOC_VER instead of SVR_VER if we want
to compare against a particular processor id.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoppc4xx: Fix power mgt definitions for PPC440
Eugene O'Brien [Fri, 11 Apr 2008 14:00:35 +0000 (10:00 -0400)]
ppc4xx: Fix power mgt definitions for PPC440

Corrected DCR addresses of PPC440EP power management registers.

Signed-off-by: Eugene O'Brien <eugene.obrien@advantechamt.com>
16 years agoRevert merge of git://www.denx.de/git/u-boot-arm, commit 62479b18:
Wolfgang Denk [Fri, 11 Apr 2008 13:11:26 +0000 (15:11 +0200)]
Revert merge of git://denx.de/git/u-boot-arm, commit 62479b18:

Reverting became necessary after it turned out that the patches in
the u-boot-arm repo were modified, and in some cases corrupted.

This reverts the following commits:

066bebd6353e33af3adefc3404560871699e9961
7a837b7310166ae8fc8b8d66d7ef01b60a80f9d6
c88ae20580b2b01487b4cdcc8b2a113f551aee36
a147e56f03871bba4f05058d5e04ce7deb010b04
d6674e0e2a6a1f033945f78838566210d3f28c95
8c8463cce44d849e37744749b32d38e1dfb12e50
c98b47ad24b2d91f41c09a3d62d7f70ad84f4b7d
8bf69d81782619187933a605f1a95ee1d069478d
8c16cb0d3b971f46fbe77c072664c0f2dcd4471d
a574a73852a527779234e73e17e7597fd8128882
1377b5583a48021d983e1fd565f7d40c89e84d63
1704dc20917b4f71e373e2c888497ee666d40380

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoppc4xx: Update Kilauea defconfig to use device-tree booting as default
Stefan Roese [Fri, 11 Apr 2008 05:02:29 +0000 (07:02 +0200)]
ppc4xx: Update Kilauea defconfig to use device-tree booting as default

This patch reworks the default environment on Kilauea/Haleakala. Now
"net_nfs" for exmaple uses the device-tree style booting formerly know
as "net_nfs_fdt". Also the addresses in RAM were changed because of the
new image booting support, which check for image overwriting. So the
addresses needed togeet adjusted.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Fix Canyonlands default environment to work with new image support
Stefan Roese [Wed, 9 Apr 2008 09:58:02 +0000 (11:58 +0200)]
ppc4xx: Fix Canyonlands default environment to work with new image support

Since the new image support checks for image overwriting, the default
environment needs to get adjusted to use correct addresses.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc: Revert patch 70431e8a that used _start instead of CFG_MONITOR_BASE
Stefan Roese [Wed, 9 Apr 2008 09:54:11 +0000 (11:54 +0200)]
ppc: Revert patch 70431e8a that used _start instead of CFG_MONITOR_BASE

The patch 70431e8a7393b6b793f77957f95b999fc9a269b8 (Make MPC83xx one step
closer to full relocation.) doesn't use CFG_MONITOR_BASE anymore. But
on 4xx systems _start currently cannot be used for this calculation.
So revert back to the original version for now.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agomicroblaze: Sort microblaze boards in MAKEALL script
Michal Simek [Fri, 28 Mar 2008 11:49:52 +0000 (12:49 +0100)]
microblaze: Sort microblaze boards in MAKEALL script

16 years agomicroblaze: clean microblaze_config.mk
Michal Simek [Fri, 28 Mar 2008 10:58:45 +0000 (11:58 +0100)]
microblaze: clean microblaze_config.mk

FLAGS are generated by U-BOOT generator.
Board specific FLAGS are in board directory

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agomicroblaze: xupv2p fix config file for supporting FDT
Michal Simek [Fri, 28 Mar 2008 11:47:19 +0000 (12:47 +0100)]
microblaze: xupv2p fix config file for supporting FDT

16 years agomicroblaze: ml401 fix config file for supporting FDT
Michal Simek [Fri, 28 Mar 2008 10:53:02 +0000 (11:53 +0100)]
microblaze: ml401 fix config file for supporting FDT

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agomicroblaze: ml401 - add ifdef for GPIO
Michal Simek [Fri, 28 Mar 2008 10:22:48 +0000 (11:22 +0100)]
microblaze: ml401 - add ifdef for GPIO

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agomicroblaze: clean uart16550 and uartlite handling
Michal Simek [Fri, 28 Mar 2008 11:13:03 +0000 (12:13 +0100)]
microblaze: clean uart16550 and uartlite handling

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agomicroblaze: Add Emaclite driver to Makefile
Michal Simek [Fri, 28 Mar 2008 10:08:31 +0000 (11:08 +0100)]
microblaze: Add Emaclite driver to Makefile

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agomicroblaze: Add Emac driver to Makefile
Michal Simek [Fri, 28 Mar 2008 10:08:01 +0000 (11:08 +0100)]
microblaze: Add Emac driver to Makefile

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agomicroblaze: add Emac ethernet driver
Michal Simek [Fri, 28 Mar 2008 11:42:29 +0000 (12:42 +0100)]
microblaze: add Emac ethernet driver

16 years agomicroblaze: add Emaclite ethernet driver
Michal Simek [Fri, 28 Mar 2008 11:41:56 +0000 (12:41 +0100)]
microblaze: add Emaclite ethernet driver

16 years agomicroblaze: ML401 and XUPV2P remove emac and emaclite reference
Michal Simek [Fri, 28 Mar 2008 10:04:01 +0000 (11:04 +0100)]
microblaze: ML401 and XUPV2P remove emac and emaclite reference

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agomicroblaze: remove old setting for emac driver
Michal Simek [Fri, 28 Mar 2008 09:59:32 +0000 (10:59 +0100)]
microblaze: remove old setting for emac driver

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agomicroblaze: Clean Makefile from ancient emac driver
Michal Simek [Fri, 28 Mar 2008 09:58:15 +0000 (10:58 +0100)]
microblaze: Clean Makefile from ancient emac driver

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agoSPARC/LEON2: added support for Gaisler simulator GRSIM/TSIM for SPARC/LEON2 targets...
Daniel Hellstrom [Fri, 28 Mar 2008 09:20:43 +0000 (10:20 +0100)]
SPARC/LEON2: added support for Gaisler simulator GRSIM/TSIM for SPARC/LEON2 targets. See gaisler.com for information.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
16 years agoSPARC/LEON3: added support for GR-CPCI-AX2000 FPGA AX board. The FPGA is exchangeable...
Daniel Hellstrom [Wed, 26 Mar 2008 22:38:48 +0000 (23:38 +0100)]
SPARC/LEON3: added support for GR-CPCI-AX2000 FPGA AX board. The FPGA is exchangeable but a standard LEON3 design is assumed. See gaisler.com for information.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
16 years agoSPARC/LEON3: added support for Altera NIOS Development kit (STRATIX II Edition) with...
Daniel Hellstrom [Wed, 26 Mar 2008 22:34:47 +0000 (23:34 +0100)]
SPARC/LEON3: added support for Altera NIOS Development kit (STRATIX II Edition) with GRLIB template design. See gaisler.com for information.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
16 years agoSPARC/LEON3: added support for Gaisler GRSIM/TSIM2 SPARC/LEON3 simulatorn. See www...
Daniel Hellstrom [Fri, 28 Mar 2008 09:06:52 +0000 (10:06 +0100)]
SPARC/LEON3: added support for Gaisler GRSIM/TSIM2 SPARC/LEON3 simulatorn. See gaisler.com for information.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
16 years agoSPARC/LEON3: added support for GR-XC3S-1500 board with GRLIB template design. See...
Daniel Hellstrom [Wed, 26 Mar 2008 22:26:48 +0000 (23:26 +0100)]
SPARC/LEON3: added support for GR-XC3S-1500 board with GRLIB template design. See gaisler.com for board information.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
16 years agoSPARC: Added support for SPARC LEON2 SOC Processor.
Daniel Hellstrom [Fri, 28 Mar 2008 09:00:33 +0000 (10:00 +0100)]
SPARC: Added support for SPARC LEON2 SOC Processor.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
16 years agoSPARC/LEON3: Added AMBA Bus Plug&Play information print command (ambapp). It can...
Daniel Hellstrom [Wed, 26 Mar 2008 22:00:38 +0000 (23:00 +0100)]
SPARC/LEON3: Added AMBA Bus Plug&Play information print command (ambapp). It can print available cores (type: AHB Master, AHB Slave, APB Slave), their address ranges, IRQ number and version.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
16 years agoSPARC: Added support for SPARC LEON3 SOC processor.
Daniel Hellstrom [Wed, 26 Mar 2008 21:51:29 +0000 (22:51 +0100)]
SPARC: Added support for SPARC LEON3 SOC processor.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
16 years agoSPARC: added SPARC support for new uimage in common code.
Daniel Hellstrom [Fri, 28 Mar 2008 07:29:26 +0000 (08:29 +0100)]
SPARC: added SPARC support for new uimage in common code.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
16 years agoSPARC: added SPARC board information to the command bdinfo.
Daniel Hellstrom [Wed, 26 Mar 2008 21:36:03 +0000 (22:36 +0100)]
SPARC: added SPARC board information to the command bdinfo.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
16 years agoSPARC: Added generic support for SPARC architecture.
Daniel Hellstrom [Fri, 28 Mar 2008 08:47:00 +0000 (09:47 +0100)]
SPARC: Added generic support for SPARC architecture.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-fdt
Wolfgang Denk [Mon, 7 Apr 2008 22:20:52 +0000 (00:20 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-fdt

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-at91
Wolfgang Denk [Mon, 7 Apr 2008 22:16:36 +0000 (00:16 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-at91

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-net
Wolfgang Denk [Mon, 7 Apr 2008 22:11:22 +0000 (00:11 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-net

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-coldfire
Wolfgang Denk [Mon, 7 Apr 2008 22:10:17 +0000 (00:10 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-coldfire

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-blackfin
Wolfgang Denk [Mon, 7 Apr 2008 22:06:47 +0000 (00:06 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-blackfin

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-arm
Wolfgang Denk [Mon, 7 Apr 2008 22:05:42 +0000 (00:05 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-arm

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-sh
Wolfgang Denk [Mon, 7 Apr 2008 22:04:39 +0000 (00:04 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-sh

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx
Wolfgang Denk [Mon, 7 Apr 2008 21:59:10 +0000 (23:59 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc83xx

Conflicts:

lib_ppc/board.c

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash
Wolfgang Denk [Mon, 7 Apr 2008 21:55:47 +0000 (23:55 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-cfi-flash

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Mon, 7 Apr 2008 21:52:32 +0000 (23:52 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx

16 years agoppc4xx: Fix 4xx enet driver to support 460GT EMAC2+3
Stefan Roese [Thu, 3 Apr 2008 12:50:34 +0000 (14:50 +0200)]
ppc4xx: Fix 4xx enet driver to support 460GT EMAC2+3

This patch fixes a problem with the RGMII setup of the 460GT. The 460GT
has 2 RGMII instances and we need to configure the 2nd RGMII instance
for the EMAC2+3 channels.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoMPC8xx: Fix libfdt support introduced in commit 77ff7b74
Jean-Christophe PLAGNIOL-VILLARD [Wed, 2 Apr 2008 06:03:56 +0000 (08:03 +0200)]
MPC8xx: Fix libfdt support introduced in commit 77ff7b74

fdt.c: In function 'ft_cpu_setup':
fdt.c:33: warning: implicit declaration of function 'do_fixup_by_prop_u32'
fdt.c:39: warning: implicit declaration of function 'do_fixup_by_compat_u32'
fdt.c:43: warning: implicit declaration of function 'fdt_fixup_ethernet'
fdt.c:45: warning: implicit declaration of function 'fdt_fixup_memory'

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoFix fdt set command to conform to dts spec
Andy Fleming [Tue, 1 Apr 2008 01:45:56 +0000 (20:45 -0500)]
Fix fdt set command to conform to dts spec

The fdt set command was treating properties specified as <00> and <0011>
as byte streams, rather than as an array of cells.  As we already have
syntax for expressing the desire for a stream of bytes ([ xx xx ...]),
we should use the <> syntax to describe arrays of cells, which are always
32-bits per element.  If we imagine this likely (IMHO) scenario:

> fdt set /ethernet-phy@1 reg <1>

With the old code, this would create a bad fdt, since the reg cell would be
made to be one byte in length.  But the cell must be 4 bytes, so this would
break mysteriously.

Also, the dts spec calls for constants inside the angle brackets (<>)
to conform to C constant standards as they pertain to base.
Take this scenario:

> fdt set /ethernet@f00 reg <0xe250000\ 0x1000>

The old fdt command would complain that it couldn't parse that.  Or, if you
wanted to specify that a certain clock ran at 33 MHz, you'd be required to
do this:

> fdt set /mydev clock <1f78a40>

Whereas the new code will accept decimal numbers.

While I was in there, I extended the fdt command parser to handle property
strings which are split across multiple arguments:

> fdt set /ethernet@f00 interrupts < 33 2 34 2 36 2 >
> fdt p /ethernet@f00
ethernet@f00 {
interrupts = <0x21 0x2 0x22 0x2 0x24 0x2>;
};

Lastly, the fdt print code was rearranged slightly to print arrays of cells
if the length of the property is a multiple of 4 bytes, and to not print
leading zeros.

Signed-off-by: Andy Fleming <afleming@freescale.com>
16 years agoppc4xx: Canyonlands: Init SATA/PCIe port correctly
Stefan Roese [Wed, 2 Apr 2008 06:39:33 +0000 (08:39 +0200)]
ppc4xx: Canyonlands: Init SATA/PCIe port correctly

Canyonlands (460EX) shares the first PCIe interface with the SoC SATA
interface. This usage can be configured with the jumper J6. This patch
correctly configures the SATA/PCIe PHY for SATA usage when this jumper
is installed.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoremove remaining CONFIG_OF_HAS_{UBOOT_ENV,BD_T} code
Kim Phillips [Fri, 28 Mar 2008 22:37:49 +0000 (17:37 -0500)]
remove remaining CONFIG_OF_HAS_{UBOOT_ENV,BD_T} code

finish off what commit 43ddd9c820fec44816188f53346b464e20b3142d,
"Remove deprecated CONFIG_OF_HAS_UBOOT_ENV and CONFIG_OF_HAS_BD_T"
started.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agodataflash: Move CONFIG_HAS_DATAFLASH to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Tue, 1 Apr 2008 05:30:51 +0000 (07:30 +0200)]
dataflash: Move CONFIG_HAS_DATAFLASH to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoAdd Vitesse 8601 support to TSEC driver
Tor Krill [Fri, 28 Mar 2008 14:29:45 +0000 (15:29 +0100)]
Add Vitesse 8601 support to TSEC driver

Add phy_info for Vitesse VSC8601.
Add config option, CFG_VSC8601_SKEWFIX, to enable RGMII skew timing compensation.

Signed-off-by: Tor Krill <tor@excito.com>
Reviewed-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agoSPARC: added SMC91111 driver in and out macros for LEON processors.
Daniel Hellstrom [Mon, 31 Mar 2008 14:25:00 +0000 (14:25 +0000)]
SPARC: added SMC91111 driver in and out macros for LEON processors.

This patch makes SPARC/LEON processors able to read and write
to the SMC91111 chip using the chip external I/O bus of the memory
controller. This patchs defines the standard in and out macros
expected by the SMC9111 driver.

To access that I/O bus one must set up the memory controller
(MCTRL or FTMCTRL) correctly. It is assumed that the user sets
up this correctly when the other MCTRL parameters are set up. It
can be set up from the board configuration header file.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agoAdd maintainership information for AT91CAP9ADK and AT91SAM9260EK boards
Stelian Pop [Wed, 26 Mar 2008 17:52:34 +0000 (18:52 +0100)]
Add maintainership information for AT91CAP9ADK and AT91SAM9260EK boards

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoAT91SAM9260EK: Move CONFIG_CMD_NAND to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Mon, 31 Mar 2008 19:31:04 +0000 (21:31 +0200)]
AT91SAM9260EK: Move CONFIG_CMD_NAND to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoAdd support for AT91SAM9260EK
Stelian Pop [Wed, 26 Mar 2008 17:52:33 +0000 (18:52 +0100)]
Add support for AT91SAM9260EK

Support for booting from internal DataFlash, external DataFlash card
or NAND flash is available.

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoAT91SAM9: Move CONFIG_HAS_DATAFLASH to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Mon, 31 Mar 2008 19:20:49 +0000 (21:20 +0200)]
AT91SAM9: Move CONFIG_HAS_DATAFLASH to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoAT91CAP9ADK: Move CONFIG_CMD_NAND to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Mon, 31 Mar 2008 19:12:17 +0000 (21:12 +0200)]
AT91CAP9ADK: Move CONFIG_CMD_NAND to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoPort AT91CAP9 to the new headers
Stelian Pop [Wed, 26 Mar 2008 19:52:32 +0000 (20:52 +0100)]
Port AT91CAP9 to the new headers

Adapt the existing AT91CAP9 code to the new headers and APIs.

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoFinish header files reworking
Stelian Pop [Wed, 26 Mar 2008 18:52:31 +0000 (19:52 +0100)]
Finish header files reworking

Replace AT91CAP9.h file with several splitted header files coming
from the Linux kernel.

This is part 2 of the replacement: more header imports and edits.

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoImport several header files from Linux
Stelian Pop [Wed, 26 Mar 2008 18:52:30 +0000 (19:52 +0100)]
Import several header files from Linux

Replace AT91CAP9.h file with several splitted header files coming
from the Linux kernel.

This is part 1 of the replacement: pristine header files import.

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoMove at91cap9 specific files to at91sam9 directory
Stelian Pop [Wed, 26 Mar 2008 19:52:28 +0000 (20:52 +0100)]
Move at91cap9 specific files to at91sam9 directory

AT91CAP9 and AT91SAM9 SoCs are very close hardware wise, so a
common infrastructure can be used. Let this infrastructure be
named after the AT91SAM9 family, and move the existing AT91CAP9
files to the new place.

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoUse timer_init() instead of board supplied interrupt_init()
Stelian Pop [Wed, 26 Mar 2008 20:52:27 +0000 (21:52 +0100)]
Use timer_init() instead of board supplied interrupt_init()

The timer on AT91CAP9/AT91SAM9 is supplied by the SoC, and not by
the board, so use timer_init() instead of interrupt_init().

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoCleanup DataFlash partition handling
Stelian Pop [Wed, 26 Mar 2008 20:52:36 +0000 (21:52 +0100)]
Cleanup DataFlash partition handling

DataFlash partition information has become a mess. This patch
defines a single partition scheme for Atmel DataFlashes. This partition
scheme will be used by all AT91CAP9 and AT91SAM9 boards.

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoColdFire: Fix alignment issue after CONFIG_IDENT_STRING in start.S
TsiChung Liew [Fri, 28 Mar 2008 13:47:45 +0000 (08:47 -0500)]
ColdFire: Fix alignment issue after CONFIG_IDENT_STRING in start.S

When the version_string function in start.S is not 4-byte align,
it will cause the compiler generates "unaligned opcodes detected
in executable segment". This issue affects all ColdFire CPUs.
By adding .align 4 after CONFIG_IDENT_STRING, it will pad 0's if
it is not aligned.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>
16 years agoColdFire: Add dspi and serial flash support for MCF5445x
TsiChung Liew [Tue, 25 Mar 2008 20:41:15 +0000 (15:41 -0500)]
ColdFire: Add dspi and serial flash support for MCF5445x

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>
16 years agoColdFire: Remove R5200 board
TsiChung Liew [Tue, 18 Mar 2008 22:37:01 +0000 (17:37 -0500)]
ColdFire: Remove R5200 board

This board never went into production

Signed-off-by: Zachary P. Landau <zachary.landau@labxtechnologies.com>
Acked-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>
16 years agoColdFire: Added M5275EVB support.
Matthew Fettke [Thu, 24 Jan 2008 20:02:32 +0000 (14:02 -0600)]
ColdFire: Added M5275EVB support.

Signed-off-by: Matthew Fettke <mfettke@videon-central.com>
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>
16 years agoColdFire: Added MCF5275 cpu support.
Matthew Fettke [Mon, 4 Feb 2008 21:38:20 +0000 (15:38 -0600)]
ColdFire: Added MCF5275 cpu support.

Signed-off-by: Matthew Fettke <mfettke@videon-central.com>
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>
16 years agoColdFire: Define bootdelay in configuration file for M52277EVB
TsiChung Liew [Mon, 17 Mar 2008 17:14:11 +0000 (12:14 -0500)]
ColdFire: Define bootdelay in configuration file for M52277EVB

Signed-off-by: Matt Wadel <Matt.Waddel@freescale.com>
Acked-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>