kernel/u-boot.git
14 years agoBUILD: Update toolchain path for dofmind
Joonyoung Shim [Thu, 11 Mar 2010 01:20:43 +0000 (10:20 +0900)]
BUILD: Update toolchain path for dofmind

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agos5pc110: aquila: OneNAND Sync Write support & clock gate
Kyungmin Park [Thu, 11 Mar 2010 00:55:19 +0000 (09:55 +0900)]
s5pc110: aquila: OneNAND Sync Write support & clock gate

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc100: OneNAND: Handle sync write support
Kyungmin Park [Thu, 11 Mar 2010 00:54:52 +0000 (09:54 +0900)]
s5pc100: OneNAND: Handle sync write support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoBUILD: Update gcc 4.4.1 for kmpark
Kyungmin Park [Thu, 11 Mar 2010 00:53:53 +0000 (09:53 +0900)]
BUILD: Update gcc 4.4.1 for kmpark

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoadd dummy function for arm2009q3 toolchain
Minkyu Kang [Wed, 10 Mar 2010 08:23:48 +0000 (17:23 +0900)]
add dummy function for arm2009q3 toolchain

arm2009q3 toolchain generate bellow linking error.
undefined reference to `__aeabi_unwind_cpp_pr0'

This patch fix this problem. (workaround)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: p1p2: remove duplicated function
Minkyu Kang [Wed, 10 Mar 2010 04:25:32 +0000 (13:25 +0900)]
s5pc110: p1p2: remove duplicated function

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: universal: function name change machine_is_* to mach_is_*
Minkyu Kang [Wed, 10 Mar 2010 04:13:56 +0000 (13:13 +0900)]
s5pc1xx: universal: function name change machine_is_* to mach_is_*

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot
Minkyu Kang [Wed, 10 Mar 2010 02:19:51 +0000 (11:19 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

14 years agos5pc110:p1:adapt the new modem partition JC06_20100309
inbum.choi [Tue, 9 Mar 2010 00:28:31 +0000 (09:28 +0900)]
s5pc110:p1:adapt the new modem partition

Signed-off-by: inbum.choi <inbum.choi@samsung.com>
14 years agos5pc1xx: universal: add ubi for modem JC05_20100308
Minkyu Kang [Mon, 8 Mar 2010 08:06:37 +0000 (17:06 +0900)]
s5pc1xx: universal: add ubi for modem

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoAT91: Update otc570 board to new SoC access
Daniel Gorsulowski [Thu, 11 Feb 2010 13:57:04 +0000 (14:57 +0100)]
AT91: Update otc570 board to new SoC access

* convert otc570 board to use c stucture SoC access
* change gpio access to at91_gpio syntax

Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
14 years agoupdates the at91 main_clock calculation
Jens Scharsig [Sun, 14 Feb 2010 11:20:43 +0000 (12:20 +0100)]
updates the at91 main_clock calculation

* updates the conditional main_clock calculation (if AT91_MAIN_CLOCK defined) to c structure SoC access
 * add need register flags

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
14 years agoarm: kirkwood: suen3: fixed build warning
Prafulla Wadaskar [Wed, 3 Mar 2010 09:57:37 +0000 (15:27 +0530)]
arm: kirkwood: suen3: fixed build warning

This patch fixes following build warning

Invalid Kwbimage command Type - valid names are: BOOT_FROM, NAND_ECC_MODE, NAND_PAGE_SIZE, SATA_PIO_MODE, DDR_INIT_DELAY, DATA, , spi, nand, sata, pex, uart

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
14 years agoMX51: removed warnings for the mx51evk
Stefano Babic [Fri, 5 Mar 2010 16:54:37 +0000 (17:54 +0100)]
MX51: removed warnings for the mx51evk

The patch removes warnings at compile time and provides
some cleanup code:
- Removed comment on NAND (not yet supported) from lowlevel_init.S
- Removed NFMS bit definition from imx-regs.h
  The bit is only related to MX.25/35 and can lead to confusion
- Moved is_soc_rev() to soc specific code (removed from mx51evk.c)

Signed-off-by: Stefano Babic <sbabic@denx.de>
14 years agoSPEAr : Supporting new mach ids for spear310 and spear320
Vipin Kumar [Tue, 2 Mar 2010 05:16:52 +0000 (10:46 +0530)]
SPEAr : Supporting new mach ids for spear310 and spear320

Supporting new machine ids for SoCs spear310 and spear320

include/asm-arm/mach-types.h has to be updated before applying
this patch for build to work

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
14 years agoarm, suen3: fix compile error, if doing not a local build
Heiko Schocher [Mon, 1 Mar 2010 14:58:18 +0000 (15:58 +0100)]
arm, suen3: fix compile error, if doing not a local build

Signed-off-by: Heiko Schocher <hs@denx.de>
14 years agoarm: add support for the suen3 board from keymile
Heiko Schocher [Mon, 22 Feb 2010 11:13:02 +0000 (16:43 +0530)]
arm: add support for the suen3 board from keymile

Add support for the ARM part of the mgcoge2, named suen3.
This board is based on the Marvell Kirkwood (88F6281) SoC.
As there come more board variants, common config options
are collected in include/configs/km_arm.h. Also, this board
use common code for all keymile boards, which is stored in
board/keymile/common/common.c

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Heiko Schocher <hs@denx.de>
14 years agoAdd support for KARO TX25 board
John Rigby [Tue, 26 Jan 2010 06:12:58 +0000 (23:12 -0700)]
Add support for KARO TX25 board

This is an i.MX25 base board with only NAND
so it uses nand_spl to boot.

Signed-off-by: John Rigby <jcrigby@gmail.com>
Tune configuration, add support for (redundant) environment in NAND.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Acked-by: Wolfgang Denk <wd@denx.de>
CC: Fred Fan <fanyefeng@gmail.com>
CC: Tom <Tom.Rix@windriver.com>
14 years agofec_mxc: add MX25 support
John Rigby [Tue, 26 Jan 2010 06:12:57 +0000 (23:12 -0700)]
fec_mxc: add MX25 support

Use RMII for MX25
Add code to init gasket that enables RMII

Signed-off-by: John Rigby <jcrigby@gmail.com>
CC: Ben Warren <biggerbadderben@gmail.com>
14 years agofec_mxc: cleanup and factor out MX27 dependencies
John Rigby [Tue, 26 Jan 2010 06:12:55 +0000 (23:12 -0700)]
fec_mxc: cleanup and factor out MX27 dependencies

general cleanup
move clock init to cpu_eth_init in cpu/arm926ejs/mx27/generic.c
make MX27 specific phy init conditional on CONFIG_MX27
replace call to imx_get_ahbclk with one to imx_get_fecclk
and define imx_get_fecclk in include/asm-arm/arch-mx27/clock.h

Signed-off-by: John Rigby <jcrigby@gmail.com>
CC: Ben Warren <biggerbadderben@gmail.com>
CC: Fred Fan <fanyefeng@gmail.com>
CC: Tom <Tom.Rix@windriver.com>
14 years agoAdd support for Freescale MX25 SOC
John Rigby [Tue, 26 Jan 2010 06:12:56 +0000 (23:12 -0700)]
Add support for Freescale MX25 SOC

ARM926EJS core with MX31 peripherals.

Signed-off-by: John Rigby <jcrigby@gmail.com>
Earlier Version Signed-off-by: Wolfgang Denk <wd@denx.de>
CC: Fred Fan <fanyefeng@gmail.com>
CC: Tom <Tom.Rix@windriver.com>
14 years agomxc_serial replace platform specific clock
John Rigby [Tue, 26 Jan 2010 06:12:51 +0000 (23:12 -0700)]
mxc_serial replace platform specific clock

remove ifdef'd clock selection code from
serial_mxc.c and replace with call to imx_get_uartclk

Add definitions for imx_get_uartclk to imx31 and imx27
include files.

This makes it easier to add new imx platforms.

Signed-off-by: John Rigby <jcrigby@gmail.com>
14 years agoAdd initial support for Freescale mx51evk board
Stefano Babic [Fri, 5 Feb 2010 14:13:58 +0000 (15:13 +0100)]
Add initial support for Freescale mx51evk board

The patch adds initial support for the Freescale mx51evk board.
Network (FEC) and SD controller (fsl_esdhc) are supported.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Fred Fan <fanyefeng@gmail.com>
14 years agofsl_esdhc: add support for mx51 processor
Stefano Babic [Fri, 5 Feb 2010 14:11:27 +0000 (15:11 +0100)]
fsl_esdhc: add support for mx51 processor

The esdhc controller in the mx51 processor is quite
the same as the one in some powerpc processors
(MPC83xx, MPC85xx). This patches adapts the driver
to support the arm mx51.

Signed-off-by: Stefano Babic <sbabic@denx.de>
14 years agoARM: add accessors functions
Stefano Babic [Fri, 5 Feb 2010 14:07:33 +0000 (15:07 +0100)]
ARM: add accessors functions

Some Freescale's processors of different architecture
have the same peripheral (eSDHC controller in PowerPC
and i.MX51). This patch adds accessors for
the internal registers of the SOCs, as already
implemented in the PowerPC architecture.

Signed-off-by: Stefano Babic <sbabic@denx.de>
14 years agoMMC: add weak function to detect MMC/SD card
Stefano Babic [Fri, 5 Feb 2010 14:04:43 +0000 (15:04 +0100)]
MMC: add weak function to detect MMC/SD card

Most controllers can check if there is a card in the slot.
However, they require pins that could be not available because
required by other functions and the detection of a card must
be performed in another way. This patch adds a weak function
that a board can implement to add its internal custom way
to check the presence of a MMC/SD card.

Signed-off-by: Stefano Babic <sbabic@denx.de>
14 years agommc: check correctness of the voltage mask in ocr
Stefano Babic [Wed, 20 Jan 2010 17:20:39 +0000 (18:20 +0100)]
mmc: check correctness of the voltage mask in ocr

Most cards do not answer if some reserved bits
in the ocr are set. However, some controllers
can set bit 7 (reserved for low voltages), but
how to manage low voltages SD card is not yet
specified.

Signed-off-by: Stefano Babic <sbabic@denx.de>
14 years agoserial_mxc: add support for MX51 processor
Stefano Babic [Wed, 20 Jan 2010 17:20:19 +0000 (18:20 +0100)]
serial_mxc: add support for MX51 processor

The patch adds support for the Freescale mx51 processor.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Fred Fan <fanyefeng@gmail.com>
14 years agoMX51: Add pin and multiplexer definitions.
Stefano Babic [Wed, 20 Jan 2010 17:20:04 +0000 (18:20 +0100)]
MX51: Add pin and multiplexer definitions.

The patch add header files to support the pin multiplexer
of the the Freescale i.MX51 processor.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Fred Fan <fanyefeng@gmail.com>
14 years agoMX51: Add register definitions
Stefano Babic [Wed, 20 Jan 2010 17:19:51 +0000 (18:19 +0100)]
MX51: Add register definitions

The patch add header files to support the Freescale i.MX51
processor, setting definitions for internal registers.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Fred Fan <fanyefeng@gmail.com>
14 years agoMX51: Add initial support for the Freescale MX51
Stefano Babic [Wed, 20 Jan 2010 17:19:32 +0000 (18:19 +0100)]
MX51: Add initial support for the Freescale MX51

The patch add initial support for the Freescale i.MX51 processor
(family arm cortex_a8).

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Fred Fan <fanyefeng@gmail.com>
14 years agoedb93xx: Fix SDRAM initialization
Matthias Kaehlcke [Wed, 24 Feb 2010 18:45:39 +0000 (19:45 +0100)]
edb93xx: Fix SDRAM initialization

edb93xx: Fix SDRAM initialization by issuing a precharge all command before
forcing the precharge and select mode register update mode before programming
the mode registers. Write to the SDRAM banks in order to force a precharge,
reading causes the edb93xx boards to hang

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
14 years agoAdd bootcount to AT91
Anders Darander [Thu, 25 Feb 2010 14:57:03 +0000 (15:57 +0100)]
Add bootcount to AT91

Use AT91_GPBR 3 as a bootcount register.
The bootmagic and the bootcount shares AT91_GPBR 3.

Signed-off-by: Anders Darander <ad@datarespons.se>
14 years agoARM Update mach-types
Tom Rix [Thu, 25 Feb 2010 18:05:32 +0000 (12:05 -0600)]
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 aea187c46f7d03ce985e55eb1398d0776a15b928

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
14 years agoep93xx: Refactoring of timer code
Matthias Kaehlcke [Tue, 23 Feb 2010 23:22:09 +0000 (00:22 +0100)]
ep93xx: Refactoring of timer code

ep93xx: Refactoring of the timer code, including the following changes

 * use a free running timer instead of a periodical one
 * use unsigned long long for total number of ticks
 * hold the timer state in a structure instead of separate variables
 * increment the timer counter instead of decrementing it
 * remove unused function udelay_masked()
 * remove unused function set_timer()

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
14 years agoep93xx: Fix calculation of sys ticks in clk_to_systicks()
Matthias Kaehlcke [Tue, 23 Feb 2010 23:22:00 +0000 (00:22 +0100)]
ep93xx: Fix calculation of sys ticks in clk_to_systicks()

ep93xx: Use unsigned long long for calculation of sys ticks in clk_to_systicks()
for proper handling of large intermediate values

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
14 years agoOMAP3: workaround for ARM Cortex-A8 erratum 725233
Siarhei Siamashka [Wed, 24 Feb 2010 04:56:36 +0000 (23:56 -0500)]
OMAP3: workaround for ARM Cortex-A8 erratum 725233

725233: PLD instructions executed with PLD data forwarding
enabled can result in a processor deadlock

This deadlock can happen when NEON load instructions are used together
with cache preload instructions (PLD). The problematic conditions
can be triggered in-the-wild by NEON optimized functions from pixman
library (http://cgit.freedesktop.org/pixman), which perform dynamic
adjustment of prefetch distance.

The workaround disables PLD data forwarding by setting PLD_FWD bit
in L2 Cache Auxiliary Control Register as recommended in ARM Cortex-A8
errata list.

The deadlock can only happen on r1pX revisions of Cortex-A8 (used in
OMAP34xx/OMAP35xx). Performance impact of the workaround is practically
non-existant.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoARM change name of defines for AT91 arm926ejs
Achim Ehrlich [Wed, 24 Feb 2010 09:29:16 +0000 (10:29 +0100)]
ARM change name of defines for AT91 arm926ejs

Configuration defines should be preceeded with CONFIG_SYS_. Renamed
some at91 specific defines to conform to this naming convention:

AT91_CPU_NAME to CONFIG_SYS_AT91_CPU_NAME
AT91_MAIN_CLOCK to CONFIG_SYS_AT91_MAIN_CLOCK

Signed-off-by: Achim Ehrlich <aehrlich@taskit.de>
14 years agoVoiceBlue: fix linker errors
Ladislav Michl [Thu, 18 Feb 2010 02:29:45 +0000 (21:29 -0500)]
VoiceBlue: fix linker errors

linking eeprom with libgeneric.a is not really needed and causes following
error:
../../lib_generic/libgeneric.a(string.o): In function `strcmp':
/home/ladis/src/u-boot-ti/lib_generic/string.c:152: multiple definition of `strcmp'
../../examples/standalone/libstubs.a(stubs.o):include/_exports.h:24: first defined here
make[1]: *** [eeprom.srec] Error 1

Fix undefined reference to memset generated by some versions of gcc
to zero out initialized structure on the stack:
eeprom.o: In function `eeprom':
board/voiceblue/eeprom.c:152: undefined reference to `memset'
make[1]: *** [eeprom] Error 1

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoVoiceBlue: limit line lenght to 80 characters
Ladislav Michl [Thu, 18 Feb 2010 02:29:39 +0000 (21:29 -0500)]
VoiceBlue: limit line lenght to 80 characters

Reindent configuration header to limit line lenght to 80 characters by
removing obvious and sometimes misleading comments.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agonetstar.h: do not exceed 80 columns
Ladislav Michl [Thu, 18 Feb 2010 02:13:53 +0000 (21:13 -0500)]
netstar.h: do not exceed 80 columns

Limit line length to 80 characters mostly by removing obvious and sometimes
misleading comments. Fix indentation, too.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoDaVinci: Adding entry to MAKEALL for DM365 EVM
Sandeep Paulraj [Thu, 18 Feb 2010 02:09:21 +0000 (21:09 -0500)]
DaVinci: Adding entry to MAKEALL for DM365 EVM

The patch adds an entry for the DM365 EVM to MAKEALL

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoda830evm: Add support for TI EMAC
Nick Thompson [Thu, 18 Feb 2010 01:37:24 +0000 (20:37 -0500)]
da830evm: Add support for TI EMAC

Adds support for ethernet networking on the da830evm platform.

This platform uses an SoC EMAC interface and a 3 port ethernet
switch as a PHY with an RMII interface. The PHY also has a i2c
interface for configuring the switch functions.

Signed-off-by: Nick Thompson <nick.thompson@ge.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoNetStar: make mtdparts default ready for recent kernels
Ladislav Michl [Mon, 8 Feb 2010 19:19:06 +0000 (14:19 -0500)]
NetStar: make mtdparts default ready for recent kernels

Recent kernels are using generic NAND and NOR drivers. Change
default mtdparts to reflect it.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoNetStar: fix default environment
Ladislav Michl [Mon, 8 Feb 2010 19:17:45 +0000 (14:17 -0500)]
NetStar: fix default environment

Correct switching partitions after upgrade and make it more readable.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoNetStar: eeprom - fix linker error
Ladislav Michl [Mon, 8 Feb 2010 19:15:47 +0000 (14:15 -0500)]
NetStar: eeprom - fix linker error

linking eeprom with libgeneric.a is not really needed and causes following
error:
../../lib_generic/libgeneric.a(string.o): In function `strcmp':
lib_generic/string.c:152: multiple definition of `strcmp'
../../examples/standalone/libstubs.a(stubs.o):include/_exports.h:24: first defined here
Remove eeprom linker script as well and generate entry point object
(to start application by jumping on its beginning) on the fly.
Out-of-tree build tested as well.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoNetStar: eeprom - be less verbose
Ladislav Michl [Mon, 8 Feb 2010 19:15:43 +0000 (14:15 -0500)]
NetStar: eeprom - be less verbose

Use shorter yet descriptive messages, replace printf() with
puts() where appropriate. This saves few bytes.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoNetStar: eeprom - undefined reference to `memset'
Ladislav Michl [Mon, 8 Feb 2010 19:15:15 +0000 (14:15 -0500)]
NetStar: eeprom - undefined reference to `memset'

Defining partially initialized struct eth_device on stack means
gcc has to zero out it, and some gcc versions optimize this with
an implicit call to memset. Move definition to data section
to avoid that (it has also nice side effect that we need not
to pass it to helper functions anymore)

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agos5pc110: Fix DMC1 200MHz Timing Row and set EMRS
Kyungmin Park [Fri, 5 Mar 2010 09:34:17 +0000 (18:34 +0900)]
s5pc110: Fix DMC1 200MHz Timing Row and set EMRS

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc1xx: remove unnecessary codes JC04_20100305
Minkyu Kang [Fri, 5 Mar 2010 04:34:27 +0000 (13:34 +0900)]
s5pc1xx: remove unnecessary codes

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: sleep: codes clean up
Minkyu Kang [Fri, 5 Mar 2010 02:03:28 +0000 (11:03 +0900)]
s5pc1xx: sleep: codes clean up

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: neptune: enable brightness control
Donghwa Lee [Fri, 5 Mar 2010 01:48:39 +0000 (10:48 +0900)]
s5pc1xx: neptune: enable brightness control

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-cfi-flash
Wolfgang Denk [Thu, 4 Mar 2010 20:30:01 +0000 (21:30 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Thu, 4 Mar 2010 20:28:46 +0000 (21:28 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

14 years agoMerge branch 'next' of git://git.denx.de/u-boot-coldfire
Wolfgang Denk [Thu, 4 Mar 2010 20:24:44 +0000 (21:24 +0100)]
Merge branch 'next' of git://git.denx.de/u-boot-coldfire

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-sh
Wolfgang Denk [Thu, 4 Mar 2010 20:11:55 +0000 (21:11 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-sh

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc83xx
Wolfgang Denk [Thu, 4 Mar 2010 20:09:02 +0000 (21:09 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx

14 years agos5pc110: haydn: Modify board detection
Joonyoung Shim [Thu, 4 Mar 2010 11:07:39 +0000 (20:07 +0900)]
s5pc110: haydn: Modify board detection

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years ago] fix monitor protection for CONFIG_MONITOR_IS_IN_RAM
Wolfgang Wegner [Tue, 2 Mar 2010 09:59:19 +0000 (10:59 +0100)]
] fix monitor protection for CONFIG_MONITOR_IS_IN_RAM

For platforms with flash below ram addresses, the current check to
activate monitor protection is wrong/insufficient. This patch fixes
CONFIG_MONITOR_IS_IN_RAM for these systems by adding a check for
this configuration.

Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoallow MCF532x to use CONFIG_MONITOR_IS_IN_RAM
Wolfgang Wegner [Tue, 2 Mar 2010 09:59:20 +0000 (10:59 +0100)]
allow MCF532x to use CONFIG_MONITOR_IS_IN_RAM

CONFIG_MONITOR_IS_IN_RAM is broken for MCF532x. This patch fixes this
 by conditionally
- removing the vector table at the beginning of code
- not overwriting the vector base register
- removing the code to re-set the PLL, which effectively disables
  SDRAM access

Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
14 years agoMCF5271-only: Added a weak board_reset function to allow custom reset
Richard Retanubun [Mon, 26 Oct 2009 18:19:17 +0000 (14:19 -0400)]
MCF5271-only: Added a weak board_reset function to allow custom reset

This patch adds a board_reset function to allow boards to specify
their own custom reset sequence (e.g. resetting by timing out watchdog).
Tested only on MCF5271, can be expanded if needed.

Based on Mike Frysinger's suggestion on:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/70304

Signed-off-by: Richard Retanubun <RichardRetanubun at RuggedCom.com>
14 years agoMCF532x: make icache_enable use CONFIG_SYS_SDRAM_SIZE
Wolfgang Wegner [Wed, 28 Oct 2009 20:11:00 +0000 (15:11 -0500)]
MCF532x: make icache_enable use CONFIG_SYS_SDRAM_SIZE

in cpu/mcf532x/start.S, the function icache_enable enables the cache for
a fixed 32MB region starting at the SDRAM start address; this patch
changes the function to cover the region defined by CONFIG_SYS_SDRAM_SIZE

Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
14 years agoadd include/asm-m68k/unaligned.h
Wolfgang Wegner [Wed, 9 Dec 2009 22:32:12 +0000 (17:32 -0500)]
add include/asm-m68k/unaligned.h

lib_generic/zlib.c needs include/asm/unaligned.h since commit
cd514aeb996e2f7aefbe1f78481965d9d074aed4, which broke compilation for
Coldfire/M68K. This patch adds the missing header for these
architectures.

Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
14 years agos5pc110: Use hwrev3 pin number JC03_20100304
Kyungmin Park [Thu, 4 Mar 2010 04:51:32 +0000 (13:51 +0900)]
s5pc110: Use hwrev3 pin number

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: Kessler: S1 board detection
Kyungmin Park [Thu, 4 Mar 2010 02:44:16 +0000 (11:44 +0900)]
s5pc110: Kessler: S1 board detection

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: Remove unused power control devices
Kyungmin Park [Thu, 4 Mar 2010 01:26:41 +0000 (10:26 +0900)]
s5pc110: Remove unused power control devices

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc1xx: universal: remove 3 touch related codes
Minkyu Kang [Thu, 4 Mar 2010 01:11:50 +0000 (10:11 +0900)]
s5pc1xx: universal: remove 3 touch related codes

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: Rename KESSLER_BOARD from ARIES_BOARD
Kyungmin Park [Thu, 4 Mar 2010 01:01:45 +0000 (10:01 +0900)]
s5pc110: Rename KESSLER_BOARD from ARIES_BOARD

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: haydn: Add board detection
Joonyoung Shim [Thu, 4 Mar 2010 00:11:28 +0000 (09:11 +0900)]
s5pc110: haydn: Add board detection

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agousbd: version update JC02_20100303
Minkyu Kang [Wed, 3 Mar 2010 05:24:06 +0000 (14:24 +0900)]
usbd: version update

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agosh: Add asm/unaligned.h and asm/unaligned-sh4a.h from Linux kernel
Nobuhiro Iwamatsu [Mon, 8 Feb 2010 02:50:16 +0000 (11:50 +0900)]
sh: Add asm/unaligned.h and asm/unaligned-sh4a.h from Linux kernel

zlib.c demands asm/unaligned.h. But, SH does not have these.
This commit add asm/unaligned.h and asm/unaligned-sh4a.h from Linux
kernel and modifyf for u-boot.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14 years agos5pc110: p1: modify modem partition
jinmo.sung [Wed, 3 Mar 2010 03:13:27 +0000 (12:13 +0900)]
s5pc110: p1: modify modem partition

Signed-off-by: jinmo.sung <jm0302.sung@samsung.com>
14 years agoMerge branch 'master' of jaehoon@party:/pub/git/u-boot-s5pc1xx
Jaehoon Chung [Wed, 3 Mar 2010 01:28:49 +0000 (10:28 +0900)]
Merge branch 'master' of jaehoon@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc110: mmc: checked moviNAND version
Jaehoon Chung [Wed, 3 Mar 2010 01:27:38 +0000 (10:27 +0900)]
s5pc110: mmc: checked moviNAND version
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agompc83xx: fix out-of-tree mpc8315 nand build
Kim Phillips [Mon, 1 Mar 2010 17:10:17 +0000 (11:10 -0600)]
mpc83xx: fix out-of-tree mpc8315 nand build

commit 2e95004deb6e33e33bf1b8a92a38cd2115bac4c2 "mpc83xx: Add NAND boot support
for MPC8315E-RDB boards" symlinked nand_spl/board/freescale/mpc8315erdb to
mpc8313erdb in order to not duplicate code.

Since the main makefile builds nand_spl/board/$(BOARDDIR) (which makes sense),
and the board Makefile and linker script are the only two necessary files
to enable out-of-tree building, and other boards have duplicated nand makefiles
(e.g. 8536ds & 8569mds), it only seems prudent to copy these two files in the
name of the 8315 too.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Cc: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: Wolfgang Denk <wd@denx.de>
14 years agompc83xx: vme8349: fix incorrect BR0_PRELIM port size comment
Kim Phillips [Tue, 23 Feb 2010 01:39:16 +0000 (19:39 -0600)]
mpc83xx: vme8349: fix incorrect BR0_PRELIM port size comment

commit 98d92d8c9f4021629a45261ad5ec3f3595f3a27a "sbc8349: fix incorrect
comment" missed this one.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
14 years agoppc4xx: Corrected EBC register bit definitions
Eugene O'Brien [Wed, 24 Feb 2010 19:10:24 +0000 (14:10 -0500)]
ppc4xx: Corrected EBC register bit definitions

Corrected the bit field positions of the external master priority low
and the external master priority high values in the EBC configuration
register. These bit field positions differ between PPC405 and PPC440
processors

Signed-off-by: Eugene O'Brien <eugene.obrien@advantechamt.com>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agos5pc1xx: universal: fsa9480 interrupt clear at booting
Minkyu Kang [Tue, 2 Mar 2010 10:31:22 +0000 (19:31 +0900)]
s5pc1xx: universal: fsa9480 interrupt clear at booting

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: mmc: bug fixed
Jaehoon Chung [Tue, 2 Mar 2010 07:52:44 +0000 (16:52 +0900)]
s5pc110: mmc: bug fixed
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agoRevert "s5pc110: mmc: modified moviNAND version"
Jaehoon Chung [Tue, 2 Mar 2010 01:22:03 +0000 (10:22 +0900)]
Revert "s5pc110: mmc: modified  moviNAND version"

This reverts commit bd706a17fce83e41e045a5d27f62a88ddfcfb224.

14 years agos5pc110: mmc: modified moviNAND version JC01_20100301
Jaehoon Chung [Sat, 27 Feb 2010 09:08:57 +0000 (18:08 +0900)]
s5pc110: mmc: modified  moviNAND version
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agos5pc110: mmc: code clean up JB19_20100227
Jaehoon Chung [Sat, 27 Feb 2010 08:09:59 +0000 (17:09 +0900)]
s5pc110: mmc: code clean up
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agos5pc110: compiler warning removed JB18_20100226
Donghwa Lee [Fri, 26 Feb 2010 08:25:16 +0000 (17:25 +0900)]
s5pc110: compiler warning removed

14 years agos5pc1xx: move LCD spi function to s5p-spi.c
Donghwa Lee [Fri, 26 Feb 2010 06:46:02 +0000 (15:46 +0900)]
s5pc1xx: move LCD spi function to s5p-spi.c

14 years agousbd: use contant instead of variable
Minkyu Kang [Fri, 26 Feb 2010 06:19:05 +0000 (15:19 +0900)]
usbd: use contant instead of variable

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: usb: codes clean up
Minkyu Kang [Fri, 26 Feb 2010 06:12:49 +0000 (15:12 +0900)]
s5pc1xx: usb: codes clean up

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: usb: remove unused features
Minkyu Kang [Fri, 26 Feb 2010 05:51:53 +0000 (14:51 +0900)]
s5pc1xx: usb: remove unused features

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: usb: remove unused functions
Minkyu Kang [Fri, 26 Feb 2010 05:42:44 +0000 (14:42 +0900)]
s5pc1xx: usb: remove unused functions

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: usb: make functions to static
Minkyu Kang [Fri, 26 Feb 2010 05:35:54 +0000 (14:35 +0900)]
s5pc1xx: usb: make functions to static

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: usb: combine two functions to s5p_usb_soft_disconnect
Minkyu Kang [Fri, 26 Feb 2010 05:26:35 +0000 (14:26 +0900)]
s5pc1xx: usb: combine two functions to s5p_usb_soft_disconnect

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Fri, 26 Feb 2010 05:16:50 +0000 (14:16 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc1xx: usb: remove full speed related codes (doesn't need)
Minkyu Kang [Fri, 26 Feb 2010 05:16:00 +0000 (14:16 +0900)]
s5pc1xx: usb: remove full speed related codes (doesn't need)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc11x device_info: reduce the size, empty buffer if the previous values are not...
MyungJoo Ham [Fri, 26 Feb 2010 05:09:56 +0000 (14:09 +0900)]
s5pc11x device_info: reduce the size, empty buffer if the previous values are not needed.

14 years agos5pc1xx: wrong function name corrected
Donghwa Lee [Fri, 26 Feb 2010 05:00:50 +0000 (14:00 +0900)]
s5pc1xx: wrong function name corrected

14 years agos5pc11x: reduce tl2796 lcd driver size
Donghwa Lee [Fri, 26 Feb 2010 04:58:21 +0000 (13:58 +0900)]
s5pc11x: reduce tl2796 lcd driver size

14 years agousbd: reduce rx buffer size
Minkyu Kang [Fri, 26 Feb 2010 04:48:40 +0000 (13:48 +0900)]
usbd: reduce rx buffer size

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: aquila: Don't support NFS feature at default
Kyungmin Park [Fri, 26 Feb 2010 03:23:52 +0000 (12:23 +0900)]
s5pc110: aquila: Don't support NFS feature at default

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Fri, 26 Feb 2010 03:19:34 +0000 (12:19 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc11x: reduce kessler lcd driver size
Donghwa Lee [Fri, 26 Feb 2010 03:03:10 +0000 (12:03 +0900)]
s5pc11x: reduce kessler lcd driver size

14 years agoRemove unused twl4030
Kyungmin Park [Fri, 26 Feb 2010 02:51:09 +0000 (11:51 +0900)]
Remove unused twl4030

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>