oweals/u-boot.git
17 years agoModify SBC8641D to use new Freescale PCI routines
Joe Hamman [Sat, 11 Aug 2007 11:54:58 +0000 (06:54 -0500)]
Modify SBC8641D to use new Freescale PCI routines

PCI-Express sockets 1 and 2 verified working with Intel Pro/1000 PT
adapter.

Signed-off-by: Joe Hamman <joe.hamman@embeddedspecialties.com>
Signde-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoAdd support for SBC8641D. Config files.
Joe Hamman [Thu, 9 Aug 2007 20:11:03 +0000 (15:11 -0500)]
Add support for SBC8641D. Config files.

Add support for Wind River's SBC8641D reference board.

Signed-off by: Joe Hamman <joe.hamman@embeddedspecialties.com>
Acked-by: Wolfgang Denk <wd@denx.de>
Acked-by: Jon Loeliger <jdl@freescale.com>
17 years agoAdd support for SBC8641D. Board files.
Joe Hamman [Thu, 9 Aug 2007 20:10:53 +0000 (15:10 -0500)]
Add support for SBC8641D.  Board files.

Add support for Wind River's SBC8641D reference board.

Signed-off by: Joe Hamman <joe.hamman@embeddedspecialties.com>
Acked-by: Wolfgang Denk <wd@denx.de>
Acked-by: Jon Loeliger <jdl@freescale.com>
17 years agofsl_pci_init cleanup.
Ed Swarthout [Fri, 27 Jul 2007 06:50:45 +0000 (01:50 -0500)]
fsl_pci_init cleanup.

Do not enable normal errors created during probe (master abort, perr,
and pcie Invalid Configuration access).

Add CONFIG_PCI_NOSCAN board option to prevent bus scan.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
17 years agopciauto_setup_device bars_num fix
Ed Swarthout [Fri, 27 Jul 2007 06:50:44 +0000 (01:50 -0500)]
pciauto_setup_device bars_num fix

Passing bars_num=0 to pciauto_setup_device should assign no bars.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Acked-by: Andy Fleming <afleming@freescale.com>
17 years ago8641hpcn: Do correct sized pointer math.
Jon Loeliger [Mon, 6 Aug 2007 22:39:44 +0000 (17:39 -0500)]
8641hpcn: Do correct sized pointer math.

When I rebased Ed's patch and cleaned up a few compilation
problems, I apparently rebased my brain on crack first.
Fix that by doing (char *) sized pointer math as needed.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agocpu/86xx fixes.
Jon Loeliger [Thu, 2 Aug 2007 19:42:20 +0000 (14:42 -0500)]
cpu/86xx fixes.

Remove rev 1 fixes.
Always set PICGCR_MODE.
Enable machine check and provide board config option
to set and handle SoC error interrupts.

Include MSSSR0 in error message.

Isolate a RAMBOOT bit of code with #ifdef CFG_RAMBOOT.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agompc83xx: fix ITX[GP] O=builddir builds
Kim Phillips [Mon, 6 Aug 2007 23:18:34 +0000 (18:18 -0500)]
mpc83xx: fix ITX[GP] O=builddir builds

make: *** No rule to make target `/work/wd/tmp/board/mpc8349itx/u-boot.lds', needed by `/work/wd/tmp/u-boot'.  Stop.

Both the ITX and ITX-GP fail when you use "make O=<some dir> ..." or
"BUILD_DIR=<some dir> ./MAKEALL ..."

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: Correct the README for DDR ECC
Dave Liu [Wed, 1 Aug 2007 07:00:59 +0000 (15:00 +0800)]
mpc83xx: Correct the README for DDR ECC

Update the README for DDR ECC, change the name
to README.mpc83xx.ddrecc.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: Consolidate the ECC support of 83xx
Dave Liu [Wed, 1 Aug 2007 07:00:15 +0000 (15:00 +0800)]
mpc83xx: Consolidate the ECC support of 83xx

Remove the duplicated source code of ecc command on the <board>.c,
for reused, move these code to cpu/mpc83xx directory.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: Correct the burst length for DDR2 with 32 bits
Dave Liu [Sat, 4 Aug 2007 05:37:39 +0000 (13:37 +0800)]
mpc83xx: Correct the burst length for DDR2 with 32 bits

The burst length should be 4 for DDR2 with 32 bits bus

Signed-off-by: Dave Liu <daveliu@freescale.com>
17 years agompc83xx: add support for the MPC8323E RDB
Kim Phillips [Thu, 26 Jul 2007 00:25:33 +0000 (19:25 -0500)]
mpc83xx: add support for the MPC8323E RDB

MPC8323E based board with 64MB fixed SDRAM, 16MB flash,
five 10/100 ethernet ports connected via an ICPlus IP175C
switch, one PCI slot, and serial.  Features not supported
in this patch are SD card interface, 2 USB ports, and the
two phone ports.

Signed-off-by: Michael Barkowski <michael.barkowski@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: fixup generic pci for libfdt
Kim Phillips [Thu, 26 Jul 2007 00:25:28 +0000 (19:25 -0500)]
mpc83xx: fixup generic pci for libfdt

add libfdt support to the generic 83xx pci code

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: fix 8360 and cpu functions to update fdt being passed
Kim Phillips [Thu, 26 Jul 2007 00:25:22 +0000 (19:25 -0500)]
mpc83xx: fix 8360 and cpu functions to update fdt being passed

..and not the global fdt. Rename local fdt vars to blob so as not to
be confused with the global var with the same three-letter name.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: Fix errors when CONFIG_OF_LIBFDT is enabled
Jerry Van Baren [Thu, 5 Jul 2007 01:34:24 +0000 (21:34 -0400)]
mpc83xx: Fix errors when CONFIG_OF_LIBFDT is enabled

Several node strings were not correct (trailing slashes and properties
  in the strings)
Added setting of the timebase-frequency.
Improved error messages and use debug() instead of printf().

Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: Replace fdt_node_offset() with fdt_find_node_by_path().
Jerry Van Baren [Thu, 5 Jul 2007 01:27:30 +0000 (21:27 -0400)]
mpc83xx: Replace fdt_node_offset() with fdt_find_node_by_path().

The new name matches more closely the kernel's name, which is also
a much better description.

These are the mpc83xx changes made necessary by the function name change.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: Add support for the display of reset status
Dave Liu [Mon, 25 Jun 2007 02:41:56 +0000 (10:41 +0800)]
mpc83xx: Add support for the display of reset status

83xx processor family has many reset sources, such as
power on reset, software hard reset, software soft reset,
JTAG, bus monitor, software watchdog, check stop reset,
external hard reset, external software reset.
sometimes, to figure out the fault of system, we need to
know the cause of reset early before the prompt of
u-boot present.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: Fix the align bug of SDMA buffer
Dave Liu [Mon, 25 Jun 2007 02:41:04 +0000 (10:41 +0800)]
mpc83xx: Fix the align bug of SDMA buffer

According to the latest user manual, the SDMA temporary
buffer base address must be 4KB aligned.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: Revise the MPC8360EMDS readme doc
Dave Liu [Mon, 25 Jun 2007 05:21:12 +0000 (13:21 +0800)]
mpc83xx: Revise the MPC8360EMDS readme doc

When the rev2.x silicon mount on the MPC8360EMDS baord,
and if you are using the u-boot version after the commit
3fc0bd159103b536e1c54c6f4457a09b3aba66ca.
to make the ethernet interface usable, we have to setup
the jumpers correctly.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoFSL I2C driver programs the two I2C busses differently
Timur Tabi [Tue, 3 Jul 2007 18:46:32 +0000 (13:46 -0500)]
FSL I2C driver programs the two I2C busses differently

The i2c_init() function in fsl_i2c.c programs the two I2C busses differently.
The second I2C bus has its slave address programmed incorrectly and is
missing a 5-us delay.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoUpdate SCCR programming in cpu_init_f() to support all 83xx processors
Timur Tabi [Tue, 3 Jul 2007 18:04:34 +0000 (13:04 -0500)]
Update SCCR programming in cpu_init_f() to support all 83xx processors

Update the cpu_init_f() function in cpu/mpc83xx/cpu_init.c to program the
bitfields for all 83xx processors.  The code to update some bitfields was
compiled only on some processors.  Now, the bitfields are programmed as long
as the corresponding CFG_SCCR option is defined in the board header file.
This means that the board header file should not define any CFG_SCCR macros
for bitfields that don't exist on that processor, otherwise the SCCR will be
programmed incorrectly.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoTQM834x: cleanup configuraton
Martin Krause [Fri, 22 Jun 2007 11:04:22 +0000 (13:04 +0200)]
TQM834x: cleanup configuraton

Remove irritating #undef DEBUG

Signed-off-by: Martin Krause <martin.krause@tqs.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoMPC83xx: Fix makefile to generate config.h file in the build directory
david.saada [Mon, 18 Jun 2007 16:09:53 +0000 (09:09 -0700)]
MPC83xx: Fix makefile to generate config.h file in the build directory

MPC83xx: Fix the Makefile config sections to generate the include/config.h
file in the build directory instead of the source directory.

Signed-off-by: David Saada <david.saada@ecitele.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: Add support for 8360 silicon revision 2.1
Lee Nipper [Fri, 15 Jun 2007 01:07:33 +0000 (20:07 -0500)]
mpc83xx: Add support for 8360 silicon revision 2.1

This change adds 8360 silicon revision 2.1 support to u-boot.

Signed-off-by: Lee Nipper <lee.nipper@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoMerge with git+ssh://atlas/home/wd/git/u-boot/master
Wolfgang Denk [Thu, 9 Aug 2007 21:49:30 +0000 (23:49 +0200)]
Merge ... git+ssh://atlas/home/wd/git/u-boot/master

17 years agoMerge with /home/wd/git/u-boot/work
Wolfgang Denk [Thu, 9 Aug 2007 21:47:43 +0000 (23:47 +0200)]
Merge with /home/wd/git/u-boot/work

17 years agoTreat ppc64 host as ppc
Kumar Gala [Wed, 8 Aug 2007 09:14:28 +0000 (04:14 -0500)]
Treat ppc64 host as ppc

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years agoMinor fix for bios emulator makefile
Jason Jin [Wed, 8 Aug 2007 01:01:46 +0000 (09:01 +0800)]
Minor fix for bios emulator makefile

Add $(obj) to LIB avoiding objects be built in the source dir

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
17 years agoAdd CONFIG_BIOSEMU define to guard all the bios emulator code
Jason Jin [Wed, 8 Aug 2007 00:33:11 +0000 (08:33 +0800)]
Add CONFIG_BIOSEMU define to guard all the bios emulator code

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
This patch fix the compile issue on the board that did not enable the bios emulator

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-usb
Wolfgang Denk [Thu, 9 Aug 2007 21:17:32 +0000 (23:17 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-usb

17 years agotsec: fix multiple PHY support
Zach Sadecki [Tue, 31 Jul 2007 17:27:25 +0000 (12:27 -0500)]
tsec: fix multiple PHY support

The change entitled "Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx"
broke multiple PHY support in tsec.c.  This fixes it.

Signed-off-by: Zach Sadecki <Zach.Sadecki@ripcode.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc83xx
Wolfgang Denk [Thu, 9 Aug 2007 20:38:39 +0000 (22:38 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-mpc83xx

17 years agoMerge with /home/wd/git/u-boot/work
Wolfgang Denk [Thu, 9 Aug 2007 20:11:03 +0000 (22:11 +0200)]
Merge with /home/wd/git/u-boot/work

17 years agotsec: Allow Ten Bit Interface address to be configurable
Joe Hamman [Thu, 9 Aug 2007 14:08:18 +0000 (09:08 -0500)]
tsec: Allow Ten Bit Interface address to be configurable

Allow the address of the Ten Bit Interface (TBI) to be changed in the
event of a conflict with another device.

Signed-off by: Joe Hamman <joe.hamman@embeddedspecialties.com>

17 years agoMerge with git://www.denx.de/git/u-boot.git
Markus Klotzbuecher [Tue, 7 Aug 2007 20:30:29 +0000 (22:30 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoMerge with /home/tur/git/u-boot#cm5200-si
Wolfgang Denk [Tue, 7 Aug 2007 15:04:30 +0000 (17:04 +0200)]
Merge with /home/tur/git/u-boot#cm5200-si

17 years agoFix missing brace error in fs/fat/fat.c
Wolfgang Denk [Tue, 7 Aug 2007 14:02:13 +0000 (16:02 +0200)]
Fix missing brace error in fs/fat/fat.c
[pointed out by Roderik Wildenburg]

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoFixed typo in README (pointed out by Martin Jost).
Wolfgang Denk [Mon, 6 Aug 2007 21:21:05 +0000 (23:21 +0200)]
Fixed typo in README (pointed out by Martin Jost).

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-testing
Wolfgang Denk [Mon, 6 Aug 2007 13:59:45 +0000 (15:59 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-testing

17 years agoCoding style cleanup. Update CHANGELOG.
Wolfgang Denk [Mon, 6 Aug 2007 00:17:36 +0000 (02:17 +0200)]
Coding style cleanup. Update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoRemove the bios emulator from MAI board.
Jason Jin [Tue, 10 Jul 2007 01:03:22 +0000 (09:03 +0800)]
Remove the bios emulator from MAI board.

The bios emulator in the MAI board can not pass compile
and have a lot of crap in it. remove it and will have a
clean and small bios emulator in the drivers directory
which can be uesed for every board.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
17 years agoFix some compile issues for MAI board.
Jason Jin [Fri, 13 Jul 2007 04:14:59 +0000 (12:14 +0800)]
Fix some compile issues for MAI board.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
17 years agoConfigurations for ATI video card BIOS emulator
Jason Jin [Fri, 13 Jul 2007 04:14:58 +0000 (12:14 +0800)]
Configurations for ATI video card BIOS emulator

This patch add definition of the BIOS emulator and the ATI framebuffer
driver for MPC8641HPCN board.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
17 years agoThis is a BIOS emulator, porting from SciTech for u-boot, mainly for
Jason Jin [Fri, 6 Jul 2007 00:34:56 +0000 (08:34 +0800)]
This is a BIOS emulator, porting from SciTech for u-boot, mainly for
ATI video card BIOS. and can be used for x86 code emulation by some
modifications.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
17 years agoThis is a framebuffer driver for ATI video card, can work for PCI9200,
Jason Jin [Fri, 6 Jul 2007 00:33:33 +0000 (08:33 +0800)]
This is a framebuffer driver for ATI video card, can work for PCI9200,
X300, X700, X800 ATI video cards.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-testing
Wolfgang Denk [Sun, 5 Aug 2007 23:11:08 +0000 (01:11 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-testing

17 years agoCoding style cleanup. Update CHANGELOG.
Wolfgang Denk [Sun, 5 Aug 2007 23:01:49 +0000 (01:01 +0200)]
Coding style cleanup. 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 [Sun, 5 Aug 2007 22:55:51 +0000 (00:55 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-mpc85xx

17 years agoAdd functions to list of exported functions
Martin Krause [Tue, 12 Dec 2006 13:26:01 +0000 (14:26 +0100)]
Add functions to list of exported functions

Additionally export the following fuctions (to make trab_config build again):
- simple_strtol()
- strcmp()

Also bump the ABI version to reflect this change

Signed-off-by: Martin Krause <martin.krause@tqs.de>
17 years agoMake MPC8641's PCI/PCI-E driver a common driver for many FSL parts.
Ed Swarthout [Thu, 2 Aug 2007 19:09:49 +0000 (14:09 -0500)]
Make MPC8641's PCI/PCI-E driver a common driver for many FSL parts.

All of the PCI/PCI-Express driver and initialization code that
was in the MPC8641HPCN port has now been moved into the common
drivers/fsl_pci_init.c.  In a subsequent patch, this will be
utilized by the 85xx ports as well.

Common PCI-E IMMAP register blocks for FSL 85xx/86xx are added.

Also enable the second PCI-Express controller on 8641
by getting its BATS and CFG_ setup right.

Fixed a u16 vendor compiler warning in AHCI driver too.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agocm1_qp1 -> cm5200: single U-Boot image for modules from the cm5200 family.
Bartlomiej Sieka [Fri, 3 Aug 2007 10:08:16 +0000 (12:08 +0200)]
cm1_qp1 -> cm5200: single U-Boot image for modules from the cm5200 family.

Add the ability for modules from the Schindler cm5200 family to use a
single U-Boot image:
- rename cm1_qp1 to cm5200
- add run-time module detection
- parametrize SDRAM configuration according to the module we are running on

Few minor, board-specific fixes included in this patch:
- better MAC address handling
- updated default environment ('update' command uses +{filesize} now)
- improved error messages in the auto-update code
- allow booting U-Boot from RAM (CFG_RAMBOOT)

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoAdd Marvell 1149 PHY support to the TSEC
Andy Fleming [Fri, 3 Aug 2007 09:05:25 +0000 (04:05 -0500)]
Add Marvell 1149 PHY support to the TSEC

17 years agoMerge branch 'testing' into working
Andy Fleming [Fri, 3 Aug 2007 07:23:23 +0000 (02:23 -0500)]
Merge branch 'testing' into working

Conflicts:

CHANGELOG
fs/fat/fat.c
include/configs/MPC8560ADS.h
include/configs/pcs440ep.h
net/eth.c

17 years agoCoding style cleanup, update CHANGELOG
Wolfgang Denk [Thu, 2 Aug 2007 19:27:46 +0000 (21:27 +0200)]
Coding style cleanup, update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMinor cleanup of <board>_nand build rules.
Wolfgang Denk [Thu, 2 Aug 2007 08:11:18 +0000 (10:11 +0200)]
Minor cleanup of <board>_nand build rules.

17 years agoFix build errors and warnings / code cleanup.
Wolfgang Denk [Wed, 1 Aug 2007 22:48:45 +0000 (00:48 +0200)]
Fix build errors and warnings / code cleanup.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years ago[ADS5121] Support for the ADS5121 board
Rafal Jaworowski [Fri, 27 Jul 2007 12:43:59 +0000 (14:43 +0200)]
[ADS5121] Support for the ADS5121 board

The following MPC5121e subsystems are supported:

- low-level CPU init
- NOR Boot Flash (common CFI driver)
- DDR SDRAM
- FEC
- I2C
- Watchdog

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
Signed-off-by: Jan Wrobel <wrr@semihalf.com>
17 years ago[PPC] Remove unused MSR_USER definition
Rafal Jaworowski [Fri, 27 Jul 2007 12:22:04 +0000 (14:22 +0200)]
[PPC] Remove unused MSR_USER definition

Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
17 years agoFix breakage of 8xx boards from recent commit.
Rafal Jaworowski [Thu, 19 Jul 2007 15:12:28 +0000 (17:12 +0200)]
Fix breakage of 8xx boards from recent commit.

This patch fixes the negative consequences for 8xx of the recent
"ppc4xx: Clean up 440 exceptions handling" commit.

Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
17 years agoUpdate CHANGELOG
Wolfgang Denk [Sat, 14 Jul 2007 20:51:02 +0000 (22:51 +0200)]
Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/hs/Atronic/u-boot-dev-new
Heiko Schocher [Fri, 13 Jul 2007 23:07:51 +0000 (01:07 +0200)]
Merge with /home/hs/Atronic/u-boot-dev-new

17 years ago[PCS440EP] - fix compile error, if BUILD_DIR is used
Heiko Schocher [Fri, 13 Jul 2007 23:06:58 +0000 (01:06 +0200)]
[PCS440EP]  - fix compile error, if BUILD_DIR is used

17 years agomake show_boot_progress () weak.
Heiko Schocher [Fri, 13 Jul 2007 07:54:17 +0000 (09:54 +0200)]
make show_boot_progress () weak.

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years ago[PCS440EP] - The DIAG LEDs are now blinking, if an error occur
Heiko Schocher [Fri, 13 Jul 2007 06:26:05 +0000 (08:26 +0200)]
[PCS440EP] - The DIAG LEDs are now blinking, if an error occur
- fix compile error, if BUILD_DIR is used

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years agoUpdate CHANGELOG, minor coding style cleanup.
Wolfgang Denk [Wed, 11 Jul 2007 23:45:34 +0000 (01:45 +0200)]
Update CHANGELOG, minor coding style cleanup.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/tur/git/u-boot#cm1_qp1
Wolfgang Denk [Wed, 11 Jul 2007 23:42:41 +0000 (01:42 +0200)]
Merge with /home/tur/git/u-boot#cm1_qp1

17 years agoRemove erroneous errata code from Marvel 88E1111S driver
Andy Fleming [Fri, 8 Jun 2007 21:41:18 +0000 (16:41 -0500)]
Remove erroneous errata code from Marvel 88E1111S driver

The Marvel 88E1111S driver for the TSEC was copied from the
88E1101 driver, and included a fix for an erratum which does not
exist on that part.  Now it is removed

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoFrom: eran liberty <eran.liberty@gmail.com>
Andy Fleming [Tue, 5 Jun 2007 21:38:44 +0000 (16:38 -0500)]
From: eran liberty <eran.liberty@gmail.com>

adds the reset register to 85xx immap

Signed-off-by: Eran Liberty <eran.liberty@gmail.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoPolished the 85xx ADS config files
Andy Fleming [Thu, 10 May 2007 22:50:01 +0000 (17:50 -0500)]
Polished the 85xx ADS config files

Made the boot commands use device trees by default.
Also moved the ramdisk to 1000000 (I think the previous address
was getting overridden during boot).

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years ago8544ds: Fix Makefile after moving pixis to board/freescale.
Ed Swarthout [Wed, 9 May 2007 16:03:32 +0000 (11:03 -0500)]
8544ds: Fix Makefile after moving pixis to board/freescale.

The OBJTREE != SRCTREE build scenario was broken.
This fixes it.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agotsec: Fix PHY code to match first driver
Andy Fleming [Wed, 9 May 2007 05:54:20 +0000 (00:54 -0500)]
tsec: Fix PHY code to match first driver

Jarrold Wen noticed that the generic PHY code always matches
under the current implementation.  Change it so the first match
wins, and *only* unknown PHYs trigger the generic driver

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoAdd support for CPM device tree configuration to 8560 ADS
Andy Fleming [Tue, 8 May 2007 22:27:43 +0000 (17:27 -0500)]
Add support for CPM device tree configuration to 8560 ADS

* Adds code to modify CPM frequencies
* Cleans up the config file to #define TSEC and (for now) #undef FCC
* Adds the MII command for all 8560 ADS configurations
* Updates config file to provide convenience commands for booting
  with a device tree

Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoFix Marvell 88e1145 PHY init code
Andy Fleming [Tue, 8 May 2007 22:23:02 +0000 (17:23 -0500)]
Fix Marvell 88e1145 PHY init code

Fix a bug in the Marvell 88e1145 PHY init code in the TSEC driver
where the reset was being done after the errata code instead of
before.

Signed-off-by: Haiying Wang <haiying.wang@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoMerge git://www.denx.de/git/u-boot
Kim Phillips [Wed, 11 Jul 2007 22:48:09 +0000 (17:48 -0500)]
Merge git://www.denx.de/git/u-boot

17 years agoAdd simple agent/end-point configuration in PCI AutoConfig for PCI_CLASS_PROCESSOR_PO...
Ed Swarthout [Wed, 11 Jul 2007 19:52:16 +0000 (14:52 -0500)]
Add simple agent/end-point configuration in PCI AutoConfig for PCI_CLASS_PROCESSOR_POWERPC.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agopciauto setup bridge
Ed Swarthout [Wed, 11 Jul 2007 19:52:08 +0000 (14:52 -0500)]
pciauto setup bridge

The P2P bridge bus numbers programmed into the device are relative to
hose->first_busno.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agoSupport PCIe extended config registers
Ed Swarthout [Wed, 11 Jul 2007 19:52:01 +0000 (14:52 -0500)]
Support PCIe extended config registers

FSL PCIe block has extended cfg registers in the 100 and 400 range.
For example, to read the LTSSM register: pci display <busn>.0 404 1

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agoMinor improvements to drivers/pci_auto.c
Ed Swarthout [Wed, 11 Jul 2007 19:51:48 +0000 (14:51 -0500)]
Minor improvements to drivers/pci_auto.c

- Make pciauto_{pre,post}scan_setup_bridge non-static
- Added physical address display in debug messages.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agoStart pci hose scan from hose->current_busno.
Ed Swarthout [Wed, 11 Jul 2007 19:51:35 +0000 (14:51 -0500)]
Start pci hose scan from hose->current_busno.

Ensure hose->current_busno is not less than first_busno.  This fixes
broken board code which leaves current_busno=0 when first_busno is
greater than 0 for the cases with multiple controllers.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agoFix some compile problems introduced by the latest CFG_CMD_xxx cleanup
Stefan Roese [Wed, 11 Jul 2007 10:13:53 +0000 (12:13 +0200)]
Fix some compile problems introduced by the latest CFG_CMD_xxx cleanup

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoCM1.QP1: Support for the Schindler CM1.QP1 board.
Bartlomiej Sieka [Wed, 11 Jul 2007 18:11:07 +0000 (20:11 +0200)]
CM1.QP1: Support for the Schindler CM1.QP1 board.

Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
17 years ago[PCS440EP] - Show on the DIAG LEDs, if the SHA1 check failed
Heiko Schocher [Wed, 11 Jul 2007 16:39:11 +0000 (18:39 +0200)]
[PCS440EP]  - Show on the DIAG LEDs, if the SHA1 check failed
            - now the Flash ST M29W040B is supported (not tested)
            - fix the "led" command
            - fix compile error, if BUILD_DIR is used

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years agoFix malloc problem introduced with the relocation fixup for the PPC platform
Stefan Roese [Sun, 8 Jul 2007 11:44:27 +0000 (13:44 +0200)]
Fix malloc problem introduced with the relocation fixup for the PPC platform

The relocation fixup didn't handle the malloc pointer initialization
correctly. This patch fixes this problem. Tested successfully on 4xx.
The relocation fixup patches for 4xx will follow soon.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agodisk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols.
Jon Loeliger [Tue, 10 Jul 2007 16:19:50 +0000 (11:19 -0500)]
disk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols.

Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
Those always evaluated TRUE, and thus were always compiled
even when IDE really wasn't defined/wanted.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agodrivers/: Remove lingering references to CFG_CMD_* symbols.
Jon Loeliger [Tue, 10 Jul 2007 16:13:21 +0000 (11:13 -0500)]
drivers/: Remove lingering references to CFG_CMD_* symbols.

Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
Those always evaluated TRUE, and thus were always compiled
even when IDE really wasn't defined/wanted.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agofs/: Remove lingering references to CFG_CMD_* symbols.
Jon Loeliger [Tue, 10 Jul 2007 16:07:56 +0000 (11:07 -0500)]
fs/: Remove lingering references to CFG_CMD_* symbols.

Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
Those always evaluated TRUE, and thus were always compiled
even when IDE really wasn't defined/wanted.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agonet/: Remove lingering references to CFG_CMD_* symbols.
Jon Loeliger [Tue, 10 Jul 2007 16:05:02 +0000 (11:05 -0500)]
net/: Remove lingering references to CFG_CMD_* symbols.

Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
Those always evaluated TRUE, and thus were always compiled
even when IDE really wasn't defined/wanted.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agocommon/: Remove lingering references to CFG_CMD_* symbols.
Jon Loeliger [Tue, 10 Jul 2007 16:02:44 +0000 (11:02 -0500)]
common/: Remove lingering references to CFG_CMD_* symbols.

Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
Those always evaluated TRUE, and thus were always compiled
even when IDE really wasn't defined/wanted.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoboard/[j-z]*: Remove lingering references to CFG_CMD_* symbols.
Jon Loeliger [Tue, 10 Jul 2007 15:48:22 +0000 (10:48 -0500)]
board/[j-z]*: Remove lingering references to CFG_CMD_* symbols.

Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
Those always evaluated TRUE, and thus were always compiled
even when IDE really wasn't defined/wanted.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoboard/[A-Za-i]*: Remove lingering references to CFG_CMD_* symbols.
Jon Loeliger [Tue, 10 Jul 2007 15:39:10 +0000 (10:39 -0500)]
board/[A-Za-i]*: Remove lingering references to CFG_CMD_* symbols.

Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
Those always evaluated TRUE, and thus were always compiled
even when IDE really wasn't defined/wanted.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agocpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols.
Jon Loeliger [Tue, 10 Jul 2007 15:27:39 +0000 (10:27 -0500)]
cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoinclude/configs/[p-z]* + misc: Cleanup BOOTP and lingering CFG_CMD_*.
Jon Loeliger [Tue, 10 Jul 2007 15:12:10 +0000 (10:12 -0500)]
include/configs/[p-z]* + misc: Cleanup BOOTP and lingering CFG_CMD_*.

Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
used to be included but CONFIG_BOOTP_MASK was not defined.

Remove lingering references to CFG_CMD_* symbols.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoinclude/configs/[g-o]*: Cleanup BOOTP and lingering CFG_CMD_*.
Jon Loeliger [Tue, 10 Jul 2007 14:38:02 +0000 (09:38 -0500)]
include/configs/[g-o]*: Cleanup BOOTP and lingering CFG_CMD_*.

Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
used to be included but CONFIG_BOOTP_MASK was not defined.

Remove lingering references to CFG_CMD_* symbols.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoinclude/configs/[a-e]*: Cleanup BOOTP and lingering CFG_CMD_*.
Jon Loeliger [Tue, 10 Jul 2007 14:29:01 +0000 (09:29 -0500)]
include/configs/[a-e]*: Cleanup BOOTP and lingering CFG_CMD_*.

Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
used to be included but CONFIG_BOOTP_MASK was not defined.

Remove lingering references to CFG_CMD_* symbols.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoinclude/configs/[P-Z]*: Cleanup BOOTP and lingering CFG_CMD_*.
Jon Loeliger [Tue, 10 Jul 2007 14:22:23 +0000 (09:22 -0500)]
include/configs/[P-Z]*: Cleanup BOOTP and lingering CFG_CMD_*.

Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
used to be included but CONFIG_BOOTP_MASK was not defined.

Remove lingering references to CFG_CMD_* symbols.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoinclude/configs/[J-O]*: Cleanup BOOTP and lingering CFG_CMD_*.
Jon Loeliger [Tue, 10 Jul 2007 14:10:49 +0000 (09:10 -0500)]
include/configs/[J-O]*: Cleanup BOOTP and lingering CFG_CMD_*.

Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
used to be included but CONFIG_BOOTP_MASK was not defined.

Remove lingering references to CFG_CMD_* symbols.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoinclude/configs/[A-I]*: Cleanup BOOTP and lingering CFG_CMD_*.
Jon Loeliger [Tue, 10 Jul 2007 14:02:57 +0000 (09:02 -0500)]
include/configs/[A-I]*: Cleanup BOOTP and lingering CFG_CMD_*.

Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h
used to be included but CONFIG_BOOTP_MASK was not defined.

Remove lingering references to CFG_CMD_* symbols.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoFinally retire cmd_confdefs.h and CONFIG_BOOTP_MASK!
Jon Loeliger [Tue, 10 Jul 2007 03:08:34 +0000 (22:08 -0500)]
Finally retire cmd_confdefs.h and CONFIG_BOOTP_MASK!

All of the choices for CONFIG_BOOTP_ are now documented in
the README file.  You must now individually select exactly
the set that you want using a series of
    #define CONFIG_BOOTP_<x>
statements in the board port config files now.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoinclude/configs/[m-z]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_...
Jon Loeliger [Tue, 10 Jul 2007 02:57:31 +0000 (21:57 -0500)]
include/configs/[m-z]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_MASK.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoinclude/configs/[a-m]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_...
Jon Loeliger [Tue, 10 Jul 2007 02:48:26 +0000 (21:48 -0500)]
include/configs/[a-m]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_MASK.

Signed-off-by: Jon Loeliger <jdl@freescale.com>