platform/kernel/u-boot.git
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>
16 years agoFix timer overflow in DaVinci
Peter Pearse [Fri, 1 Feb 2008 16:50:24 +0000 (16:50 +0000)]
Fix timer overflow in DaVinci
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
16 years agoUpdate board NetStar
Peter Pearse [Fri, 1 Feb 2008 16:49:08 +0000 (16:49 +0000)]
Update board NetStar
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
16 years agoppc4xx: HCU4/5. Fix make O=../xx
Niklaus Giger [Tue, 5 Feb 2008 09:26:42 +0000 (10:26 +0100)]
ppc4xx: HCU4/5. Fix make O=../xx

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Add CONFIG_4xx_DCACHE compile switch to Denali-core SPD code
Larry Johnson [Tue, 22 Jan 2008 13:51:59 +0000 (08:51 -0500)]
ppc4xx: Add CONFIG_4xx_DCACHE compile switch to Denali-core SPD code

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agoMerge branch 'denx'
Andy Fleming [Thu, 14 Feb 2008 00:36:27 +0000 (18:36 -0600)]
Merge branch 'denx'

16 years agoNFS Timeout with large files.
Hiroshi Ito [Thu, 31 Jan 2008 09:35:04 +0000 (18:35 +0900)]
NFS Timeout with large files.

Retry to send NFS packet before reaching timeout.

Signed-off-by: Hiroshi Ito <ito@mlb.co.jp>
16 years agoAdd dependencies to avoid race conditions with parallel make.
Johannes Stezenbach [Mon, 28 Jan 2008 23:11:25 +0000 (00:11 +0100)]
Add dependencies to avoid race conditions with parallel make.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
16 years agoMark board_init_[fr] as noreturn
Mike Frysinger [Mon, 28 Jan 2008 10:46:01 +0000 (05:46 -0500)]
Mark board_init_[fr] as noreturn

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoOnly use TEXT_BASE if defined by the board
Mike Frysinger [Mon, 28 Jan 2008 10:28:50 +0000 (05:28 -0500)]
Only use TEXT_BASE if defined by the board

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoFix remaining CONFIG_COMMANDS
Jean-Christophe PLAGNIOL-VILLARD [Fri, 25 Jan 2008 06:54:47 +0000 (07:54 +0100)]
Fix remaining CONFIG_COMMANDS

update comments
Fix coding style

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoAdd *~ to .gitignore
Niklaus Giger [Mon, 21 Jan 2008 15:46:00 +0000 (16:46 +0100)]
Add *~ to .gitignore

One should never add a backup file ending in with ~ to the git repository.

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoRemove duplicate defines for ARRAY_SIZE
Kumar Gala [Thu, 17 Jan 2008 06:02:10 +0000 (00:02 -0600)]
Remove duplicate defines for ARRAY_SIZE

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoFix incorrect address test in AT91F_DataflashSelect().
Stelian Pop [Mon, 14 Jan 2008 21:08:14 +0000 (22:08 +0100)]
Fix incorrect address test in AT91F_DataflashSelect().

Signed-off-by: Stelian Pop <stelian@popies.net>
16 years agoFix building of fdt_support.c if DEBUG set
Kumar Gala [Wed, 13 Feb 2008 21:09:58 +0000 (15:09 -0600)]
Fix building of fdt_support.c if DEBUG set

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoAdd CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbols
Jon Loeliger [Tue, 12 Feb 2008 20:53:28 +0000 (14:53 -0600)]
Add CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbols

These replace direct structure references for IMMR sections.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoMerge commit 'wd/master'
Jon Loeliger [Wed, 13 Feb 2008 22:03:20 +0000 (16:03 -0600)]
Merge commit 'wd/master'

16 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Mon, 11 Feb 2008 23:56:25 +0000 (00:56 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx
Wolfgang Denk [Mon, 11 Feb 2008 23:53:56 +0000 (00:53 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc83xx

16 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Mon, 11 Feb 2008 23:51:05 +0000 (00:51 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

16 years agoGet rid of "#undef DEBUG" from board config files.
Wolfgang Denk [Mon, 11 Feb 2008 23:45:06 +0000 (00:45 +0100)]
Get rid of "#undef DEBUG" from board config files.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoRemove #undef DEBUG from MPC83xx board header files
Timur Tabi [Tue, 15 Jan 2008 23:09:41 +0000 (17:09 -0600)]
Remove #undef DEBUG from MPC83xx board header files

Remove the "#undef DEBUG" line from all Freescale 83xx board header files.
The inclusion of this line makes it impossible to enable debug code in
other source files, because "#define DEBUG" typically needs to be defined
before any header files are included.

Signed-off-by: Timur Tabi <timur@freescale.com>
16 years agoQE: Move FDT support into a common file
Kumar Gala [Thu, 17 Jan 2008 14:25:45 +0000 (08:25 -0600)]
QE: Move FDT support into a common file

Move the flat device tree setup for QE related devices into
a common file shared between 83xx & 85xx platforms that have QE's.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoADS5121e: DDR2 init/timing update.
Grzegorz Bernacki [Mon, 28 Jan 2008 09:15:02 +0000 (10:15 +0100)]
ADS5121e: DDR2 init/timing update.

Signed-off-by: John Rigby <jrigby@freescale.com>
Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
16 years agoDevice tree updates
John Rigby [Wed, 30 Jan 2008 20:36:57 +0000 (13:36 -0700)]
Device tree updates

Changes to match 5121 device tree going mainline in 2.6.25.

Change OF_SOC from "soc5121" to plain "soc".
Remove unneeded "ref-frequency" fixups.
Remove "address" enetaddr fixup.

Add bus-frequency fixup for old OF_SOC so old
kernels with old device trees will work with new
u-boot with 66MHz IPS clock

Signed-off-by: John Rigby <jrigby@freescale.com>
16 years agoChange IPS freq to 66MHz
John Rigby [Wed, 30 Jan 2008 20:36:56 +0000 (13:36 -0700)]
Change IPS freq to 66MHz

Recommended frequency is 66MHz
Change divider from 4 to 3.

Signed-off-by: John Rigby <jrigby@freescale.com>
16 years agoxsengine: rename board_post_init to board_late_init
Jean-Christophe PLAGNIOL-VILLARD [Mon, 14 Jan 2008 21:38:55 +0000 (22:38 +0100)]
xsengine: rename board_post_init to board_late_init

missing migration from "Cleanup of some init functions"
in c837dcb1a316745092567bfe4fb266d0941884ff

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoAdd attribute POST_PREREL to ECC memory POST
Larry Johnson [Sun, 13 Jan 2008 04:35:33 +0000 (23:35 -0500)]
Add attribute POST_PREREL to ECC memory POST

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agoQE: Move FDT support into a common file
Kumar Gala [Thu, 17 Jan 2008 14:25:45 +0000 (08:25 -0600)]
QE: Move FDT support into a common file

Move the flat device tree setup for QE related devices into
a common file shared between 83xx & 85xx platforms that have QE's.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoAVR32: Make SDRAM refresh rate configurable
Haavard Skinnemoen [Wed, 23 Jan 2008 16:20:14 +0000 (17:20 +0100)]
AVR32: Make SDRAM refresh rate configurable

The existing code assumes the SDRAM row refresh period should always
be 15.6 us. This is not always true, and indeed on the ATNGW100, the
refresh rate should really be 7.81 us.

Add a refresh_period member to struct sdram_info and initialize it
properly for both ATSTK1000 and ATNGW100. Out-of-tree boards will
panic() until the refresh_period member is updated properly.

Big thanks to Gerhard Berghofer for pointing out this issue.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
16 years agoATSTK1000: Fix potential flash programming bug
Haavard Skinnemoen [Thu, 19 Apr 2007 08:10:11 +0000 (10:10 +0200)]
ATSTK1000: Fix potential flash programming bug

The (now obsolete) atngw100 flash programming code was having problems
programming the onboard at49bv642 chip. The atstk1000 flash
programming code may have the same bug, so import fix for this problem
from the AVR32 Linux BSP.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
16 years agoATSTK1004: Fix comment about default load address
Haavard Skinnemoen [Thu, 22 Nov 2007 16:04:13 +0000 (17:04 +0100)]
ATSTK1004: Fix comment about default load address

The default load address is SDRAM + 2MB, not SDRAM + 4MB. The latter
wouldn't have worked anyway since the board can only access 4MB of
SDRAM.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
16 years agoATSTK1002: Use SDRAM + 4MB as default load address
Haavard Skinnemoen [Thu, 22 Nov 2007 16:01:24 +0000 (17:01 +0100)]
ATSTK1002: Use SDRAM + 4MB as default load address

Many people run into problems when they compile a big kernel and load
the uImage at the default SDRAM + 2MB address as the kernel will
overwrite the uImage as it is being unpacked. Increase the default
load address so that we can load a 4MB kernel image without any
problems.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
16 years agoATNGW100: Fix default mtest range
Haavard Skinnemoen [Thu, 22 Nov 2007 15:51:39 +0000 (16:51 +0100)]
ATNGW100: Fix default mtest range

Let mtest cover the whole SDRAM except the last megabyte, which is
where u-boot lives.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
16 years agosh: Fix register address of SH7722.
Nobuhiro Iwamatsu [Tue, 22 Jan 2008 06:31:56 +0000 (15:31 +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 agonew command for displaying strings at specified memory locations
Mike Frysinger [Tue, 5 Feb 2008 00:26:57 +0000 (19:26 -0500)]
new command for displaying strings at specified memory locations

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agorewrite/cleanup Blackfin RTC driver
Mike Frysinger [Tue, 5 Feb 2008 00:26:57 +0000 (19:26 -0500)]
rewrite/cleanup Blackfin RTC driver

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agogenerate u-boot.ldr for Blackfin targets
Mike Frysinger [Tue, 5 Feb 2008 00:26:57 +0000 (19:26 -0500)]
generate u-boot.ldr for Blackfin targets

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoscrub unused symbols
Mike Frysinger [Tue, 5 Feb 2008 00:26:57 +0000 (19:26 -0500)]
scrub unused symbols

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agomove Blackfin cpu object list to respective cpu directories
Mike Frysinger [Tue, 5 Feb 2008 00:26:57 +0000 (19:26 -0500)]
move Blackfin cpu object list to respective cpu directories

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agointerface to Blackfin on-chip One-Time-Programmable memory
Mike Frysinger [Tue, 5 Feb 2008 00:26:57 +0000 (19:26 -0500)]
interface to Blackfin on-chip One-Time-Programmable memory

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoadd support for memory commands with Blackfin L1 instruction memory
Mike Frysinger [Tue, 5 Feb 2008 00:26:56 +0000 (19:26 -0500)]
add support for memory commands with Blackfin L1 instruction memory

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agouse C code rather than inline assembly
Mike Frysinger [Tue, 5 Feb 2008 00:26:56 +0000 (19:26 -0500)]
use C code rather than inline assembly

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoadd Blackfin-specific reginfo command
Mike Frysinger [Tue, 5 Feb 2008 00:26:56 +0000 (19:26 -0500)]
add Blackfin-specific reginfo command

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoadd support for Blackfin symbol prefixes to examples
Mike Frysinger [Tue, 5 Feb 2008 00:26:55 +0000 (19:26 -0500)]
add support for Blackfin symbol prefixes to examples

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoadd Blackfin-specific bdinfo command
Mike Frysinger [Tue, 5 Feb 2008 00:26:55 +0000 (19:26 -0500)]
add Blackfin-specific bdinfo command

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agomove -ffixed-P5 to blackfin_config.mk and drop unused -D__BLACKFIN__
Mike Frysinger [Tue, 5 Feb 2008 00:26:55 +0000 (19:26 -0500)]
move -ffixed-P5 to blackfin_config.mk and drop unused -D__BLACKFIN__

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agounify the Blackfin board targets
Mike Frysinger [Tue, 5 Feb 2008 00:26:55 +0000 (19:26 -0500)]
unify the Blackfin board targets

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agopunt Blackfin VDSP headers and import sanitized/auto-generated ones
Mike Frysinger [Tue, 5 Feb 2008 00:26:55 +0000 (19:26 -0500)]
punt Blackfin VDSP headers and import sanitized/auto-generated ones

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoalways pull in asm/blackfin.h for Blackfin ports
Mike Frysinger [Tue, 5 Feb 2008 00:26:54 +0000 (19:26 -0500)]
always pull in asm/blackfin.h for Blackfin ports

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoadd missing __raw versions of Blackfin read/write io functions
Mike Frysinger [Tue, 5 Feb 2008 00:26:54 +0000 (19:26 -0500)]
add missing __raw versions of Blackfin read/write io functions

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoadd the default Blackfin logo used by Blackfin boards with splash screens
Mike Frysinger [Tue, 5 Feb 2008 00:26:54 +0000 (19:26 -0500)]
add the default Blackfin logo used by Blackfin boards with splash screens

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoadd some more Blackfin docs
Mike Frysinger [Tue, 5 Feb 2008 00:26:54 +0000 (19:26 -0500)]
add some more Blackfin docs

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agomake smc91111_eeprom managment simpler by depending on the board configuration file...
Mike Frysinger [Tue, 5 Feb 2008 00:26:54 +0000 (19:26 -0500)]
make smc91111_eeprom managment simpler by depending on the board configuration file rather than a hardcoded list of boards

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agofix building on Blackfin as the assembler supports the .set syntax, not the = syntax...
Mike Frysinger [Tue, 5 Feb 2008 00:26:54 +0000 (19:26 -0500)]
fix building on Blackfin as the assembler supports the .set syntax, not the = syntax, for assigning symbols

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoadd gitignores for Blackfin pieces
Mike Frysinger [Tue, 5 Feb 2008 00:26:53 +0000 (19:26 -0500)]
add gitignores for Blackfin pieces

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoTFTP: add host ip addr support
Jean-Christophe PLAGNIOL-VILLARD [Fri, 18 Jan 2008 00:14:03 +0000 (01:14 +0100)]
TFTP: add host ip addr support

allow to use a different server as set in serverip
add CONFIG_TFTP_FILE_NAME_MAX_LEN to configure the file name length
if not defined the max length will be at 128

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
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 agoOMAP5912: fix FIFO handling in UART driver
Wolfgang Denk [Thu, 27 Dec 2007 09:56:54 +0000 (10:56 +0100)]
OMAP5912: fix FIFO handling in UART driver

According to the OMAP5912 Serial Interfaces Reference Guide (see
http://focus.ti.com/lit/ug/spru760c/spru760c.pdf, page 150), the
FIFO_EN enable bit in the FIFO Control Register (FCR) can only be
changed when the baud clock is not running, i. e. when both DLL and
DLH are set to 0.

Thus make sure that DLL and DLH are 0 when writing the FCR.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoARM: S3C24x0 SoC NAND controller support
Harald Welte [Wed, 19 Dec 2007 14:10:52 +0000 (15:10 +0100)]
ARM: S3C24x0 SoC NAND controller support

This patch adds NAND support to the S3C24x0 SoC code in u-boot

Signed-off-by: Harald Welte <laforge@openmoko.org>
16 years agoARM: s3c24xx: Multiple serial port support
Harald Welte [Wed, 19 Dec 2007 13:24:40 +0000 (14:24 +0100)]
ARM: s3c24xx: Multiple serial port support

This patch adds support for CONFIG_SERIAL_MULTI on s3c24x0 CPU's

Signed-off-by: Harald Welte <laforge@openmoko.org>
16 years agoARM: arm920t: Allow use of 'gd' pointer from IRQ
Harald Welte [Wed, 19 Dec 2007 13:16:57 +0000 (14:16 +0100)]
ARM: arm920t: Allow use of 'gd' pointer from IRQ

This patch allows us to use the 'gd' pointer (and thus environment
and everything else associated with it) from interrupt context on
arm920t.

Signed-off-by: Harald Welte <laforge@openmoko.org>
16 years agoARM: arm920/s3c24xx: IRQ demulitplexer callback
Harald Welte [Wed, 19 Dec 2007 13:19:38 +0000 (14:19 +0100)]
ARM: arm920/s3c24xx: IRQ demulitplexer callback

This patch adds a IRQ demultiplexer callback to the arm920 cpu core code,
plus a stub implementation of it for the S3C2410.

The purpose is to allow arm920t implementations such as the s3c24x0 to
implement interrupt handlers in u-boot without having to touch core
arm920t code.

Signed-off-by: Harald Welte <laforge@openmoko.org>
16 years agoARM: Display Ethernet info in do_bdinfo only if CONFIG_CMD_NET is defined
Hebbar [Wed, 19 Dec 2007 00:03:07 +0000 (16:03 -0800)]
ARM: Display Ethernet info in do_bdinfo only if CONFIG_CMD_NET is defined

Add ifdef to bdinfo command to display ethernet information
only if CONFIG_CMD_NET is defined for arm modules.

Signed-off-by: K R Gururaja Hebbar <gururajakr@sanyo.co.in>
16 years agoARM: add I2C init function call in lib_arm/board.c
Hebbar [Wed, 19 Dec 2007 00:00:54 +0000 (16:00 -0800)]
ARM: add I2C init function call in lib_arm/board.c

Adds I2C init func call to init sequence for ARM boards. This is
present in ppc,blackfin and other processor init sequence.

Signed-off-by: K R Gururaja Hebbar <gururajakr@sanyo.co.in>
16 years agoppc4xx: Fix ndfc HW ECC byte order
Stefan Roese [Fri, 1 Feb 2008 08:38:29 +0000 (09:38 +0100)]
ppc4xx: Fix ndfc HW ECC byte order

The current ndfc HW ECC implementation swaps the first two ECC bytes.
But the 4xx NDFC already uses the SMC (Smart Media Card) ECC ordering,
so this swapping in the HW ECC driver is bogus. This patch fixes this
problem and now really uses the SMC ECC byte order.

Thanks to Sean MacLennan for pointing this out.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Fix GPIO configuration for pcs440ep
Stefan Roese [Wed, 30 Jan 2008 14:35:50 +0000 (15:35 +0100)]
ppc4xx: Fix GPIO configuration for pcs440ep

The SRD0_PFC0 register was not configured correctly to enable the GPIO's
49-63 for GPIO. They have been configured as trace signals. This patch
fixes this by clearing the corresponding bit.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Fix problem with init-ram bigger than 4k on 440 platforms
Stefan Roese [Wed, 30 Jan 2008 13:48:28 +0000 (14:48 +0100)]
ppc4xx: Fix problem with init-ram bigger than 4k on 440 platforms

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoARM: Board voiceblue update
Ladislav Michl [Thu, 6 Dec 2007 23:42:32 +0000 (00:42 +0100)]
ARM: Board voiceblue update

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
16 years agoARM: AT91RM9200 based boards config cleanup
Ladislav Michl [Thu, 6 Dec 2007 22:24:57 +0000 (23:24 +0100)]
ARM: AT91RM9200 based boards config cleanup

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Remove nowhere used struct bd_info_ext, remove trailing whitespaces, fix
indentation.

16 years agoARM: Fix at91rm9200dk base address
Ladislav Michl [Thu, 6 Dec 2007 21:59:16 +0000 (22:59 +0100)]
ARM: Fix at91rm9200dk base address

Somewhere during development of U-Boot-1.1.3 CONFIG_BOOTBINFUNC was
renamed into CONFIG_INIT_CRITICAL which was 04 Apr 2005 replaced
with CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT.
However CONFIG_SKIP_LOWLEVEL_INIT has oposite meaning to
CONFIG_BOOTBINFUNC, so fix configuration to reflect this fact.
I'm sending this patch 4th (!) time in hope it produces at least some
reaction.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Fix at91rm9200dk base and environment address.

16 years agoMMC for PXA 27X (resubmit)
stefano babic [Tue, 20 Nov 2007 09:40:24 +0000 (10:40 +0100)]
MMC for PXA 27X (resubmit)

MMC support for X_Scale PXA is broken and does not work.
Mainly, the mmc_init() function cannot recognize current SD/MMC cards.
There were already some patches around the world but none of them was
merged into the official u-boot tree.

This patch makes order fixing this issue. Resubmit after code cleanup.

Applied and tested on PXA 270 (TrizepsIV module).

Signed-off-by: Stefano Babic <sbabic@denx.de>
16 years agoFix gcc issues in pxa-regs.h
stefano babic [Tue, 20 Nov 2007 09:37:04 +0000 (10:37 +0100)]
Fix gcc issues in pxa-regs.h

Fix gcc4 issue. With some toolchain, a previous patch that fixes gcc4
issues generates wrong code.
(Problem was reported with gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu).
This patch fixes the problem and solves the gcc-4 issues as the linux
kernel does.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Dmitry Ivanov <ivadmitry@gmail.com>
16 years agoMerge branch 'mpc86xx'
Jon Loeliger [Wed, 30 Jan 2008 16:56:19 +0000 (10:56 -0600)]
Merge branch 'mpc86xx'

16 years agoTQM834x: enable DHCP
Jens Gehrlein [Tue, 29 Jan 2008 07:45:03 +0000 (08:45 +0100)]
TQM834x: enable DHCP

Signed-off-by: Jens Gehrlein <sew_s@tqs.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoTQM834x: support for Spansion N-type Flashes (sector size = 256 KiB at 2x16 Bit).
Jens Gehrlein [Tue, 29 Jan 2008 07:45:02 +0000 (08:45 +0100)]
TQM834x: support for Spansion N-type Flashes (sector size = 256 KiB at 2x16 Bit).

Signed-off-by: Jens Gehrlein <sew_s@tqs.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoFix conditional compilation of mpx8xxx_spi driver
Ben Warren [Sun, 27 Jan 2008 04:41:19 +0000 (23:41 -0500)]
Fix conditional compilation of mpx8xxx_spi driver

This driver should only compile if CONFIG_MPC8XXX_SPI is set

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoAPI: Provide dummy halt() in the glue layer.
Rafal Jaworowski [Tue, 29 Jan 2008 16:00:34 +0000 (17:00 +0100)]
API: Provide dummy halt() in the glue layer.

This fixes a demo app link failure on platforms configured with CONFIG_PANIC_HANG.

Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
16 years agoAPI: Convert conditional building to the new scheme.
Rafal Jaworowski [Tue, 29 Jan 2008 15:57:38 +0000 (16:57 +0100)]
API: Convert conditional building to the new scheme.

This fixes a build breakage with CONFIG_API enabled, which appeared after
the recent changes in the U-Boot build system.

Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
16 years agoinka4x0: remove dead code
Wolfgang Denk [Fri, 25 Jan 2008 08:56:17 +0000 (09:56 +0100)]
inka4x0: remove dead code

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years ago86xx: Add reginfo command
Becky Bruce [Wed, 23 Jan 2008 22:31:06 +0000 (16:31 -0600)]
86xx: Add reginfo command

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
16 years ago86xx: Add print_laws function to fsl_law.c
Becky Bruce [Wed, 23 Jan 2008 22:31:05 +0000 (16:31 -0600)]
86xx: Add print_laws function to fsl_law.c

This can be used for debug, and will be used by board code
to help implement reginfo.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
16 years ago86xx: Remove old-style law setup code
Becky Bruce [Wed, 23 Jan 2008 22:31:04 +0000 (16:31 -0600)]
86xx: Remove old-style law setup code

This includes mpc8610hpcd, mpc8641hpcn, and sbc8641d.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
16 years ago86xx: Convert sbc8641d to use new law setup code.
Becky Bruce [Wed, 23 Jan 2008 22:31:03 +0000 (16:31 -0600)]
86xx: Convert sbc8641d to use new law setup code.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
16 years ago86xx: Convert mpc8610hpcd to new law setup method.
Becky Bruce [Wed, 23 Jan 2008 22:31:02 +0000 (16:31 -0600)]
86xx: Convert mpc8610hpcd to new law setup method.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
16 years ago86xx: Support new law setup method and convert mpc8641
Becky Bruce [Wed, 23 Jan 2008 22:31:01 +0000 (16:31 -0600)]
86xx: Support new law setup method and convert mpc8641

Adds the support code in cpu/mpc86xx for the new law setup code
recently created fsl_law.c, and changes the MPC8641HPCN config
to use this code.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
16 years ago86xx: Rearrange the sequence in start.S
Becky Bruce [Wed, 23 Jan 2008 22:31:00 +0000 (16:31 -0600)]
86xx: Rearrange the sequence in start.S

* split the BAT initialization so that only 2 BATs (for the boot page
and stack) are programmed very early on.  The rest are initialized later.
* Move other BAT setup,  ccsrbar setup, and law setup later in the code
after translation has been enabled.

These changes will facilitate the moving of law and BAT initialization
to C code, and will aid with 36-bit physical addressing support.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
16 years agoCoding Style Cleanup; update CHANGELOG
Wolfgang Denk [Wed, 23 Jan 2008 13:41:37 +0000 (14:41 +0100)]
Coding Style Cleanup; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:40:34 +0000 (14:40 +0100)]
Merge ../custodians

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ixp
Wolfgang Denk [Wed, 23 Jan 2008 13:39:26 +0000 (14:39 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ixp

16 years agoMerge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:37:59 +0000 (14:37 +0100)]
Merge ../custodians

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mips
Wolfgang Denk [Wed, 23 Jan 2008 13:37:52 +0000 (14:37 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mips

16 years agoMerge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:35:32 +0000 (14:35 +0100)]
Merge ../custodians

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

16 years agoMerge ../custodians
Wolfgang Denk [Wed, 23 Jan 2008 13:34:00 +0000 (14:34 +0100)]
Merge ../custodians

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-avr32
Wolfgang Denk [Wed, 23 Jan 2008 13:33:40 +0000 (14:33 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-avr32

16 years agoCoding Style Cleanup; update CHANGELOG
Wolfgang Denk [Wed, 23 Jan 2008 13:31:17 +0000 (14:31 +0100)]
Coding Style Cleanup; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-coldfire
Wolfgang Denk [Wed, 23 Jan 2008 13:23:13 +0000 (14:23 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-coldfire

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-net
Wolfgang Denk [Wed, 23 Jan 2008 13:20:49 +0000 (14:20 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-net

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Wed, 23 Jan 2008 13:19:45 +0000 (14:19 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx