kernel/u-boot.git
14 years agorecovery: remove the wrong comment
Minkyu Kang [Tue, 13 Apr 2010 07:28:19 +0000 (16:28 +0900)]
recovery: remove the wrong comment

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: universal: Change size for fastboot to 60Mbyte
Joonyoung Shim [Mon, 12 Apr 2010 02:10:58 +0000 (11:10 +0900)]
s5pc110: universal: Change size for fastboot to 60Mbyte

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agorecovery: modify text base and load address JD06_20100409
Minkyu Kang [Fri, 9 Apr 2010 05:56:59 +0000 (14:56 +0900)]
recovery: modify text base and load address

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agobuild: update for recovery block
Minkyu Kang [Fri, 9 Apr 2010 04:45:35 +0000 (13:45 +0900)]
build: update for recovery block

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: universal: set correct boot part size
Minkyu Kang [Fri, 9 Apr 2010 04:41:18 +0000 (13:41 +0900)]
s5pc1xx: universal: set correct boot part size

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: initial support the recovery block
Minkyu Kang [Fri, 9 Apr 2010 04:28:31 +0000 (13:28 +0900)]
recovery: initial support the recovery block

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agogitignore: update
Minkyu Kang [Fri, 9 Apr 2010 04:25:21 +0000 (13:25 +0900)]
gitignore: update

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: fix ifdef condition
Minkyu Kang [Fri, 9 Apr 2010 04:08:10 +0000 (13:08 +0900)]
recovery: fix ifdef condition

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: BUGFIX: fix boot fail problem
Minkyu Kang [Fri, 9 Apr 2010 01:54:14 +0000 (10:54 +0900)]
recovery: BUGFIX: fix boot fail problem

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: make dependency rule correctly
Minkyu Kang [Fri, 9 Apr 2010 01:12:40 +0000 (10:12 +0900)]
recovery: make dependency rule correctly

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: add some comments
Minkyu Kang [Fri, 9 Apr 2010 00:27:09 +0000 (09:27 +0900)]
recovery: add some comments

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: initial commit (DON'T USE IT!!)
Minkyu Kang [Thu, 8 Apr 2010 12:30:47 +0000 (21:30 +0900)]
recovery: initial commit (DON'T USE IT!!)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: universal: fix env offset
Minkyu Kang [Thu, 8 Apr 2010 11:39:00 +0000 (20:39 +0900)]
s5pc1xx: universal: fix env offset

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoARM Cortex-a8: onenand_ipl: modify ifdef to if defined
Minkyu Kang [Thu, 8 Apr 2010 10:43:24 +0000 (19:43 +0900)]
ARM Cortex-a8: onenand_ipl: modify ifdef to if defined

prepare for recovery boot

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: universal: increase the bootloader partition
Minkyu Kang [Thu, 8 Apr 2010 10:42:46 +0000 (19:42 +0900)]
s5pc1xx: universal: increase the bootloader partition

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110:bamboo:set number of evt
Donggeun Kim [Thu, 8 Apr 2010 09:28:34 +0000 (18:28 +0900)]
s5pc110:bamboo:set number of evt

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
14 years agos5pc110: aquila: Add UBIFS support when UBI on
Kyungmin Park [Thu, 8 Apr 2010 03:23:18 +0000 (12:23 +0900)]
s5pc110: aquila: Add UBIFS support when UBI on

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agouniversal: change printf function to puts function JD05_20100408
Minkyu Kang [Wed, 7 Apr 2010 06:23:56 +0000 (15:23 +0900)]
universal: change printf function to puts function

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Wed, 7 Apr 2010 04:28:58 +0000 (13:28 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc1xx: sleep: unlock all OneNand blocks when waked up
Minkyu Kang [Wed, 7 Apr 2010 04:28:21 +0000 (13:28 +0900)]
s5pc1xx: sleep: unlock all OneNand blocks when waked up

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: aquila: Disable ABB block to reduce the sleep current JD04_20100406
Kyungmin Park [Mon, 5 Apr 2010 12:09:49 +0000 (21:09 +0900)]
s5pc110: aquila: Disable ABB block to reduce the sleep current

It's happend at low temperature condition
It goes 1.x mA without this patch

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: fb: changed source clock frequency for fimd to 222MHz. JD03_20100405
daeinki [Fri, 2 Apr 2010 05:22:55 +0000 (14:22 +0900)]
s5pc110: fb: changed source clock frequency for fimd to 222MHz.

Signed-off-by: daeinki <inki.dae@samsung.com>
14 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx JD02_20100402
Kyungmin Park [Fri, 2 Apr 2010 01:34:07 +0000 (10:34 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Fri, 2 Apr 2010 00:58:22 +0000 (09:58 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agoMerge branch 'master' of git://git.denx.de/u-boot
Minkyu Kang [Fri, 2 Apr 2010 00:50:42 +0000 (09:50 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

14 years agoMerge branch 'next'
Wolfgang Denk [Thu, 1 Apr 2010 09:28:32 +0000 (11:28 +0200)]
Merge branch 'next'

14 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Thu, 1 Apr 2010 04:29:41 +0000 (13:29 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

14 years agoPrepare v2010.03 v2010.03
Wolfgang Denk [Wed, 31 Mar 2010 21:54:39 +0000 (23:54 +0200)]
Prepare v2010.03

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agonet, doc: How to setup MAC address correctly
Heiko Schocher [Wed, 31 Mar 2010 06:34:51 +0000 (08:34 +0200)]
net, doc: How to setup MAC address correctly

As this seems unclear, document how the flow of setting up
the MAC address is correct.

Signed-off-by: Heiko Schocher <hs@denx.de>
Text changed slightly, adding input from Mike Frysinger.

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agonet, fec_mxc: only setup the device enetaddr with eeprom value
Heiko Schocher [Wed, 31 Mar 2010 06:34:46 +0000 (08:34 +0200)]
net, fec_mxc: only setup the device enetaddr with eeprom value

Only fill the device enetaddr with the contents of the eeprom,
do not program it in MAC address registers

Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
14 years agodoc: Fix ramdisk examples in doc/uImage.FIT/multi.its
Felix Radensky [Tue, 30 Mar 2010 12:02:13 +0000 (15:02 +0300)]
doc: Fix ramdisk examples in doc/uImage.FIT/multi.its

The ramdisk sections in doc/uImage.FIT/multi.its lack
load address and entry point properties. Using examples
from this file will result in unbootable image, u-boot
will issue the following error messages:

Can't get ramdisk subimage load address!
Ramdisk image is corrupt or invalid

This patch adds missing properties to ramdisk sections.

Signed-off-by: Felix Radensky <felix@embedded-sol.com>
14 years agojffs2, suen3: Fix compiler warning
Heiko Schocher [Wed, 24 Mar 2010 12:22:50 +0000 (13:22 +0100)]
jffs2, suen3: Fix compiler warning

$ ./MAKEALL suen3
jffs2_1pass.c: In function 'get_fl_mem':
jffs2_1pass.c:399: warning: unused variable 'id'
jffs2_1pass.c: In function 'get_node_mem':
jffs2_1pass.c:423: warning: unused variable 'id'

Signed-off-by: Heiko Schocher <hs@denx.de>
Tested-by: Tom <Tom.Rix@windriver.com>
14 years agos5pc110: acme: auto download added using CAM FULL and VOLDOWN JD01_20100401
Donghwa Lee [Wed, 31 Mar 2010 10:18:56 +0000 (19:18 +0900)]
s5pc110: acme: auto download added using CAM FULL and VOLDOWN

14 years agoMerge branch 'master' of http://git.denx.de/u-boot
Kyungmin Park [Wed, 31 Mar 2010 05:56:43 +0000 (14:56 +0900)]
Merge branch 'master' of http://git.denx.de/u-boot

14 years agobuild: Update dofmind's setting
Joonyoung Shim [Wed, 31 Mar 2010 05:23:44 +0000 (14:23 +0900)]
build: Update dofmind's setting

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Wolfgang Denk [Tue, 30 Mar 2010 20:22:47 +0000 (22:22 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Tue, 30 Mar 2010 20:21:24 +0000 (22:21 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

14 years agompc86xx: set the DDR BATs after calculating true DDR size
Timur Tabi [Mon, 29 Mar 2010 17:51:07 +0000 (12:51 -0500)]
mpc86xx: set the DDR BATs after calculating true DDR size

After determining how much DDR is actually in the system, set DBAT0 and
IBAT0 accordingly.  This ensures that the CPU won't attempt to access
(via speculation) addresses outside of actual memory.

On 86xx systems, DBAT0 and IBAT0 (the BATs for DDR) are initialized to 2GB
and kept that way.  If the system has less than 2GB of memory (typical for
an MPC8610 HPCD), the CPU may attempt to access this memory during
speculation.  The zlib code is notorious for generating such memory reads,
and indeed on the MPC8610, uncompressing the Linux kernel causes a machine
check (without this patch).

Currently we are limited to power of two sized DDR since we only use a
single bat.  If a non-power of two size is used that is less than
CONFIG_MAX_MEM_MAPPED u-boot will crash.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years ago85xx: Fix enabling of L1 cache parity on secondary cores
Kumar Gala [Fri, 26 Mar 2010 20:14:43 +0000 (15:14 -0500)]
85xx: Fix enabling of L1 cache parity on secondary cores

Use the same code between primary and secondary cores to init the
L1 cache.  We were not enabling cache parity on the secondary cores.

Also, reworked the L1 cache init code to match the e500mc L2 init code
that first invalidates the cache and locks.  Than enables the cache and
makes sure its enabled before continuing.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agoppc4xx: Fix problem with I2C bus >= 1 initialization
Stefan Roese [Mon, 29 Mar 2010 13:30:46 +0000 (15:30 +0200)]
ppc4xx: Fix problem with I2C bus >= 1 initialization

This patch fixes a problem introduced with patch eb5eb2b0
[ppc4xx: Cleanup PPC4xx I2C infrastructure]. We need to assign the I2C
base address to the "i2c" pointer inside of the controller loop.
Otherwise controller 0 is initialized multiple times instead of
initializing each I2C controller sequentially.

Tested on Katmai.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
14 years agos5pc1xx: add checking routines for EVT1-Fused
Minkyu Kang [Tue, 30 Mar 2010 10:18:37 +0000 (19:18 +0900)]
s5pc1xx: add checking routines for EVT1-Fused

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agobootm, linux: fix booting Multi-File Image with "kernel+ramdisk+fdt"
Heiko Schocher [Mon, 29 Mar 2010 11:15:48 +0000 (13:15 +0200)]
bootm, linux: fix booting Multi-File Image with "kernel+ramdisk+fdt"

Booting a "Multi-File Image" including a linux kernel, ramdisk and
fdt, generated with

mkimage -A ppc \
    -O linux \
    -T multi \
    -C gzip \
    -a 00000000 \
    -e 00000000 \
    -n "kernel-2.6+initrd+dtb" \
    -d "vmlinux.bin.gz:ramdisk_image.gz:board.dtb" \
    multi.bin

actually fails, because ramdisk start and end addresses
didn;t get initialized. This patch fixes this issue.

Tested on the KUP4K board.

Signed-off-by: Heiko Schocher <hs@denx.de>
14 years agoi2c: made unused function i2c_mux_add_device static
Frans Meulenbroeks [Fri, 26 Mar 2010 08:46:42 +0000 (09:46 +0100)]
i2c: made unused function i2c_mux_add_device static

and removed it from the .h file

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agocmd_i2c: introduced get_alen helper function
Frans Meulenbroeks [Fri, 26 Mar 2010 08:46:41 +0000 (09:46 +0100)]
cmd_i2c: introduced get_alen helper function

The code to parse alen appeared 6 times in the function.
Factored this out in a small helper function

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agocmd_i2c: moved a define to before the functions
Frans Meulenbroeks [Fri, 26 Mar 2010 08:46:40 +0000 (09:46 +0100)]
cmd_i2c: moved a define to before the functions

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agocmd_i2c: moved mispositioned comment for i2c md
Frans Meulenbroeks [Fri, 26 Mar 2010 08:46:39 +0000 (09:46 +0100)]
cmd_i2c: moved mispositioned comment for i2c md

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agocmd_i2c.c: declared local functions as static
Frans Meulenbroeks [Fri, 26 Mar 2010 08:46:38 +0000 (09:46 +0100)]
cmd_i2c.c: declared local functions as static

Declared all functions that were not called outside the file as static

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agoMerge remote branch 'origin/master' into next
Wolfgang Denk [Mon, 29 Mar 2010 10:33:43 +0000 (12:33 +0200)]
Merge remote branch 'origin/master' into next

14 years agoMerge branch 'next' of git://www.denx.de/git/u-boot-cfi-flash into next
Wolfgang Denk [Mon, 29 Mar 2010 10:33:16 +0000 (12:33 +0200)]
Merge branch 'next' of git://denx.de/git/u-boot-cfi-flash into next

14 years agos5pc1xx: ipl: change binary name secure to evt1-fused
Minkyu Kang [Mon, 29 Mar 2010 10:17:57 +0000 (19:17 +0900)]
s5pc1xx: ipl: change binary name secure to evt1-fused

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: ipl: rename bl1.bin to bl1.img
Minkyu Kang [Mon, 29 Mar 2010 08:36:07 +0000 (17:36 +0900)]
s5pc1xx: ipl: rename bl1.bin to bl1.img

prevent for deleting by distclean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: neptune: ALS_NRST checked by hw revision JC15_20100329
Donghwa Lee [Sun, 28 Mar 2010 02:34:56 +0000 (11:34 +0900)]
s5pc110: neptune: ALS_NRST checked by hw revision

14 years agos5pc110: neptune: lcd revision checked
Donghwa Lee [Sun, 28 Mar 2010 02:29:51 +0000 (11:29 +0900)]
s5pc110: neptune: lcd revision checked

14 years agoPrepare 2010.03-rc3 v2010.03-rc3
Wolfgang Denk [Sat, 27 Mar 2010 23:25:14 +0000 (00:25 +0100)]
Prepare 2010.03-rc3

Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agocmd_usb.c: print debug messages only when DEBUG is defined
Wolfgang Denk [Thu, 25 Mar 2010 13:07:23 +0000 (14:07 +0100)]
cmd_usb.c: print debug messages only when DEBUG is defined

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoml300: remove support for broken, orphaned board
Wolfgang Denk [Wed, 24 Mar 2010 11:19:19 +0000 (12:19 +0100)]
ml300: remove support for broken, orphaned board

The ml300 board has a number of issues, but nobody cares about this
long-orphaned board any more.  Remove it.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Acked-by: Michal Simek <monstr@monstr.eu>
14 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sat, 27 Mar 2010 23:15:20 +0000 (00:15 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

14 years agomkimage: fix Segmentation Fault when run without "-n name" option
Wolfgang Denk [Sat, 27 Mar 2010 22:37:46 +0000 (23:37 +0100)]
mkimage: fix Segmentation Fault when run without "-n name" option

The restructuring of the mkimage command in commit 89a4d6b1 ("tools:
mkimage: split code into core, default and FIT image specific")
introduced a bug that caused mkimage to segfault when run without
"-n name" option.  Initialize the imagename entry to prevent that.

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-cfi-flash
Wolfgang Denk [Sat, 27 Mar 2010 23:11:16 +0000 (00:11 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash

14 years agoMerge branch 'next' of git://git.denx.de/u-boot-coldfire into next
Wolfgang Denk [Sat, 27 Mar 2010 23:04:18 +0000 (00:04 +0100)]
Merge branch 'next' of git://git.denx.de/u-boot-coldfire into next

14 years agos5pc110: kessler: S1 board memory detection
Kyungmin Park [Sat, 27 Mar 2010 03:15:07 +0000 (12:15 +0900)]
s5pc110: kessler: S1 board memory detection

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agocfi flash: add status polling method for amd flash
Thomas Chou [Fri, 26 Mar 2010 00:17:00 +0000 (08:17 +0800)]
cfi flash: add status polling method for amd flash

This patch adds status polling method to offer an alternative to
data toggle method for amd flash chips.

This patch is needed for nios2 cfi flash interface, where the bus
controller performs 4 bytes read cycles for a single byte read
instruction. The data toggle method can not detect chip busy
status correctly. So we have to poll DQ7, which will be inverted
when the chip is busy.

This feature is enabled with the config def,
CONFIG_SYS_CFI_FLASH_STATUS_POLL

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agobuild: update prom's setting
Minkyu Kang [Fri, 26 Mar 2010 10:31:44 +0000 (19:31 +0900)]
build: update prom's setting

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: support secure boot image
Minkyu Kang [Fri, 26 Mar 2010 10:28:04 +0000 (19:28 +0900)]
s5pc1xx: support secure boot image

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agocfi_flash: precision and underflow problem in tout calculation
Renato Andreola [Wed, 24 Mar 2010 15:00:47 +0000 (23:00 +0800)]
cfi_flash: precision and underflow problem in tout calculation

With old configuration it could happen tout=0 if CONFIG_SYS_HZ<1000.

Signed-off-by: Renato Andreola <renato.andreola@imagos.it>
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agos5pc110 deep idle support: code clean up
MyungJoo Ham [Thu, 25 Mar 2010 05:16:28 +0000 (14:16 +0900)]
s5pc110 deep idle support: code clean up

14 years agos5pc110: goto INFORM0 if it's waking up from deep idle (C110 only)
MyungJoo Ham [Thu, 25 Mar 2010 03:27:58 +0000 (12:27 +0900)]
s5pc110: goto INFORM0 if it's waking up from deep idle (C110 only)

14 years agos5pc110:p1:chagne lcd frame_rate from 60hz to 40hz because the display is unsable...
heeman.jun [Thu, 25 Mar 2010 01:11:48 +0000 (10:11 +0900)]
s5pc110:p1:chagne lcd frame_rate from 60hz to 40hz because the display is unsable using 60hz in P1

Signed-off-by: heeman.jun <heeman.jun@samsung.com>
14 years agoColdFire: Fix m54455EVB save environment bug
TsiChung Liew [Tue, 16 Mar 2010 17:39:36 +0000 (12:39 -0500)]
ColdFire: Fix m54455EVB save environment bug

The ATMEL flash does not have buffer write feature. Assgined
buffer_size = 1, so that when there is a write to the flash
will not use buffer write function.

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
14 years agoColdFire: Fix incorrect M5253DEMO default environment
TsiChung Liew [Tue, 16 Mar 2010 00:39:21 +0000 (19:39 -0500)]
ColdFire: Fix incorrect M5253DEMO default environment

The flash location is at 0xff800000, not 0

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
14 years agoColdFire: Cache update for all platforms
TsiChung Liew [Fri, 12 Mar 2010 04:12:53 +0000 (22:12 -0600)]
ColdFire: Cache update for all platforms

The CF will call cache functions in lib_m68/cache.c and the
cache settings are defined in platform configuration file.

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
14 years agoColdFire: Fix SDRAM size on M5208evb rev E
TsiChung Liew [Thu, 11 Mar 2010 00:50:22 +0000 (18:50 -0600)]
ColdFire: Fix SDRAM size on M5208evb rev E

The proper SDRAM size is 32MB not 64MB

Signed-off-by: Jingchang Lu <b22599@freescale.com>
14 years agoColdFire: Misc update for M53017
TsiChung Liew [Thu, 11 Mar 2010 00:24:07 +0000 (18:24 -0600)]
ColdFire: Misc update for M53017

Reside Ethernet buffer descriptors in SRAM instead of DRAM. Add
CONFIG_SYS_TX_ETH_BUFFER in platform configuration file. Update
DRAM control and SRAM control register setting. Update cache
setting where size does not write to proper region.

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
14 years agoColdFire: Add CPU compile flag for mcf5301x and mcf532x
TsiChung Liew [Wed, 10 Mar 2010 23:32:13 +0000 (17:32 -0600)]
ColdFire: Add CPU compile flag for mcf5301x and mcf532x

Add CPU compile flag -mcpu=53015 in cpu/config.mk

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
14 years agoColdFire: Update Extra environment Data for M5275EVB
TsiChung Liew [Wed, 10 Mar 2010 22:33:03 +0000 (16:33 -0600)]
ColdFire: Update Extra environment Data for M5275EVB

Provide extra environment Data. Remove default network
address and MAC address.

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
14 years agoColdFire: M5271EVB DRAM Bring up issue
TsiChung Liew [Wed, 10 Mar 2010 22:14:01 +0000 (16:14 -0600)]
ColdFire: M5271EVB DRAM Bring up issue

Fix proper portsize: The register for portsize is either 00b, 01b,
or 1xb. The value that previous assigned is 32d.
Fix DRAM bring up: insert asm("nop") for every DRAM register setup

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
14 years agoColdFire: Update M5253DEMO configuration file
TsiChung Liew [Wed, 10 Mar 2010 17:56:36 +0000 (11:56 -0600)]
ColdFire: Update M5253DEMO configuration file

Fix incorrect default environment for flash erase or protect
range. Change offset from 0 to 0xff80nnnn. Remove default
ethernet setup and MAC address.

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
14 years agoColdFire: Relocate vector table - mcf5445x
TsiChung Liew [Thu, 11 Mar 2010 21:04:21 +0000 (15:04 -0600)]
ColdFire: Relocate vector table - mcf5445x

Newer ColdFire processors family boot from address 0 instead of
0xFFnn_nnnn. When the boot flash base chip select is set at new
location instead of 0, an un-predictable error will occur if
there is an vector being trigger and refer it to an invalid
address or the vector table handler is not existed at address
0.

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
14 years agoColdFire: Update uart_port_conf in serial driver
TsiChung Liew [Wed, 10 Mar 2010 01:24:43 +0000 (19:24 -0600)]
ColdFire: Update uart_port_conf in serial driver

Provide proper port passing from serial_init to uart_part_conf.

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
14 years agoColdFire: Update processors' serial port configuration
TsiChung Liew [Wed, 10 Mar 2010 01:17:52 +0000 (19:17 -0600)]
ColdFire: Update processors' serial port configuration

Provide parameter passing to uart_port_config(). Update port
configuration - un-mask it before enable the bits.

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
14 years agoColdFire: Correct bit definition
TsiChung Liew [Wed, 10 Mar 2010 00:32:16 +0000 (18:32 -0600)]
ColdFire: Correct bit definition

Use correct definition for _MASK and _UNMASK. It was combined in
the previous used and causes confusion.

Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
14 years agofix cmd_bdinfo.c:354: warning: 'print_eth' defined but not used
Philippe De Muyter [Tue, 22 Sep 2009 04:20:29 +0000 (22:20 -0600)]
fix cmd_bdinfo.c:354: warning: 'print_eth' defined but not used

This fixes the following warnings when running MAKEALL for coldfire :
cmd_bdinfo.c:354: warning: 'print_eth' defined but not used

Signed-off-by: Philippe De Muyter <phdm at macqel.be>
14 years agoAdding EP2500 MCF5282 board [PATCH]
Michael Durrant [Thu, 21 Jan 2010 01:33:02 +0000 (19:33 -0600)]
Adding EP2500 MCF5282 board [PATCH]

Mercury-EP2500.patch
   - added Mercury's EP2500 board uses the mcf5282 processor

CREDITS.patch

Signed-off-by: David Wu <davidwu@arcturusnetworks.com>
Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com>
14 years agoadd block write function to spartan3 slave serial load
Wolfgang Wegner [Fri, 30 Oct 2009 15:55:02 +0000 (16:55 +0100)]
add block write function to spartan3 slave serial load

Using seperate function calls for each bit-bang of slave serial
load can be painfully slow. This patch adds the possibility to
supply a block write function that loads the complete block of
data in one call (like it can already be done with Altera FPGAs).
On an MCF5373L (240 MHz) loading an XC3S4000 this reduces the load
time from around 15 seconds to around 3 seconds

Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
14 years agoadd ASTRO MCF5373L board
Wolfgang Wegner [Mon, 25 Jan 2010 10:27:44 +0000 (11:27 +0100)]
add ASTRO MCF5373L board

This patch adds support for ASTRO board(s) based on MCF5373L.

Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
14 years agoppc4xx fix unstable 440EPx bootstrap options
Rupjyoti Sarmah [Wed, 24 Mar 2010 11:22:02 +0000 (16:52 +0530)]
ppc4xx fix unstable 440EPx bootstrap options

440EPx fixed bootstrap options A, B, D, and E sets PLL FWDVA to a value = 1.
This results in the PLLOUTB being greater than the CPU clock frequency
resulting unstable 440EPx operation resulting in various software hang
conditions.

This patch reprograms the FWDVA satisfying the requirement of setting FWDVB
to a value greater than 1 while using one of the four deafult bootstrap options.

Signed-off-by: Rupjyoti Sarmah <rsarmah@amcc.com>
Acked-by : Victor Gallardo <vgallardo@appliedmicro.com>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-video
Wolfgang Denk [Wed, 24 Mar 2010 13:11:53 +0000 (14:11 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-video

14 years agoat91: Get rid of some warnings when building for otc570
Matthias Fuchs [Wed, 24 Mar 2010 09:16:20 +0000 (10:16 +0100)]
at91: Get rid of some warnings when building for otc570

The soft-i2c code for AT91 defines I2C_SOFT_DECLARATIONS
for direct access by dereferencing a pio pointer.
The OTC570 platform uses the AT91 gpio API so it does not
need the pio variable.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
14 years agolcd: make 16bpp work
Alessandro Rubini [Sat, 13 Mar 2010 16:44:08 +0000 (17:44 +0100)]
lcd: make 16bpp work

Support for 16bpp was supposed to be in the code but was not working.
This makes it work and has been tested in the nhk8815 board.

Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
14 years agomtdpart: remove compiler warning JC14_20100324
Minkyu Kang [Wed, 24 Mar 2010 00:20:24 +0000 (09:20 +0900)]
mtdpart: remove compiler warning

mtdpart.c: In function 'add_one_partition':
mtdpart.c:459: warning: label 'out_register' defined but not used

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agocmd_nand: show nand scrub confirmation character
Florian Fainelli [Sat, 20 Mar 2010 18:02:58 +0000 (19:02 +0100)]
cmd_nand: show nand scrub confirmation character

When issuing a nand scrub command, the entered character is not displayed
this may be confusing. This patch makes the input character being
displayed if it is a 'y' so that an user knows he is about to scrub his
nand.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 years agoat91: add hwecc method for nand
Nikolay Petukhov [Fri, 19 Mar 2010 05:49:27 +0000 (10:49 +0500)]
at91: add hwecc method for nand

This is a patch to use the hardware ECC controller of
the AT91SAM9260 for the AT91 nand. Taken from the kernel 2.6.33.

Signed-off-by: Nikolay Petukhov <Nikolay.Petukhov@gmail.com>
14 years agoTI: Davinci: NAND Driver Cleanup
Cyril Chemparathy [Wed, 17 Mar 2010 14:03:10 +0000 (10:03 -0400)]
TI: Davinci: NAND Driver Cleanup

Modified to use IO accessor routines consistently.  Eliminated volatile usage
to keep checkpatch.pl happy.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
14 years agoMerge remote branch 'origin/master' into next
Wolfgang Denk [Mon, 22 Mar 2010 22:27:24 +0000 (23:27 +0100)]
Merge remote branch 'origin/master' into next

14 years agoPrepare v2010.03-rc2 v2010.03-rc2
Wolfgang Denk [Mon, 22 Mar 2010 22:25:00 +0000 (23:25 +0100)]
Prepare v2010.03-rc2

Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoep93xx timer: Fix resolution of get_ticks()
Matthias Kaehlcke [Tue, 9 Mar 2010 21:13:33 +0000 (22:13 +0100)]
ep93xx timer: Fix resolution of get_ticks()

ep93xx timer: Make get_ticks() return a value in CONFIG_SYS_HZ resolution,
as announced by get_tbclk()

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
14 years agoep93xx timer: Fix possible overflow in usecs_to_ticks()
Matthias Kaehlcke [Tue, 9 Mar 2010 21:13:20 +0000 (22:13 +0100)]
ep93xx timer: Fix possible overflow in usecs_to_ticks()

ep93xx timer: Use 64-bit values in usecs_to_ticks() in order to avoid
overflows in intermediate values

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
14 years agousbd: change driver's name to SLP Driver JC13_20100322
Minkyu Kang [Mon, 22 Mar 2010 02:44:36 +0000 (11:44 +0900)]
usbd: change driver's name to SLP Driver

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agousbd: version update (v1.5.3)
Minkyu Kang [Mon, 22 Mar 2010 01:11:38 +0000 (10:11 +0900)]
usbd: version update (v1.5.3)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge remote branch 'origin/master' into next
Wolfgang Denk [Sun, 21 Mar 2010 21:45:36 +0000 (22:45 +0100)]
Merge remote branch 'origin/master' into next