]> git.sur5r.net Git - u-boot/log
u-boot
17 years agoFix Makefile to use $(MKCONFIG) macro for all board ports
Grant Likely [Tue, 3 Jul 2007 06:17:28 +0000 (00:17 -0600)]
Fix Makefile to use $(MKCONFIG) macro for all board ports

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoCorrect fixup relocation for mpc83xx
Grant Likely [Tue, 3 Jul 2007 06:34:49 +0000 (00:34 -0600)]
Correct fixup relocation for mpc83xx

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoCorrect fixup relocation for mpc8260
Grant Likely [Tue, 3 Jul 2007 06:34:44 +0000 (00:34 -0600)]
Correct fixup relocation for mpc8260

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoCorrect fixup relocation for mpc824x
Grant Likely [Tue, 3 Jul 2007 06:34:39 +0000 (00:34 -0600)]
Correct fixup relocation for mpc824x

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoCorrect fixup relocation for mpc8220
Grant Likely [Tue, 3 Jul 2007 06:34:34 +0000 (00:34 -0600)]
Correct fixup relocation for mpc8220

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoCorrect fixup relocation for MPC5xxx
Grant Likely [Tue, 3 Jul 2007 06:34:29 +0000 (00:34 -0600)]
Correct fixup relocation for MPC5xxx

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoCorrect relocation fixup for mpc5xx
Grant Likely [Tue, 3 Jul 2007 06:34:24 +0000 (00:34 -0600)]
Correct relocation fixup for mpc5xx

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoDon't set gd->reloc_off if relocation of .fixup works correctly
Grant Likely [Tue, 3 Jul 2007 06:34:19 +0000 (00:34 -0600)]
Don't set gd->reloc_off if relocation of .fixup works correctly

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRemove obsolete mpc83xx linker scripts
Grant Likely [Tue, 3 Jul 2007 06:34:14 +0000 (00:34 -0600)]
Remove obsolete mpc83xx linker scripts

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoConsolidate mpc8260 linker scripts
Grant Likely [Tue, 3 Jul 2007 06:34:09 +0000 (00:34 -0600)]
Consolidate mpc8260 linker scripts

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRemove obsolete mpc824x linker scripts
Grant Likely [Tue, 3 Jul 2007 06:34:04 +0000 (00:34 -0600)]
Remove obsolete mpc824x linker scripts

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRemove obsolete mpc824x linker scripts (3 of 4)
Grant Likely [Tue, 3 Jul 2007 06:33:59 +0000 (00:33 -0600)]
Remove obsolete mpc824x linker scripts (3 of 4)

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRemove obsolete mpc824x linker scripts (2 of 4)
Grant Likely [Tue, 3 Jul 2007 06:33:53 +0000 (00:33 -0600)]
Remove obsolete mpc824x linker scripts (2 of 4)

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRemove obsolete mpc824x linker scripts (1 of 4)
Grant Likely [Tue, 3 Jul 2007 06:33:48 +0000 (00:33 -0600)]
Remove obsolete mpc824x linker scripts (1 of 4)

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRemove obsolete mpc8220 linker scripts
Grant Likely [Tue, 3 Jul 2007 06:33:43 +0000 (00:33 -0600)]
Remove obsolete mpc8220 linker scripts

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRemove obsolete mpc5xxx linker scripts (3 of 3)
Grant Likely [Tue, 3 Jul 2007 06:33:38 +0000 (00:33 -0600)]
Remove obsolete mpc5xxx linker scripts (3 of 3)

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRemove obsolete mpc5xxx linker scripts (2 of 3)
Grant Likely [Tue, 3 Jul 2007 06:33:33 +0000 (00:33 -0600)]
Remove obsolete mpc5xxx linker scripts (2 of 3)

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRemove obsolete mpc5xxx linker scripts (1 of 3)
Grant Likely [Tue, 3 Jul 2007 06:33:28 +0000 (00:33 -0600)]
Remove obsolete mpc5xxx linker scripts (1 of 3)

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRemove obsolete mpc5xx linker scripts
Grant Likely [Tue, 3 Jul 2007 06:33:23 +0000 (00:33 -0600)]
Remove obsolete mpc5xx linker scripts

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoConsolidate mpc83xx linker scripts
Grant Likely [Tue, 3 Jul 2007 06:33:18 +0000 (00:33 -0600)]
Consolidate mpc83xx linker scripts

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoConsolidate mpc8260 linker scripts
Grant Likely [Tue, 3 Jul 2007 06:33:13 +0000 (00:33 -0600)]
Consolidate mpc8260 linker scripts

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoConsolidate mpc824x linker scripts
Grant Likely [Tue, 3 Jul 2007 06:33:08 +0000 (00:33 -0600)]
Consolidate mpc824x linker scripts

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoConsolidate mpc8220 linker scripts
Grant Likely [Tue, 3 Jul 2007 06:33:03 +0000 (00:33 -0600)]
Consolidate mpc8220 linker scripts

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoConsolidate mpc5xxx linker scripts
Grant Likely [Tue, 3 Jul 2007 06:32:58 +0000 (00:32 -0600)]
Consolidate mpc5xxx linker scripts

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoConsolidate mpc5xx linker scripts
Grant Likely [Tue, 3 Jul 2007 06:32:53 +0000 (00:32 -0600)]
Consolidate mpc5xx linker scripts

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoFix a few file permission problems.
Wolfgang Denk [Tue, 3 Jul 2007 22:43:53 +0000 (00:43 +0200)]
Fix a few file permission problems.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMinor coding style cleanup. Rebuild CHANGELOG file.
Wolfgang Denk [Tue, 3 Jul 2007 22:38:38 +0000 (00:38 +0200)]
Minor coding style cleanup. Rebuild CHANGELOG file.

17 years agoconfigs/ mpc86xx: Rewrite command line options using new CONFIG_CMD-* style.
Jon Loeliger [Tue, 12 Jun 2007 00:03:44 +0000 (19:03 -0500)]
configs/ mpc86xx: Rewrite command line options using new CONFIG_CMD-* style.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoREADME: Rewrite command line config to use CONFIG_CMD_* names.
Jon Loeliger [Tue, 12 Jun 2007 00:03:39 +0000 (19:03 -0500)]
README: Rewrite command line config to use CONFIG_CMD_* names.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoinclude/ non-config: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:03:34 +0000 (19:03 -0500)]
include/ non-config: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agotools/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:03:28 +0000 (19:03 -0500)]
tools/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoboard/[k-z]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:03:23 +0000 (19:03 -0500)]
board/[k-z]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoboard/[Ma-i]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:03:19 +0000 (19:03 -0500)]
board/[Ma-i]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agocpu/ non-mpc*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:03:15 +0000 (19:03 -0500)]
cpu/ non-mpc*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agocpu/mpc*/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:03:08 +0000 (19:03 -0500)]
cpu/mpc*/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agolib_*/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:03:03 +0000 (19:03 -0500)]
lib_*/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agolib_ppc/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:02:58 +0000 (19:02 -0500)]
lib_ppc/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agortc/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:02:53 +0000 (19:02 -0500)]
rtc/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agonet/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:02:49 +0000 (19:02 -0500)]
net/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agodisk/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:02:34 +0000 (19:02 -0500)]
disk/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agofs/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:02:20 +0000 (19:02 -0500)]
fs/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agodrivers/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:02:10 +0000 (19:02 -0500)]
drivers/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agocommon/ non-cmd: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:02:05 +0000 (19:02 -0500)]
common/ non-cmd: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agocommon/cmd_[i-z]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:01:54 +0000 (19:01 -0500)]
common/cmd_[i-z]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agocommon/cmd_[a-f]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
Jon Loeliger [Tue, 12 Jun 2007 00:01:43 +0000 (19:01 -0500)]
common/cmd_[a-f]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoIntroduce initial versions of new Command Config files.
Jon Loeliger [Tue, 12 Jun 2007 00:01:34 +0000 (19:01 -0500)]
Introduce initial versions of new Command Config files.

Derive three new files from cmd_confdefs.h:
    config_bootp.h - Has BOOTP related config options, not commands
    config_cmd_all.h - Has a CONFIG_CMD_* definition for every command
    config_cmd_default.h - Has a CONFIG_CMD_* definition for default cmds.

For now, include "config_bootp.h" for compatability until all
users of it directly include it properly.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-testing
Wolfgang Denk [Tue, 3 Jul 2007 13:07:56 +0000 (15:07 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-testing

17 years agoFix S-ATA support.
Mushtaq Khan [Sat, 30 Jun 2007 16:50:48 +0000 (18:50 +0200)]
Fix S-ATA support.

Signed-off-by: mushtaq khan <mushtaqk_921@yahoo.co.in>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Mon, 25 Jun 2007 18:20:30 +0000 (20:20 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years ago[PCS440EP] get rid of CONFIG_PPC4xx_USE_SPD_DDR_INIT_HANG
Heiko Schocher [Mon, 25 Jun 2007 17:11:37 +0000 (19:11 +0200)]
[PCS440EP] get rid of CONFIG_PPC4xx_USE_SPD_DDR_INIT_HANG

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years agoppc4xx: PPC440EPx Emit DDR0 registers on machine check interrupt
Niklaus Giger [Mon, 25 Jun 2007 15:03:13 +0000 (17:03 +0200)]
ppc4xx: PPC440EPx Emit DDR0 registers on machine check interrupt

This patch prints the DDR status registers upon machine check
interrupt on the 440EPx/GRx. This can be useful especially when
ECC support is enabled.

I added some small changes to the original patch from Niklaus to
make it compile clean.

Signed-off-by: Niklaus Giger <niklaus.giger@nestal.com>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Fix O=buildir builds
Niklaus Giger [Mon, 25 Jun 2007 14:50:55 +0000 (16:50 +0200)]
ppc4xx: Fix O=buildir builds

This patch fixes the problem to assemble cpu/ppc4xx/start.S
experienced last week where building failed having specified
O=../build.sequoia.

Signed-off-by: Niklaus Giger <niklaus.giger@nestal.com>
17 years agoppc4xx: Add pci_pre_init() for 405 boards
Stefan Roese [Mon, 25 Jun 2007 13:57:39 +0000 (15:57 +0200)]
ppc4xx: Add pci_pre_init() for 405 boards

This patch removes the CFG_PCI_PRE_INIT option completely, since
it's not needed anymore with the patch from Matthias Fuchs with
the "weak" pci_pre_init() implementation.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Maintenance patch for esd's CPCI405 derivats
Matthias Fuchs [Sun, 24 Jun 2007 15:41:21 +0000 (17:41 +0200)]
ppc4xx: Maintenance patch for esd's CPCI405 derivats

-add pci_pre_init() for pci interrupt fixup code
-disable phy sleep mode via reset_phy() function
-use correct io accessors
-cleanup

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years agoppc4xx: Add pci_pre_init() for 405 boards
Matthias Fuchs [Sun, 24 Jun 2007 15:23:41 +0000 (17:23 +0200)]
ppc4xx: Add pci_pre_init() for 405 boards

This patch adds support for calling a plattform dependant
pci_pre_init() function for 405 boards. This can be used to
move the current pci_405gp_fixup_irq() function into the
board code.

This patch also makes the CFG_PCI_PRE_INIT define obsolete.
A default function with 'weak' attribute is used when
a board specific pci_pre_init() is not implemented.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years agoCoding stylke cleanup; rebuild CHANGELOG
Wolfgang Denk [Fri, 22 Jun 2007 21:59:00 +0000 (23:59 +0200)]
Coding stylke cleanup; rebuild CHANGELOG

17 years agoAdapt log buffer code to support Linux 2.6
Igor Lisitsin [Wed, 18 Apr 2007 10:55:19 +0000 (14:55 +0400)]
Adapt log buffer code to support Linux 2.6

A new environment variable, "logversion", selects the log buffer
behaviour. If it is not set or set to a value other than 2, then the
old, Linux 2.4.4, behaviour is selected.

Signed-off-by: Igor Lisitsin <igor@emcraft.com>
--

17 years agoExtend POST support for PPC440
Igor Lisitsin [Wed, 28 Mar 2007 15:06:19 +0000 (19:06 +0400)]
Extend POST support for PPC440

Added memory, CPU, UART, I2C and SPR POST tests for PPC440.

Signed-off-by: Igor Lisitsin <igor@emcraft.com>
--

17 years ago[PCS440EP] upgrade the PCS440EP board:
Heiko Schocher [Fri, 22 Jun 2007 17:11:54 +0000 (19:11 +0200)]
[PCS440EP]      upgrade the PCS440EP board:
                - Show on the Status LEDs, some States of the board.
                - Get the MAC addresses from the EEProm
                - use PREBOOT
                - use the CF on the board.
                - check the U-Boot image in the Flash with a SHA1
                  checksum.
                - use dynamic TLB entries generation for the SDRAM

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years agoppc4xx: Fix problem with extended program_tlb() funtion
Stefan Roese [Fri, 22 Jun 2007 14:58:40 +0000 (16:58 +0200)]
ppc4xx: Fix problem with extended program_tlb() funtion

The recently extended program_tlb() function had a problem when
multiple TLB's had to be setup (for example with 512MB of SDRAM). The
virtual address was not incremented. This patch fixes this issue
and is tested on Katmai with 512MB SDRAM.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[ppc] Fix build breakage for all non-4xx PowerPC variants.
Rafal Jaworowski [Fri, 22 Jun 2007 12:58:04 +0000 (14:58 +0200)]
[ppc] Fix build breakage for all non-4xx PowerPC variants.

- adapt to the more generic EXCEPTION_PROLOG and CRIT_EXCEPTION macros
- minor 4xx cleanup

17 years agoMerge git://www.denx.de/git/u-boot
Kim Phillips [Wed, 20 Jun 2007 17:22:52 +0000 (12:22 -0500)]
Merge git://www.denx.de/git/u-boot

17 years agoCoding style cleanup. Refresh CHANGELOG.
Wolfgang Denk [Wed, 20 Jun 2007 16:14:24 +0000 (18:14 +0200)]
Coding style cleanup. Refresh CHANGELOG.

17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Wed, 20 Jun 2007 06:23:42 +0000 (08:23 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoppc4xx: Add bootstrap command for AMCC Sequoia (440EPx) eval board
Stefan Roese [Tue, 19 Jun 2007 15:22:44 +0000 (17:22 +0200)]
ppc4xx: Add bootstrap command for AMCC Sequoia (440EPx) eval board

This patch adds a board command to configure the I2C bootstrap EEPROM
values. Right now 533 and 667MHz are supported for booting either via NOR
or NAND FLASH. Here the usage:

=> bootstrap 533 nor        ;to configure the board for 533MHz NOR booting
=> bootstrap 667 nand       ;to configure the board for 667MHz NNAND booting

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[ppc4xx] Fix problem with NAND booting on AMCC Acadia
Stefan Roese [Tue, 19 Jun 2007 14:42:31 +0000 (16:42 +0200)]
[ppc4xx] Fix problem with NAND booting on AMCC Acadia

The latest changes showed a problem with the location of the NAND-SPL
image in the OCM and the init-data area (incl. cache). This patch
fixes this problem.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[ppc4xx] Change board/amcc/acadia/cpr.c to pll.c
Stefan Roese [Tue, 19 Jun 2007 14:40:58 +0000 (16:40 +0200)]
[ppc4xx] Change board/amcc/acadia/cpr.c to pll.c

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Mon, 18 Jun 2007 19:38:46 +0000 (21:38 +0200)]
Merge with /home/wd/git/u-boot/master

17 years ago[ppc4xx] Change lwmon5 port to work with recent 440 exception rework
Stefan Roese [Fri, 15 Jun 2007 09:33:41 +0000 (11:33 +0200)]
[ppc4xx] Change lwmon5 port to work with recent 440 exception rework

Now CONFIG_440 has to be defined in all PPC440 board config files.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/stefan/git/u-boot/denx-440-exceptions
Stefan Roese [Fri, 15 Jun 2007 09:20:13 +0000 (11:20 +0200)]
Merge with /home/stefan/git/u-boot/denx-440-exceptions

17 years agoppc4xx: Clean up 440 exceptions handling
Grzegorz Bernacki [Fri, 15 Jun 2007 09:19:28 +0000 (11:19 +0200)]
ppc4xx: Clean up 440 exceptions handling

- Introduced dedicated switches for building 440 and 405 images required
  for 440-specific machine instructions like 'rfmci' etc.

- Exception vectors moved to the proper location (_start moved away from
  the critical exception handler space, which it occupied)

- CriticalInput now serviced (with default handler)

- MachineCheck properly serviced (added a dedicated handler and return
  subroutine)

- Overall cleanup of exceptions declared with STD_EXCEPTION macro (unused,
  unhandled and those not relevant for 4xx were eliminated)

- Eliminated Linux leftovers, removed dead code

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[ppc4xx] Add initial lwmon5 board support
Stefan Roese [Fri, 15 Jun 2007 06:18:01 +0000 (08:18 +0200)]
[ppc4xx] Add initial lwmon5 board support

This patch adds initial support for the Liebherr lwmon5 board euqipped
with an AMCC 440EPx PowerPC.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[ppc4xx] Extend 44x GPIO setup with default output state
Stefan Roese [Fri, 15 Jun 2007 05:39:43 +0000 (07:39 +0200)]
[ppc4xx] Extend 44x GPIO setup with default output state

The board config array CFG_440_GPIO_TABLE for the ppc440 GPIO setup
is extended with the default GPIO output state (level).

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge git://www.denx.de/git/u-boot
Kim Phillips [Fri, 15 Jun 2007 00:56:58 +0000 (19:56 -0500)]
Merge git://www.denx.de/git/u-boot

17 years ago[ppc4xx] Extend program_tlb() with virtual & physical addresses
Stefan Roese [Thu, 14 Jun 2007 09:14:32 +0000 (11:14 +0200)]
[ppc4xx] Extend program_tlb() with virtual & physical addresses

Now program_tlb() allows to program a TLB (or multiple) with
different virtual and physical addresses. With this change, now one
physical region (e.g. SDRAM) can be mapped 2 times, once with caches
diabled and once with caches enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoChange 'repeatable' attribute of some commands to sensible values.
Detlev Zundel [Wed, 23 May 2007 17:02:41 +0000 (19:02 +0200)]
Change 'repeatable' attribute of some commands to sensible values.

Most prominently this changes 'erase' to be non-repeatable.

Signed-off-by: Detlev Zundel <dzu@denx.de>
17 years agoFix 'run' not to continue after interrupted command
Detlev Zundel [Wed, 23 May 2007 16:47:48 +0000 (18:47 +0200)]
Fix 'run' not to continue after interrupted command

Signed-off-by: Detlev Zundel <dzu@denx.de>
17 years agoUSB: This patch fix readl in ohci swap reg access.
Jason Jin [Mon, 11 Jun 2007 13:14:24 +0000 (15:14 +0200)]
USB: This patch fix readl in ohci swap reg access.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
17 years agoTQM5200: Add Flat Device Tree support, update default env. accordingly.
Bartlomiej Sieka [Fri, 8 Jun 2007 12:52:22 +0000 (14:52 +0200)]
TQM5200: Add Flat Device Tree support, update default env. accordingly.

Signed-off-by: Jan Wrobel <wrr@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoFix config problems on SC3 board; make ide_reset_timeout work.
Wolfgang Denk [Fri, 8 Jun 2007 08:24:58 +0000 (10:24 +0200)]
Fix config problems on SC3 board; make ide_reset_timeout work.

17 years ago[PATCH] fix gpio setting when using CFG_440_GPIO_TABLE
Benoît Monin [Fri, 8 Jun 2007 07:55:24 +0000 (09:55 +0200)]
[PATCH] fix gpio setting when using CFG_440_GPIO_TABLE

Set the correct value in GPIOx_TCR when configuring the gpio
with CFG_440_GPIO_TABLE.

Signed-off-by: Benoit Monin <bmonin@adeneo.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoCoding Style cleanup; generate new CHANGELOG file.
Wolfgang Denk [Wed, 6 Jun 2007 14:26:56 +0000 (16:26 +0200)]
Coding Style cleanup; generate new CHANGELOG file.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx
Wolfgang Denk [Wed, 6 Jun 2007 14:21:11 +0000 (16:21 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-arm
Wolfgang Denk [Wed, 6 Jun 2007 14:18:01 +0000 (16:18 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-arm

17 years agoMerge with git://www.denx.de/git/u-boot.git
Markus Klotzbuecher [Wed, 6 Jun 2007 10:36:32 +0000 (12:36 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoTRAB, USB: update trab board configuration for use of generic ohci driver
Markus Klotzbuecher [Wed, 6 Jun 2007 09:49:44 +0000 (11:49 +0200)]
TRAB, USB: update trab board configuration for use of generic ohci driver

17 years agoUSB: ohci fixes and cleanup for ppc4xx and yosemite board.
Markus Klotzbuecher [Wed, 6 Jun 2007 09:49:43 +0000 (11:49 +0200)]
USB: ohci fixes and cleanup for ppc4xx and yosemite board.

17 years agoUSB: ohci fixes and cleanup for mpc5xxx and IceCube board config
Markus Klotzbuecher [Wed, 6 Jun 2007 09:49:43 +0000 (11:49 +0200)]
USB: ohci fixes and cleanup for mpc5xxx and IceCube board config

17 years agoUSB/OHCI: endianness cleanup in the generic ohci driver
Markus Klotzbuecher [Wed, 6 Jun 2007 09:49:35 +0000 (11:49 +0200)]
USB/OHCI: endianness cleanup in the generic ohci driver

17 years agoMerge with /home/stefan/git/u-boot/acadia-nand-boot
Stefan Roese [Wed, 6 Jun 2007 09:43:58 +0000 (11:43 +0200)]
Merge with /home/stefan/git/u-boot/acadia-nand-boot

17 years agoppc4xx: Add NAND booting support for AMCC Acadia (405EZ) eval board
Stefan Roese [Wed, 6 Jun 2007 09:42:13 +0000 (11:42 +0200)]
ppc4xx: Add NAND booting support for AMCC Acadia (405EZ) eval board

This patch adds NAND booting support for the AMCC Acadia eval board.

Please make sure to configure jumper J7 to position 2-3 when booting
from NOR, and to position 1-2 when booting for NAND.

I also added a board command to configure the I2C bootstrap EEPROM
values. Right now only 267MHz is support for booting either via NOR
or NAND FLASH. Here the usage:

=> bootstrap 267 nor ;to configure the board for 267MHz NOR booting
=> bootstrap 267 nand ;to configure the board for 267MHz NNAND booting

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoFiles include/linux/byteorder/{big,little}_endian.h define
Rodolfo Giometti [Wed, 6 Jun 2007 08:08:14 +0000 (10:08 +0200)]
Files include/linux/byteorder/{big,little}_endian.h define
__BIG_ENDIAN and __LITTLE_ENDIAN.

Signed-off-by: Rodolfo Giometti <giometti@linux.it>
17 years agoAdd USB PCI-OHCI, USB keyboard and event poll support to the
Zhang Wei [Wed, 6 Jun 2007 08:08:14 +0000 (10:08 +0200)]
Add USB PCI-OHCI, USB keyboard and event poll support to the
MPC8641HPCN board config file.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
17 years agoUSB PCI-OHCI, interrupt pipe and usb event poll support
Zhang Wei [Wed, 6 Jun 2007 08:08:14 +0000 (10:08 +0200)]
USB PCI-OHCI, interrupt pipe and usb event poll support

This patch added USB PCI-OHCI chips support, interrupt pipe support
and usb event poll support. For supporting the USB interrupt pipe, the
globe urb_priv is moved to purb in ed struct. Now, we can process
several urbs at one time. The interrupt pipe support codes are ported
from Linux kernel 2.4.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
17 years agoUSB event poll support
Zhang Wei [Wed, 6 Jun 2007 08:08:13 +0000 (10:08 +0200)]
USB event poll support

This patch adds USB event poll support, which could be used in usbkbd
and other usb devices driver when the asynchronous interrupt
processing is supported.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com
17 years agoISP116x: delay for crappy USB keys
Rodolfo Giometti [Wed, 6 Jun 2007 08:08:12 +0000 (10:08 +0200)]
ISP116x: delay for crappy USB keys

Using some (very) slow USB keys cause the USB host controller buffers
are not ready to be read by the CPU so we need an extra delay before
reading the USB storage data.

Signed-off-by: Rodolfo Giometti <giometti@linux.it>
17 years agoChange duplicate usb_cpu_init_fail to usb_board_init_fail
Markus Klotzbuecher [Wed, 6 Jun 2007 08:08:12 +0000 (10:08 +0200)]
Change duplicate usb_cpu_init_fail to usb_board_init_fail

Thanks to Liew Tsi Chung <Tsi-chung.Liew@freescale.com> for pointing
this out.

Signed-off-by: Markus Klotzbuecher <mk@denx.de>
17 years agoMerge branch 'mpc8641'
Jon Loeliger [Tue, 5 Jun 2007 18:29:00 +0000 (13:29 -0500)]
Merge branch 'mpc8641'

17 years agompc8641 image size cleanup
Ed Swarthout [Tue, 5 Jun 2007 17:30:52 +0000 (12:30 -0500)]
mpc8641 image size cleanup

e600 does not have a bootpg restriction.
Move the version string to beginning of image at fff00000.
Resetvec.S is not needed.
Update flash copy instructions.
Add tftpflash env variable

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Mon, 4 Jun 2007 20:59:44 +0000 (22:59 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx