platform/kernel/u-boot.git
16 years agoMerge branch 'origin' into kconfig-for-1.3.1
Grant Likely [Sat, 17 Nov 2007 04:01:19 +0000 (21:01 -0700)]
Merge branch 'origin' into kconfig-for-1.3.1

Conflicts:

drivers/Makefile

16 years agoUpdate CHANGELOIG, prepare for -rc4
Wolfgang Denk [Sat, 17 Nov 2007 01:34:38 +0000 (02:34 +0100)]
Update CHANGELOIG, prepare for -rc4

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-coldfire
Wolfgang Denk [Sat, 17 Nov 2007 01:28:26 +0000 (02:28 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-coldfire

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc5xxx
Wolfgang Denk [Sat, 17 Nov 2007 01:00:17 +0000 (02:00 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc5xxx

16 years agoFix the i2c frequency and default address in rsdproto board
Luotao Fu [Wed, 14 Nov 2007 17:58:33 +0000 (18:58 +0100)]
Fix the i2c frequency and default address in rsdproto board

rsdproto board support has wrong I2C frequency and wrong return value
handling.

Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
16 years agopowerpc: Backout relocation changes for MPC5121, too.
Wolfgang Denk [Sat, 17 Nov 2007 00:45:38 +0000 (01:45 +0100)]
powerpc: Backout relocation changes for MPC5121, too.

Apply Grant Likely's backout to MPC5121 code, too.

Pointed out by Rafal Jaworowski <raj@semihalf.com>

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agopowerpc: Backout relocation changes.
Grant Likely [Wed, 14 Nov 2007 05:18:33 +0000 (22:18 -0700)]
powerpc: Backout relocation changes.

Ugh.  I *hate* to back this change out, but these compiler flags don't
work for relocation on all versions of GCC.  I've not been able to
reproduce the environment in my setup (and hence, not been able to
find a combination that *does* work), so I've got no choice but to go
back to the old gcc flags and linker script.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoFixed mips_io_port_base build errors.
Jean-Christophe PLAGNIOL-VILLARD [Tue, 13 Nov 2007 08:11:05 +0000 (09:11 +0100)]
Fixed mips_io_port_base build errors.

This patch has been sent on:
- 29 Sep 2007

Although mips_io_port_base is currently a part of IDE command, it is quite
fundamental for MIPS I/O port access such as in[bwl] and out[bwl]. So move
it to MIPS general part, and introduce `set_io_port_base()' from Linux.

This patch is triggered by multiple definition of `mips_io_port_base' build
error on gth2 (and tb0229 also needs this fix.)

board/gth2/libgth2.a(gth2.o): In function `log_serial_char':
/home/skuribay/devel/u-boot.git/board/gth2/gth2.c:47: multiple definition of `mips_io_port_base'
common/libcommon.a(cmd_ide.o):/home/skuribay/devel/u-boot.git/common/cmd_ide.c:712: first defined here
make: *** [u-boot] Error 1

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Sat, 17 Nov 2007 00:33:33 +0000 (01:33 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx

16 years agoFix a bug in the slave serial programming mode for the Xilinx
Wolfgang Denk [Sat, 17 Nov 2007 00:30:40 +0000 (01:30 +0100)]
Fix a bug in the slave serial programming mode for the Xilinx
Spartan2/3 FPGAs. The old code used "< 0" on a "char" type to test if
the most significant bit was set, which did not work on any
architecture where "char" defaulted to be an unsigned type.

Based on a patch by Angelos Manousaridis <amanous@inaccessnetworks.com>

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years ago86xx: Fix broken variable reference when #def DEBUGing.
Jon Loeliger [Thu, 1 Nov 2007 17:23:29 +0000 (12:23 -0500)]
86xx: Fix broken variable reference when #def DEBUGing.

Sometimes you can't reference the DDR2 controller variables.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agomake 8610 board use pixis reset
Jason Jin [Fri, 26 Oct 2007 10:32:00 +0000 (18:32 +0800)]
make 8610 board use pixis reset

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
16 years agoUnify pixis_reset altbank across board families
Jason Jin [Mon, 29 Oct 2007 11:26:21 +0000 (19:26 +0800)]
Unify pixis_reset altbank across board families

Basically, refactor the CFG_PIXIS_VBOOT_MASK values
into the separate board config files.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoMerge branch 'master' of /home/wd/git/u-boot/work
Wolfgang Denk [Fri, 16 Nov 2007 23:38:34 +0000 (00:38 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/work

16 years agoFix warning: pointer targets in assignment differ in signedness
Jean-Christophe PLAGNIOL-VILLARD [Wed, 7 Nov 2007 07:19:21 +0000 (08:19 +0100)]
Fix warning: pointer targets in assignment differ in signedness

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoFix warning differ in signedness in common/cmd_ide.c
Jean-Christophe PLAGNIOL-VILLARD [Wed, 7 Nov 2007 07:19:19 +0000 (08:19 +0100)]
Fix warning differ in signedness in common/cmd_ide.c

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-net
Wolfgang Denk [Fri, 16 Nov 2007 20:50:12 +0000 (21:50 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-net

17 years agoGroup PCI and PCMCIA drivers in drivers/Makefile
Grant Likely [Mon, 24 Sep 2007 15:05:31 +0000 (09:05 -0600)]
Group PCI and PCMCIA drivers in drivers/Makefile

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoGroup block/flash drivers in drivers/Makefile
Grant Likely [Mon, 24 Sep 2007 15:05:31 +0000 (09:05 -0600)]
Group block/flash drivers in drivers/Makefile

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoGroup USB drivers in drivers/Makefile
Grant Likely [Mon, 24 Sep 2007 15:05:31 +0000 (09:05 -0600)]
Group USB drivers in drivers/Makefile

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoGroup i2c drivers in drivers/Makefile
Grant Likely [Mon, 24 Sep 2007 15:05:30 +0000 (09:05 -0600)]
Group i2c drivers in drivers/Makefile

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoGroup console drivers in drivers/Makefile
Grant Likely [Mon, 24 Sep 2007 15:05:30 +0000 (09:05 -0600)]
Group console drivers in drivers/Makefile

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoGroup network drivers in drivers/Makefile
Grant Likely [Mon, 24 Sep 2007 15:05:30 +0000 (09:05 -0600)]
Group network drivers in drivers/Makefile

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoBuild: split COBJS value into multiple lines
Grant Likely [Mon, 24 Sep 2007 15:05:30 +0000 (09:05 -0600)]
Build: split COBJS value into multiple lines

This change is in preparation for condtitionial compile support in the
build system.  By spliting them all into seperate lines now, subsequent
patches that change 'COBJS-y += ' into 'COBJS-$(CONFIG_<blah>) += ' will
be less invasive and easier to review

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoAdd .gitignore files
Grant Likely [Mon, 24 Sep 2007 15:05:30 +0000 (09:05 -0600)]
Add .gitignore files

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoRevert "Correct relocation fixup for mpc5xx"
Grant Likely [Thu, 15 Nov 2007 15:27:52 +0000 (08:27 -0700)]
Revert "Correct relocation fixup for mpc5xx"

This reverts commit 3649cd99ba815b6601868735765602f00ef3692b.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRevert "Correct fixup relocation for MPC5xxx"
Grant Likely [Thu, 15 Nov 2007 15:24:32 +0000 (08:24 -0700)]
Revert "Correct fixup relocation for MPC5xxx"

This reverts commit 6f7576b20ecf0d040c3ac3b032b5cbc860e38a90.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRevert "Correct fixup relocation for mpc8220"
Grant Likely [Thu, 15 Nov 2007 15:21:04 +0000 (08:21 -0700)]
Revert "Correct fixup relocation for mpc8220"

This reverts commit a85dd254c0577fca13627c46e93fc2ad4c4f1f00.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRevert "Correct fixup relocation for mpc824x"
Grant Likely [Thu, 15 Nov 2007 15:20:57 +0000 (08:20 -0700)]
Revert "Correct fixup relocation for mpc824x"

This reverts commit f3a52fe05923935db86985daf9438e2f70ac39aa.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRevert "Correct fixup relocation for mpc8260"
Grant Likely [Thu, 15 Nov 2007 15:20:50 +0000 (08:20 -0700)]
Revert "Correct fixup relocation for mpc8260"

This reverts commit 5af61b2f4b838a05f79be274f3e5a66edd2d9c96.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRevert "Correct fixup relocation for mpc83xx"
Grant Likely [Thu, 15 Nov 2007 15:20:43 +0000 (08:20 -0700)]
Revert "Correct fixup relocation for mpc83xx"

This reverts commit 057004f4a4863554d56cc56268bfa7c7d9738e27.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoRevert "[MPC512x] Correct fixup relocation"
Grant Likely [Thu, 15 Nov 2007 15:20:25 +0000 (08:20 -0700)]
Revert "[MPC512x] Correct fixup relocation"

This reverts commit 8d17979d0359492a822a0a409d26e3a3549b4cd4.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoppc4xx: lwmon5: Change PHY reset sequence for PHY MDIO address latching
Stefan Roese [Tue, 13 Nov 2007 07:18:20 +0000 (08:18 +0100)]
ppc4xx: lwmon5: Change PHY reset sequence for PHY MDIO address latching

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot
Stefan Roese [Tue, 13 Nov 2007 07:16:40 +0000 (08:16 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot

17 years ago[UC101] SRAM now with 2 MB working.
Heiko Schocher [Tue, 13 Nov 2007 06:50:29 +0000 (07:50 +0100)]
[UC101] SRAM now with 2 MB working.

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years agoColdFire: MCF5329 - Remove reset registers from CCM
TsiChungLiew [Thu, 8 Nov 2007 18:50:18 +0000 (12:50 -0600)]
ColdFire: MCF5329 - Remove reset registers from CCM

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: MCF5329 - Add Reset structure to immap_5329.h
TsiChungLiew [Thu, 8 Nov 2007 18:31:11 +0000 (12:31 -0600)]
ColdFire: MCF5329 - Add Reset structure to immap_5329.h

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: MCF5329 - revert include/asm-m68k/m5329.h file mode
TsiChungLiew [Thu, 8 Nov 2007 18:19:01 +0000 (12:19 -0600)]
ColdFire: MCF5329 - revert include/asm-m68k/m5329.h file mode

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: MCF5445x - Update correct RAMBAR and missing linker files
TsiChungLiew [Thu, 8 Nov 2007 00:00:54 +0000 (18:00 -0600)]
ColdFire: MCF5445x - Update correct RAMBAR and missing linker files

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: MCF532x - Update do_reset() using core reset
TsiChungLiew [Wed, 7 Nov 2007 23:56:15 +0000 (17:56 -0600)]
ColdFire: MCF532x - Update do_reset() using core reset

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: Update cpu flag for 4.2-xx compiler
TsiChungLiew [Wed, 7 Nov 2007 23:51:00 +0000 (17:51 -0600)]
ColdFire: Update cpu flag for 4.2-xx compiler

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoImplement general ULi 526x Ethernet driver support in U-boot
Roy Zang [Mon, 5 Nov 2007 09:39:24 +0000 (17:39 +0800)]
Implement general ULi 526x Ethernet driver support in U-boot

This patch implements general ULi 526x Ethernet driver.
Until now, it is the only native Ethernet port on
MPC8610HPCD board, but it could be used on other boards
with ULi 526x Ethernet port as well.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
17 years agoNET: Add Ethernet 1000BASE-X support for PPC4xx
Larry Johnson [Thu, 1 Nov 2007 13:46:50 +0000 (08:46 -0500)]
NET: Add Ethernet 1000BASE-X support for PPC4xx

This patch adds support for 1000BASE-X to functions "miiphy_speed ()" and
"miiphy_duplex()".  It also adds function "miiphy_is_1000base_x ()", which
returns non-zero iff the PHY registers are configured for 1000BASE-X.  The
"mii info" command is modified to distinguish between 1000BASE-T and -X.

Signed-off-by: Larry Johnson <lrj@acm.org>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
17 years agoNET: Cosmetic changes
Larry Johnson [Wed, 31 Oct 2007 16:21:29 +0000 (11:21 -0500)]
NET: Cosmetic changes

Signed-off-by: Larry Johnson <lrj@acm.org>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
17 years agoMerge git://www.denx.de/git/u-boot
Ben Warren [Tue, 6 Nov 2007 15:17:40 +0000 (10:17 -0500)]
Merge git://www.denx.de/git/u-boot

17 years agoCleanup coding style; update CHANGELOG
Wolfgang Denk [Sat, 3 Nov 2007 22:09:27 +0000 (23:09 +0100)]
Cleanup coding style; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agofix wording in README
Bruce Adler [Fri, 2 Nov 2007 20:15:42 +0000 (13:15 -0700)]
fix wording in README

Changed the wording to properly describe the shadowing
of the environment from ROM to RAM

Signed-off-by: Bruce Adler <bruce.adler@acm.org>
17 years agoblackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk
Shinya Kuribayashi [Tue, 30 Oct 2007 17:18:15 +0000 (02:18 +0900)]
blackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
17 years agoTrimmed some variables in ne2000.c
Vlad Lungu [Thu, 25 Oct 2007 13:08:14 +0000 (16:08 +0300)]
Trimmed some variables in ne2000.c

Signed-off-by: Vlad Lungu <vlad@comsys.ro>
17 years agoFix the issue of usb_kbd driver missing the scan code of key 'z'.
Zhang Wei [Thu, 25 Oct 2007 09:51:27 +0000 (17:51 +0800)]
Fix the issue of usb_kbd driver missing the scan code of key 'z'.

The scan code of the key 'z' is 0x1d, which should be handled.

The change has be tested on NOVATEK USB keyboard and ULI PCI OHCI
controller.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
17 years agoFix USB support issue for MPC8641HPCN board.
Zhang Wei [Thu, 25 Oct 2007 09:30:04 +0000 (17:30 +0800)]
Fix USB support issue for MPC8641HPCN board.

The configuration file has already enabled USB, but it
missed definition of CFG_OHCI_SWAP_REG_ACCESS, the USB
on MPC8641HPCN can not work because of the wrong USB
register endian.

And add the USB command to U-Boot commands list.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
17 years agoUse config_cmd_default.h instead of config_cmd_all.h
Jean-Christophe PLAGNIOL-VILLARD [Wed, 24 Oct 2007 16:16:01 +0000 (18:16 +0200)]
Use config_cmd_default.h instead of config_cmd_all.h

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agoTQM5200: Call usb_cpu_init() during board init
Marian Balakowicz [Tue, 23 Oct 2007 23:37:36 +0000 (01:37 +0200)]
TQM5200: Call usb_cpu_init() during board init

usb_cpu_init() configures GPS USB pins, clocks, etc. and
is required for proper operation of kernel USB subsystem.
This setup was previously done in the kernel by the fixup
code which is being removed, thus low level init must be
done by U-boot now.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
17 years agoFix typo in nfs.c
Guennadi Liakhovetski [Tue, 23 Oct 2007 14:25:50 +0000 (16:25 +0200)]
Fix typo in nfs.c

An obvious typo. Originally fixed in linkstation u-boot port.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
17 years agoFix a typo in cpu/mpc824x/interrupts.c
Guennadi Liakhovetski [Tue, 23 Oct 2007 12:35:05 +0000 (14:35 +0200)]
Fix a typo in cpu/mpc824x/interrupts.c

Since December 2003 the timer_interrupt_cpu() function in
cpu/mpc824x/interrupts.c contains what seems to be a superfluous
parameter. Remove it.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
17 years agoadd ft_cpu_setup(..) on mpc8260
Sergej Stepanov [Wed, 17 Oct 2007 09:13:51 +0000 (11:13 +0200)]
add ft_cpu_setup(..) on mpc8260

Add ft_cpu_setup(..)-function to adapt it for use with libfdt
based on code from mpc5xxx

Sigend-off-by: Sergej Stepanov <Sergej.Stepanov@ids.de>
--

17 years agochanges for IDS8247 board support
Sergej Stepanov [Wed, 17 Oct 2007 09:18:42 +0000 (11:18 +0200)]
changes for IDS8247 board support

To get the IDS8247 board working following are done:
 - FCC2 is deactivated
 - FCC1 is activated
 - I2C is activated
 - CFI driver is activated
 - Adapted for use with LIBFDT

Signed-off-by: Sergej Stepanov <Sergej.Stepanov@ids.de>
--

17 years agoMerge git://www.denx.de/git/u-boot
Ben Warren [Fri, 2 Nov 2007 15:20:41 +0000 (11:20 -0400)]
Merge git://www.denx.de/git/u-boot

17 years agoMerge branch 'master' of /home/wd/git/u-boot/work
Wolfgang Denk [Fri, 2 Nov 2007 14:09:22 +0000 (15:09 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/work

17 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Fri, 2 Nov 2007 14:09:10 +0000 (15:09 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

17 years agoATSTK1002: Remove default ethernet addresses
Haavard Skinnemoen [Wed, 24 Oct 2007 13:48:37 +0000 (15:48 +0200)]
ATSTK1002: Remove default ethernet addresses

Wolfgang is right: It's not a good idea to set up default initial
ethernet addresses for a board, even though they belong to the local
range.

This will change the failure mode from "IT manager screams at you for
using duplicate ethernet addresses" to a nice error message explaining
that the ethernet address hasn't been set properly.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
17 years agoDHCP Client Fix
Justin Flammia [Mon, 29 Oct 2007 21:40:35 +0000 (17:40 -0400)]
DHCP Client Fix

This is a multi-part message in MIME format.

commit e6e505eae94ed721e123e177489291fc4544b7b8
Author: Justin Flammia <jflammia@savantav.com>
Date:   Mon Oct 29 17:19:03 2007 -0400

    Found a bug in the way the DHCP Request packet is built, where the IP address
    that is offered by the server is bound to prematurely. This patch is a fix of
    that bug where the IP address offered by the DHCP server is not used until
    after the DHCP ACK from the server is received.

Signed-off-by: Justin Flammia <jflammia@savantav.com>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-coldfire
Wolfgang Denk [Thu, 1 Nov 2007 21:58:59 +0000 (22:58 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-coldfire

17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-arm
Wolfgang Denk [Thu, 1 Nov 2007 21:57:33 +0000 (22:57 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-arm

17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-tq-group
Wolfgang Denk [Thu, 1 Nov 2007 21:56:16 +0000 (22:56 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-tq-group

17 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Thu, 1 Nov 2007 21:55:23 +0000 (22:55 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mips
Wolfgang Denk [Thu, 1 Nov 2007 21:54:31 +0000 (22:54 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mips

17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx
Wolfgang Denk [Thu, 1 Nov 2007 21:38:01 +0000 (22:38 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc85xx

17 years agoDHCP Client Fix
Justin Flammia [Mon, 29 Oct 2007 21:40:35 +0000 (17:40 -0400)]
DHCP Client Fix

This is a multi-part message in MIME format.

commit e6e505eae94ed721e123e177489291fc4544b7b8
Author: Justin Flammia <jflammia@savantav.com>
Date:   Mon Oct 29 17:19:03 2007 -0400

    Found a bug in the way the DHCP Request packet is built, where the IP address
    that is offered by the server is bound to prematurely. This patch is a fix of
    that bug where the IP address offered by the DHCP server is not used until
    after the DHCP ACK from the server is received.

Signed-off-by: Justin Flammia <jflammia@savantav.com>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
17 years agoMerge git://www.denx.de/git/u-boot
Stefan Roese [Sat, 27 Oct 2007 11:43:40 +0000 (13:43 +0200)]
Merge git://www.denx.de/git/u-boot

17 years agoColdFire 54455: Fix correct boot location for atmel and intel
TsiChungLiew [Thu, 25 Oct 2007 22:16:22 +0000 (17:16 -0500)]
ColdFire 54455: Fix correct boot location for atmel and intel

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: Fix build error when CONFIG_WATCHDOG is defined
TsiChungLiew [Thu, 25 Oct 2007 22:14:00 +0000 (17:14 -0500)]
ColdFire: Fix build error when CONFIG_WATCHDOG is defined

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire 5329: Assign correct SDRAM size and fix cache
TsiChungLiew [Thu, 25 Oct 2007 22:12:36 +0000 (17:12 -0500)]
ColdFire 5329: Assign correct SDRAM size and fix cache

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire 5253: Assign correct SDRAM size
TsiChungLiew [Thu, 25 Oct 2007 22:10:23 +0000 (17:10 -0500)]
ColdFire 5253: Assign correct SDRAM size

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire 5282: Fix external flash boot and return dramsize
TsiChungLiew [Thu, 25 Oct 2007 22:09:17 +0000 (17:09 -0500)]
ColdFire 5282: Fix external flash boot and return dramsize

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoTQM5200: increase kernel_addr_r and fdt_addr_r (hinted by Wolfgang Denk).
Bartlomiej Sieka [Thu, 25 Oct 2007 15:20:01 +0000 (17:20 +0200)]
TQM5200: increase kernel_addr_r and fdt_addr_r (hinted by Wolfgang Denk).

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMerge branch 'motionpro_ng' of /home/tur/git/u-boot
Wolfgang Denk [Wed, 24 Oct 2007 09:05:28 +0000 (11:05 +0200)]
Merge branch 'motionpro_ng' of /home/tur/git/u-boot

17 years agoTQM5200: fix spurious characters on second serial interface
Martin Krause [Wed, 24 Oct 2007 06:42:25 +0000 (08:42 +0200)]
TQM5200: fix spurious characters on second serial interface

With this patch PSC3 is configured as UART. This is done, because if
the pins of PSC3 are not configured at all (-> all pins are GPI),
due to crosstalk, spurious characters may be send over the RX232_2_TXD
signal line.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoTQM5200S: fix commands for STK52xx base board because of missing SM501 grafic controller
Martin Krause [Wed, 24 Oct 2007 06:41:27 +0000 (08:41 +0200)]
TQM5200S: fix commands for STK52xx base board because of missing SM501 grafic controller

Some commands for the STK52xx base board try to access the SM501 grafic
controller. But the TQM5200S has no grafic controller (only the TQM5200
and the TQM5200B have). This patch deactivates the commands accessing
the SM501 for the TQM5200S.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoTQM5200: fix spurious characters on second serial interface
Martin Krause [Mon, 22 Oct 2007 14:45:53 +0000 (16:45 +0200)]
TQM5200: fix spurious characters on second serial interface

With this patch PSC3 is configured as UART. This is done, because if
the pins of PSC3 are not configured at all (-> all pins are GPI),
due to crosstalk, spurious characters may be send over the RX232_2_TXD
signal line.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
17 years agoTQM5200S: fix commands for STK52xx base board because of missing SM501 grafic controller
Martin Krause [Mon, 22 Oct 2007 14:40:06 +0000 (16:40 +0200)]
TQM5200S: fix commands for STK52xx base board because of missing SM501 grafic controller

Some commands for the STK52xx base board try to access the SM501 grafic
controller. But the TQM5200S has no grafic controller (only the TQM5200
and the TQM5200B have). This patch deactivates the commands accessing
the SM501 for the TQM5200S.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
17 years agoMips: Fix string functions differ prototype declaration
Jean-Christophe PLAGNIOL-VILLARD [Sun, 21 Oct 2007 07:14:28 +0000 (09:14 +0200)]
Mips: Fix string functions differ prototype declaration

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agofsl_pci_init enable COMMAND_MEMORY if inbound window
Ed Swarthout [Fri, 19 Oct 2007 22:51:40 +0000 (17:51 -0500)]
fsl_pci_init enable COMMAND_MEMORY if inbound window

Patch 16e23c3f removed PCSRBAR allocation.  But passing zero windows
to pciauto_setup_device has the side effect of not getting
COMMAND_MEMORY set.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agodelta: Fix OHCI_REGS_BASE undeclared and wait_ms implicit declaration
Jean-Christophe PLAGNIOL-VILLARD [Fri, 19 Oct 2007 08:55:24 +0000 (10:55 +0200)]
delta: Fix OHCI_REGS_BASE undeclared and wait_ms implicit declaration

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agofix warning: no return statement in function returning non-void
Jean-Christophe PLAGNIOL-VILLARD [Fri, 19 Oct 2007 06:10:15 +0000 (08:10 +0200)]
fix warning: no return statement in function returning non-void

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agoxsengine: Fix no partition type specified, use DOS as default
Jean-Christophe PLAGNIOL-VILLARD [Fri, 19 Oct 2007 04:33:45 +0000 (06:33 +0200)]
xsengine: Fix no partition type specified, use DOS as default

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agolubbock: Fix no partition type specified, use DOS as default
Jean-Christophe PLAGNIOL-VILLARD [Thu, 18 Oct 2007 22:24:59 +0000 (00:24 +0200)]
lubbock: Fix no partition type specified, use DOS as default

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agoCoding style: keep lists sorted; update CHANGELOG
Wolfgang Denk [Tue, 23 Oct 2007 14:50:03 +0000 (16:50 +0200)]
Coding style: keep lists sorted; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoFix missing drivers makefile entries ds1722.c mw_eeprom.c
Jean-Christophe PLAGNIOL-VILLARD [Thu, 18 Oct 2007 22:09:05 +0000 (00:09 +0200)]
Fix missing drivers makefile entries ds1722.c mw_eeprom.c

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agoFix warning differ in signedness in board/innokom/innokom.c
Jean-Christophe PLAGNIOL-VILLARD [Thu, 18 Oct 2007 22:07:39 +0000 (00:07 +0200)]
Fix warning differ in signedness in board/innokom/innokom.c

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agofix pxa255_idp board
Marcel Ziswiler [Thu, 18 Oct 2007 22:25:33 +0000 (00:25 +0200)]
fix pxa255_idp board

The pxa255_idp being an old unmaintained board showed several issues:
1. CONFIG_INIT_CRITICAL was still defined.
2. Neither CONFIG_MAC_PARTITION nor CONFIG_DOS_PARTITION was defined.
3. Symbol flash_addr was undeclared.
4. The boards lowlevel_init function was still called memsetup.
5. The TEXT_BASE was still 0xa3000000 rather than 0xa3080000.
6. Using -march=armv5 instead of -march=armv5te resulted in lots of
'target CPU does not support interworking' warnings on recent compilers.
7. The PXA's serial driver redefined FFUART, BTUART and STUART used as
indexes rather than the register definitions from the pxa-regs header
file. Renamed them to FFUART_INDEX, BTUART_INDEX and STUART_INDEX to
avoid any ambiguities.
8. There were several redefinition warnings concerning ICMR, OSMR3,
OSCR, OWER, OIER, RCSR and CCCR in the PXA's assembly start file.
9. The board configuration file was rather outdated.
10. The part header file defined the vendor, product and revision arrays
as unsigned chars instead of just chars in the block_dev_desc_t
structure.

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
17 years agoMake MPC8266ADS command selection more robust
Rune Torgersen [Wed, 17 Oct 2007 16:56:31 +0000 (11:56 -0500)]
Make MPC8266ADS command selection more robust

Fix MPC8266 command line definition so it won't break when new commands
are added to u-boot.
Signed-off-by Rune Torgersen <runet@innovsys.com>

17 years agoMotion-PRO: Update configuration to accomodate next generation board.
Bartlomiej Sieka [Tue, 23 Oct 2007 11:14:10 +0000 (13:14 +0200)]
Motion-PRO: Update configuration to accomodate next generation board.

New board has faster oscillator and a different Flash chip. This affects:
- CFG_MPC5XXX_CLKIN
- SDRAM timings
- Flash CS configuration (timings)
- Flash sector size, and thus MTD partition layout
- malloc() arena size (due to bigger Flash sectors)
- smaller memory test range (due to bigger malloc() arena)

This patch also enables more extensive memory testing via "mtest".

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMotion-PRO: Add setting of SDelay reg. to SDRAM controller configuration.
Bartlomiej Sieka [Tue, 23 Oct 2007 09:36:07 +0000 (11:36 +0200)]
Motion-PRO: Add setting of SDelay reg. to SDRAM controller configuration.

Per AN3221 (MPC5200B SDRAM Initialization and Configuration), the SDelay
register must be written a value of 0x00000004 as the first step of the
SDRAM contorller configuration.

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMove PL01* serial drivers to drivers/serial and adjust Makefiles.
Peter Pearse [Tue, 23 Oct 2007 09:22:16 +0000 (10:22 +0100)]
Move PL01* serial drivers to drivers/serial and adjust Makefiles.

17 years agoppc4xx: lwmon5: Some further GPIO config changes
Stefan Roese [Tue, 23 Oct 2007 08:17:42 +0000 (10:17 +0200)]
ppc4xx: lwmon5: Some further GPIO config changes

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge branch 'u-boot' of /home/mkr/git/u-boot-tq-group into bugfix
Martin Krause [Tue, 23 Oct 2007 06:30:06 +0000 (08:30 +0200)]
Merge branch 'u-boot' of /home/mkr/git/u-boot-tq-group into bugfix

17 years ago[MIPS] Fix UNCACHED_SDRAM
Vlad Lungu [Sun, 21 Oct 2007 13:10:10 +0000 (22:10 +0900)]
[MIPS] Fix UNCACHED_SDRAM

PHYSADDR is for physical address, KSEG1ADDR is for uncached.

Signed-off-by: Vlad Lungu <vlad@comsys.ro>
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
17 years ago[MIPS] Add PIC-related switches to PLATFORM_{CPP,LD}FLAGS and cleanup
Shinya Kuribayashi [Sun, 21 Oct 2007 12:30:42 +0000 (21:30 +0900)]
[MIPS] Add PIC-related switches to PLATFORM_{CPP,LD}FLAGS and cleanup

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
17 years ago[MIPS] u-boot.lds: Define _gp in a standard manner
Shinya Kuribayashi [Sun, 21 Oct 2007 01:55:37 +0000 (10:55 +0900)]
[MIPS] u-boot.lds: Define _gp in a standard manner

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>