kernel/u-boot.git
16 years agomake define2mk.sed work on FreeBSD
Marcel Moolenaar [Fri, 22 Feb 2008 18:48:07 +0000 (10:48 -0800)]
make define2mk.sed work on FreeBSD

In the thread "[1.3.2-rc1] MPC8548CDS/MPC8555CDS configs fails to link",
the define2mk.sed script was identified as the source of the link
failure on FreeBSD. The problem is that sed(1) does not always support
the '+' operator. It isn't on FreeBSD. The attach patch implements the
equivalent, using the '*' operator instead and should work everywhere.

Signed-off-by: Marcel Moolenaar <marcelm@juniper.net>
16 years agoReplace deprecated "ramdisk" with "ramdisk_size" kernel parameter.
Detlev Zundel [Fri, 22 Feb 2008 16:21:32 +0000 (17:21 +0100)]
Replace deprecated "ramdisk" with "ramdisk_size" kernel parameter.

The Linux commit fac8b209b1084bc85748bd54e13d00c1262b220f ("Remove
final traces of long-deprecated "ramdisk" kernel parm") makes these
changes neccessary.

Signed-off-by: Detlev Zundel <dzu@denx.de>
16 years agoLM75 bug fix for negative temperatures
Larry Johnson [Thu, 21 Feb 2008 18:58:16 +0000 (13:58 -0500)]
LM75 bug fix for negative temperatures

When the LM75 temperature sensor measures a temperature below 0 C, the
current driver does not perform sign extension, so the result returned is
256 C too high.  This patch fixes the problem.

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agoIDS8247: update MAINTAINER entry.
Heiko Schocher [Thu, 21 Feb 2008 17:33:45 +0000 (18:33 +0100)]
IDS8247: update MAINTAINER entry.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoFix device tree for mgsuvd board.
Heiko Schocher [Thu, 21 Feb 2008 17:31:15 +0000 (18:31 +0100)]
Fix device tree for mgsuvd board.

Rename the "scc" node in "ethernet" for the mgsuvd board.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agolwmon5: enable hardware watchdog
Yuri Tikhonov [Thu, 21 Feb 2008 13:23:42 +0000 (14:23 +0100)]
lwmon5: enable hardware watchdog

Some boards (e.g. lwmon5) may use rather small watchdog intervals, so
causing it to reboot the board if U-Boot does a long busy-wait with
udelay(). Thus, for these boards we have to restart WD more
frequently.

This patch splits the busy-wait udelay() into smaller, predefined,
intervals, so that the watchdog timer may be resetted with the
configurable (CONFIG_WD_PERIOD) interval.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoppc4xx: Support for ATI Radeon 9200 card on sequoia
Anatolij Gustschin [Thu, 21 Feb 2008 11:52:29 +0000 (12:52 +0100)]
ppc4xx: Support for ATI Radeon 9200 card on sequoia

Adds configuration option for ATI Radeon 9200 card
support to sequoia config file. If CONFIG_VIDEO
is enabled, TEXT_BASE should be changed to 0xFFF80000.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc86xx
Wolfgang Denk [Fri, 22 Feb 2008 12:03:28 +0000 (13:03 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc86xx

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash
Wolfgang Denk [Fri, 22 Feb 2008 12:02:10 +0000 (13:02 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-cfi-flash

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-freebsd
Wolfgang Denk [Fri, 22 Feb 2008 12:01:04 +0000 (13:01 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-freebsd

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-coldfire
Wolfgang Denk [Fri, 22 Feb 2008 11:56:11 +0000 (12:56 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-coldfire

16 years agoRemove duplicate defines for ARRAY_SIZE
Kumar Gala [Mon, 18 Feb 2008 14:18:07 +0000 (08:18 -0600)]
Remove duplicate defines for ARRAY_SIZE

A few duplicate of the ARRAY_SIZE macro sneaked in since we put
the define in common.h.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoppc: Allow boards to specify effective amount of memory
Kumar Gala [Mon, 18 Feb 2008 14:09:37 +0000 (08:09 -0600)]
ppc: Allow boards to specify effective amount of memory

For historical reasons we limited the stack to 256M because some boards
could only map that much via BATS.  However newer boards are capable of
mapping more memory (for example 85xx is capable of doing up to 2G).

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoinclude autoconf.mk before any other .mk files
Mike Frysinger [Mon, 18 Feb 2008 10:24:13 +0000 (05:24 -0500)]
include autoconf.mk before any other .mk files

This bumps the autoconf.mk include step above board/cpu/arch/etc... so that
those .mk files can have make if statements based on the current config.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoerror check autoconf.mk generation
Mike Frysinger [Mon, 18 Feb 2008 10:10:07 +0000 (05:10 -0500)]
error check autoconf.mk generation

If any of the steps for generating autoconf.mk fail currently, they go
unnoticed.  To fix, we can simply add 'set -e' to the long list of commands.
This is simpler and more robust than placing '|| exit $$?' after every line.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoFix bug in dependency checking
Stefano Babic [Mon, 18 Feb 2008 07:03:51 +0000 (08:03 +0100)]
Fix bug in dependency checking

By adding VERSION_FILE to the PHONY targets the script
/tools/setlocalversion is always called and version_autogenerated.h
is replaced only if the script find a modified source file.

Signed-off-by: Stefano Babic <sbabic@denx.de>
16 years agoFix GPMC CS2 memory setup at apollon
Kyungmin Park [Mon, 18 Feb 2008 05:35:43 +0000 (14:35 +0900)]
Fix GPMC CS2 memory setup at apollon

It disables the current map first

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
16 years agouli526x: Fix multiple differ in signedness and parentheses around comparison
Jean-Christophe PLAGNIOL-VILLARD [Sun, 17 Feb 2008 22:52:46 +0000 (23:52 +0100)]
uli526x: Fix multiple differ in signedness and parentheses around comparison

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoMIPS: Fix CFG_NO_FLASH support
Jean-Christophe PLAGNIOL-VILLARD [Sun, 17 Feb 2008 15:58:04 +0000 (16:58 +0100)]
MIPS: Fix CFG_NO_FLASH support

- Fix flash_init call when CFG_NO_FLASH is used
- Remove no more needed flash.c for qemu-mips

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoeasylogo: clean up some more and add -r (rgb) support
Mike Frysinger [Sat, 16 Feb 2008 07:40:18 +0000 (02:40 -0500)]
easylogo: clean up some more and add -r (rgb) support

Michael Hennerich added support for outputting an image in RGB format rather
than forcing YUYV all the time.  This makes obvious sense if the display you
have takes RGB input rather than YUYV.

Rather than hack in support for options, I've converted it to use getopt and
cleaned up the argument parsing in the process.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoMakefile: add target for $(LDSCRIPT)
Mike Frysinger [Sat, 16 Feb 2008 07:12:37 +0000 (02:12 -0500)]
Makefile: add target for $(LDSCRIPT)

If the $(LDSCRIPT) does not exist (normally it's board/$(BOARD)/u-boot.lds),
then change into the board directory and try and create it.  This allows you
to generate the linker script on the fly based upon board defines (like the
Blackfin boards do).

There should be no regressions due to this change as the normal case is to
already have a u-boot.lds file.  If that's the case, then there's nothing to
generate, and so make will always exit.  The fix here is that if the linker
script does not exist, the implicit rules take over and attempt to guess how
to generate the file.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoCFI: Do not use uninitialized cmd_reset
Michael Schwingen [Mon, 18 Feb 2008 22:16:35 +0000 (23:16 +0100)]
CFI: Do not use uninitialized cmd_reset

Do not use uninitialized cmd_reset; issue both AMD and Intel reset
commands instead

From a short test, it looks like AMD-style flash roms treat *any* unknown
command write as a reset, at least when in CFI Query mode, so issuing the
Intel reset command to AMD-style flashs seems safe (from the small sample I
have), plus the 3-cycle magic sequence should kick the state machine into
the right state even without a reset command. Since the AMD-style flashs
require the unlock sequence for real operation, I chose to try the AMD reset
command first, so that Intel flashs do no see an invalid command prior to
the CFI query.

I have tested the patch on AM29LV320-style flashs from Fujitsu and Macronix,
plus Intel StrataFlash.

Signed-off-by: Michael Schwingen <michael@schwingen.org>
Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoAPI: Add (c) and licensing notice to the public API header.
Rafal Jaworowski [Thu, 21 Feb 2008 10:56:44 +0000 (11:56 +0100)]
API: Add (c) and licensing notice to the public API header.

Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
16 years agoFix CPU POST test failure
Yuri Tikhonov [Thu, 21 Feb 2008 10:06:07 +0000 (11:06 +0100)]
Fix CPU POST test failure

The CPU POST test code (run from cpu_post_exec_31()) doesn't follow the
ABI carefully, at least the CR3, CR4, and CR5 fields of CR are clobbered
by it. The gcc-4.2 with its more aggressive optimization exposes this fact.
This patch just saves the CR value before running the test code, so allowing
it to do anything it wants with CR.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Acked-by: Yuri Tikhonov <yur@emcraft.com>
--

16 years ago8610HPCD: Document the flashbank selection switches.
Jon Loeliger [Wed, 20 Feb 2008 21:26:51 +0000 (15:26 -0600)]
8610HPCD: Document the flashbank selection switches.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years ago86xx: Fix GUR PCI config registers properly.
Jon Loeliger [Wed, 20 Feb 2008 20:22:26 +0000 (14:22 -0600)]
86xx: Fix GUR PCI config registers properly.

Back in commit 975a083a5ef785c414b35f9c5b8ae25b26b41524 where
I tried to "8610HPCD: Fix typos in two PCI setup registers", I
botched it due to not realizing that 8610 and 8641 had different
Global Utility Register defintions, one of which was like 85xx,
and the other wasn't.  Correct this problem by introducing two
symbols, one for each 86xx SoC, but neither of which is named
anything like 85xx.

My bad.  Lovely Wednesday with git bisect.  You know.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years ago8610HPCD: Don't use VIDEO/CFB_CONSOLE by default.
Jon Loeliger [Wed, 20 Feb 2008 18:24:11 +0000 (12:24 -0600)]
8610HPCD: Don't use VIDEO/CFB_CONSOLE by default.

Without an actual supported video card hooked up, enabling
the CONFIG_VIDEO by default just makes it look broken by
routing all console output to the video card.   Don't.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoColdFire: Fix missing code flash size for M5485EVB
TsiChungLiew [Wed, 30 Jan 2008 21:08:15 +0000 (15:08 -0600)]
ColdFire: Fix missing code flash size for M5485EVB

Signed-off-by: James Mahan <kmahan@freescale.com>
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: Fix 5282 and 5271 interrupt mask bit
TsiChungLiew [Wed, 30 Jan 2008 21:04:42 +0000 (15:04 -0600)]
ColdFire: Fix 5282 and 5271 interrupt mask bit

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years ago8610HPCD: Fix typos in two PCI setup registers.
Jon Loeliger [Tue, 19 Feb 2008 18:31:08 +0000 (12:31 -0600)]
8610HPCD: Fix typos in two PCI setup registers.

The two symbols MPC86xx_PORDEVSR_IO_SEL and MPC86xx_PORBMSR_HA
were erroneously present as 85xx names and values, leftover from
the clone wars.  Fix this by removing the 85xx cruft from the
86xx codebase.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years ago86xx: Convert sbc8641d to use libfdt.
Jon Loeliger [Mon, 18 Feb 2008 20:01:56 +0000 (14:01 -0600)]
86xx: Convert sbc8641d to use libfdt.

This is the proper fix for a missing closing brace in the function
ft_cpu_setup() noticed by joe.hamman <at> embeddedspecialties.com.
The ft_cpu_setup() function in mpc8641hpcn.c should have been
removed earlier as it was under the obsolete CONFIG_OF_FLAT_TREE,
but was missed.  Only, the sbc8641d was nominally still using it.
It all got ripped out, and the funcality that was in ft_board_setup()
was refactored to remove the CPU portions into the new file
cpu/mpc86xx/fdt.c instead.  Make sbc8641d use this now.

Based loosely on an original patch from joe.hamman@embeddedspecialties.com

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agompc86xx: Fix unused variable 'config' and 'immap'
Jean-Christophe PLAGNIOL-VILLARD [Sun, 17 Feb 2008 22:35:31 +0000 (23:35 +0100)]
mpc86xx: Fix unused variable 'config' and 'immap'

and remove useless CONFIG_DDR_INTERLEAVE

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agompc86xx: Fix implicit declaration of functions 'init_laws' and 'disable_law'
Jean-Christophe PLAGNIOL-VILLARD [Sun, 17 Feb 2008 22:03:36 +0000 (23:03 +0100)]
mpc86xx: Fix implicit declaration of functions 'init_laws' and 'disable_law'

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agos3c24x0: Fix unused variable 'i' in function 'serial_init_dev'
Jean-Christophe PLAGNIOL-VILLARD [Sun, 17 Feb 2008 13:15:31 +0000 (14:15 +0100)]
s3c24x0: Fix unused variable 'i' in function 'serial_init_dev'

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agopxa: fix assignment from incompatible pointer type
Jean-Christophe PLAGNIOL-VILLARD [Sun, 17 Feb 2008 13:15:32 +0000 (14:15 +0100)]
pxa: fix assignment from incompatible pointer type

fix mmc_bread function prototype

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoat91cap9adk: fix implicit declaration of function 'eth_init'
Jean-Christophe PLAGNIOL-VILLARD [Sun, 17 Feb 2008 13:15:30 +0000 (14:15 +0100)]
at91cap9adk: fix implicit declaration of function 'eth_init'

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoRemove files added by mistake, update CHANGELOG.
Wolfgang Denk [Sun, 17 Feb 2008 14:43:44 +0000 (15:43 +0100)]
Remove files added by mistake, update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoPPC440EPx: Optionally enable second I2C bus
Mike Nuss [Wed, 6 Feb 2008 16:10:11 +0000 (11:10 -0500)]
PPC440EPx: Optionally enable second I2C bus

The option CONFIG_I2C_MULTI_BUS does not have any effect on Sequoia, the
PPC440EPx reference platform, because IIC1 is never enabled. Add Sequoia board
code to turn on IIC1 if CONFIG_I2C_MULTI_BUS is selected.

Signed-off-by: Mike Nuss <mike@terascala.com>
Cc: Stefan Roese <sr@denx.de>
16 years agoppc4xx: HCU4/5. Cleanup configs
Niklaus Giger [Tue, 5 Feb 2008 09:26:44 +0000 (10:26 +0100)]
ppc4xx: HCU4/5. Cleanup configs

- hcu4.h: Removed define of CONFIG_PPC405GPr
- Corrected phy addresses
- Fix boot variables
- Respect line length of 80 chars

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: HCU4/5. Cleanups
Niklaus Giger [Tue, 5 Feb 2008 10:31:28 +0000 (11:31 +0100)]
ppc4xx: HCU4/5. Cleanups

- Fix some coding style violations.
- Use in/out_u16/32 where appropriate.
- Use register names from ppc405.h.
- Fix trace useage for Lauterbach.
- Remove obsolete generation HCU2.
- Renamed fixed_hcu4_sdram to init_ppc405_sdram.

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: PPC405GPr fix missing register definitions
Niklaus Giger [Tue, 5 Feb 2008 09:26:41 +0000 (10:26 +0100)]
ppc4xx: PPC405GPr fix missing register definitions

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Beautify configuration files for Sequoia and Korat boards
Larry Johnson [Sat, 19 Jan 2008 02:49:05 +0000 (21:49 -0500)]
ppc4xx: Beautify configuration files for Sequoia and Korat boards

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-arm
Wolfgang Denk [Fri, 15 Feb 2008 23:42:44 +0000 (00:42 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-arm

16 years agoWipe out assembler warnings while compiling x86 biosemu
Anatolij Gustschin [Fri, 15 Feb 2008 19:09:01 +0000 (20:09 +0100)]
Wipe out assembler warnings while compiling x86 biosemu

This patch tries to get rid of some assembler warnings about
changed .got2 section type while compiling x86 bios emulator
code.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoMerge branch '080208_dupint' of git://linux-arm.org/u-boot-armdev
Peter Pearse [Fri, 15 Feb 2008 13:00:54 +0000 (13:00 +0000)]
Merge branch '080208_dupint' of git://linux-arm.org/u-boot-armdev

16 years agoMerge branch '080202_at91rm9200dk' of git://linux-arm.org/u-boot-armdev
Peter Pearse [Fri, 15 Feb 2008 13:00:22 +0000 (13:00 +0000)]
Merge branch '080202_at91rm9200dk' of git://linux-arm.org/u-boot-armdev

16 years agoMerge branch '080131_artila' of git://linux-arm.org/u-boot-armdev
Peter Pearse [Fri, 15 Feb 2008 12:59:56 +0000 (12:59 +0000)]
Merge branch '080131_artila' of git://linux-arm.org/u-boot-armdev

16 years agoMerge branch '080116_at91cap9' of git://linux-arm.org/u-boot-armdev
Peter Pearse [Fri, 15 Feb 2008 12:59:15 +0000 (12:59 +0000)]
Merge branch '080116_at91cap9' of git://linux-arm.org/u-boot-armdev

16 years agoMerge branch '070524_netstar' of git://linux-arm.org/u-boot-armdev
Peter Pearse [Fri, 15 Feb 2008 12:58:10 +0000 (12:58 +0000)]
Merge branch '070524_netstar' of git://linux-arm.org/u-boot-armdev

16 years agoMerge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Thu, 14 Feb 2008 23:59:03 +0000 (00:59 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master

16 years agoPrepare v1.3.2-rc1 release candidate v1.3.2-rc1
Wolfgang Denk [Thu, 14 Feb 2008 23:57:09 +0000 (00:57 +0100)]
Prepare v1.3.2-rc1 release candidate

16 years agoFix compile warning on lib_ppc/board.c
Anatolij Gustschin [Thu, 14 Feb 2008 23:13:20 +0000 (00:13 +0100)]
Fix compile warning on lib_ppc/board.c

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoAdd Radeon Mobility 9200 pci device id to the radeon driver
Anatolij Gustschin [Thu, 14 Feb 2008 17:22:04 +0000 (18:22 +0100)]
Add Radeon Mobility 9200 pci device id to the radeon driver

This patch extends PCI device id table of the
radeon driver so that the driver will also support
Radeon Mobility 9200 (M9+) based boards.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoExtend ATI Radeon driver to support more video modes
Anatolij Gustschin [Thu, 14 Feb 2008 17:19:50 +0000 (18:19 +0100)]
Extend ATI Radeon driver to support more video modes

Adds ATI Radeon 9200 support for 1280x1024, 1024x768,
800x600, 640x480 at 24, 16 and 8 bpp.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoxsengine: fix typo and few coding style
Jean-Christophe PLAGNIOL-VILLARD [Sun, 10 Feb 2008 16:05:20 +0000 (17:05 +0100)]
xsengine: fix typo and few coding style

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoFix wrong memory limit calculation in memory-test
Guennadi Liakhovetski [Fri, 8 Feb 2008 20:25:58 +0000 (21:25 +0100)]
Fix wrong memory limit calculation in memory-test

If the length of the memory address range passed to the "mtest" command is
not of the form 2^x - 1, not all address lines are tested. This bug is
inherited from the original software at
http://www.netrino.com/Embedded-Systems/How-To/Memory-Test-Suite-C. Fix
this.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-arm
Wolfgang Denk [Thu, 14 Feb 2008 23:45:39 +0000 (00:45 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-arm

16 years agoMerge ../custodians
Wolfgang Denk [Thu, 14 Feb 2008 23:27:11 +0000 (00:27 +0100)]
Merge ../custodians

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc86xx
Wolfgang Denk [Thu, 14 Feb 2008 23:26:52 +0000 (00:26 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc86xx

Conflicts:

common/cmd_reginfo.c

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge ../custodians
Wolfgang Denk [Thu, 14 Feb 2008 23:22:49 +0000 (00:22 +0100)]
Merge ../custodians

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Thu, 14 Feb 2008 23:22:37 +0000 (00:22 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx

16 years agoMerge ../custodians
Wolfgang Denk [Thu, 14 Feb 2008 23:16:32 +0000 (00:16 +0100)]
Merge ../custodians

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-sh
Wolfgang Denk [Thu, 14 Feb 2008 23:16:26 +0000 (00:16 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-sh

16 years agoMerge ../custodians
Wolfgang Denk [Thu, 14 Feb 2008 23:14:36 +0000 (00:14 +0100)]
Merge ../custodians

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-avr32
Wolfgang Denk [Thu, 14 Feb 2008 23:14:26 +0000 (00:14 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-avr32

16 years agoMerge ../custodians
Wolfgang Denk [Thu, 14 Feb 2008 23:13:09 +0000 (00:13 +0100)]
Merge ../custodians

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx
Wolfgang Denk [Thu, 14 Feb 2008 23:12:52 +0000 (00:12 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc85xx

16 years agoCoding STyle cleanup.
Wolfgang Denk [Thu, 14 Feb 2008 23:11:39 +0000 (00:11 +0100)]
Coding STyle cleanup.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-blackfin
Wolfgang Denk [Thu, 14 Feb 2008 23:06:18 +0000 (00:06 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-blackfin

Conflicts:

Makefile
doc/README.standalone

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agosh: Fix register address of SH7722
Nobuhiro Iwamatsu [Tue, 5 Feb 2008 04:30:43 +0000 (13:30 +0900)]
sh: Fix register address of SH7722

The address of SH7722 is wrong by old document.
This patch fixes this problem.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agoonly update version header as needed
Mike Frysinger [Mon, 4 Feb 2008 22:44:23 +0000 (17:44 -0500)]
only update version header as needed

Constantly rebuilding the version header will force useless relinking, so we
simply need to compare the new header with the existing one before updating
it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoDo not specify a CROSS_COMPILE default when executing size
Mike Frysinger [Mon, 28 Jan 2008 10:56:19 +0000 (05:56 -0500)]
Do not specify a CROSS_COMPILE default when executing size

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoFix return value of mtest when CFG_ALT_MEMTEST set
Guennadi Liakhovetski [Wed, 13 Feb 2008 10:19:19 +0000 (11:19 +0100)]
Fix return value of mtest when CFG_ALT_MEMTEST set

Fix a missing return statement from a non-void function.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
16 years ago85xx, 86xx: Determine I2C clock frequencies and store in global_data
Timur Tabi [Wed, 9 Jan 2008 20:35:26 +0000 (14:35 -0600)]
85xx, 86xx: Determine I2C clock frequencies and store in global_data

Update global_data to define i2c1_clk and i2c2_clk to 85xx and 86xx.

Update the get_clocks() function in 85xx and 86xx to determine the I2C
clock frequency and store it in gd->i2c1_clk and gd->i2c2_clk.

Signed-off-by: Timur Tabi <timur@freescale.com>
16 years agoTQM834x: clean up configuration
Wolfgang Denk [Thu, 14 Feb 2008 22:18:01 +0000 (23:18 +0100)]
TQM834x: clean up configuration

Get board name consistent with Linux and elsewhere;
get rid of local network definitions etc.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoTFTP: fix search of ':' in BootFile
Jean-Christophe PLAGNIOL-VILLARD [Thu, 14 Feb 2008 07:02:12 +0000 (08:02 +0100)]
TFTP: fix search of ':' in BootFile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoCoding style cleanup; update CHANGELOG.
Wolfgang Denk [Thu, 14 Feb 2008 21:46:55 +0000 (22:46 +0100)]
Coding style cleanup; update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoPPC: Use r2 instead of r29 as global data pointer
Wolfgang Denk [Thu, 14 Feb 2008 21:43:22 +0000 (22:43 +0100)]
PPC: Use r2 instead of r29 as global data pointer

R29 was an unlucky choice as with recent toolchains (gcc-4.2.x) gcc
will refuse to use load/store multiple insns; instead, it issues a
list of simple load/store instructions upon function entry and exit,
resulting in bigger code size, which in turn makes the build for a
few boards fail.

Use r2 instead.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoARM: make the machid configurable via the environment
Uwe Kleine-König [Wed, 30 Jan 2008 08:08:49 +0000 (09:08 +0100)]
ARM: make the machid configurable via the environment

If the variable "machid" exists, let do_bootm_linux use that instead
of bd->bi_arch_number.

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
16 years agoUse #ifdef CONFIG_FSLDMAFEC
Vlad Lungu [Wed, 23 Jan 2008 14:34:46 +0000 (16:34 +0200)]
Use #ifdef CONFIG_FSLDMAFEC

MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably)
fails

Signed-off-by: Vlad Lungu <vlad@comsys.ro>
16 years agocommon/miiphyutil.c: Cleanup MII_DEBUG and debug()
Shinya Kuribayashi [Sat, 19 Jan 2008 01:25:59 +0000 (10:25 +0900)]
common/miiphyutil.c: Cleanup MII_DEBUG and debug()

Current MII_DEBUG is confusing in two ways. One is useless define-then-
undef at the top of the file. The other is there is only one debug() in
this file, and that doesn't seem worthwhile to bother having MII_DEBUG.
While there are many useful printf()/puts() debug codes, but they are for
DEBUG, not for MII_DEBUG.

This patch tries to put them all together into MII_DEBUG and debug().

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
16 years agoOneNAND Initial Program Loader (IPL) support
Kyungmin Park [Thu, 17 Jan 2008 07:43:25 +0000 (16:43 +0900)]
OneNAND Initial Program Loader (IPL) support

This patch enables the OneNAND boot within U-Boot.
Before this work, we used another OneNAND IPL called X-Loader based
on open source. With this work, we can build the oneboot.bin image
without other program.

The build sequence is simple.
First, it compiles the u-boot.bin
Second, it compiles OneNAND IPL
Finally, it becomes the oneboot.bin from OneNAND IPL and u-boot.bin
The mechanism is similar with NAND boot except it boots from itself.

Another thing is that you can only use the OneNAND IPL only to work
other bootloader such as RedBoot and so on.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
16 years agoFix CONFIG_MMC usage in fat code
Andy Fleming [Wed, 16 Jan 2008 19:06:59 +0000 (13:06 -0600)]
Fix CONFIG_MMC usage in fat code

A #if statement in fat.c depended on CONFIG_MMC, instead of
defined(CONFIG_MMC).  This meant CONFIG_MMC needed to be defined
as "1" rather than just defined.  Now it's better.

Signed-off-by: Andy Fleming <afleming@freescale.com>
16 years agoppc: Refactor cache routines, so there is only one common set.
Rafal Jaworowski [Tue, 15 Jan 2008 11:52:31 +0000 (12:52 +0100)]
ppc: Refactor cache routines, so there is only one common set.

Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
16 years agoMerge commit 'wd/master'
Jon Loeliger [Thu, 14 Feb 2008 20:07:21 +0000 (14:07 -0600)]
Merge commit 'wd/master'

16 years ago86xx: Fix compilation warning in sys_eprom.c
Jon Loeliger [Wed, 23 Jan 2008 21:55:02 +0000 (15:55 -0600)]
86xx: Fix compilation warning in sys_eprom.c

sys_eeprom.c:82:9: warning: unknown escape sequence '\/'

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoMerge branch 'denx'
Andy Fleming [Thu, 14 Feb 2008 16:11:14 +0000 (10:11 -0600)]
Merge branch 'denx'

16 years agoMerge branch 'for-1.3.2'
Stefan Roese [Thu, 14 Feb 2008 10:46:07 +0000 (11:46 +0100)]
Merge branch 'for-1.3.2'

16 years agoMove AT91RM9200DK board support under board/atmel
Haavard Skinnemoen [Fri, 22 Feb 2008 11:40:50 +0000 (11:40 +0000)]
Move AT91RM9200DK board support under board/atmel

We already have a vendor subdir for Atmel, so we should use it.

Signed-off-by: Haavard Skinnemoen <hskinnemoen <at> atmel.com>
16 years agoARM: cleanup duplicated exception handlingcode
Andreas Engel [Mon, 14 Jan 2008 09:06:52 +0000 (09:06 +0000)]
ARM: cleanup duplicated exception handlingcode

Move duplicated exception handling code into lib_arm.

Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
16 years agoSupport for Artila M-501 starter kit
Timo Tuunainen [Fri, 1 Feb 2008 10:09:03 +0000 (10:09 +0000)]
Support for Artila M-501 starter kit

Kimmo Leppala / Sysart and
Timo Tuunainen / Sysart

16 years agoAT91CAP9 support
Stelian Pop [Mon, 11 Feb 2008 10:50:19 +0000 (10:50 +0000)]
AT91CAP9 support

---------------------------------

read_dataflash() takes a signed char pointer as a parameter. Silence a
few warnings dues to incorrect parameter types in env_dataflash.c.

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoAT91CAP9 support : move board files to Atmel vendor directory.
Stelian Pop [Thu, 7 Feb 2008 09:42:57 +0000 (09:42 +0000)]
AT91CAP9 support : move board files to Atmel vendor directory.

AT91CAP9 support : move at91cap9adk board files to Atmel vendor directory.

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoAT91CAP9 support : MACB changes
Stelian Pop [Thu, 3 Jan 2008 21:15:56 +0000 (21:15 +0000)]
AT91CAP9 support : MACB changes

Signed-off-by: Stelian Pop <stelian <at> popies.net>
Acked-by: Haavard Skinnemoen <hskinnemoen <at> atmel.com>
16 years agoAT91CAP9 support : board/ files
Stelian Pop [Thu, 7 Feb 2008 16:37:54 +0000 (16:37 +0000)]
AT91CAP9 support : board/ files

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoAT91CAP9 support : cpu/ files
Stelian Pop [Wed, 30 Jan 2008 21:15:54 +0000 (21:15 +0000)]
AT91CAP9 support : cpu/ files

Signed-off-by: Stelian Pop <stelian <at> popies.net>
16 years agoAT91CAP9 support : include/ files
Stelian Pop [Thu, 31 Jan 2008 21:15:53 +0000 (21:15 +0000)]
AT91CAP9 support : include/ files

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoAT91CAP9 support : build integration
Stelian Pop [Sun, 20 Jan 2008 19:49:21 +0000 (19:49 +0000)]
AT91CAP9 support : build integration

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoImprove DataFlash CS definition.
Stelian Pop [Sun, 20 Jan 2008 21:07:00 +0000 (21:07 +0000)]
Improve DataFlash CS definition.

Use a structure instead of the error prone unnamed array to
define the possible dataflash banks.

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoFix arm926ejs compile when SKIP_LOWLEVEL_INIT is on
Stelian Pop [Sat, 19 Jan 2008 21:09:35 +0000 (21:09 +0000)]
Fix arm926ejs compile when SKIP_LOWLEVEL_INIT is on

Fix arm926ejs compile when SKIP_LOWLEVEL_INIT is on.

cpu/arm926ejs/start.o: In function `cpu_init_crit':
.../cpu/arm926ejs/start.S:227: undefined reference to `lowlevel_init'

Signed-off-by: Stelian Pop <stelian@popies.net>