]> git.kernelconcepts.de Git - karo-tx-uboot.git/log
karo-tx-uboot.git
16 years agoMerge remote branch 'u-boot-avr32/master'
Wolfgang Denk [Mon, 2 Jun 2008 22:19:57 +0000 (00:19 +0200)]
Merge remote branch 'u-boot-avr32/master'

16 years agoMerge remote branch 'u-boot-nand-flash/master'
Wolfgang Denk [Mon, 2 Jun 2008 22:16:48 +0000 (00:16 +0200)]
Merge remote branch 'u-boot-nand-flash/master'

16 years agoMerge remote branch 'u-boot-mips/master'
Wolfgang Denk [Mon, 2 Jun 2008 22:11:40 +0000 (00:11 +0200)]
Merge remote branch 'u-boot-mips/master'

16 years agoMerge remote branch 'u-boot-ppc4xx/master'
Wolfgang Denk [Mon, 2 Jun 2008 21:28:39 +0000 (23:28 +0200)]
Merge remote branch 'u-boot-ppc4xx/master'

16 years agomips: Add an 'include/asm/errno.h', like all other architectures
Jason McMullan [Thu, 29 May 2008 15:53:38 +0000 (00:53 +0900)]
mips: Add an 'include/asm/errno.h', like all other architectures

All other u-boot architectures have an include/asm/errno.h, so
this change adds it to the mips include/asm-mips headers also.

Stolen from Linux 2.6.25.

Signed-off-by: Jason McMullan <mcmullan@netapp.com>
16 years ago[MIPS] <asm/mipsregs.h>: Update coprocessor register access macros
Shinya Kuribayashi [Thu, 29 May 2008 15:53:38 +0000 (00:53 +0900)]
[MIPS] <asm/mipsregs.h>: Update coprocessor register access macros

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
16 years ago[MIPS] <asm/mipsregs.h>: Update register / bit field definitions
Shinya Kuribayashi [Thu, 29 May 2008 15:53:38 +0000 (00:53 +0900)]
[MIPS] <asm/mipsregs.h>: Update register / bit field definitions

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
16 years ago[MIPS] <asm/mipsregs.h>: CodinygStyle cleanups
Shinya Kuribayashi [Thu, 29 May 2008 15:53:37 +0000 (00:53 +0900)]
[MIPS] <asm/mipsregs.h>: CodinygStyle cleanups

No functional changes.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
16 years agomips: If CONFIG_CMD_SPI is defined, call spi_init()
Jason McMullan [Thu, 29 May 2008 15:53:37 +0000 (00:53 +0900)]
mips: If CONFIG_CMD_SPI is defined, call spi_init()

The mips architecture currently does not call 'spi_init()' in the generic
board initialization routine is CONFIG_CMD_SPI is defined.

This patch rectifies that problem.

Signed-off-by: Jason McMullan <mcmullan@netapp.com>
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
16 years ago[MIPS] lib_mips/board.c: Add nand_init
Jason McMullan [Thu, 29 May 2008 15:53:37 +0000 (00:53 +0900)]
[MIPS] lib_mips/board.c: Add nand_init

This patch adds the standard 'nand_init()' call to the mips generic
'board_init_r()' call, bringing MIPS in line with the other architectures.

Signed-off-by: Jason McMullan <mcmullan@netapp.com>
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
16 years agoRemove prototypes of nand_init() in favor of including nand.h.
Scott Wood [Thu, 22 May 2008 15:49:46 +0000 (10:49 -0500)]
Remove prototypes of nand_init() in favor of including nand.h.

Likewise with onenand_init().

Signed-off-by: Scott Wood <scottwood@freescale.com>
16 years agoMake onenand_uboot.h self-sufficient.
Scott Wood [Thu, 22 May 2008 15:49:00 +0000 (10:49 -0500)]
Make onenand_uboot.h self-sufficient.

Don't assume types are provided by previously included headers.

Signed-off-by: Scott Wood <scottwood@freescale.com>
16 years agonand: Correct NAND erase percentage output
Dirk Behme [Wed, 16 Jan 2008 13:26:59 +0000 (14:26 +0100)]
nand: Correct NAND erase percentage output

For NAND erase sizes smaller than one NAND erase block, erase
percentage output becomes grater than 100% e.g.

-- cut --
  > nand info
Device 0: NAND 64MiB 1,8V 8-bit, sector size 16 KiB
  > nand erase 0x100000 0x2000
NAND erase: device 0 offset 0x100000, size 0x2000
Erasing at 0x100000 -- 200% complete.
OK
  >
-- cut --

Correct this and give user a warning that more is erased than specified:

-- cut --
  > nand erase 0x100000 0x2000
NAND erase: device 0 offset 0x100000, size 0x2000
Warning: Erase size 0x00002000 smaller than one erase block 0x00004000
           Erasing 0x00004000 instead
Erasing at 0x100000 -- 100% complete.
OK
  >
-- cut --

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
16 years agoCleanup nand_info[] declaration.
Stelian Pop [Tue, 13 May 2008 15:31:24 +0000 (17:31 +0200)]
Cleanup nand_info[] declaration.

The nand_info array is declared as extern in several .c files.
Those days, nand.h contains a reference to the array, so there is
no need to declare it elsewhere.

Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Scott Wood <scottwood@freescale.com>
16 years agoNAND: Provide a sane default for NAND_MAX_CHIPS.
Scott Wood [Mon, 19 May 2008 14:30:43 +0000 (09:30 -0500)]
NAND: Provide a sane default for NAND_MAX_CHIPS.

This allows the header to be included regardless of whether a board's
config file provides NAND-related defininitions.

Signed-off-by: Scott Wood <scottwood@freescale.com>
16 years agoavr32: Fix theoretical race in udelay()
Haavard Skinnemoen [Mon, 26 May 2008 10:19:10 +0000 (12:19 +0200)]
avr32: Fix theoretical race in udelay()

If the specified delay is very short, the cycle counter may go past the
"end" time we are waiting for before we get around to reading it.

Fix it by checking the different between the cycle count "now" and the
cycle count at the beginning. This will work as long as the delay
measured in number of cycles is below 2^31.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Compile atmel_mci.o conditionally
Haavard Skinnemoen [Wed, 21 May 2008 11:01:09 +0000 (13:01 +0200)]
avr32: Compile atmel_mci.o conditionally

Remove #ifdef CONFIG_MMC from the source file and use conditional
compilation in the Makefile instead.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Fix wrong error flags in atmel_mci driver
Haavard Skinnemoen [Thu, 22 May 2008 10:28:25 +0000 (12:28 +0200)]
avr32: Fix wrong error flags in atmel_mci driver

Make sure we check for CRC errors when sending commands that use CRC
checking.

Reported-by: Gururaja Hebbar K R <gururajakr@sanyo.co.in>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Fix two warnings in atmel_mci.c
Haavard Skinnemoen [Wed, 21 May 2008 09:10:59 +0000 (11:10 +0200)]
avr32: Fix two warnings in atmel_mci.c

The warnings are harmless but annoying. Let's fix them.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Rework SDRAM initialization code
Haavard Skinnemoen [Mon, 19 May 2008 09:36:28 +0000 (11:36 +0200)]
avr32: Rework SDRAM initialization code

This cleans up the SDRAM initialization and related code a bit, and
allows faster booting.

  * Add definitions for EBI and internal SRAM to asm/arch/memory-map.h
  * Remove memory test from sdram_init() and make caller responsible
    for verifying the SDRAM and determining its size.
  * Remove base_address member from struct sdram_config (was sdram_info)
  * Add data_bits member to struct sdram_config and kill CFG_SDRAM_16BIT
  * Add support for a common STK1000 hack: 16MB SDRAM instead of 8.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Do stricter stack checking in the exception handler
Haavard Skinnemoen [Mon, 19 May 2008 09:27:37 +0000 (11:27 +0200)]
avr32: Do stricter stack checking in the exception handler

Don't do a stack dump if the stack pointer is outside the memory area
reserved for stack.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Use the same entry point for reset and exception handling
Haavard Skinnemoen [Fri, 2 May 2008 13:32:57 +0000 (15:32 +0200)]
avr32: Use the same entry point for reset and exception handling

Since the reset vector is always aligned to a very large boundary, we
can save a couple of KB worth of alignment padding by placing the
exception vectors at the same address.

Deciding which one it is is easy: If we're handling an exception, the
CPU is in Exception mode. If we're starting up after reset, the CPU is
in Supervisor mode. So this adds a very minimal overhead to the reset
path (only executed once) and the exception handling path (normally
never executed at all.)

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Put memset in its own section
Haavard Skinnemoen [Fri, 2 May 2008 13:24:22 +0000 (15:24 +0200)]
avr32: Put memset in its own section

All C code is compiled with -ffunction-sections -fdata-sections.
Assembly functions should get their own sections as well so that
everything looks consistent.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Rename pm_init() as clk_init() and make SoC-specific
Haavard Skinnemoen [Fri, 2 May 2008 13:21:40 +0000 (15:21 +0200)]
avr32: Rename pm_init() as clk_init() and make SoC-specific

pm_init() was always more about clock initialization than anything
else. Dealing with PLLs, clock gating and such is also inherently
SoC-specific, so move it into a SoC-specific directory.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Use new-style Makefile for the at32ap platform
Haavard Skinnemoen [Wed, 30 Apr 2008 14:15:57 +0000 (16:15 +0200)]
avr32: Use new-style Makefile for the at32ap platform

This makes it easier to avoid compiling certain files later.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Remove unused file cpu/at32ap/pm.c
Haavard Skinnemoen [Wed, 30 Apr 2008 12:36:47 +0000 (14:36 +0200)]
avr32: Remove unused file cpu/at32ap/pm.c

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Clean up the HMATRIX code
Haavard Skinnemoen [Wed, 30 Apr 2008 12:19:28 +0000 (14:19 +0200)]
avr32: Clean up the HMATRIX code

Rework the HMATRIX configuration interface so that it becomes easier
to configure the HMATRIX for boards with special needs, and add new
parts.

The HMATRIX header file has been split into a general,
chip-independent part with register definitions, etc. and a
chip-specific part with SFR bitfield definitions and master/slave
identifiers.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Add support for the ATSTK1006 board
Haavard Skinnemoen [Thu, 22 Nov 2007 11:14:11 +0000 (12:14 +0100)]
avr32: Add support for the ATSTK1006 board

This is a replacement for ATSTK1002 with 64MB SDRAM and NAND flash on
board. It's currently in production and will be available soon.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Get rid of the .flashprog section
Haavard Skinnemoen [Tue, 29 Apr 2008 10:53:05 +0000 (12:53 +0200)]
avr32: Get rid of the .flashprog section

The .flashprog section was only needed back when we were running
directly from flash, and it's even more useless on NGW100 since it
uses the CFI flash driver which never used this workaround in the
first place.

Remove it on STK1000 as well, and get rid of all the associated code and
annotations.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Use correct condition around macb clock accessors
Haavard Skinnemoen [Wed, 30 Apr 2008 11:09:56 +0000 (13:09 +0200)]
avr32: Use correct condition around macb clock accessors

get_macb_pclk_rate() and get_macb_hclk_rate() should be available when
the chip has a MACB controller, not when it has a USART.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Disable the AP7000 internal watchdog on startup
David Brownell [Thu, 17 Apr 2008 05:57:58 +0000 (22:57 -0700)]
avr32: Disable the AP7000 internal watchdog on startup

This patch forces the watchdog off in all cases.  That will at least
get rid of the constant reboot cycle, though it won't let the watchdog
actually run in the new kernels:  its probe() comes up with a polite
warning.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: stk1002 and ngw100 convergence
David Brownell [Fri, 22 Feb 2008 20:54:39 +0000 (12:54 -0800)]
avr32: stk1002 and ngw100 convergence

Make STK1002 and NGW100 boards act more alike:
  - STK boards can use as many arguments as NGW
  - STK boards don't need to manage FPGAs either
  - NGW commands should match STK ones

Also spell U-Boot right in prompts for STK1002 and NGW100.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
[haavard.skinnemoen@atmel.com: update STK100[34] as well]
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Tue, 27 May 2008 10:56:01 +0000 (12:56 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

Conflicts:

include/configs/socrates.h

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoSocrates: Added USB support.
Sergei Poselenov [Tue, 27 May 2008 09:49:13 +0000 (11:49 +0200)]
Socrates: Added USB support.

Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
16 years agoUSB: add new configuration variable CONFIG_PCI_OHCI_DEVNO
Sergei Poselenov [Tue, 27 May 2008 09:35:02 +0000 (11:35 +0200)]
USB: add new configuration variable CONFIG_PCI_OHCI_DEVNO

In case of several PCI USB controllers on a board this variable
specifys which controller to use.
See doc/README.generic_usb_ohci for details.

Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
16 years agoSocrates: add support for DS75 Digital Thermo Sensor on I2C bus.
Sergei Poselenov [Tue, 27 May 2008 08:36:07 +0000 (10:36 +0200)]
Socrates: add support for DS75 Digital Thermo Sensor on I2C bus.

Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
16 years agoSocrates: Config file cleanup.
Sergei Poselenov [Mon, 26 May 2008 16:16:04 +0000 (18:16 +0200)]
Socrates: Config file cleanup.

Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
16 years agoUSB: replace old swap_ with proper endianess conversion macros
Christian Eggers [Wed, 21 May 2008 20:12:00 +0000 (22:12 +0200)]
USB: replace old swap_ with proper endianess conversion macros

Signed-off-by: Christian Eggers <ceggers@gmx.de>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
16 years agoFix endianess conversion in usb_ohci.c
Christian Eggers [Wed, 21 May 2008 19:29:10 +0000 (21:29 +0200)]
Fix endianess conversion in usb_ohci.c

Signed-off-by: Christian Eggers <ceggers@gmx.de>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
16 years agoUSB: add support for multiple PCI OHCI controllers
Sergei Poselenov [Wed, 21 May 2008 23:15:53 +0000 (01:15 +0200)]
USB: add support for multiple PCI OHCI controllers

Add new configuration variable CONFIG_PCI_OHCI_DEVNO.
In case of several PCI USB controllers on a board this variable
specifys which controller to use.

Also add USB support for sokrates board.

See doc/README.generic_usb_ohci for details.

Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
16 years agoMerge branch 'quad100hd'
Stefan Roese [Wed, 21 May 2008 15:39:24 +0000 (17:39 +0200)]
Merge branch 'quad100hd'

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-testing
Wolfgang Denk [Wed, 21 May 2008 15:06:45 +0000 (17:06 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-testing

16 years agoFix some whitespace issues
Wolfgang Denk [Wed, 21 May 2008 14:56:08 +0000 (16:56 +0200)]
Fix some whitespace issues

introduced by 53677ef18 "Big white-space cleanup."

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'socrates' of /home/wd/git/u-boot/projects
Wolfgang Denk [Tue, 20 May 2008 23:13:52 +0000 (01:13 +0200)]
Merge branch 'socrates' of /home/wd/git/u-boot/projects

16 years agoMerge branch 'lwmon5' of /home/wd/git/u-boot/projects
Wolfgang Denk [Tue, 20 May 2008 23:13:39 +0000 (01:13 +0200)]
Merge branch 'lwmon5' of /home/wd/git/u-boot/projects

16 years agoMake ads5121 out-of-tree compiling safe
York Sun [Mon, 12 May 2008 19:36:39 +0000 (14:36 -0500)]
Make ads5121 out-of-tree compiling safe

Reuse the existing DIU driver in board/freescale/common.

Signed-off-by: York Sun <yorksun@freescale.com>
16 years agoAdding DIU support for Freescale 5121ADS
York Sun [Mon, 5 May 2008 15:20:01 +0000 (10:20 -0500)]
Adding DIU support for Freescale 5121ADS

Add DIU and cfb console support to FSL 5121ADS board.

Use #define CONFIG_VIDEO in config file to enable fb console.

Signed-off-by: York Sun <yorksun@freescale.com>
16 years agoReplace DPRINTF with debug
York Sun [Mon, 5 May 2008 15:20:00 +0000 (10:20 -0500)]
Replace DPRINTF with debug

Remove DPRINTF macro and replace it with generic debug macro.

Signed-off-by: York Sun <yorksun@freescale.com>
16 years agoMove pixel clock setting to board file
York Sun [Mon, 5 May 2008 15:19:59 +0000 (10:19 -0500)]
Move pixel clock setting to board file

The clock divider has different format in 5121 and 8610. This patch moves it to
board specific code.

Signed-off-by: York Sun <yorksun@freescale.com>
16 years agoBig white-space cleanup.
Wolfgang Denk [Tue, 20 May 2008 14:00:29 +0000 (16:00 +0200)]
Big white-space cleanup.

This commit gets rid of a huge amount of silly white-space issues.
Especially, all sequences of SPACEs followed by TAB characters get
removed (unless they appear in print statements).

Also remove all embedded "vim:" and "vi:" statements which hide
indentation problems.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agosocrates: fix second TSEC configuration (it is actually TSEC3)
Sergei Poselenov [Thu, 8 May 2008 15:46:23 +0000 (17:46 +0200)]
socrates: fix second TSEC configuration (it is actually TSEC3)

Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
16 years agoFixed reset for socrates
Sergei Poselenov [Thu, 8 May 2008 12:17:08 +0000 (14:17 +0200)]
Fixed reset for socrates

Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
16 years agosocrates: changes to support FDT
Sergei Poselenov [Wed, 7 May 2008 13:10:49 +0000 (15:10 +0200)]
socrates: changes to support FDT

Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoInitial support for "Socrates" board
Sergei Poselenov [Wed, 30 Apr 2008 09:42:50 +0000 (11:42 +0200)]
Initial support for "Socrates" board

Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
16 years agoPOST: replace the LOGBUFF_INITIALIZED flag in gd->post_log_word (1 << 31) with the...
Yuri Tikhonov [Thu, 8 May 2008 13:46:42 +0000 (15:46 +0200)]
POST: replace the LOGBUFF_INITIALIZED flag in gd->post_log_word (1 << 31) with the GD_FLG_LOGINIT flag in gd->flags.

This way we become able to utilize the full post_log_word for POST
activities (overwise, POST ECC, which has 0x8000 ID, could be
erroneously treated as started in post_output_backlog() even if there
was actually no POST ECC run (because of OCM POST failure, for
example).

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoPOST: mark OCM test as POST_STOP
Yuri Tikhonov [Thu, 8 May 2008 13:46:02 +0000 (15:46 +0200)]
POST: mark OCM test as POST_STOP

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
16 years agoPOST: add POST_STOP flag
Yuri Tikhonov [Thu, 8 May 2008 13:45:26 +0000 (15:45 +0200)]
POST: add POST_STOP flag

Don't run futher tests in case of a test fails that is marked as
POST_STOP.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoPOST: switch CFG_POST_OCM with CFG_POST_CODEC (workaround)
Yuri Tikhonov [Thu, 8 May 2008 13:44:16 +0000 (15:44 +0200)]
POST: switch CFG_POST_OCM with CFG_POST_CODEC (workaround)

Switch the OCM testid with the codec one. The reason is that current
implementation requires the POST_ROM testid to fit into lower 16
bits, and the codec test will never run with POST_ROM hopefully.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
16 years agolwmon5: enable OCM post test on lwmon5 board
Yuri Tikhonov [Thu, 8 May 2008 13:43:28 +0000 (15:43 +0200)]
lwmon5: enable OCM post test on lwmon5 board

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
16 years agoPOST: OCM test added.
Yuri Tikhonov [Thu, 8 May 2008 13:42:47 +0000 (15:42 +0200)]
POST: OCM test added.

Added OCM test to POST layer. This version runs before all other tests
but doesn't yet interrupt post sequence on failure.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoPOST: typo fix
Yuri Tikhonov [Thu, 8 May 2008 13:40:39 +0000 (15:40 +0200)]
POST: typo fix

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
16 years agocommon/usb.c: fix incorrect escape sequence
Hebbar [Tue, 20 May 2008 09:16:36 +0000 (02:16 -0700)]
common/usb.c: fix incorrect escape sequence

Signed off by: Gururaja Hebbar <gururajakr@sanyo.co.in>

16 years agoFix 8313ERDB board configuration
York Sun [Thu, 15 May 2008 20:26:27 +0000 (15:26 -0500)]
Fix 8313ERDB board configuration

Change LCRR clock ratio from 2 to 4 to commodate VSC7385.
Correct TSEC1 vs TSEC2 assignment.
Define ETHADDR and ETH1ADDR always.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Timur Tabi <timur@freescale.com>
16 years agoRelease v1.3.3 v1.3.3
Wolfgang Denk [Mon, 19 May 2008 10:47:11 +0000 (12:47 +0200)]
Release v1.3.3

Update CHANGELOG for release.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Mon, 19 May 2008 07:42:38 +0000 (09:42 +0200)]
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx

16 years agoppc4xx: Canyonlands: Disable PCIe0/SATA in dev-tree depending on selection
Stefan Roese [Mon, 19 May 2008 05:14:38 +0000 (07:14 +0200)]
ppc4xx: Canyonlands: Disable PCIe0/SATA in dev-tree depending on selection

When SATA is selected (via jumper J6) we need to disable the first PCIe
node in the device tree, so that Linux doesn't initialize it. Otherwise
the Linux SATA driver will fail to detect the devices.

The same goes the other way around too. So if PCIe is selected we need
to disable the SATA node in the device tree.

This is because PCIe port 0 and SATA on 460EX share the same pins
(multiplexed) and we have to configure in U-Boot which peripheral is
enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoi386: Fix multiple definitions of __show_boot_progress
Jean-Christophe PLAGNIOL-VILLARD [Sun, 18 May 2008 17:09:58 +0000 (19:09 +0200)]
i386: Fix multiple definitions of __show_boot_progress

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agosc530_spunk: add missing SOBJS entry
Jean-Christophe PLAGNIOL-VILLARD [Sun, 18 May 2008 17:09:57 +0000 (19:09 +0200)]
sc530_spunk: add missing SOBJS entry

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agosc520_spunk: Fix flash
Jean-Christophe PLAGNIOL-VILLARD [Sun, 18 May 2008 17:09:56 +0000 (19:09 +0200)]
sc520_spunk: Fix flash

flash.c:593: warning: dereferencing type-punned pointer will break strict-aliasing rules
flash.c:398: error: label at end of compound statement

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agodrivers/pcmcia: add missing i82365
Jean-Christophe PLAGNIOL-VILLARD [Sun, 18 May 2008 17:09:49 +0000 (19:09 +0200)]
drivers/pcmcia: add missing i82365

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoi386/bootm: remove unused var
Jean-Christophe PLAGNIOL-VILLARD [Sun, 18 May 2008 17:09:47 +0000 (19:09 +0200)]
i386/bootm: remove unused var

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoexample/gitignore: update with all generated examples
Jean-Christophe PLAGNIOL-VILLARD [Sun, 18 May 2008 17:09:45 +0000 (19:09 +0200)]
example/gitignore: update with all generated examples

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoTQM8272: fix out-of-tree building
Wolfgang Denk [Wed, 14 May 2008 22:42:45 +0000 (00:42 +0200)]
TQM8272: fix out-of-tree building

...and add to MAKEALL script

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoenvironment: fix bug introduced by commit a8409f4f1ac8
Wolfgang Denk [Wed, 14 May 2008 21:34:53 +0000 (23:34 +0200)]
environment: fix bug introduced by commit a8409f4f1ac8

env_get_char is not a function, but a pointer to one.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Wed, 14 May 2008 12:05:49 +0000 (14:05 +0200)]
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx

16 years agoppc4xx: QUAD100HD: Allow the environment to be put into flash.
Gary Jennejohn [Wed, 14 May 2008 11:39:22 +0000 (13:39 +0200)]
ppc4xx: QUAD100HD: Allow the environment to be put into flash.

After moving TEXT_BASE the value for CFG_ENV_ADDR was incorrect.  Also
use a redundant environment.

Signed-off-by: Gary Jennejohn <garyj@denx.de>
16 years agoFix config files for out-of-tree building
Wolfgang Denk [Wed, 14 May 2008 11:55:30 +0000 (13:55 +0200)]
Fix config files for out-of-tree building

Several board/<...>/config.mk files include dynamically built (by
the Makefile) config files but used the wrong file name of
$(TOPDIR)/board/$(BOARDDIR)/config.tmp
instead if the correct
$(OBJTREE)/board/$(BOARDDIR)/config.tmp

The bug is nasty because the build result is correct for the (normal)
in-tree builds, and because 'sinclude' is used no errors get raised
even for out-of-tree build tests. But out-of-tree builds use an
incomplete and thus usually incorrect configuration...

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoppc4xx: Fix bogus Canyonlands config.mk
Stefan Roese [Wed, 14 May 2008 11:40:03 +0000 (13:40 +0200)]
ppc4xx: Fix bogus Canyonlands config.mk

This patch fixes the canyonlands config.mk file to enable correct
out-of-tree builds. Thanks to Wolfgang Denk for spotting this.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Individual handling of ddr2_fixed.c for canyonlands_nand build
Stefan Roese [Wed, 14 May 2008 08:32:32 +0000 (10:32 +0200)]
ppc4xx: Individual handling of ddr2_fixed.c for canyonlands_nand build

Canyonlands has a file ddr2_fixed.c which needs special treatment when
building in separate directory. It has to be linked to build directory
otherwise it is not seen.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoenvironment: cleanup prototype declarations of env functions.
Wolfgang Denk [Wed, 14 May 2008 10:22:49 +0000 (12:22 +0200)]
environment: cleanup prototype declarations of env functions.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agolinkstation_HGLAN: Fix out of tree building.
Wolfgang Denk [Wed, 14 May 2008 10:21:48 +0000 (12:21 +0200)]
linkstation_HGLAN: Fix out of tree building.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoppc4xx: Individual handling of ddr2_fixed.c for canyonlands_nand build
Stefan Roese [Wed, 14 May 2008 08:32:32 +0000 (10:32 +0200)]
ppc4xx: Individual handling of ddr2_fixed.c for canyonlands_nand build

Canyonlands has a file ddr2_fixed.c which needs special treatment when
building in separate directory. It has to be linked to build directory
otherwise it is not seen.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoMakefile: fix "error: version_autogenerated.h: No such file or directory"
Wolfgang Denk [Tue, 13 May 2008 21:15:52 +0000 (23:15 +0200)]
Makefile: fix "error: version_autogenerated.h: No such file or directory"

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoppc4xx: Add 405EX(r) revision C PVR definitions and detection code
Stefan Roese [Tue, 13 May 2008 18:22:01 +0000 (20:22 +0200)]
ppc4xx: Add 405EX(r) revision C PVR definitions and detection code

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoRevert "pci: Add CONFIG_PCI_SKIP_HOST_BRIDGE config option"
Wolfgang Denk [Sun, 11 May 2008 23:11:21 +0000 (01:11 +0200)]
Revert "pci: Add CONFIG_PCI_SKIP_HOST_BRIDGE config option"

This reverts commit 55774b512fdf63c0516d441cc5da7c54bbffb7f2
which broke many PowerPC boards.

16 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sun, 11 May 2008 23:02:40 +0000 (01:02 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

16 years agoRevert "Avoid initrd and logbuffer area overlaps"
Wolfgang Denk [Sun, 11 May 2008 22:56:28 +0000 (00:56 +0200)]
Revert "Avoid initrd and logbuffer area overlaps"

This reverts commit 1b5605ca57fbb364f4d78eeee28b974ed875e888
which breaks building on all PPC boards that don't use a log buffer.

16 years agoFix offset calculation for multi-type legacy images.
Nick Spence [Sat, 10 May 2008 21:02:04 +0000 (14:02 -0700)]
Fix offset calculation for multi-type legacy images.

Calculation of tail was incorrect when size % 4 == 0.

New code removes the conditional and does the same thing but with arithmetic

Signed-off-by: Nick Spence <nick.spence@freescale.com>
16 years agoRevert "Change env_get_char from a global function ptr to a function."
Wolfgang Denk [Sun, 11 May 2008 22:40:58 +0000 (00:40 +0200)]
Revert "Change env_get_char from a global function ptr to a function."

This reverts commit c0559be371b2a64b1a817088c3308688e2182f93
which is known to break booting from dataflash and NAND.

16 years agoAPI: remove duplicate syscall check
Jean-Christophe PLAGNIOL-VILLARD [Sun, 11 May 2008 21:13:57 +0000 (23:13 +0200)]
API: remove duplicate syscall check

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoppc4xx: Kilauea: Add CONFIG_BOOTP_SUBNETMASK to Kilauea board config
Markus Klotzbücher [Thu, 8 May 2008 14:00:55 +0000 (16:00 +0200)]
ppc4xx: Kilauea: Add CONFIG_BOOTP_SUBNETMASK to Kilauea board config

When using dhcp/bootp the "netmask" environment variable is not set
because CONFIG_BOOTP_SUBNETMASK is not defined. But usually this is
desireable, so the following patch adds this this option to the board
config.

Signed-off-by: Markus Klotzbuecher <mk@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Update Makalu defconfig to use device-tree booting as default
Stefan Roese [Sat, 10 May 2008 08:30:36 +0000 (10:30 +0200)]
ppc4xx: Update Makalu defconfig to use device-tree booting as default

This patch reworks the default environment on Makalu. Now "net_nfs" for
example uses the device-tree style booting formerly know as "net_nfs_fdt".
Also the addresses in RAM were changed because of the new image booting
support, which check for image overwriting. So the addresses needed to
get adjusted.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoPPC: fix map_physmem build warning
Becky Bruce [Wed, 7 May 2008 18:28:16 +0000 (13:28 -0500)]
PPC: fix map_physmem build warning

map_physmem currently generates a warning when CONFIG_PHYS_64BIT is
enabled.  This quiets the warning.

Signed-off-by: Becky Bruce <Becky.Bruce@freescale.com>
16 years agoUpdate pci code to use phys_addr_t
Becky Bruce [Wed, 7 May 2008 18:24:57 +0000 (13:24 -0500)]
Update pci code to use phys_addr_t

Physical addrs need to be represented by phys_addr_t, not
unsigned long.  Otherwise, systems that use CONFIG_PHYS_64BIT
are going to fail mightily.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
16 years agoSupport legacy multi-type images without FDT section.
Nick Spence [Fri, 9 May 2008 05:32:22 +0000 (22:32 -0700)]
Support legacy multi-type images without FDT section.

This patch enables legacy multi-type images containing only a Linux kernel
and root file system to be loaded, maintaining compatibility with previous
versions of u-boot.

This is required when using old image files such as a Linux 2.4 kernel /
filesystem.

Signed-off-by: Nick Spence <nick.spence@freescale.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
16 years agoUpdate CHANGELOG.
Wolfgang Denk [Fri, 9 May 2008 22:38:02 +0000 (00:38 +0200)]
Update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agopost/cpu/ppc4xx/Makefile: line length cleanup
Wolfgang Denk [Fri, 9 May 2008 22:36:09 +0000 (00:36 +0200)]
post/cpu/ppc4xx/Makefile: line length cleanup

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx
Wolfgang Denk [Fri, 9 May 2008 22:34:05 +0000 (00:34 +0200)]
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx

16 years agoFix @ -> <at> substitution
Stelian Pop [Thu, 8 May 2008 20:52:09 +0000 (22:52 +0200)]
Fix @ -> <at> substitution

When applying the AT91CAP9 patches upstream, something transformed
the '@' character into the ' <at> ' sequence.

The patch below restores the original form in all the places where
it has been modified (the AT91CAP9 files, the AT91SAM9260 files which
were copied from AT91CAP9, and a couple of other files where the
' <at> ' sequence was present).

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoUpdate origin and copyright information in arch-at91sam9 header files
Stelian Pop [Thu, 8 May 2008 20:52:10 +0000 (22:52 +0200)]
Update origin and copyright information in arch-at91sam9 header files

When doing the AT91CAP9/AT91SAM9 port, a number of header files were
copied from the Linux kernel sources. This patch explicitly specifies
this origin for all the copied headers, and for those missing copyright
information, adds it.

Additionaly, the header file 'at91sam926x_mc.h' has been superceeded
in the latest kernel sources by 'at91sam9_smc.h'.

The copyright information has been confirmed by the AT91 Linux kernel
maintainer, Andrew Victor <avictor.za@gmail.com>.

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