]> git.sur5r.net Git - u-boot/log
u-boot
16 years agogitignore: udpate stgit generated and .patch file
Jean-Christophe PLAGNIOL-VILLARD [Sat, 12 Apr 2008 12:08:45 +0000 (14:08 +0200)]
gitignore: udpate stgit generated and .patch file

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoGet rid of redundant copy of renamed header file.
Wolfgang Denk [Fri, 18 Apr 2008 07:15:36 +0000 (00:15 -0700)]
Get rid of redundant copy of renamed header file.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoFix dependency generation for older gcc versions
Vlad Lungu [Fri, 11 Apr 2008 18:20:14 +0000 (21:20 +0300)]
Fix dependency generation for older gcc versions

 With gcc 3.3.3 at least, compilation fails with

Generating include/autoconf.mk
gcc: compilation of header file requested
make: *** [include/autoconf.mk] Error 1

since commit 16fe77752eee099b9fb61ed73460e51cc94b37ba.

Signed-off-by: Vlad Lungu <vlad@comsys.ro>
16 years agoRestore the ability to continue booting after legacy image overwrite
Marian Balakowicz [Fri, 11 Apr 2008 09:07:49 +0000 (11:07 +0200)]
Restore the ability to continue booting after legacy image overwrite

Before new uImage code was merged, bootm code allowed for the kernel image to
get overwritten during decompresion. new uImage introduced a check for image
overwrites and refused to boot the image that got overwritten. This patch
restores the old behavior. It also adds a warning when the image overwriten is
a multi-image file, because in such case accessing componentes other than the
first one will fail.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years agoppc: Fix ftd_blob variable init when processing raw blob
Marian Balakowicz [Fri, 11 Apr 2008 09:07:43 +0000 (11:07 +0200)]
ppc: Fix ftd_blob variable init when processing raw blob

Set fdt_blob variable before its value is printed out.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years agoRemove all the search paths from the .lds files.
Jason Wessel [Thu, 10 Apr 2008 19:30:16 +0000 (14:30 -0500)]
Remove all the search paths from the .lds files.

The cross compiler is responsible for providing the correct libraries
and the logic to find the linking libraries.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
16 years agoBoot-related documentation update
Bartlomiej Sieka [Mon, 14 Apr 2008 13:44:16 +0000 (15:44 +0200)]
Boot-related documentation update

- document 'bootm_low' and 'bootm_size' environment variables
- update inaccurate CFG_BOOTMAPSZ entry

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
16 years agoFix regression introduced by a typo in "Tidied other cpu/arm920t/start.S code"
Guennadi Liakhovetski [Wed, 9 Apr 2008 15:34:08 +0000 (17:34 +0200)]
Fix regression introduced by a typo in "Tidied other cpu/arm920t/start.S code"

Restore logic reverted by commit

commit 80767a6cead9990d9e77e62be947843c2c72f469
Author: Peter Pearse <peter.pearse@arm.com>
Date:   Wed Sep 5 16:04:41 2007 +0100

    Changed API name to coloured_led.h
    Removed code using deprecated ifdef CONFIG_BOOTBINFUNC
    Tidied other cpu/arm920t/start.S code

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agoRemove conflicting NAND ID
Mike Frysinger [Tue, 8 Apr 2008 14:24:24 +0000 (10:24 -0400)]
Remove conflicting NAND ID

There are two NAND entries with ID 0xDC and this obviously causes problems.
In the kernel, they punted the first entry, so we should do the same.

See this upstream e-mail for more info:
http://lists.infradead.org/pipermail/linux-mtd/2007-July/018795.html

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agocpu/mips/cpu.c: Fix flush_cache bug
Shinya Kuribayashi [Tue, 8 Apr 2008 07:20:35 +0000 (16:20 +0900)]
cpu/mips/cpu.c: Fix flush_cache bug

Cache operations have to take line address (addr), not start_addr.
I noticed this bug when debugging ping failure.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
16 years agoTQM5200: fix default IDE reset level
Martin Krause [Thu, 3 Apr 2008 12:29:01 +0000 (14:29 +0200)]
TQM5200: fix default IDE reset level

Before the first call of ide_reset(), the level of the IDE reset
signal on the TQM5200 is low (reset asserted). This patch sets the
default value to high (reset not asserted).

Currently this patch fixes no real problem, but it is cleaner to
assert the reset signal only on demand, and not permanently.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
16 years agomgcoge, mgsuv: realign CONFIG_EXTRA_ENV_SETTING
Detlev Zundel [Thu, 3 Apr 2008 12:18:48 +0000 (14:18 +0200)]
mgcoge, mgsuv: realign CONFIG_EXTRA_ENV_SETTING

Signed-off-by: Detlev Zundel <dzu@denx.de>
16 years agomgcoge, mgsuv: rename 'addcon' to 'addcons'
Detlev Zundel [Thu, 3 Apr 2008 12:18:47 +0000 (14:18 +0200)]
mgcoge, mgsuv: rename 'addcon' to 'addcons'

The latter name with 13 users is already established, so we will use
that.

Signed-off-by: Detlev Zundel <dzu@denx.de>
16 years agoIDE: fix bug in reset sequence
Martin Krause [Thu, 3 Apr 2008 11:37:56 +0000 (13:37 +0200)]
IDE: fix bug in reset sequence

According to the ata (ata5) specification the RESET- signal
shall be asserted for at least 25 us. Without this patch,
the RESET- signal is asserted on some boards for only < 1 us
(e. g. on the TQM5200). This patch adds a general delay of
25 us to the RESET- signal.

Without this patch a Platinum 4 GiB CF card is not recognised
properly on boards with a TQM5200 (STK52xx, TB5200).

Signed-off-by: Martin Krause <martin.krause@tqs.de>
16 years agolwmon5: disable CONFIG_ZERO_BOOTDELAY
Sascha Laue [Thu, 3 Apr 2008 12:43:11 +0000 (14:43 +0200)]
lwmon5: disable CONFIG_ZERO_BOOTDELAY

Signed-off-by: Sascha Laue <sascha.laue@liebherr.com>
16 years agods174x: Fix warning on return in rtc_get and rtc_set functions
Jean-Christophe PLAGNIOL-VILLARD [Wed, 2 Apr 2008 06:03:58 +0000 (08:03 +0200)]
ds174x: Fix warning on return in rtc_get and rtc_set functions

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agocmd_log.c: Fix assignment differ in signedness
Jean-Christophe PLAGNIOL-VILLARD [Wed, 2 Apr 2008 06:03:57 +0000 (08:03 +0200)]
cmd_log.c: Fix assignment differ in signedness

In function 'logbuff_init_ptrs':
cmd_log.c:79: warning: pointer targets in assignment differ in signedness

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoRemove duplicate #undef SHOW_INFO in drivers/usb/usb_ohci.c
Gururaja Hebbar K R [Wed, 2 Apr 2008 05:34:43 +0000 (11:04 +0530)]
Remove duplicate #undef SHOW_INFO in drivers/usb/usb_ohci.c

Signed-off-by: gururaja hebbar <gururajakr@sanyo.co.in>
16 years agos3c4510b_eth: fix 'packed' attribute ignored for fields of MACFrame
Jean-Christophe PLAGNIOL-VILLARD [Tue, 1 Apr 2008 12:07:10 +0000 (14:07 +0200)]
s3c4510b_eth: fix 'packed' attribute ignored for fields of MACFrame

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoAdditional PCI IDs for IDE and network controllers
Guennadi Liakhovetski [Tue, 15 Apr 2008 08:24:14 +0000 (10:24 +0200)]
Additional PCI IDs for IDE and network controllers

These PCI IDs are required by the Linkstation platforms.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
16 years agoChange env_get_char from a global function ptr to a function.
Joakim Tjernlund [Mon, 14 Apr 2008 21:01:50 +0000 (23:01 +0200)]
Change env_get_char from a global function ptr to a function.

This avoids an early global data reference.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
16 years agoFix watchdog POST for lwmon5
Sascha Laue [Tue, 1 Apr 2008 13:13:03 +0000 (15:13 +0200)]
Fix watchdog POST for lwmon5

If the hardware watchdog detects a voltage error, the watchdog sets
GPIO62 to low. The watchdog POST has to detect this low level.

Signed-off-by: Sascha Laue <leglas0@legpc180.leg.liebherr.i>
16 years agoata: update the libata.h from ata.h of linux kernel
Dave Liu [Tue, 1 Apr 2008 07:22:11 +0000 (15:22 +0800)]
ata: update the libata.h from ata.h of linux kernel

Current libata.h of u-boot is out of sync from linux kernel,
this patch make it be consistent with linux kernel.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Tor Krill <tor@excito.com>
16 years agoAllow use of ARCH=powerpc when building
Kumar Gala [Mon, 31 Mar 2008 16:59:27 +0000 (11:59 -0500)]
Allow use of ARCH=powerpc when building

The linux kernel is now mostly ARCH=powerpc, so to make life easier
allow use to use ARCH=powerpc and convert it to ARCH=ppc.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoAdd apollon board MAINTAINERS entry
Kyungmin Park [Mon, 31 Mar 2008 01:40:54 +0000 (10:40 +0900)]
Add apollon board MAINTAINERS entry

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
16 years agoFix OneNAND read
Kyungmin Park [Mon, 31 Mar 2008 01:40:36 +0000 (10:40 +0900)]
Fix OneNAND read

It should access with 16-bit instead of 8-bit

Now it uses the generic memcpy with 8-bit access. It means it reads wrong data from OneNAND.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
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://www.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://www.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://www.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://www.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://www.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://www.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://www.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 www.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 www.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 www.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 www.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 www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.denx.de/git/u-boot-cfi-flash