kernel/u-boot.git
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 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 agos5pc1xx: modify the DRAM setting (DMC1) JE01_20100513
Minkyu Kang [Thu, 13 May 2010 02:24:19 +0000 (11:24 +0900)]
s5pc1xx: modify the DRAM setting (DMC1)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agousbd: code clean for warning message at locked recovery block
Sanghee Kim [Tue, 11 May 2010 13:01:08 +0000 (22:01 +0900)]
usbd: code clean for warning message at locked recovery block

14 years agos5pc1xx: Limo SDK: code clean for revsion checking
Minkyu Kang [Fri, 7 May 2010 01:50:20 +0000 (10:50 +0900)]
s5pc1xx: Limo SDK: code clean for revsion checking

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: Limo SDK: rev2,3,4 are 4G/3G/1G
Minkyu Kang [Fri, 7 May 2010 01:48:41 +0000 (10:48 +0900)]
s5pc1xx: Limo SDK: rev2,3,4 are 4G/3G/1G

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: Limo SDK: rev4 is evt1-fused
Minkyu Kang [Fri, 7 May 2010 01:43:46 +0000 (10:43 +0900)]
s5pc1xx: Limo SDK: rev4 is evt1-fused

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: lcd: code clean up
Donghwa Lee [Fri, 7 May 2010 01:06:46 +0000 (10:06 +0900)]
s5pc110: lcd: code clean up

14 years agos5pc110: SDK REV0.3 and REV0.4 auto download enabled
Donghwa Lee [Fri, 7 May 2010 01:01:05 +0000 (10:01 +0900)]
s5pc110: SDK REV0.3 and REV0.4 auto download enabled

14 years agos5pc110: ld9040 lcd panel display reversed
Donghwa Lee [Tue, 4 May 2010 00:34:57 +0000 (09:34 +0900)]
s5pc110: ld9040 lcd panel display reversed

14 years agorecovery: update: fix the erase size when bootloader only updated
Sanghee Kim [Mon, 3 May 2010 11:30:42 +0000 (20:30 +0900)]
recovery: update: fix the erase size when bootloader only updated

14 years agorecovery: update: fix key ckeck error
Sanghee Kim [Mon, 3 May 2010 08:37:38 +0000 (17:37 +0900)]
recovery: update: fix key ckeck error

14 years agorecovery: update: add revision checking
Sanghee Kim [Mon, 3 May 2010 07:44:34 +0000 (16:44 +0900)]
recovery: update: add revision checking

14 years agoOneNAND: introduce chip_probe function for non-generic OneNAND probe
Kyungmin Park [Mon, 3 May 2010 07:05:45 +0000 (16:05 +0900)]
OneNAND: introduce chip_probe function for non-generic OneNAND probe

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: ld9040 lcd enable JD16_20100430
Donghwa Lee [Fri, 30 Apr 2010 06:58:30 +0000 (15:58 +0900)]
s5pc110: ld9040 lcd enable

14 years agoMerge branch 'master' of git@10.89.8.158:/pub/git/u-boot-s5pc1xx
Sanghee Kim [Fri, 30 Apr 2010 05:43:52 +0000 (14:43 +0900)]
Merge branch 'master' of git@10.89.8.158:/pub/git/u-boot-s5pc1xx

14 years agorecovery: update is modified to support various image
Sanghee Kim [Fri, 30 Apr 2010 05:20:34 +0000 (14:20 +0900)]
recovery: update is modified to support various image

both u-boot's update and recovery's update are modified.
support only OneNAND boot with fixed block size.
update target:
  ipl + recovery + u-boot / ipl + u-boot / u-boot
binary will be released using 'u-boot-recovery-evt*.bin'

14 years agorecovery: onenand: add lock-tight
Sanghee Kim [Fri, 30 Apr 2010 05:19:36 +0000 (14:19 +0900)]
recovery: onenand: add lock-tight

14 years agoonenand: add lock-tight and lock check
Sanghee Kim [Fri, 30 Apr 2010 04:37:46 +0000 (13:37 +0900)]
onenand: add lock-tight and lock check

14 years agos5pc110: universal: change board name from "Neptune" to "Limo SDK"
Minkyu Kang [Thu, 29 Apr 2010 06:45:29 +0000 (15:45 +0900)]
s5pc110: universal: change board name from "Neptune" to "Limo SDK"

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: code clean up
SangHee Kim [Wed, 28 Apr 2010 12:31:53 +0000 (21:31 +0900)]
recovery: code clean up

14 years agos5pv210:P1P2:deep_idle deep_idle support for P1P2 JD15_20100428
Lukasz Majewski [Wed, 28 Apr 2010 08:23:47 +0000 (10:23 +0200)]
s5pv210:P1P2:deep_idle deep_idle support for P1P2

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: kessler: fix memory init for ACME SDK board
Minkyu Kang [Tue, 27 Apr 2010 05:40:31 +0000 (14:40 +0900)]
s5pc1xx: kessler: fix memory init for ACME SDK board

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: modify the license JD14_20100427
SangHee Kim [Mon, 26 Apr 2010 10:56:49 +0000 (19:56 +0900)]
recovery: modify the license

14 years agorecovery: serial: typo correct
SangHee Kim [Mon, 26 Apr 2010 05:39:45 +0000 (14:39 +0900)]
recovery: serial: typo correct

14 years agorecovery: serial: add driver
SangHee Kim [Mon, 26 Apr 2010 05:29:56 +0000 (14:29 +0900)]
recovery: serial: add driver

mv common.h to recovery.h

14 years agorecovery: edit config.mk JD12_20100423 JD13_20100424
SangHee Kim [Fri, 23 Apr 2010 08:34:58 +0000 (17:34 +0900)]
recovery: edit config.mk

14 years agorecovery: add build dependency for library
SangHee Kim [Fri, 23 Apr 2010 06:06:19 +0000 (15:06 +0900)]
recovery: add build dependency for library

14 years agorecovery: code trimming
SangHee Kim [Fri, 23 Apr 2010 05:40:41 +0000 (14:40 +0900)]
recovery: code trimming

all configs are merged to '$(RECOVERY_BLOCK)/config.mk'

14 years agorecovery: code trimming
SangHee Kim [Fri, 23 Apr 2010 05:32:15 +0000 (14:32 +0900)]
recovery: code trimming

all configs are merged to '$(RECOVERY_BLOCK)\config.mk'

14 years agorecovery: move usb related codes to driver/usb
Minkyu Kang [Thu, 22 Apr 2010 05:27:23 +0000 (14:27 +0900)]
recovery: move usb related codes to driver/usb

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: usbd: remove unused defines
Minkyu Kang [Wed, 21 Apr 2010 07:27:33 +0000 (16:27 +0900)]
recovery: usbd: remove unused defines

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: code clean up (don't use the DOS file format)
Minkyu Kang [Wed, 21 Apr 2010 04:48:12 +0000 (13:48 +0900)]
recovery: code clean up (don't use the DOS file format)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: Makefile clean up
SangHee Kim [Tue, 20 Apr 2010 06:00:35 +0000 (15:00 +0900)]
recovery: Makefile clean up

14 years agoMakefile: rollback
SangHee Kim [Tue, 20 Apr 2010 02:04:38 +0000 (11:04 +0900)]
Makefile: rollback

14 years agorecovery: code clean up
SangHee Kim [Tue, 20 Apr 2010 01:52:43 +0000 (10:52 +0900)]
recovery: code clean up

14 years agorecovery: restructure the recovery source tree, add new files
SangHee Kim [Mon, 19 Apr 2010 09:05:31 +0000 (18:05 +0900)]
recovery: restructure the recovery source tree, add new files

14 years agorecovery: restructure the recovery source tree, modify OneNAND driver
SangHee Kim [Mon, 19 Apr 2010 09:02:19 +0000 (18:02 +0900)]
recovery: restructure the recovery source tree, modify OneNAND driver

14 years agos5pc110: universal: Enable always_resume
Joonyoung Shim [Mon, 19 Apr 2010 04:44:58 +0000 (13:44 +0900)]
s5pc110: universal: Enable always_resume

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agorecovery: usbd: set recovery mode handshake word
Minkyu Kang [Fri, 16 Apr 2010 08:28:18 +0000 (17:28 +0900)]
recovery: usbd: set recovery mode handshake word

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: change APLL lock time to 30us
Minkyu Kang [Fri, 16 Apr 2010 00:14:10 +0000 (09:14 +0900)]
s5pc110: change APLL lock time to 30us

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agorecovery: universal: support the usb downloader
Minkyu Kang [Thu, 15 Apr 2010 10:45:14 +0000 (19:45 +0900)]
recovery: universal: support the usb downloader

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agogitignore: update for recovery
Minkyu Kang [Thu, 15 Apr 2010 10:43:02 +0000 (19:43 +0900)]
gitignore: update for recovery

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
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>