kernel/u-boot.git
14 years agodrime3: ex1: enable all clocks JF02_20100611
Minkyu Kang [Thu, 10 Jun 2010 07:30:36 +0000 (16:30 +0900)]
drime3: ex1: enable all clocks

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoex1: Fix OneNAND device name JF01_20100610
Joonyoung Shim [Mon, 7 Jun 2010 11:36:19 +0000 (20:36 +0900)]
ex1: Fix OneNAND device name

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agoex1: Use OneNAND runtime badblock check
Kyungmin Park [Mon, 7 Jun 2010 11:03:57 +0000 (20:03 +0900)]
ex1: Use OneNAND runtime badblock check

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoex1: Use optimized memcpy32 at IPL
Kyungmin Park [Mon, 7 Jun 2010 10:53:17 +0000 (19:53 +0900)]
ex1: Use optimized memcpy32 at IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoex1: Fix console name
Joonyoung Shim [Mon, 7 Jun 2010 08:54:42 +0000 (17:54 +0900)]
ex1: Fix console name

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agoex1: Fix OneNAND boot
Kyungmin Park [Mon, 7 Jun 2010 08:40:42 +0000 (17:40 +0900)]
ex1: Fix OneNAND boot

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoOneNAND IPL: Add XIP boot environment
Kyungmin Park [Mon, 7 Jun 2010 08:40:15 +0000 (17:40 +0900)]
OneNAND IPL: Add XIP boot environment

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoex1: Reduce lowlevel_init code size
Kyungmin Park [Mon, 7 Jun 2010 08:33:40 +0000 (17:33 +0900)]
ex1: Reduce lowlevel_init code size

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoex1: No need to clear bss area at IPL
Kyungmin Park [Mon, 7 Jun 2010 08:33:05 +0000 (17:33 +0900)]
ex1: No need to clear bss area at IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoFix wrong nblocks calculation at OneNAND IPL
Kyungmin Park [Sat, 5 Jun 2010 02:20:24 +0000 (11:20 +0900)]
Fix wrong nblocks calculation at OneNAND IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoex1: Reduce the OneNAND IPL size
Kyungmin Park [Sat, 5 Jun 2010 01:52:33 +0000 (10:52 +0900)]
ex1: Reduce the OneNAND IPL size

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoAdd ONENAND_SKIP_ONENAND_BOARD_INIT to reduce the IPL size
Kyungmin Park [Sat, 5 Jun 2010 01:52:10 +0000 (10:52 +0900)]
Add ONENAND_SKIP_ONENAND_BOARD_INIT to reduce the IPL size

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoDon't relocate the u-boot code at IPL
Kyungmin Park [Sat, 5 Jun 2010 01:51:31 +0000 (10:51 +0900)]
Don't relocate the u-boot code at IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Fri, 4 Jun 2010 08:46:25 +0000 (17:46 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agoex1: Add onenand ipl (don't use!!)
Minkyu Kang [Fri, 4 Jun 2010 08:45:57 +0000 (17:45 +0900)]
ex1: Add onenand ipl (don't use!!)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc11x initial MMC clock = EPLL/2 = 48MHz (MMC0-2)
MyungJoo Ham [Fri, 4 Jun 2010 07:14:42 +0000 (16:14 +0900)]
s5pc11x initial MMC clock = EPLL/2 = 48MHz (MMC0-2)

14 years agoDRIMe III: Adds support for USB 2.0 Device
Minkyu Kang [Fri, 4 Jun 2010 05:20:38 +0000 (14:20 +0900)]
DRIMe III: Adds support for USB 2.0 Device

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoex1: update configs
Minkyu Kang [Fri, 4 Jun 2010 05:19:46 +0000 (14:19 +0900)]
ex1: update configs

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of cwchoi00@10.89.8.158:/pub/git/u-boot-s5pc1xx
ChanWoo Choi [Fri, 4 Jun 2010 04:02:29 +0000 (13:02 +0900)]
Merge branch 'master' of cwchoi00@10.89.8.158:/pub/git/u-boot-s5pc1xx

14 years agoex1: remove duplicated config
Minkyu Kang [Fri, 4 Jun 2010 01:21:06 +0000 (10:21 +0900)]
ex1: remove duplicated config

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: Haydn: Add some codes which check hw/board revision
ChanWoo Choi [Fri, 4 Jun 2010 01:11:25 +0000 (10:11 +0900)]
s5pc1xx: Haydn: Add some codes which check hw/board revision

14 years agoex1: fix the mtd partition
Minkyu Kang [Fri, 4 Jun 2010 00:45:09 +0000 (09:45 +0900)]
ex1: fix the mtd partition

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoex1: enable onenand driver
Minkyu Kang [Fri, 4 Jun 2010 00:39:26 +0000 (09:39 +0900)]
ex1: enable onenand driver

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoex1: codes clean
Minkyu Kang [Thu, 3 Jun 2010 23:49:29 +0000 (08:49 +0900)]
ex1: codes clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoDRIMe III: ex1: modify the text base
Minkyu Kang [Thu, 3 Jun 2010 12:06:21 +0000 (21:06 +0900)]
DRIMe III: ex1: modify the text base

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoDRIMe III: ex1: initial commit
Minkyu Kang [Thu, 3 Jun 2010 11:58:00 +0000 (20:58 +0900)]
DRIMe III: ex1: initial commit

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoupdate build.sh
Heungjun Kim [Thu, 3 Jun 2010 10:28:37 +0000 (19:28 +0900)]
update build.sh

Signed-off-by: Heungjun Kim <riverful.kim@samsung.com>
14 years agos5pc1xx: goni: use mach-types define JE04_20100531
Minkyu Kang [Mon, 31 May 2010 01:39:11 +0000 (10:39 +0900)]
s5pc1xx: goni: use mach-types define

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot
Minkyu Kang [Mon, 31 May 2010 01:20:15 +0000 (10:20 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Wolfgang Denk [Sun, 30 May 2010 19:44:07 +0000 (21:44 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-arm
Wolfgang Denk [Sun, 30 May 2010 19:43:05 +0000 (21:43 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-arm

14 years agofdt_support: add entry for sec3.1 and fix sec3.3
Kim Phillips [Fri, 23 Apr 2010 17:20:11 +0000 (12:20 -0500)]
fdt_support: add entry for sec3.1 and fix sec3.3

Add sec3.1 h/w geometry for fdt node fixups.

Also, technically, whilst SEC v3.3 h/w honours the tls_ssl_stream descriptor
type, it lacks the ARC4 algorithm execution unit required to be able
to execute anything meaningful with it.  Change the node to agree with
the documentation that declares that the sec3.3 really doesn't have such
a descriptor type.

Reported-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agofsl: rename 'dma' to 'brdcfg1' in the ngPIXIS structure
Timur Tabi [Thu, 20 May 2010 16:16:16 +0000 (11:16 -0500)]
fsl: rename 'dma' to 'brdcfg1' in the ngPIXIS structure

The ngPIXIS is a board-specific FPGA, but the definition of the registers
is mostly consistent.  On boards where it matter, register 9 is called
'brdcfg1' instead of 'dma', so rename the variable in the ngpixis_t
definition.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agofsl/85xx: add clkdvdr and pmuxcr2 to global utilities structure definition
Timur Tabi [Thu, 20 May 2010 17:45:39 +0000 (12:45 -0500)]
fsl/85xx: add clkdvdr and pmuxcr2 to global utilities structure definition

Add the 'clkdvdr' and 'pmuxcr2' registers to the 85xx definition of
struct ccsr_gur.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agoMerge branch 'next' of git://git.denx.de/u-boot-nios
Wolfgang Denk [Fri, 28 May 2010 18:34:39 +0000 (20:34 +0200)]
Merge branch 'next' of git://git.denx.de/u-boot-nios

14 years agoARM Update mach-types
Tom [Fri, 28 May 2010 18:23:16 +0000 (13:23 -0500)]
ARM Update mach-types

Fetched from http://www.arm.linux.org.uk/developer/machines/download.php
And built with

repo http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm
commit 3defb2476166445982a90c12d33f8947e75476c4

Signed-off-by: Tom <Tom@bumblecow.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-coldfire
Wolfgang Denk [Fri, 28 May 2010 17:49:12 +0000 (19:49 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-coldfire

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-usb
Wolfgang Denk [Fri, 28 May 2010 17:47:15 +0000 (19:47 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-usb

14 years agoARM Update mach-types
Tom [Sun, 9 May 2010 21:58:11 +0000 (16:58 -0500)]
ARM Update mach-types

Fetched from http://www.arm.linux.org.uk/developer/machines/download.php
And built with

repo http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm
commit 257dab81413b31b8648becfe11586b3a41e5c29a

Signed-off-by: Tom <Tom@bumblecow.com>
14 years agonios: remove nios-32 arch
Thomas Chou [Fri, 28 May 2010 02:56:50 +0000 (10:56 +0800)]
nios: remove nios-32 arch

The nios-32 arch is obsolete and broken. So it is removed.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
14 years agonios2: allow STANDALONE_LOAD_ADDR overriding
Thomas Chou [Fri, 21 May 2010 03:08:02 +0000 (11:08 +0800)]
nios2: allow STANDALONE_LOAD_ADDR overriding

This patch allows users to override default STANDALONE_LOAD_ADDR.
The gcclibdir path was duplicated in the standalone Makefile and
can be removed.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
14 years agonios2: fix div64 issue for gcc4
Thomas Chou [Fri, 14 May 2010 22:00:05 +0000 (06:00 +0800)]
nios2: fix div64 issue for gcc4

This patch fixes the run-time error on div64 when built with
gcc4, which was reported by jhwu0625 on nios forum. It merges
math support from libgcc of gcc4. This patch is copied from
nios2-linux.

It works with both gcc3 and gcc4. The old mult.c, divmod.c and
math.h are removed.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
14 years agonios2: fix r15 issue for gcc4
Thomas Chou [Fri, 21 May 2010 03:08:03 +0000 (11:08 +0800)]
nios2: fix r15 issue for gcc4

The "-ffixed-r15" option doesn't work well for gcc4. Since we
don't use gp for small data with option "-G0", we can use gp
as global data pointer. This allows compiler to use r15. It
is necessary for gcc4 to work properly.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
14 years agospi: add altera spi controller support
Thomas Chou [Fri, 30 Apr 2010 03:34:16 +0000 (11:34 +0800)]
spi: add altera spi controller support

This patch adds the driver of altera spi controller, which is
used as epcs/spi flash controller. It also works with mmc_spi
driver.

This driver support more than one spi bus, with base list declared
#define CONFIG_SYS_ALTERA_SPI_LIST { BASE_0,BASE_1,... }

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Tested-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
14 years agonios2: add gpio support to nios2-generic board
Thomas Chou [Fri, 30 Apr 2010 03:34:15 +0000 (11:34 +0800)]
nios2: add gpio support to nios2-generic board

This patch adds gpio support of Altera PIO component to the
nios2-generic board. Though it drives only gpio_led at the
moment, it supports bidirectional port to control bit-banging
I2C, NAND flash busy status or button switches, etc.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Tested-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
14 years agomisc: add gpio based status led driver
Thomas Chou [Fri, 30 Apr 2010 03:34:14 +0000 (11:34 +0800)]
misc: add gpio based status led driver

This patch adds a status led driver followed the GPIO access
conventions of Linux. The led mask is used to specify the gpio pin.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Tested-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
14 years agonios2: add gpio support
Thomas Chou [Fri, 30 Apr 2010 03:34:13 +0000 (11:34 +0800)]
nios2: add gpio support

This patch adds driver for a trivial gpio core, which is described
in http://nioswiki.com/GPIO. It is used for gpio led and nand flash
interface in u-boot.

When CONFIG_SYS_GPIO_BASE is not defined, board may provide
its own driver.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Tested-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
14 years agoadd CONFIG_SYS_FEC_FULL_MII for MCF5445x
Wolfgang Wegner [Tue, 30 Mar 2010 18:19:51 +0000 (19:19 +0100)]
add CONFIG_SYS_FEC_FULL_MII for MCF5445x

This patch adds support for full MII interface on MCF5445x (in contrast
to RMII as used on the evaluation boards).

Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
14 years agoadd CONFIG_SYS_FEC_NO_SHARED_PHY for MCF5445x
Wolfgang Wegner [Tue, 30 Mar 2010 18:19:50 +0000 (19:19 +0100)]
add CONFIG_SYS_FEC_NO_SHARED_PHY for MCF5445x

This patch adds the possibility to handle seperate PHYs to MCF5445x.
Naming is chosen to resemble the contrary CONFIG_FEC_SHARED_PHY in the
linux kernel.

Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
14 years agoadd missing PCS3 for MCF5445x
Wolfgang Wegner [Tue, 30 Mar 2010 18:20:31 +0000 (19:20 +0100)]
add missing PCS3 for MCF5445x

This patch adds the code for handling PCS3 (DSPI chip select 3) in
cpu_init.c and m5445x.h

Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
14 years agoUSB: fix create_pipe()
Sergei Shtylyov [Wed, 26 May 2010 17:26:43 +0000 (21:26 +0400)]
USB: fix create_pipe()

create_pipe() can give wrong result if an expression is passed as the 'endpoint'
argument -- due to missing parentheses.

Thanks to Martin Mueller for finding the bug and providing the patch.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Thu, 27 May 2010 00:53:55 +0000 (09:53 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc1xx: goni: display board name correctly
Minkyu Kang [Thu, 27 May 2010 00:53:31 +0000 (09:53 +0900)]
s5pc1xx: goni: display board name correctly

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoBlackfin: nand: drain the write buffer before returning
Andrew Caldwell [Fri, 7 May 2010 19:10:07 +0000 (15:10 -0400)]
Blackfin: nand: drain the write buffer before returning

The current Blackfin nand write function fills up the write buffer but
returns before it has had a chance to drain.  On faster systems, this
isn't a problem as the operation finishes before the ECC registers are
read, but on slower systems the ECC may be incomplete when the core tries
to read it.

So wait for the buffer to drain once we're done writing to it.

Signed-off-by: Andrew Caldwell <Andrew.Caldwell@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoPrepare v2010.06-rc1 v2010.06-rc1
Wolfgang Denk [Wed, 26 May 2010 21:57:08 +0000 (23:57 +0200)]
Prepare v2010.06-rc1

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoCoding style cleanup, update CHANGELOG.
Wolfgang Denk [Wed, 26 May 2010 21:51:22 +0000 (23:51 +0200)]
Coding style cleanup, update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc83xx
Wolfgang Denk [Wed, 26 May 2010 20:36:32 +0000 (22:36 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx

14 years agoconfig.mk: use different host compiler for OS X 10.6
Andreas Biessmann [Sat, 22 May 2010 11:17:21 +0000 (13:17 +0200)]
config.mk: use different host compiler for OS X 10.6

Compiling tools subdirectory on Mac OS X 10.6 (Snow Leopard) complains about
wrong syntax in system includes.

In file included from /usr/include/stdio.h:444,
                 from ../source/u-boot/include/compiler.h:26,
                 from ../source/u-boot/lib/crc32.c:15:
/usr/include/secure/_stdio.h:46: error: syntax error in macro parameter list

This can be fixed by reverting the workaround for prior OS X releases in
config.mk conditionally for OS X 10.6+.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
14 years agoConvert Makefiles from COBJS-${} to COBJS-$()
Kumar Gala [Fri, 21 May 2010 09:17:48 +0000 (04:17 -0500)]
Convert Makefiles from COBJS-${} to COBJS-$()

Match style we use almost everywhere else

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agopowerpc/bootcount: Fix endianness problem
Michael Weiss [Thu, 20 May 2010 14:09:35 +0000 (16:09 +0200)]
powerpc/bootcount: Fix endianness problem

For CONFIG_SYS_BOOTCOUNT_SINGLEWORD the code had an endianness problem.

Signed-off-by: Michael Weiss <michael.weiss@ifm.com>
Signed-off-by: Detlev Zundel <dzu@denx.de>
14 years agodm9000x.c: fix compile problems
Wolfgang Denk [Wed, 26 May 2010 20:19:35 +0000 (22:19 +0200)]
dm9000x.c: fix compile problems

Use readX() / writeX() accessors instead of inX() / outX().

Suggested-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agos5pc110: lcd code clean up
Donghwa Lee [Wed, 26 May 2010 08:14:47 +0000 (17:14 +0900)]
s5pc110: lcd code clean up

14 years agoBUILD: Update dofmind setting
Joonyoung Shim [Wed, 26 May 2010 08:02:31 +0000 (17:02 +0900)]
BUILD: Update dofmind setting

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agos5pc1xx: gpio: fix set pull function and add evt0 workaround codes
Minkyu Kang [Wed, 26 May 2010 04:43:31 +0000 (13:43 +0900)]
s5pc1xx: gpio: fix set pull function and add evt0 workaround codes

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoBUILD: Update kmpark compiler
Kyungmin Park [Wed, 26 May 2010 04:12:07 +0000 (13:12 +0900)]
BUILD: Update kmpark compiler

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot
Minkyu Kang [Wed, 26 May 2010 01:11:33 +0000 (10:11 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

Conflicts:
common/cmd_onenand.c
cpu/arm1176/cpu.c
cpu/arm1176/start.S
cpu/arm_cortexa8/s5pc1xx/Makefile
cpu/arm_cortexa8/s5pc1xx/clock.c
drivers/serial/Makefile
drivers/serial/serial_s5pc1xx.c
drivers/video/Makefile
include/asm-arm/arch-s5pc1xx/clk.h
include/asm-arm/arch-s5pc1xx/gpio.h
include/common.h
include/configs/smdkc100.h
include/serial.h
lib_arm/eabi_compat.c

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: goni: fix machine number JE03_20100525
Minkyu Kang [Mon, 24 May 2010 07:33:32 +0000 (16:33 +0900)]
s5pc110: goni: fix machine number

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: goni: fix machine name and board name
Minkyu Kang [Mon, 24 May 2010 05:07:29 +0000 (14:07 +0900)]
s5pc110: goni: fix machine name and board name

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoRevert "recovery: change board name from neptune to goni"
Minkyu Kang [Mon, 24 May 2010 03:51:21 +0000 (12:51 +0900)]
Revert "recovery: change board name from neptune to goni"

This reverts commit ab4775a9d4dfa4fb8f457954e4dbdf8aae685d56.

14 years agoRevert "s5pc1xx: goni: change board name from neptune to goni"
Minkyu Kang [Mon, 24 May 2010 03:51:04 +0000 (12:51 +0900)]
Revert "s5pc1xx: goni: change board name from neptune to goni"

This reverts commit 91be501adbb7c115e3e946f74d068a1e125ccbea.

14 years agorecovery: change board name from neptune to goni
Minkyu Kang [Mon, 24 May 2010 01:30:52 +0000 (10:30 +0900)]
recovery: change board name from neptune to goni

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: remove compiler warnings
Minkyu Kang [Mon, 24 May 2010 01:15:52 +0000 (10:15 +0900)]
recovery: remove compiler warnings

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agousbd: remove compiler warnings
Minkyu Kang [Mon, 24 May 2010 01:13:57 +0000 (10:13 +0900)]
usbd: remove compiler warnings

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoa320evb: fix udelay / __udelay confusion
Wolfgang Denk [Fri, 21 May 2010 21:14:53 +0000 (23:14 +0200)]
a320evb: fix udelay / __udelay confusion

Fix the following compiler problems:

arch/arm/cpu/arm920t/a320/liba320.a(timer.o): In function `udelay':
/home/wd/git/u-boot/work/arch/arm/cpu/arm920t/a320/timer.c:160: multiple definition of `udelay'
lib/libgeneric.a(time.o):/home/wd/git/u-boot/work/lib/time.c:34: first defined here
lib/libgeneric.a(time.o): In function `udelay':
time.c:(.text+0x1c): undefined reference to `__udelay'

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoARM: */timer.c: fix spelling and vertical alignment
Wolfgang Denk [Fri, 21 May 2010 21:13:18 +0000 (23:13 +0200)]
ARM: */timer.c: fix spelling and vertical alignment

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agobugfix: Guruplug: Use standard miiphy
Mahavir Jain [Fri, 21 May 2010 09:07:48 +0000 (14:37 +0530)]
bugfix: Guruplug: Use standard miiphy

call to reset PHY chip.

Current PHY Software Reset operation in guruplug does not
poll reset bit in control register to go to 0(auto clearing)
for making sure reset was successful.This patch uses standard
miiphy call miiphy_reset to make sure proper PHY reset operation.

Signed-off-by: Mahavir Jain <mjain@marvell.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-ubi
Wolfgang Denk [Fri, 21 May 2010 20:26:14 +0000 (22:26 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ubi

14 years agompc83xx: don't shift pre-shifted ACR, SPCR, SCCR bitfield masks in cpu_init.c
Kim Phillips [Wed, 19 May 2010 22:06:46 +0000 (17:06 -0500)]
mpc83xx: don't shift pre-shifted ACR, SPCR, SCCR bitfield masks in cpu_init.c

commit c7190f028fa950d4d36b6d0b4bb3fc72602ec54c "mpc83xx:
retain POR values of non-configured ACR, SPCR, SCCR, and LCRR
bitfields" incorrectly shifted <register>_<bitfield> (e.g.
ACR_PIPE_DEP) values that were preshifted by their
definition in mpc83xx.h.

this patch removes the unnecessary shifting for the newly
utilized mask values in cpu_init.c, and prevents seemingly
unrelated symptoms such as an mpc8379erdb board from
locking up whilst performing a networking operation,
e.g. a tftp.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
14 years agoFixed two typos in arch/powerpc/cpu/mpc83xx/start.S.
Horst Kronstorfer [Tue, 18 May 2010 08:37:05 +0000 (10:37 +0200)]
Fixed two typos in arch/powerpc/cpu/mpc83xx/start.S.

Signed-off-by: Horst Kronstorfer <hkronsto@frequentis.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-imx
Wolfgang Denk [Fri, 21 May 2010 20:22:23 +0000 (22:22 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-imx

14 years agoFix "par[t]ition" typo.
Wolfgang Denk [Tue, 17 Nov 2009 20:27:39 +0000 (21:27 +0100)]
Fix "par[t]ition" typo.

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agos5pc1xx: goni: change board name from neptune to goni JE02_20100520
Minkyu Kang [Thu, 20 May 2010 04:13:15 +0000 (13:13 +0900)]
s5pc1xx: goni: change board name from neptune to goni

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agousbd: Erase the qboot also when write ubi image
Minkyu Kang [Thu, 20 May 2010 00:34:49 +0000 (09:34 +0900)]
usbd: Erase the qboot also when write ubi image

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoUBI: Fix problem in UBI/Linux "compatibility layer"
Stefan Roese [Mon, 17 May 2010 08:01:05 +0000 (10:01 +0200)]
UBI: Fix problem in UBI/Linux "compatibility layer"

"down_write_trylock" needs to return 1 instead of 0 for success.
Otherwise copying a block with a read error (e.g. bit-flip on read)
won't work correctly.

Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoUBI: Ensure that "background thread" operations are really executed
Stefan Roese [Mon, 17 May 2010 08:00:51 +0000 (10:00 +0200)]
UBI: Ensure that "background thread" operations are really executed

The current U-Boot UBI implementation is copied from Linux. In this
porting the UBI background thread was not handled correctly. Upon write
operations ubi_wl_flush() makes sure, that all queued operations, like
page-erase, are completed. But this is missing for read operations.

This patch now makes sure that such operations (like scrubbing upon
bit-flip errors) are not queued, but executed directly.

Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoMX31: Added support for the Casio COM57H5M10XRC to QONG
Stefano Babic [Thu, 13 May 2010 08:26:40 +0000 (10:26 +0200)]
MX31: Added support for the Casio COM57H5M10XRC to QONG

The patch adds setup to connect a CASIO COM57H5M10XRC
(640x480 TFT display) to the QONG module.

Signed-off-by: Stefano Babic <sbabic@denx.de>
14 years agofsl_diu_fb.c: fix build warnings
Wolfgang Denk [Mon, 17 May 2010 21:34:18 +0000 (23:34 +0200)]
fsl_diu_fb.c: fix build warnings

Commit 15351855 "fsl-diu: Using I/O accessor to CCSR space" caused a
number of "passing argument 2 of 'out_be32' makes integer from pointer
without a cast" warnings; fix these.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Dave Liu <daveliu@freescale.com>
Cc: Jerry Huang <Chang-Ming.Huang@freescale.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
14 years agoAvoid use of divides in print_size
Nick Thompson [Tue, 11 May 2010 10:29:52 +0000 (11:29 +0100)]
Avoid use of divides in print_size

Modification of print_size to avoid use of divides and especially
long long divides. Keep the binary scale factor in terms of bit
shifts instead. This should be faster, since the previous code
gave the compiler no clues that the divides where always powers
of two, preventing optimisation.

Signed-off-by: Nick Thompson <nick.thompson@ge.com>
Acked-by: Timur Tabi <timur@freescale.com>
14 years agolan91c96, smc911x: remove useless free(ptr) calls on NULL ptr
Serge Ziryukin [Mon, 10 May 2010 14:40:49 +0000 (17:40 +0300)]
lan91c96, smc911x: remove useless free(ptr) calls on NULL ptr

Signed-off-by: Serge Ziryukin <ftrvxmtrx@gmail.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc83xx
Wolfgang Denk [Mon, 17 May 2010 21:16:08 +0000 (23:16 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Mon, 17 May 2010 21:14:41 +0000 (23:14 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Wolfgang Denk [Mon, 17 May 2010 21:11:21 +0000 (23:11 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx

14 years agoFix SICRL setting in SIMPC8313
Ron Madrid [Fri, 14 May 2010 23:27:48 +0000 (16:27 -0700)]
Fix SICRL setting in SIMPC8313

This patch sets the SICRL_LBC bits in SICRL to change the function of the
associated pins to GPIO functionality.

Signed-off-by: Ron Madrid <ron_madrid@sbcglobal.net>
14 years agompc83xx: fix NAND bootstrap too big error
Kim Phillips [Fri, 14 May 2010 18:18:54 +0000 (13:18 -0500)]
mpc83xx: fix NAND bootstrap too big error

commit 167cdad1372917bc11c636c359aad02625291fa9 "SERIAL: Enable
port-mapped access" inadvertently broke 83xx nand boards by
converting NS16550_init to use io accessors, which expanded
the size of the generated code.

this patch fixes the problem by removing icache functions from
the nand builds, which somewhat follows commit
1a2e203b31d33fb720f2cf1033b241ad36ab405a "mpc83xx: turn on icache
in core initialization to improve u-boot boot time"

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
14 years agoRemoval of checkboard from spl bootstrap build for SIMPC8313
Ron Madrid [Mon, 10 May 2010 22:23:20 +0000 (15:23 -0700)]
Removal of checkboard from spl bootstrap build for SIMPC8313

This patch removes the checkboard function from the build of
the 4k bootstrap section for the SIMPC8313 as it is not needed
in the spl build.  This will allow > 100 bytes of extra room
for other uses.

Signed-off-by: Ron Madrid <ron_madrid@sbcglobal.net>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
14 years agoppc4xx: Fix building PLU405 board
Matthias Fuchs [Tue, 11 May 2010 07:54:00 +0000 (09:54 +0200)]
ppc4xx: Fix building PLU405 board

Due to some overlapping sections it's time to update TEXT_BASE
for this board.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoMakefile: fix out-of-tree building of "u-boot.img" target
Wolfgang Denk [Sat, 15 May 2010 19:23:51 +0000 (21:23 +0200)]
Makefile: fix out-of-tree building of "u-boot.img" target

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoMVBLM7, MVSMR: fix Makefile (cleanup bootscript.img)
Wolfgang Denk [Sat, 15 May 2010 18:22:21 +0000 (20:22 +0200)]
MVBLM7, MVSMR: fix Makefile (cleanup bootscript.img)

Fix MVBLM7 and MVSMR Makefiles for correct out-of-tree building
(create "bootscript.img" in build directory instead of source
directory) and cleanup (remove "bootscript.img" when cleaning up).

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Andre Schwarz <andre.schwarz@matrix-vision.de>
14 years agoARM: add __aeabi_unwind_cpp_pr0() function to avoid linker complaints
Wolfgang Denk [Mon, 10 May 2010 21:08:02 +0000 (23:08 +0200)]
ARM: add __aeabi_unwind_cpp_pr0() function to avoid linker complaints

Signed-off-by: Wolfgang Denk <wd@denx.de>
Tested-by: Thomas Weber <weber@corscience.de>
14 years agodrivers/mmc/fsl_esdhc.c: fix compiler warnings
Wolfgang Denk [Sun, 9 May 2010 21:52:59 +0000 (23:52 +0200)]
drivers/mmc/fsl_esdhc.c: fix compiler warnings

Commit 77c1458d caused the following compiler warnings:

fsl_esdhc.c: In function 'esdhc_pio_read_write':
fsl_esdhc.c:142: warning: assignment discards qualifiers from pointer target type
fsl_esdhc.c: In function 'esdhc_setup_data':
fsl_esdhc.c:169: warning: unused variable 'wml_value'
fsl_esdhc.c: In function 'esdhc_pio_read_write':
fsl_esdhc.c:164: warning: control reaches end of non-void function

Fix these.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Dipen Dudhat <dipen.dudhat@freescale.com>
Cc: Andy Fleming <afleming@freescale.com>