]> git.sur5r.net Git - u-boot/log
u-boot
16 years agoThe patch introduces the alternative configuration of the log buffer for the lwmon5...
Yuri Tikhonov [Wed, 6 Feb 2008 17:48:36 +0000 (18:48 +0100)]
The patch introduces the alternative configuration of the log buffer for the lwmon5 board: the storage for the log-buffer itself is OCM(on-chip memory), the log-buffer header is moved to six GPT registers (PPC440EPX_GPT0_COMP1, ..., PPC440EPX_GPT0_COMP5).

 To enable this, alternative, configuration the U-Boot board configuration
file for lwmon5 includes the definitions of alternative addresses for header
(CONFIG_ALT_LH_ADDR) and buffer (CONFIG_ALT_LB_ADDR).

 The Linux shall be configured with the CONFIG_ALT_LB_LOCATION option set,
and has the BOARD_ALT_LH_ADDR and BOARD_ALT_LB_ADDR constants defined in the
lwmon5 board-specific header (arch/ppc/platforms/4xx/lwmon5.h).

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoAdd support for the lwmon5 board reset via GPIO58.
Yuri Tikhonov [Mon, 4 Feb 2008 16:11:53 +0000 (17:11 +0100)]
Add support for the lwmon5 board reset via GPIO58.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoSome fixes to dspic, fpga, and gdc post tests for lwmon5. Disable external watch...
Yuri Tikhonov [Mon, 4 Feb 2008 16:09:55 +0000 (17:09 +0100)]
Some fixes to dspic, fpga, and gdc post tests for lwmon5. Disable external watch-dog for now.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoThe patch introduces the CRITICAL feature of POST tests. If the test marked as POST_C...
Yuri Tikhonov [Mon, 4 Feb 2008 13:11:03 +0000 (14:11 +0100)]
The patch introduces the CRITICAL feature of POST tests. If the test marked as POST_CRITICAL fails then the alternative, post_critical, boot-command is used. If this command is not defined then U-Boot enters into interactive mode.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoThe patch adds new POST tests for the Lwmon5 board. These are:
Yuri Tikhonov [Mon, 4 Feb 2008 13:10:42 +0000 (14:10 +0100)]
The patch adds new POST tests for the Lwmon5 board. These are:

* External Watchdog test;
* dsPIC tests;
* FPGA test;
* GDC test;
* Sysmon tests.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoEnable CODEC POST with CFG_POST_CODEC rather than with CFG_POST_DSP.
Yuri Tikhonov [Mon, 4 Feb 2008 13:10:01 +0000 (14:10 +0100)]
Enable CODEC POST with CFG_POST_CODEC rather than with CFG_POST_DSP.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-blackfin
Wolfgang Denk [Tue, 18 Mar 2008 21:15:58 +0000 (22:15 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-blackfin

16 years agoHMI1001: fix compile problem.
Wolfgang Denk [Tue, 18 Mar 2008 16:35:51 +0000 (17:35 +0100)]
HMI1001: fix compile problem.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoBlackfin: BF537-stamp: drop board-specific flash driver for CFI
Mike Frysinger [Mon, 18 Feb 2008 10:32:30 +0000 (05:32 -0500)]
Blackfin: BF537-stamp: drop board-specific flash driver for CFI

The parallel flash on the BF537-STAMP is CFI compliant, so there is no need
for the board specific driver at all.  Just use the common CFI driver.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoBlackfin: add proper ELF markings to some assembly functions
Mike Frysinger [Tue, 19 Feb 2008 05:36:14 +0000 (00:36 -0500)]
Blackfin: add proper ELF markings to some assembly functions

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoBlackfin: new cplbinfo command for viewing cplb tables
Mike Frysinger [Tue, 19 Feb 2008 05:35:17 +0000 (00:35 -0500)]
Blackfin: new cplbinfo command for viewing cplb tables

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoBlackfin: update MAINTAINERS list
Mike Frysinger [Mon, 18 Feb 2008 10:37:51 +0000 (05:37 -0500)]
Blackfin: update MAINTAINERS list

Add maintainer information for the Blackfin boards.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoBlackfin: convert BFIN_CPU to CONFIG_BFIN_CPU
Mike Frysinger [Mon, 18 Feb 2008 10:26:48 +0000 (05:26 -0500)]
Blackfin: convert BFIN_CPU to CONFIG_BFIN_CPU

Stop tying things to the processor that should be tied to other defines and
change BFIN_CPU to CONFIG_BFIN_CPU so that it can be used in the build
system to select the -mcpu option.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoBlackfin: move bootldr command to common code
Mike Frysinger [Sat, 16 Feb 2008 12:40:36 +0000 (07:40 -0500)]
Blackfin: move bootldr command to common code

This moves the Blackfin-common bootldr command out of the BF537-STAMP
specific board directory and into the common directory so that all Blackfin
boards may utilize it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoMerge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Sun, 16 Mar 2008 00:50:18 +0000 (01:50 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master

Conflicts:

drivers/rtc/Makefile

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agomgcoge: update configuration
Heiko Schocher [Fri, 14 Mar 2008 10:05:20 +0000 (11:05 +0100)]
mgcoge: update configuration

Fix configuration for mgcoge board

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agodrivers/rtc/Makefile: keep list sorted
Wolfgang Denk [Sun, 16 Mar 2008 00:22:59 +0000 (01:22 +0100)]
drivers/rtc/Makefile: keep list sorted

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoAdd support for Intersil isl1208 RTC
Tor Krill [Sat, 15 Mar 2008 14:40:26 +0000 (15:40 +0100)]
Add support for Intersil isl1208 RTC

Signed-off-by: Tor Krill <tor@excito.com>
16 years agocramfs: Fix ifdef
Jean-Christophe PLAGNIOL-VILLARD [Sat, 15 Mar 2008 16:36:41 +0000 (17:36 +0100)]
cramfs: Fix ifdef

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoConding style cleanup
Wolfgang Denk [Sun, 16 Mar 2008 00:12:58 +0000 (01:12 +0100)]
Conding style cleanup

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoppc4xx: Add USB OHCI support to AMCC Canyonlands 460EX eval board
Stefan Roese [Wed, 5 Mar 2008 11:31:53 +0000 (12:31 +0100)]
ppc4xx: Add USB OHCI support to AMCC Canyonlands 460EX eval board

This patch adds USB OHCI support to the Canyonlands board port. It also
enables EXT2 support.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agousb: Add CFG_OHCI_USE_NPS to common USB-OHCI driver
Stefan Roese [Wed, 5 Mar 2008 11:29:32 +0000 (12:29 +0100)]
usb: Add CFG_OHCI_USE_NPS to common USB-OHCI driver

This patch adds CFG_OHCI_USE_NPS to the common USB-OHCI driver. This
way a board just needs to define this new option to enable the "force
NoPowerSwitching mode" instead of adding new CPU/architecture defines
to the USB source itself.

This new option will be used first with the new AMCC 460EX Canyonlands
board port, which will be posted in a few days.

This patch also fixes a small compilation problem when DEBUG is enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add Canyonlands NAND booting support
Stefan Roese [Mon, 3 Mar 2008 16:27:02 +0000 (17:27 +0100)]
ppc4xx: Add Canyonlands NAND booting support

460EX doesn't support a fixed bootstrap option to boot from 512 byte page
NAND devices. The only bootstrap option for NAND booting is option F for
2k page devices. So to boot from a 512 bype page device, the I2C bootstrap
EEPROM needs to be programmed accordingly.

This patch adds basic NAND booting support for the AMCC Canyonlands aval
board and also adds support to the "bootstrap" command, to enable NAND
booting I2C setting.

Tested with 512 byte page NAND device (32MByte) on Canyonlands.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add AMCC Canyonlands support (460EX) (3/3)
Stefan Roese [Tue, 11 Mar 2008 15:53:00 +0000 (16:53 +0100)]
ppc4xx: Add AMCC Canyonlands support (460EX) (3/3)

This patch adds support for the AMCC Canyonlands 460EX evaluation
board.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add AMCC Canyonlands support (460EX) (2/3)
Stefan Roese [Tue, 11 Mar 2008 15:52:24 +0000 (16:52 +0100)]
ppc4xx: Add AMCC Canyonlands support (460EX) (2/3)

This patch adds support for the AMCC Canyonlands 460EX evaluation
board.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add AMCC Canyonlands support (460EX) (1/3)
Stefan Roese [Tue, 11 Mar 2008 15:51:17 +0000 (16:51 +0100)]
ppc4xx: Add AMCC Canyonlands support (460EX) (1/3)

This patch adds support for the AMCC Canyonlands 460EX evaluation
board.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add basic support for AMCC 460EX/460GT (5/5)
Stefan Roese [Tue, 11 Mar 2008 14:11:43 +0000 (15:11 +0100)]
ppc4xx: Add basic support for AMCC 460EX/460GT (5/5)

This patch adds basic support for the AMCC 460EX/460GT PPC's.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add basic support for AMCC 460EX/460GT (4/5)
Stefan Roese [Tue, 11 Mar 2008 14:11:18 +0000 (15:11 +0100)]
ppc4xx: Add basic support for AMCC 460EX/460GT (4/5)

This patch adds basic support for the AMCC 460EX/460GT PPC's.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add basic support for AMCC 460EX/460GT (3/5)
Stefan Roese [Tue, 11 Mar 2008 14:07:10 +0000 (15:07 +0100)]
ppc4xx: Add basic support for AMCC 460EX/460GT (3/5)

This patch adds basic support for the AMCC 460EX/460GT PPC's.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add basic support for AMCC 460EX/460GT (2/5)
Stefan Roese [Tue, 11 Mar 2008 14:05:50 +0000 (15:05 +0100)]
ppc4xx: Add basic support for AMCC 460EX/460GT (2/5)

This patch adds basic support for the AMCC 460EX/460GT PPC's.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add basic support for AMCC 460EX/460GT (1/5)
Stefan Roese [Tue, 11 Mar 2008 14:05:26 +0000 (15:05 +0100)]
ppc4xx: Add basic support for AMCC 460EX/460GT (1/5)

This patch adds basic support for the AMCC 460EX/460GT PPC's.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: interrupt.c reworked
Stefan Roese [Tue, 19 Feb 2008 21:07:57 +0000 (22:07 +0100)]
ppc4xx: interrupt.c reworked

This patch is a rework of the 4xx interrupt handling done while
adding the 460EX/GT support. Interrupts are needed on 4xx for the
EMAC driver.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: program_tlb now uses 64bit physical addess
Stefan Roese [Tue, 19 Feb 2008 21:01:57 +0000 (22:01 +0100)]
ppc4xx: program_tlb now uses 64bit physical addess

This patch changes the physical addess parameter from 32bit to 64bit.
This is needed for 36bit 4xx platforms to access areas located
beyond the 4GB border, like SoC peripherals (EBC etc.).

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: miiphy.c reworked
Stefan Roese [Tue, 19 Feb 2008 20:58:25 +0000 (21:58 +0100)]
ppc4xx: miiphy.c reworked

While adding the 460EX/GT support I reworked the 4xx miiphy code. It
badly neede some cleanup.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agortc: Add M41T62 support
Stefan Roese [Tue, 19 Feb 2008 15:21:49 +0000 (16:21 +0100)]
rtc: Add M41T62 support

This patch add support for the STM M41T62 RTC. It is used and tested
on the AMCC Canyonlands 406EX platform.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add 405GPr based MCU25 board specific files
Niklaus Giger [Mon, 25 Feb 2008 17:46:43 +0000 (18:46 +0100)]
ppc4xx: Add 405GPr based MCU25 board specific files

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Add 405GPr based MCU25 board config file
Niklaus Giger [Mon, 25 Feb 2008 17:46:42 +0000 (18:46 +0100)]
ppc4xx: Add 405GPr based MCU25 board config file

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Add 405GPr based MCU25 board. Global files
Niklaus Giger [Mon, 25 Feb 2008 17:46:41 +0000 (18:46 +0100)]
ppc4xx: Add 405GPr based MCU25 board. Global files

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: HCU4/5. remove obsolete hcu_flash.c
Niklaus Giger [Mon, 25 Feb 2008 17:37:02 +0000 (18:37 +0100)]
ppc4xx: HCU4/5. remove obsolete hcu_flash.c

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: HCU4/5. Use FLASH_CFI_LEGACY
Niklaus Giger [Mon, 25 Feb 2008 17:37:01 +0000 (18:37 +0100)]
ppc4xx: HCU4/5. Use FLASH_CFI_LEGACY

Cleanup: Remove custom flash driver for 8 bit boot-eprom and replace it with
the FLASH_CFI_LEGACY et al. config options.

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Fix comment in 405EX DDR2 init code
Stefan Roese [Tue, 11 Mar 2008 12:52:25 +0000 (13:52 +0100)]
ppc4xx: Fix comment in 405EX DDR2 init code

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agotools/setlocalversion: use a git-describe-ish format
Wolfgang Denk [Fri, 14 Mar 2008 15:04:54 +0000 (16:04 +0100)]
tools/setlocalversion: use a git-describe-ish format

Change the automatic local version to have the form -nnnnn-gSHA1SUMID,
where 'nnnnn' is the number of commits since the last tag (i.e.,
1.3.2-rc3).  This makes it much easier to recognize "newer" versions
and to see how much has been changed since the referenced tag.

Stolen from Linux kernel's scripts/setlocalversio, see commit d882421f.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoHMI1001: add support for MPC5200 Rev. B processors.
Wolfgang Denk [Thu, 13 Mar 2008 13:32:03 +0000 (14:32 +0100)]
HMI1001: add support for MPC5200 Rev. B processors.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoTQM5200: remove dead code
Wolfgang Denk [Thu, 13 Mar 2008 13:29:49 +0000 (14:29 +0100)]
TQM5200: remove dead code

This board never used a MGT5100 processor.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoRelease v1.3.2 v1.3.2
Wolfgang Denk [Sun, 9 Mar 2008 15:20:02 +0000 (16:20 +0100)]
Release v1.3.2

Update CHANGELOG for release.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoSCM: fix 'packed' attribute ignored for field of type 'can_msg_t' warnings
Jean-Christophe PLAGNIOL-VILLARD [Sun, 9 Mar 2008 13:52:11 +0000 (14:52 +0100)]
SCM: fix 'packed' attribute ignored for field of type 'can_msg_t' warnings

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoscb9328: Fix flash warning: type qualifiers ignored on function return type
Jean-Christophe PLAGNIOL-VILLARD [Sun, 9 Mar 2008 09:44:01 +0000 (10:44 +0100)]
scb9328: Fix flash warning: type qualifiers ignored on function return type

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoesd/common/fpga.c: fix indentation.
Wolfgang Denk [Sun, 9 Mar 2008 09:50:41 +0000 (10:50 +0100)]
esd/common/fpga.c: fix indentation.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agocommon/kgdb.c: fix 'dereferencing type-punned pointer' warning
Wolfgang Denk [Sun, 9 Mar 2008 09:33:31 +0000 (10:33 +0100)]
common/kgdb.c: fix 'dereferencing type-punned pointer' warning

and get rid of a couple of unneeded casts.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoesd/common/fpga.c: fix 'assignment of read-only location' error
Wolfgang Denk [Sun, 9 Mar 2008 09:09:53 +0000 (10:09 +0100)]
esd/common/fpga.c: fix 'assignment of read-only location' error

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMakefile: make build silently again.
Wolfgang Denk [Sun, 9 Mar 2008 01:13:19 +0000 (02:13 +0100)]
Makefile: make build silently again.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agom501sk: Fix out of tree building
Wolfgang Denk [Sun, 9 Mar 2008 01:07:49 +0000 (02:07 +0100)]
m501sk: Fix out of tree building

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: fix out of tree build
Wolfgang Denk [Sat, 8 Mar 2008 23:06:09 +0000 (00:06 +0100)]
ADS5121: fix out of tree build

and simplify Makefile a bit.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoRelease v1.3.2
Wolfgang Denk [Sat, 8 Mar 2008 21:35:31 +0000 (22:35 +0100)]
Release v1.3.2

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoUpdate CHANGELOG
Wolfgang Denk [Sat, 8 Mar 2008 21:35:04 +0000 (22:35 +0100)]
Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoesd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer...
Jean-Christophe PLAGNIOL-VILLARD [Sat, 8 Mar 2008 20:30:04 +0000 (21:30 +0100)]
esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer target type

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agonet: rtl8169: Add processing when OWNbit did't enable in rtl_recv()
Nobuhiro Iwamatsu [Sat, 8 Mar 2008 00:25:49 +0000 (09:25 +0900)]
net: rtl8169: Add processing when OWNbit did't enable in rtl_recv()

When rtl_recv() of rtl8169 is called, OWNbit of status register
is not enable occasionally.
rtl_recv() doesn't work normally when the driver doesn't do
appropriate processing.
This patch fix this problem.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx
Wolfgang Denk [Sat, 8 Mar 2008 09:55:46 +0000 (10:55 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Sat, 8 Mar 2008 09:51:53 +0000 (10:51 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx

16 years agomgsuvd: update board configuration
Heiko Schocher [Fri, 7 Mar 2008 07:15:28 +0000 (08:15 +0100)]
mgsuvd: update board configuration

initialize the UPIOx controller.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agomgcoge: update board configuration
Heiko Schocher [Fri, 7 Mar 2008 07:13:41 +0000 (08:13 +0100)]
mgcoge: update board configuration

add support for the config Flash.
initialize the UPIOx controller.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agompc83xx: make dtb basename file references equal those of linux
Kim Phillips [Fri, 7 Mar 2008 18:27:31 +0000 (12:27 -0600)]
mpc83xx: make dtb basename file references equal those of linux

the dts file basenames were updated in linux - this helps avoid
inadvertently loading any old dtbs laying around.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agonet: uec_phy: actually increment the timeout counter
Kim Phillips [Wed, 27 Feb 2008 22:08:22 +0000 (16:08 -0600)]
net: uec_phy: actually increment the timeout counter

allow u-boot to recover (and, e.g., switch to another interface) in the
case where a PHY does not report autonegotiation is complete within its
two second timeout value.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agofix taihu soft spi_read
Markus Brunner [Wed, 5 Mar 2008 20:38:12 +0000 (21:38 +0100)]
fix taihu soft spi_read

The taihu board used gpio_read_out_bit which reads the output register and not
the pin state.

Signed-off-by: Markus Brunner <super.firetwister@gmail.com>
16 years agoppc4xx: Sequoia: Add device tree (fdt) Linux booting default env variables
Stefan Roese [Fri, 7 Mar 2008 07:01:43 +0000 (08:01 +0100)]
ppc4xx: Sequoia: Add device tree (fdt) Linux booting default env variables

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoMerge branch 'master' of /home/stefan/git/u-boot/u-boot
Stefan Roese [Fri, 7 Mar 2008 06:47:30 +0000 (07:47 +0100)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot

16 years ago837xEMDS: Improve the system performance
Dave Liu [Tue, 4 Mar 2008 08:59:22 +0000 (16:59 +0800)]
837xEMDS: Improve the system performance

1. Make the CSB bus pipeline depth as 4, and enable
   the repeat mode;
2. Raise the eTSEC emergency priority;
3. Use the highest IP blocks clock.

Signed-off-by: Dave Liu <daveliu@freescale.com>
16 years agoReplace "run load; run update" with conditionalized "run load update".
Detlev Zundel [Thu, 6 Mar 2008 15:45:53 +0000 (16:45 +0100)]
Replace "run load; run update" with conditionalized "run load update".

The latter version stops when "run load" fails for whatever reasons
rendering the combination *a lot* more secure.

Signed-off-by: Detlev Zundel <dzu@denx.de>
16 years agoMerge branch 'master' of /home/stefan/git/u-boot/u-boot
Stefan Roese [Wed, 5 Mar 2008 16:22:06 +0000 (17:22 +0100)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot

16 years agoMerge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Tue, 4 Mar 2008 23:21:37 +0000 (00:21 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master

16 years agonet: Print error message upon net usage when no ethernet-interface is found
Stefan Roese [Tue, 4 Mar 2008 16:40:41 +0000 (17:40 +0100)]
net: Print error message upon net usage when no ethernet-interface is found

This patch fixes a problem seen on PPC4xx boards, when no MAC address is
defined. Then no ethernet interface is available but a simple "tftp"
command will return without any error message which is quite confusing.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoRemove erroneous or extra spd.h #includers.
Jon Loeliger [Tue, 4 Mar 2008 16:03:03 +0000 (10:03 -0600)]
Remove erroneous or extra spd.h #includers.

Many of the spd.h #includers don't need it,
and wanted to have spd_sdram() declared instead.
Since they didn't get that, some also had open
coded extern declarations of it instead or as well.
Fix it all up by using spd_sdram.h where needed.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoPCS440EP: fix build problems (redundant #define)
Wolfgang Denk [Tue, 4 Mar 2008 16:41:28 +0000 (17:41 +0100)]
PCS440EP: fix build problems (redundant #define)

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agonet: Print error message upon net usage when no ethernet-interface is found
Stefan Roese [Tue, 4 Mar 2008 16:39:25 +0000 (17:39 +0100)]
net: Print error message upon net usage when no ethernet-interface is found

This patch fixes a problem seen on PPC4xx boards, when no MAC address is
defined. Then no ethernet interface is available but a simple "tftp"
command will return without any error message which is quite confusing.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoW7OLMC/W7OLMG: fix build problems (redundant #define)
Wolfgang Denk [Tue, 4 Mar 2008 16:38:50 +0000 (17:38 +0100)]
W7OLMC/W7OLMG: fix build problems (redundant #define)

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMakefile: fix problem with out-of-tree builds introduced by 5013c09f
Wolfgang Denk [Tue, 4 Mar 2008 13:58:31 +0000 (14:58 +0100)]
Makefile: fix problem with out-of-tree builds introduced by 5013c09f

Commit 5013c09f (Makefile: cleanup "clean" target) introduced a
problem for out-of-tree builds which caused "make clean" to fail.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoexamples/Makefile: build "hello_world" on 8xx, too.
Wolfgang Denk [Tue, 4 Mar 2008 10:58:26 +0000 (11:58 +0100)]
examples/Makefile: build "hello_world" on 8xx, too.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoPPC4xx (Sequoia): Fix Ethernet "remote fault" problems
Mike Nuss [Mon, 3 Mar 2008 20:27:05 +0000 (15:27 -0500)]
PPC4xx (Sequoia): Fix Ethernet "remote fault" problems

Every now and then a Sequoia board (or equivalent hardware) had
problems connecting to a Gigabit capable network interface.

There were differences in the PHY setup between Linux and U-Boot.

This patch fixes the problem. Apparently "remote fault" is being set,
which signals to some devices (on the other end of the cable) that a
fault has occurred, while other devices ignore it. I believe the RF bit
was causing the issue, but I removed T4 also, to match up with Linux.

Signed-off-by: Mike Nuss <mike@terascala.com>
16 years agofix QE firmware uploading limit
Timur Tabi [Mon, 3 Mar 2008 15:58:52 +0000 (09:58 -0600)]
fix QE firmware uploading limit

Fix a typo in qe_upload_firmware() that prevented uploading firmware on
systems with more than one RISC core.

Signed-off-by: Timur Tabi <timur@freescale.com>
16 years agoFix endianess problem in cramfs code (cramfs is always host-endian in Linux)
Bernhard Nemec [Mon, 3 Mar 2008 11:57:23 +0000 (11:57 +0000)]
Fix endianess problem in cramfs code (cramfs is always host-endian in Linux)

Originally pointed out by Laurent Pinchart <laurent.pinchart@tbox.biz>,
see http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/22846

Signed-off-by: Bernhard Nemec <bnemec <at> ganssloser.com>
16 years agofix copy from ram to dataflash
Kim B. Heino [Mon, 3 Mar 2008 08:39:13 +0000 (10:39 +0200)]
fix copy from ram to dataflash

If I try to "cp.b <ram> <dataflash>", u-boot selects normal flash
routines instead of dataflash. This is because it checks "if source
address is not dataflash" instead of target address.

Signed-off-by: Kim B. Heino <Kim.Heino@bluegiga.com>
16 years agoFix quoting problem (preboot setting) in many board config files.
Wolfgang Denk [Mon, 3 Mar 2008 11:16:44 +0000 (12:16 +0100)]
Fix quoting problem (preboot setting) in many board config files.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: Fix default environment.
Wolfgang Denk [Mon, 3 Mar 2008 11:36:49 +0000 (12:36 +0100)]
ADS5121: Fix default environment.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMakefile: Fix missing unconfig and mkconfig use
Jean-Christophe PLAGNIOL-VILLARD [Sun, 2 Mar 2008 15:12:31 +0000 (16:12 +0100)]
Makefile: Fix missing unconfig and mkconfig use

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoFix checking fat32 cluster size.
michael [Sun, 2 Mar 2008 22:33:46 +0000 (23:33 +0100)]
Fix checking fat32 cluster size.

This fixes the cluster size tests in the FAT32 file system.
The current implementation of VFAT support doesn't work if the
referred cluster has an offset > 16bit representation, causing
"fatload" and "fatls" commands etc. to fail.

Signed-off-by: michael trimarchi <trimarchi@gandalf.sssup.it>
16 years agoPrepare v1.3.2-rc2 release candidate v1.3.2-rc3
Wolfgang Denk [Sun, 2 Mar 2008 21:57:23 +0000 (22:57 +0100)]
Prepare v1.3.2-rc2 release candidate

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoppc4xx: EMAC: Fix 405EZ fifo size setup in EMAC_MR1
Stefan Roese [Sat, 1 Mar 2008 11:11:40 +0000 (12:11 +0100)]
ppc4xx: EMAC: Fix 405EZ fifo size setup in EMAC_MR1

The 405EZ only supports 512 bytes of rx-/tx-fifo EMAC sizes. But
currently 4k/2k is configured. This patch fixes this issue.

Thanks to Thomas Kindler <tkindler@lenord.de> for pointing this out.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoFix alignment error on ARM for modules
Woodruff, Richard [Fri, 29 Feb 2008 23:34:35 +0000 (17:34 -0600)]
Fix alignment error on ARM for modules

Fix alignment fault on ARM when running modules.  With out an explicit
linker file gcc4.2.1 will half word align __bss_start's value.  The word
dereference will crash hello_world.

signed-off-by Richard Woodruff <r-woodruff2@ti.com>

16 years agofs: Fix ext2 read issue
Dave Liu [Fri, 29 Feb 2008 09:45:31 +0000 (17:45 +0800)]
fs: Fix ext2 read issue

The ext2 aligned process will corrupt the key
data struct, the patch fix this.

Signed-off-by: Dave Liu <daveliu@freescale.com>
16 years agoMakefile: cleanup "clean" target
Wolfgang Denk [Sun, 2 Mar 2008 21:45:33 +0000 (22:45 +0100)]
Makefile: cleanup "clean" target

Make sure CDPATH settings cannot interfere.
Update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoadd cscope build target
Li Yang [Fri, 29 Feb 2008 03:46:05 +0000 (11:46 +0800)]
add cscope build target

Add cscope build target to generate cscope database for code browsing.

Signed-off-by: Li Yang <leoli@freescale.com>
16 years agonet: uec_phy: handle 88e1111 rev.B2 erratum 5.6
Kim Phillips [Wed, 27 Feb 2008 21:06:39 +0000 (15:06 -0600)]
net: uec_phy: handle 88e1111 rev.B2 erratum 5.6

erratum 5.6 states the autoneg completion bit is functional only if the
autoneg bit is asserted.

This fixes any secondarily-issued networking commands on non-gigabit
links on the mpc8360 mds board.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx
Wolfgang Denk [Sun, 2 Mar 2008 20:46:20 +0000 (21:46 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx

16 years agoMPC5121e ADS PCI support take 3
John Rigby [Tue, 26 Feb 2008 16:38:14 +0000 (09:38 -0700)]
MPC5121e ADS PCI support take 3

Adds PCI support for MPC5121

Tested with drivers/net/rtl8139.c

Support is conditional since PCI on old silicon does not work.

ads5121_PCI_config turns on PCI

In this version, condition compilation of PCI code has been moved
from ifdef in board/ads5121/pci.c to board/ads5121/Makefile as
suggested by Jean-Christophe PLAGNIOL-VILLARD

Signed-off-by: John Rigby <jrigby@freescale.com>
16 years agoFix warnings while compilation of post/drivers/memory.c
Anatolij Gustschin [Mon, 25 Feb 2008 22:53:07 +0000 (23:53 +0100)]
Fix warnings while compilation of post/drivers/memory.c

Fix warnings while compilation with new gcc in eldk-4.2

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc86xx
Wolfgang Denk [Sun, 2 Mar 2008 20:40:52 +0000 (21:40 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xx

16 years agoppc4xx: Fix problem in 4xx_enet.c driver
Anatolij Gustschin [Mon, 25 Feb 2008 19:54:04 +0000 (20:54 +0100)]
ppc4xx: Fix problem in 4xx_enet.c driver

U-Boot crashes in the net loop if CONFIG_4xx_DCACHE is
enabled. To reproduce the problem ensure that 'ethrotate'
environment variable isn't set to "no" and then run
"tftp 200000 not_existent_file".
This patch tries to fix the issue.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoPOST: Disable cache while SPR POST
Anatolij Gustschin [Mon, 25 Feb 2008 19:04:20 +0000 (20:04 +0100)]
POST: Disable cache while SPR POST

Currently (since commit b2e2142c) u-boot crashes on
sequoia board while SPR test if CONFIG_4xx_DCACHE is
enabled. This patch disables the cache while SPR test.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoTQM5200: use automatic fdt memory fixup (part 2)
Martin Krause [Mon, 25 Feb 2008 16:52:40 +0000 (17:52 +0100)]
TQM5200: use automatic fdt memory fixup (part 2)

Call fdt_fixup_memory() on the boards TQM5200, TQM5200_B, TQM5200S,
TB5200 and TB5200_B to fixup the /memory node with the memory values
detected by U-Boot.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Sun, 2 Mar 2008 20:30:18 +0000 (21:30 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx