oweals/u-boot.git
17 years agoAdd driver for S-ATA-controller on Intel processors with South
mushtaq khan [Fri, 20 Apr 2007 08:53:02 +0000 (14:23 +0530)]
Add driver for S-ATA-controller on Intel processors with South
Bridge, ICH-5, ICH-6 and ICH-7.

Implementation:

1. Code is divided in to two files. All functions, which are
   controller specific are kept in "drivers/ata_piix.c" file and
   functions, which are not controller specific, are kept in
   "common/cmd_sata.c" file.

2. Reading and Writing from the S-ATA drive is done using PIO method.

3. Driver can be configured for 48-bit addressing by defining macro
   CONFIG_LBA48, if this macro is not defined driver uses the 28-bit
   addressing.

4. S-ATA read function is hooked to the File system, commands like
   ext2ls and ext2load file can be used. This has been tested.

5. U-Boot command "SATA_init" is added, which initializes the S-ATA
   controller and identifies the S-ATA drives connected to it.

6. U-Boot command "sata" is added, which is used to read/write, print
   partition table and get info about the drives present. This I have
   implemented in same way as "ide" command is implemented in U-Boot.

7. This driver is for S-ATA in native mode.

8. This driver does not support the Native command queuing and
   Hot-plugging.

Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
17 years agoFixes bug clearing the bss section for i386
mushtaq khan [Mon, 30 Apr 2007 10:27:22 +0000 (15:57 +0530)]
Fixes bug clearing the bss section for i386

Hi,
There is a bug in the code of clearing the bss section for processor
i386.(File: cpu/i386/start.S)
In the code, bss_start addr (starting addr of bss section) is put into
the register %eax, but the code which clears the bss section refers to
the addr pointed by %edi.

This patch fixes this bug by putting bss_start into %edi register.

Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
17 years agoAdd support for BCM5464 Quad Phy
Joe Hamman [Mon, 30 Apr 2007 21:47:28 +0000 (16:47 -0500)]
Add support for BCM5464 Quad Phy

Added support for Broadcom's BCM5464 Quad Phy

Signed-off-by: Joe Hamman <joe.hamman@embeddedspecialties.com>
17 years agoSearch the exception table with linear algorithm
Zang Roy-r61911 [Wed, 9 May 2007 00:10:57 +0000 (08:10 +0800)]
Search the exception table with linear algorithm

Search the exception table with linear algorithm instead of
bisecting algorithm.
Because the exception table might be unsorted.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
17 years agoFix compilation issues on MACOSX
Aubrey.Li [Mon, 14 May 2007 03:47:35 +0000 (11:47 +0800)]
Fix compilation issues on MACOSX

Singed-off-by: Marc Hoffman <Marc.Hoffman@analog.com>
Signed-off-by: Aubrey Li <aubrey.adi@gmail.com>
17 years agoFix for compile of JSE target
Stephen Williams [Tue, 15 May 2007 14:55:42 +0000 (07:55 -0700)]
Fix for compile of JSE target

The attached patch fixes the compile of the JSE board in the
denx git as of 14 may 2007. It is an extremely simple patch,
it just adds the missing define of CFG_SYSTEMACE_WIDTH.

 Fix to compile JSE against 20070514 git of u-boot

17 years agoMerge with git://www.denx.de/git/u-boot-testing
Wolfgang Denk [Tue, 15 May 2007 20:12:06 +0000 (22:12 +0200)]
Merge with git://www.denx.de/git/u-boot-testing

17 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Mon, 14 May 2007 22:23:53 +0000 (00:23 +0200)]
Merge with /home/wd/git/u-boot/master

17 years agoMerge with /home/tur/git/u-boot#motionpro
Wolfgang Denk [Mon, 14 May 2007 22:22:30 +0000 (00:22 +0200)]
Merge with /home/tur/git/u-boot#motionpro

17 years ago[Motion-PRO] Add MTD and JFFS2 support, also add default partition
Piotr Kruszynski [Thu, 10 May 2007 14:55:52 +0000 (16:55 +0200)]
[Motion-PRO] Add MTD and JFFS2 support, also add default partition
definition.

17 years ago[Motion-PRO] Add support for I2C, EEPROM and RTC.
Piotr Kruszynski [Tue, 8 May 2007 11:05:44 +0000 (13:05 +0200)]
[Motion-PRO] Add support for I2C, EEPROM and RTC.

17 years ago[Motion-PRO] Add ATA support. Add CF-booting commands to the default
Bartlomiej Sieka [Tue, 8 May 2007 08:23:56 +0000 (10:23 +0200)]
[Motion-PRO] Add ATA support. Add CF-booting commands to the default
environment.

17 years ago[Motion-PRO] Change IPB clock frequency from 50MHz to 100MHz. This
Bartlomiej Sieka [Tue, 8 May 2007 07:39:12 +0000 (09:39 +0200)]
[Motion-PRO] Change IPB clock frequency from 50MHz to 100MHz. This
eliminates networking problems in Linux (timeouts).

17 years ago[Motion-PRO] Enable Flat Device Tree support and modify default environment
Bartlomiej Sieka [Tue, 8 May 2007 07:21:57 +0000 (09:21 +0200)]
[Motion-PRO] Enable Flat Device Tree support and modify default environment
to allow booting of FDT-expecting kernels.

17 years ago[MPC5xxx] There are networking problems on the Motion-PRO board with
Bartlomiej Sieka [Mon, 7 May 2007 20:36:15 +0000 (22:36 +0200)]
[MPC5xxx] There are networking problems on the Motion-PRO board with
current PHY initalization code (tftp timeouts all the time). This commit
temporarily disables PHY initalization sequence to make the networking
operational, until a fix is found.

17 years agoGet rid of duplicated file (see include/configs/sbc8560.h instead)
Wolfgang Denk [Mon, 7 May 2007 20:10:36 +0000 (22:10 +0200)]
Get rid of duplicated file (see include/configs/sbc8560.h instead)

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoGet rid of duplicated file (see doc/README.SBC8560 instead)
Wolfgang Denk [Mon, 7 May 2007 20:07:08 +0000 (22:07 +0200)]
Get rid of duplicated file (see doc/README.SBC8560 instead)

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/git/u-boot
Wolfgang Denk [Sat, 5 May 2007 19:44:47 +0000 (21:44 +0200)]
Merge with /home/git/u-boot

17 years ago5xxx: write MAC address to mac-address and local-mac-address
Timur Tabi [Sat, 5 May 2007 06:12:30 +0000 (08:12 +0200)]
5xxx: write MAC address to mac-address and local-mac-address

Some device trees have a mac-address property, some have local-mac-address,
and some have both.  To support all of these device trees, ftp_cpu_setup()
should write the MAC address to mac-address and local-mac-address, if they
exist.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
17 years ago[PATCH] Use PVR to distinguish MPC5200B from MPC5200 in boot message
Grzegorz Wianecki [Sun, 29 Apr 2007 12:01:54 +0000 (14:01 +0200)]
[PATCH] Use PVR to distinguish MPC5200B from MPC5200 in boot message

MPC5200B systems are incorrectly reported as MPC5200 in U-Boot start-up
message. Use PVR to distinguish between the two variants, and print proper CPU
information.

Signed-off-by: Grzegorz Wianecki <grzegorz.wianecki@gmail.com>
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years ago[PATCH] simplify silent console
Ladislav Michl [Wed, 25 Apr 2007 14:01:26 +0000 (16:01 +0200)]
[PATCH] simplify silent console

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] Avoid assigning PCI resources from zero address
Sergei Shtylyov [Mon, 23 Apr 2007 13:30:39 +0000 (15:30 +0200)]
[PATCH] Avoid assigning PCI resources from zero address

If a PCI IDE card happens to get a zero address assigned to it, the Linux IDE
core complains and IDE drivers fails to work.  Also, assigning zero to a BAR
was illegal according to PCI 2.1 (the later revisions seem to have excluded the
sentence about "0" being considered an invalid address) -- so, use a reasonable
starting value of 0x1000 (that's what the most Linux archs are using).

Alternatively, one might have fixed the calls to pci_set_region() individually
(some code even seems to have taken care of this issue) but that would have
been a lot more work. :-)

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Stefan Roese <sr@denx.de>
17 years ago[patch] setenv(...) can delete environmentalvariables
Jeffrey Mann [Mon, 23 Apr 2007 12:00:11 +0000 (14:00 +0200)]
[patch] setenv(...) can delete environmentalvariables

update setenv() function so that entering a NULL value for the
variable's value will delete the environmental variable

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
Acked-by: Stefan Roese <sr@denx.de>
17 years ago[patch] use unsigned char in smc91111 driver for mac
Mike Frysinger [Mon, 23 Apr 2007 11:54:24 +0000 (13:54 +0200)]
[patch] use unsigned char in smc91111 driver for mac

the v_mac variable in the smc91111 driver is declared as a signed char ...
this causes problems when one of the bytes in the MAC is "signed" like 0xE0
because when it gets printed out, you get a display like:
0xFFFFFFE0 and that's no good

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
17 years agoMerge with git://www.denx.de/git/u-boot-testing
Wolfgang Denk [Sat, 5 May 2007 19:12:41 +0000 (21:12 +0200)]
Merge with git://www.denx.de/git/u-boot-testing

17 years agoCoding stylke cleanup; update CHANGELOG.
Wolfgang Denk [Sat, 5 May 2007 16:23:11 +0000 (18:23 +0200)]
Coding stylke cleanup; update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Sat, 5 May 2007 16:07:10 +0000 (18:07 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-ppc4xx

17 years agoAdd STX GP3 SSA board to MAKEALL script; update CHANGELOG.
Wolfgang Denk [Sat, 5 May 2007 16:05:02 +0000 (18:05 +0200)]
Add STX GP3 SSA board to MAKEALL script; update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc85xx
Wolfgang Denk [Sat, 5 May 2007 15:33:22 +0000 (17:33 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-mpc85xx

17 years agoMake "file" command happy with some config.mk files; update CHANGELOG
Wolfgang Denk [Sat, 5 May 2007 15:15:50 +0000 (17:15 +0200)]
Make "file" command happy with some config.mk files; update CHANGELOG

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-nand-flash
Wolfgang Denk [Sat, 5 May 2007 14:57:46 +0000 (16:57 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-nand-flash

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx
Wolfgang Denk [Sat, 5 May 2007 14:48:48 +0000 (16:48 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-mpc86xx

17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Sat, 5 May 2007 06:37:54 +0000 (08:37 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoppc4xx: Detect if the sysclk on Sequoia is 33 or 33.333 MHz
Jeffrey Mann [Sat, 5 May 2007 06:32:14 +0000 (08:32 +0200)]
ppc4xx: Detect if the sysclk on Sequoia is 33 or 33.333 MHz

The AMCC Secquoia board has been changed in a new revision from using a
33.000 MHz clock to a 33.333 MHz system clock. A bit in the CPLD
indicates the difference. This patch reads that bit and uses the correct
clock speed for the board. This code is backward compatable will all
prior boards. All prior boards will be read as 33.000.

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Sequoia: Remove cpu/ppc4xx/speed.c from NAND booting
Stefan Roese [Sat, 5 May 2007 06:29:01 +0000 (08:29 +0200)]
ppc4xx: Sequoia: Remove cpu/ppc4xx/speed.c from NAND booting

Using cpu/ppc4xx/speed.c to calculate the bus frequency is too big
for the 4k NAND boot image so define bus_frequency to 133MHz here
which is save for the refresh counter setup.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago5xxx: write MAC address to mac-address and local-mac-address
Timur Tabi [Sat, 5 May 2007 06:12:30 +0000 (08:12 +0200)]
5xxx: write MAC address to mac-address and local-mac-address

Some device trees have a mac-address property, some have local-mac-address,
and some have both.  To support all of these device trees, ftp_cpu_setup()
should write the MAC address to mac-address and local-mac-address, if they
exist.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Sat, 5 May 2007 05:10:03 +0000 (07:10 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoNAND: Wrong calculation of page number in nand_block_bad()
Thomas Knobloch [Sat, 5 May 2007 05:04:42 +0000 (07:04 +0200)]
NAND: Wrong calculation of page number in nand_block_bad()

In case that there is no memory based bad block table available the
function nand_block_checkbad() in drivers/mtd/nand/nand_base.c will call
nand_block_bad() directly. When parameter 'getchip' is set to zero,
nand_block_bad() will not right shift the offset to calculate the
correct page number.

Signed-off-by: Thomas Knobloch <knobloch@siemens.com>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoFix initrd length corruption in bootm command.
Wolfgang Denk [Fri, 4 May 2007 08:02:33 +0000 (10:02 +0200)]
Fix initrd length corruption in bootm command.

When using FDT Images, the length of an inital ramdisk was
overwritten (bug introduced by commit 87a449c8, 22 Aug 2006).

Patches by Timur Tabi & Johns Daniel.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoUpdate board configuration for STX GP3SSA board:
Wolfgang Denk [Thu, 3 May 2007 14:34:41 +0000 (16:34 +0200)]
Update board configuration for STX GP3SSA board:

Enable hush shell, environment in flash rather in EEPROM,
more user-friendly default environment, etc.
The simple EEPROM environment can be selected easily in the board
config file.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoCleanup STX GP3SSA code; fix build and compile problems.
Wolfgang Denk [Tue, 24 Apr 2007 12:37:49 +0000 (14:37 +0200)]
Cleanup STX GP3SSA code; fix build and compile problems.

17 years agoAdd support for STX GP3SSA (stxssa) Board
Dan Malek [Fri, 5 Jan 2007 08:15:34 +0000 (09:15 +0100)]
Add support for STX GP3SSA (stxssa) Board

Signed-off-by Dan Malek, <dan@embeddedalley.com>

17 years agoCleaned up some 85xx PCI bugs
Andy Fleming [Sat, 24 Feb 2007 07:08:13 +0000 (01:08 -0600)]
Cleaned up some 85xx PCI bugs

* Cleaned up the CDS PCI Config Tables and added NULL entries to
  the end
* Fixed PCIe LAWBAR assignemt to use the cpu-relative address
* Fixed 85xx PCI code to assign powar region sizes based on the
  config values (rather than hard-coding them)
* Fixed the 8548 CDS PCI2 IO to once again have 0 as the base address

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoAdd support for the 8568 MDS board
Andy Fleming [Mon, 23 Apr 2007 07:54:25 +0000 (02:54 -0500)]
Add support for the 8568 MDS board

This included some changes to common files:
* Add 8568 processor SVR to various places
* Add support for setting the qe bus-frequency value in the dts
* Add the 8568MDS target to the Makefile

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoAdd support for treating unknown PHYs as generic PHYs.
David Updegraff [Fri, 20 Apr 2007 19:34:48 +0000 (14:34 -0500)]
Add support for treating unknown PHYs as generic PHYs.

When bringing up u-boot on new boards, PHY support sometimes gets
neglected.  Most PHYs don't really need any special support,
though.  By adding a generic entry that always matches if nothing
else does, we can provide support for "unsupported" PHYs for the
tsec.

The generic PHY driver supports most PHYs, including gigabit.

Signed-off-by: David Updegraff <dave@cray.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoConditionalize 8641 Rev1.0 MCM workarounds
James Yang [Wed, 7 Feb 2007 21:28:04 +0000 (15:28 -0600)]
Conditionalize 8641 Rev1.0 MCM workarounds

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoRewrote picos_to_clk() to avoid rounding errors.
James Yang [Fri, 16 Mar 2007 18:02:53 +0000 (13:02 -0500)]
Rewrote picos_to_clk() to avoid rounding errors.
Clarified that conversion is to DRAM clocks rather than platform clocks.
Made function static to spd_sdram.c.

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Sun, 29 Apr 2007 14:40:31 +0000 (16:40 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoMerge with /home/stefan/git/u-boot/u-boot-ppc4xx
Stefan Roese [Sun, 29 Apr 2007 14:34:10 +0000 (16:34 +0200)]
Merge with /home/stefan/git/u-boot/u-boot-ppc4xx

17 years agoppc4xx: Bamboo: Use current NAND driver and *not* the legacy driver
Stefan Roese [Sun, 29 Apr 2007 12:13:01 +0000 (14:13 +0200)]
ppc4xx: Bamboo: Use current NAND driver and *not* the legacy driver

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] Use PVR to distinguish MPC5200B from MPC5200 in boot message
Grzegorz Wianecki [Sun, 29 Apr 2007 12:01:54 +0000 (14:01 +0200)]
[PATCH] Use PVR to distinguish MPC5200B from MPC5200 in boot message

MPC5200B systems are incorrectly reported as MPC5200 in U-Boot start-up
message. Use PVR to distinguish between the two variants, and print proper CPU
information.

Signed-off-by: Grzegorz Wianecki <grzegorz.wianecki@gmail.com>
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years ago[PATCH] simplify silent console
Ladislav Michl [Wed, 25 Apr 2007 14:01:26 +0000 (16:01 +0200)]
[PATCH] simplify silent console

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: setup 440EPx/GRx ZMII/RGMII bridge depending on PFC register content.
Matthias Fuchs [Tue, 24 Apr 2007 12:03:45 +0000 (14:03 +0200)]
ppc4xx: setup 440EPx/GRx ZMII/RGMII bridge depending on PFC register content.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years agoReworked 85xx speed detection code
Andy Fleming [Mon, 23 Apr 2007 07:37:47 +0000 (02:37 -0500)]
Reworked 85xx speed detection code

Changed the code to read the registers and calculate the clock
rates, rather than using a "switch" statement.

Idea from Andrew Klossner <andrew@cesa.opbu.xerox.com>

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoEnable 8544 support
Andy Fleming [Mon, 23 Apr 2007 07:24:28 +0000 (02:24 -0500)]
Enable 8544 support

* Add support to the Makefile
* Add 8544 configuration support to the tsec driver
* Add 8544 SVR numbers to processor.h

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoSupport 1G size on 8548
Andy Fleming [Fri, 23 Feb 2007 23:12:25 +0000 (17:12 -0600)]
Support 1G size on 8548

e500v2 and newer cores support 1G page sizes.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoChanged BOOKE_PAGESZ_nGB to BOOKE_PAGESZ_nG
Andy Fleming [Fri, 23 Feb 2007 23:11:16 +0000 (17:11 -0600)]
Changed BOOKE_PAGESZ_nGB to BOOKE_PAGESZ_nG

The other pagesz constants use one letter to specify order of
magnitude.  Also change the one reference to it in mpc8548cds/init.S

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoOnly set ddrioovcr for 8548 rev1.
Andy Fleming [Fri, 23 Feb 2007 22:28:46 +0000 (16:28 -0600)]
Only set ddrioovcr for 8548 rev1.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoTweak DDR ECC error counter
Andy Fleming [Sat, 24 Feb 2007 07:16:45 +0000 (01:16 -0600)]
Tweak DDR ECC error counter

Enable single-bit error counter when memory was cleared by ddr controller.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years ago85xx: write MAC address to mac-address and local-mac-address
Timur Tabi [Mon, 12 Feb 2007 19:34:55 +0000 (13:34 -0600)]
85xx: write MAC address to mac-address and local-mac-address

Some device trees have a mac-address property, some have local-mac-address,
and some have both.  To support all of these device trees, ftp_cpu_setup()
should write the MAC address to mac-address and local-mac-address, if they
exist.

Signed-off-by: Timur Tabi <timur@freescale.com>
17 years agoSome 85xx cpu cleanups
Andy Fleming [Mon, 23 Apr 2007 06:44:44 +0000 (01:44 -0500)]
Some 85xx cpu cleanups

* Cleaned up the TSR[WIS] clearing
* Cleaned up DMA initialization

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
17 years agoAdd cpu support for the 8544
Andy Fleming [Mon, 23 Apr 2007 06:32:22 +0000 (01:32 -0500)]
Add cpu support for the 8544

Recognize new SVR values, and add a few register definitions

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
17 years agoAdd MPC8544DS basic port board files.
Jon Loeliger [Wed, 11 Apr 2007 21:51:02 +0000 (16:51 -0500)]
Add MPC8544DS basic port board files.

Add board port under new board/freescale directory
structure and reuse existing PIXIS FPGA support there.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoAdd MPC8544DS main configuration file.
Jon Loeliger [Wed, 11 Apr 2007 21:50:57 +0000 (16:50 -0500)]
Add MPC8544DS main configuration file.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoFix PCI I/O space mapping on Freescale MPC85x0ADS
Sergei Shtylyov [Wed, 27 Dec 2006 19:07:15 +0000 (22:07 +0300)]
Fix PCI I/O space mapping on Freescale MPC85x0ADS

The PCI I/O space mapping for Freescale MPC8540ADS board was broken by commit
52c7a68b8d587ebcf5a6b051b58b3d3ffa377ddc which failed to update the #define's
describing the local address window used for the PCI I/O space accesses -- fix
this and carry over the necessary changes into the MPC8560ADS code since the
PCI I/O space mapping was also broken for this board (by the earlier commit
087454609e47295443af793a282cddcd91a5f49c).  Add the comments clarifying how
the PCI I/O space must be mapped to all the MPC85xx board config. headers.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
 board/mpc8540ads/init.S      |    4 ++--
 board/mpc8560ads/init.S      |    4 ++--
 include/configs/MPC8540ADS.h |    5 ++---
 include/configs/MPC8541CDS.h |    2 +-
 include/configs/MPC8548CDS.h |    2 +-
 include/configs/MPC8560ADS.h |    8 ++++----
 6 files changed, 12 insertions(+), 13 deletions(-)

17 years agou-boot: Fix e500 v2 core reset bug
Zang Roy-r61911 [Tue, 5 Dec 2006 08:42:30 +0000 (16:42 +0800)]
u-boot: Fix e500 v2 core reset bug

The following patch fixes the e500 v2 core reset bug.
For e500 v2 core, a new reset control register is added to reset the
processor.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
17 years agou-boot: v2: Remove the fixed TLB and LAW entrynubmer
Zang Roy-r61911 [Wed, 20 Dec 2006 03:01:00 +0000 (11:01 +0800)]
u-boot: v2: Remove the fixed TLB and LAW entrynubmer

Remove the fixed TLB and LAW entry nubmer. Use actually TLB and LAW
entry number to control the loop.  This can reduce the potential risk
for the 85xx processor increasing its TLB adn LAW entry number.

Signed-off-by: Swarthout Edward <swarthout@freescale.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
17 years agou-boot: Fix the 85xxcds tsec bug
Zang Roy-r61911 [Mon, 18 Dec 2006 09:01:04 +0000 (17:01 +0800)]
u-boot: Fix the 85xxcds tsec bug

Fix the 85xxcds tsec bug.
When enable PCI, tsec.o should be added to u-boot.lds to make tsec work.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
17 years agou-boot: Fix CPU2 errata on MPC8548CDS board
Zang Roy-r61911 [Fri, 15 Dec 2006 06:43:31 +0000 (14:43 +0800)]
u-boot: Fix CPU2 errata on MPC8548CDS board

This patch apply workaround of CPU2 errata on MPC8548CDS board.

Signed-off-by:Ebony Zhu <ebony.zhu@freescale.com>

17 years agou-boot: Disables MPC8548CDS 2T_TIMING for DDR by default
ebony.zhu@freescale.com [Mon, 18 Dec 2006 08:25:15 +0000 (16:25 +0800)]
u-boot: Disables MPC8548CDS 2T_TIMING for DDR by default

This patch disables MPC8548CDS 2T_TIMING for DDR by default.

Signed-off-by:Ebony Zhu <ebony.zhu@freescale.com>

17 years agou-boot: Enable PCI function and add PEX & rapidio memory map on MPC8548CDS board
Zang Roy-r61911 [Thu, 14 Dec 2006 06:14:55 +0000 (14:14 +0800)]
u-boot: Enable PCI function and add PEX & rapidio memory map on MPC8548CDS board

Enable PCI function and add PEX & rapidio memory map on MPC8548CDS
board.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
17 years agoFix file mode
Stefan Roese [Mon, 23 Apr 2007 13:39:59 +0000 (15:39 +0200)]
Fix file mode

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Mon, 23 Apr 2007 13:38:17 +0000 (15:38 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years ago[PATCH] Avoid assigning PCI resources from zero address
Sergei Shtylyov [Mon, 23 Apr 2007 13:30:39 +0000 (15:30 +0200)]
[PATCH] Avoid assigning PCI resources from zero address

If a PCI IDE card happens to get a zero address assigned to it, the Linux IDE
core complains and IDE drivers fails to work.  Also, assigning zero to a BAR
was illegal according to PCI 2.1 (the later revisions seem to have excluded the
sentence about "0" being considered an invalid address) -- so, use a reasonable
starting value of 0x1000 (that's what the most Linux archs are using).

Alternatively, one might have fixed the calls to pci_set_region() individually
(some code even seems to have taken care of this issue) but that would have
been a lot more work. :-)

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Stefan Roese <sr@denx.de>
17 years ago[patch] setenv(...) can delete environmentalvariables
Jeffrey Mann [Mon, 23 Apr 2007 12:00:11 +0000 (14:00 +0200)]
[patch] setenv(...) can delete environmentalvariables

update setenv() function so that entering a NULL value for the
variable's value will delete the environmental variable

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
Acked-by: Stefan Roese <sr@denx.de>
17 years ago[patch] use unsigned char in smc91111 driver for mac
Mike Frysinger [Mon, 23 Apr 2007 11:54:24 +0000 (13:54 +0200)]
[patch] use unsigned char in smc91111 driver for mac

the v_mac variable in the smc91111 driver is declared as a signed char ...
this causes problems when one of the bytes in the MAC is "signed" like 0xE0
because when it gets printed out, you get a display like:
0xFFFFFFE0 and that's no good

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Mon, 23 Apr 2007 10:01:50 +0000 (12:01 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoRemove BOARDLIBS usage completely
Stefan Roese [Mon, 23 Apr 2007 10:00:22 +0000 (12:00 +0200)]
Remove BOARDLIBS usage completely

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agompc8641hpcn: Fix LAW and TLB setup to use the IO_PHYS #defines.
Ed Swarthout [Wed, 28 Feb 2007 11:37:29 +0000 (05:37 -0600)]
mpc8641hpcn: Fix LAW and TLB setup to use the IO_PHYS #defines.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agoEnable LAWs for MPC8641 PCI-Ex2.
Zhang Wei [Fri, 19 Jan 2007 02:42:37 +0000 (10:42 +0800)]
Enable LAWs for MPC8641 PCI-Ex2.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agompc86xx; Write MAC address to mac-address and local-mac-address
Jon Loeliger [Fri, 20 Apr 2007 19:12:26 +0000 (14:12 -0500)]
mpc86xx; Write MAC address to mac-address and local-mac-address

Some device trees have a mac-address property, some have local-mac-address,
and some have both.  To support all of these device trees, ftp_cpu_setup()
should write the MAC address to mac-address and local-mac-address, if they
exist.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agompc86xx: protect memcpy to bad address if a mac-address is missing from dt
Jon Loeliger [Fri, 20 Apr 2007 19:11:38 +0000 (14:11 -0500)]
mpc86xx: protect memcpy to bad address if a mac-address is missing from dt

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoCleanup compiler warnings, update CHANGELOG
Wolfgang Denk [Fri, 20 Apr 2007 15:43:28 +0000 (17:43 +0200)]
Cleanup compiler warnings, update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/dzu/src/git/u-boot
Wolfgang Denk [Fri, 20 Apr 2007 13:50:04 +0000 (15:50 +0200)]
Merge with /home/dzu/src/git/u-boot

17 years agoMerge with git://www.denx.de/git/u-boot-testing
Wolfgang Denk [Fri, 20 Apr 2007 13:44:38 +0000 (15:44 +0200)]
Merge with git://www.denx.de/git/u-boot-testing

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-arm
Wolfgang Denk [Fri, 20 Apr 2007 13:41:05 +0000 (15:41 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-arm

17 years agoFix breakage of NC650 board with respect to nand support.
Detlev Zundel [Fri, 20 Apr 2007 10:01:47 +0000 (12:01 +0200)]
Fix breakage of NC650 board with respect to nand support.

Signed-off-by: Detlev Zundel <dzu@denx.de>
17 years ago[RFC PATCH] icecube/lite5200b: fix OF_TBCLK (timebase-frequency) calculation
Domen Puncer [Fri, 20 Apr 2007 09:13:16 +0000 (11:13 +0200)]
[RFC PATCH] icecube/lite5200b: fix OF_TBCLK (timebase-frequency) calculation

G2 core reference manual says decrementer and time base
are decreasing/increasing once every 4 bus clock cycles.
Lets fix it, so time in Linux won't run twice as fast

Signed-off-by: Domen Puncer <domen.puncer@telargo.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoFix serious pointer bug with bootm and reserve map.
Gerald Van Baren [Fri, 20 Apr 2007 03:14:39 +0000 (23:14 -0400)]
Fix serious pointer bug with bootm and reserve map.

What was suppose to be a stack variable was declared as a pointer,
  overwriting random memory.
Also moved the libfdt.a requirement into the main Makefile.  That is
  The U-Boot Way.

17 years agoMerge with git://www.denx.de/git/u-boot.git
Peter Pearse [Thu, 19 Apr 2007 12:17:20 +0000 (13:17 +0100)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoppc4xx: Fix chip select timing for SysACE access on AMCC Katmai
Stefan Roese [Thu, 19 Apr 2007 07:53:52 +0000 (09:53 +0200)]
ppc4xx: Fix chip select timing for SysACE access on AMCC Katmai

Previous versions used full wait states for the chip select #1 which
is connected to the Xilinix SystemACE controller on the AMCC Katmai
evaluation board. This leads to really slow access and therefore low
performance. This patch now sets up the chip select a lot faster
resulting in much better read/write performance of the Linux driver.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoClenaup, update CHANGELOG
Wolfgang Denk [Wed, 18 Apr 2007 15:49:29 +0000 (17:49 +0200)]
Clenaup, update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-fdt
Wolfgang Denk [Wed, 18 Apr 2007 15:47:39 +0000 (17:47 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-fdt

17 years agoUpdate CHANGELOG
Wolfgang Denk [Wed, 18 Apr 2007 15:20:58 +0000 (17:20 +0200)]
Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx
Wolfgang Denk [Wed, 18 Apr 2007 15:20:22 +0000 (17:20 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-mpc86xx

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-net
Wolfgang Denk [Wed, 18 Apr 2007 15:10:30 +0000 (17:10 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-net

17 years agoCleanup, update CHANGELOG
Wolfgang Denk [Wed, 18 Apr 2007 15:07:26 +0000 (17:07 +0200)]
Cleanup, update CHANGELOG

Sigend-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-74xx-7xx
Wolfgang Denk [Wed, 18 Apr 2007 15:00:09 +0000 (17:00 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-74xx-7xx

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-avr32; code cleanup.
Wolfgang Denk [Wed, 18 Apr 2007 14:53:52 +0000 (16:53 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-avr32; code cleanup.

17 years agoUpdate CHANGELOG
Wolfgang Denk [Wed, 18 Apr 2007 14:17:46 +0000 (16:17 +0200)]
Update CHANGELOG