kernel/u-boot.git
15 years agoMerge branch 'master' of jaehoon@party:/pub/git/u-boot-s5pc1xx
Jaehoon Chung [Mon, 26 Oct 2009 11:44:58 +0000 (20:44 +0900)]
Merge branch 'master' of jaehoon@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110: aquila: modified usbdown button
Jaehoon Chung [Mon, 26 Oct 2009 11:42:30 +0000 (20:42 +0900)]
s5pc110: aquila: modified usbdown button
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
15 years agos5pc110: fb: code clean.
daeinki [Mon, 26 Oct 2009 06:43:43 +0000 (15:43 +0900)]
s5pc110: fb: code clean.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agos5pc110: fb: updated lcd controller and lcd panel driver.
daeinki [Mon, 26 Oct 2009 06:31:00 +0000 (15:31 +0900)]
s5pc110: fb: updated lcd controller and lcd panel driver.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agos5pc110: gpio: added gpio interfaces and definitions for drive strength.
daeinki [Mon, 26 Oct 2009 06:29:46 +0000 (15:29 +0900)]
s5pc110: gpio: added gpio interfaces and definitions for drive strength.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agos5pc11x: mmc: fix write blocks to 0x400 (workaround) IJ01-20091023
Minkyu Kang [Wed, 21 Oct 2009 06:56:02 +0000 (15:56 +0900)]
s5pc11x: mmc: fix write blocks to 0x400 (workaround)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agousbd: fix the movinand download
Minkyu Kang [Wed, 21 Oct 2009 06:26:41 +0000 (15:26 +0900)]
usbd: fix the movinand download

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: real: revert CODEC_LDO_EN
Minkyu Kang [Wed, 21 Oct 2009 00:45:48 +0000 (09:45 +0900)]
s5pc110: real: revert CODEC_LDO_EN

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: aquila: remove code for CODEC_LDO_EN
Joonyoung Shim [Mon, 19 Oct 2009 11:37:18 +0000 (20:37 +0900)]
s5pc110: aquila: remove code for CODEC_LDO_EN

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
15 years agos5pc1xx: update cache rotine 20091016
Minkyu Kang [Fri, 16 Oct 2009 06:58:09 +0000 (15:58 +0900)]
s5pc1xx: update cache rotine

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-arm
Minkyu Kang [Fri, 16 Oct 2009 05:01:00 +0000 (14:01 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot-arm

15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Fri, 16 Oct 2009 02:15:54 +0000 (11:15 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110: ipl: support 4096 byte ipl
Minkyu Kang [Fri, 16 Oct 2009 02:15:16 +0000 (11:15 +0900)]
s5pc110: ipl: support 4096 byte ipl

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of jaehoon@party:/pub/git/u-boot-s5pc1xx
Jaehoon Chung [Thu, 15 Oct 2009 05:41:41 +0000 (14:41 +0900)]
Merge branch 'master' of jaehoon@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110:aquila: modify usbdown button
Jaehoon Chung [Thu, 15 Oct 2009 05:40:57 +0000 (14:40 +0900)]
s5pc110:aquila: modify usbdown button
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
15 years agos5pc1xx: fix comile warnings
Minkyu Kang [Thu, 15 Oct 2009 04:50:53 +0000 (13:50 +0900)]
s5pc1xx: fix comile warnings

fix the following comile warnings
warning: dereferencing type-punned pointer will break strict-aliasing rules

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: aquila: Move MHL init from general init to usbdown
Kyungmin Park [Wed, 14 Oct 2009 07:00:12 +0000 (16:00 +0900)]
s5pc110: aquila: Move MHL init from general init to usbdown

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Apply HW revision 0.1
Kyungmin Park [Wed, 14 Oct 2009 02:44:32 +0000 (11:44 +0900)]
s5pc110: aquila: Apply HW revision 0.1

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Wed, 14 Oct 2009 02:33:29 +0000 (11:33 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110: aquila: Fix HW revision detection
Kyungmin Park [Wed, 14 Oct 2009 02:33:26 +0000 (11:33 +0900)]
s5pc110: aquila: Fix HW revision detection

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Wed, 14 Oct 2009 02:31:43 +0000 (11:31 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agousbd: add support mmc download
Minkyu Kang [Wed, 14 Oct 2009 02:30:54 +0000 (11:30 +0900)]
usbd: add support mmc download

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: aquila: Add CODEC_LDO_EN gpio set for limo_universal and j1_b2
Joonyoung Shim [Wed, 14 Oct 2009 02:29:31 +0000 (11:29 +0900)]
s5pc110: aquila: Add CODEC_LDO_EN gpio set for limo_universal and j1_b2

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
15 years agos5pc110: aquila: Fix wrong board detection since typo
Kyungmin Park [Wed, 14 Oct 2009 01:15:17 +0000 (10:15 +0900)]
s5pc110: aquila: Fix wrong board detection since typo

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoMerge branch 'master' of kdsoo@party:/pub/git/u-boot-s5pc1xx
Dongsoo Kim [Wed, 14 Oct 2009 00:44:09 +0000 (09:44 +0900)]
Merge branch 'master' of kdsoo@party:/pub/git/u-boot-s5pc1xx

Conflicts:

board/samsung/universal/universal.c

Signed-off-by: Dongsoo Kim <dongsoo45.kim@samsung.com>
15 years agoSiI9234 MHL initialize setting revised
Dongsoo Kim [Wed, 14 Oct 2009 00:26:43 +0000 (09:26 +0900)]
SiI9234 MHL initialize setting revised
Signed-off-by: Dongsoo Kim <dongsoo45.kim@samsung.com>
15 years agos5pc110: Update External Power down modes
Kyungmin Park [Wed, 14 Oct 2009 00:23:45 +0000 (09:23 +0900)]
s5pc110: Update External Power down modes

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Don't clear wakeup source status register
Kyungmin Park [Tue, 13 Oct 2009 08:35:09 +0000 (17:35 +0900)]
s5pc110: aquila: Don't clear wakeup source status register

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years ago5pc1xx: i2c-gpio: seperate the board specific features and move the code to SoC
Minkyu Kang [Tue, 13 Oct 2009 08:06:40 +0000 (17:06 +0900)]
5pc1xx: i2c-gpio: seperate the board specific features and move the code to SoC

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: aquila: Update powerdown modes
Kyungmin Park [Tue, 13 Oct 2009 07:11:55 +0000 (16:11 +0900)]
s5pc110: aquila: Update powerdown modes

Reduce the from 31mA to 15mA

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: Update Powerdown modes registers
Kyungmin Park [Tue, 13 Oct 2009 05:16:37 +0000 (14:16 +0900)]
s5pc110: Update Powerdown modes registers
Reduce the about 5mA

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc1xx: gpio: use C structure and GPIO API functions
Minkyu Kang [Tue, 13 Oct 2009 05:05:16 +0000 (14:05 +0900)]
s5pc1xx: gpio: use C structure and GPIO API functions

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: uart: fix the error checking logic
Minkyu Kang [Tue, 13 Oct 2009 05:04:02 +0000 (14:04 +0900)]
s5pc1xx: uart: fix the error checking logic

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoRevert "s5pc110: Update Powerdown modes registers"
Minkyu Kang [Tue, 13 Oct 2009 04:54:17 +0000 (13:54 +0900)]
Revert "s5pc110: Update Powerdown modes registers"

This reverts commit 37e89a9972213767dfab5c677ff190af63eec310.

15 years agos5pc110: aquila: Don't need to set offset
Kyungmin Park [Tue, 13 Oct 2009 01:34:40 +0000 (10:34 +0900)]
s5pc110: aquila: Don't need to set offset

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: Update Powerdown modes registers
Kyungmin Park [Tue, 13 Oct 2009 01:06:34 +0000 (10:06 +0900)]
s5pc110: Update Powerdown modes registers

Reduce the about 5mA

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc1xx: modem: set correct help message
Minkyu Kang [Mon, 12 Oct 2009 10:36:13 +0000 (19:36 +0900)]
s5pc1xx: modem: set correct help message

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: uart: use the lowercase and codes clean
Minkyu Kang [Mon, 12 Oct 2009 10:27:21 +0000 (19:27 +0900)]
s5pc1xx: uart: use the lowercase and codes clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: Makefile: build fix
Minkyu Kang [Mon, 12 Oct 2009 10:21:54 +0000 (19:21 +0900)]
s5pc1xx: Makefile: build fix

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: onenand: use C structure and codes clean
Minkyu Kang [Mon, 12 Oct 2009 10:21:22 +0000 (19:21 +0900)]
s5pc1xx: onenand: use C structure and codes clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: Makefile: codes clean
Minkyu Kang [Mon, 12 Oct 2009 10:00:29 +0000 (19:00 +0900)]
s5pc1xx: Makefile: codes clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: clock: use C structure and codes clean
Minkyu Kang [Mon, 12 Oct 2009 09:53:55 +0000 (18:53 +0900)]
s5pc1xx: clock: use C structure and codes clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Mon, 12 Oct 2009 09:35:55 +0000 (18:35 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110: aquila: Add Memory Power down modes
Kyungmin Park [Mon, 12 Oct 2009 08:16:52 +0000 (17:16 +0900)]
s5pc110: aquila: Add Memory Power down modes

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc1xx: timer: use the lowercase
Minkyu Kang [Mon, 12 Oct 2009 07:26:14 +0000 (16:26 +0900)]
s5pc1xx: timer: use the lowercase

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: cpu: codes clean
Minkyu Kang [Mon, 12 Oct 2009 07:24:42 +0000 (16:24 +0900)]
s5pc1xx: cpu: codes clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: remove TZPC init
Joonyoung Shim [Sat, 10 Oct 2009 04:55:44 +0000 (13:55 +0900)]
s5pc1xx: remove TZPC init

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
15 years agos5pc110: Detect Limo Real at suspend by H1 group IL01-20091009
Kyungmin Park [Fri, 9 Oct 2009 08:52:26 +0000 (17:52 +0900)]
s5pc110: Detect Limo Real at suspend by H1 group

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: Fix Limo Real detection
Kyungmin Park [Fri, 9 Oct 2009 08:30:25 +0000 (17:30 +0900)]
s5pc110: Fix Limo Real detection

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Setup power down status
Kyungmin Park [Fri, 9 Oct 2009 08:30:12 +0000 (17:30 +0900)]
s5pc110: aquila: Setup power down status

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Fix Limo Real board detection after suspend
Kyungmin Park [Fri, 9 Oct 2009 04:27:10 +0000 (13:27 +0900)]
s5pc110: aquila: Fix Limo Real board detection after suspend

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Remove unnecessary check
Kyungmin Park [Thu, 8 Oct 2009 23:41:23 +0000 (08:41 +0900)]
s5pc110: aquila: Remove unnecessary check

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aqulia: set AP_PS_HOLD high
Kyungmin Park [Thu, 8 Oct 2009 11:27:28 +0000 (20:27 +0900)]
s5pc110: aqulia: set AP_PS_HOLD high

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: use gpio style operation
Kyungmin Park [Thu, 8 Oct 2009 10:19:12 +0000 (19:19 +0900)]
s5pc110: use gpio style operation

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: Set high AP_PS_HOLD pin
Kyungmin Park [Thu, 8 Oct 2009 07:06:56 +0000 (16:06 +0900)]
s5pc110: Set high AP_PS_HOLD pin

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Fix wrong display debug message
Kyungmin Park [Thu, 8 Oct 2009 02:28:28 +0000 (11:28 +0900)]
s5pc110: aquila: Fix wrong display debug message

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Register based sleep & PMIC LDO command support
Kyungmin Park [Thu, 8 Oct 2009 02:20:31 +0000 (11:20 +0900)]
s5pc110: aquila: Register based sleep & PMIC LDO command support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: sleep command support to test sleep
Kyungmin Park [Wed, 7 Oct 2009 02:12:36 +0000 (11:12 +0900)]
s5pc110: sleep command support to test sleep

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: Delete unnecessary 2k & 4k IPL binary
Kyungmin Park [Wed, 7 Oct 2009 00:47:18 +0000 (09:47 +0900)]
s5pc110: universal: Delete unnecessary 2k & 4k IPL binary

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc1xx: universal: use the correct name
Minkyu Kang [Wed, 7 Oct 2009 00:33:38 +0000 (09:33 +0900)]
s5pc1xx: universal: use the correct name

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: mmc: code clean
Minkyu Kang [Tue, 6 Oct 2009 12:17:05 +0000 (21:17 +0900)]
s5pc110: mmc: code clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: support the SD/MMC Controller
Minkyu Kang [Tue, 6 Oct 2009 12:11:43 +0000 (21:11 +0900)]
s5pc110: support the SD/MMC Controller

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot
Kyungmin Park [Tue, 6 Oct 2009 10:37:37 +0000 (19:37 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

Conflicts:

Makefile
onenand_ipl/onenand_ipl.h
onenand_ipl/onenand_read.c

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: Remove non-exist powerdown setting at Group H
Kyungmin Park [Tue, 6 Oct 2009 10:32:12 +0000 (19:32 +0900)]
s5pc110: Remove non-exist powerdown setting at Group H

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Disable H group powerdown modes
Kyungmin Park [Tue, 6 Oct 2009 08:08:50 +0000 (17:08 +0900)]
s5pc110: aquila: Disable H group powerdown modes

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: set usbdown button (volumedown & camera)
Jaehoon Chung [Tue, 6 Oct 2009 07:54:00 +0000 (16:54 +0900)]
s5pc110: aquila: set usbdown button (volumedown & camera)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
15 years agoAdd information about return values of xxx_eth_register() in documentation
Ben Warren [Mon, 5 Oct 2009 07:02:51 +0000 (00:02 -0700)]
Add information about return values of xxx_eth_register() in documentation

As discussed on mailing list, <0 indicates failure, >=0 indicates number
of interfaces found.

Also added blurb about private data

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agodocument network driver framework
Mike Frysinger [Wed, 9 Sep 2009 18:41:22 +0000 (14:41 -0400)]
document network driver framework

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agonet: kirkwood_egiga.c: fixed build warning
Prafulla Wadaskar [Wed, 9 Sep 2009 10:29:19 +0000 (15:59 +0530)]
net: kirkwood_egiga.c: fixed build warning

if link up detection code is disabled through config option, it gives build warning.
This patch fixes the same

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoConvert SMC91111 Ethernet driver to CONFIG_NET_MULTI API
Ben Warren [Mon, 5 Oct 2009 05:37:03 +0000 (22:37 -0700)]
Convert SMC91111 Ethernet driver to CONFIG_NET_MULTI API

All in-tree boards that use this controller have CONFIG_NET_MULTI
added
Also:
  - changed CONFIG_DRIVER_SMC91111 to CONFIG_SMC91111
  - cleaned up line lengths
  - modified all boards that override weak function in this driver
  - modified all eeprom standalone apps to work with new driver
  - updated blackfin standalone EEPROM app after testing

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agonet: phy: mv88e61xx.c : fixed build warning
Prafulla Wadaskar [Mon, 21 Sep 2009 14:58:18 +0000 (20:28 +0530)]
net: phy: mv88e61xx.c : fixed build warning

following build warning was observed

mv88e61xx.c: In function ‘mv88e61xx_busychk’:
mv88e61xx.c:208: warning: dereferencing type-punned pointer will break strict-aliasing rules

This patch fixes the same
Patch tested for rd6281a board build

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agonet: Fix problem with 405EZ ethernet interrupt
James Clough [Thu, 10 Sep 2009 07:11:50 +0000 (09:11 +0200)]
net: Fix problem with 405EZ ethernet interrupt

On 405EZ the RX-/TX-interrupts are coalesced into one IRQ bit in the
UIC. We need to acknowledge the RX-/TX-interrupts in the
SDR0_ICINTSTAT reg as well.

This problem was introduced with commit
d1631fe1 [ppc4xx: Consolidate PPC4xx UIC defines]

Signed-off-by: James Clough <james@rtetc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agonet: add random_port() prototype
Mike Frysinger [Wed, 2 Sep 2009 08:18:55 +0000 (04:18 -0400)]
net: add random_port() prototype

The random_port() is meant to be used by other net code, but without a
prototype, we get fun warnings like:
dns.c: In function 'DnsSend':
dns.c:89: warning: implicit declaration of function 'random_port'

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMerge branch 't-next-marvell' into t-next-at91
Tom Rix [Sun, 4 Oct 2009 21:57:09 +0000 (16:57 -0500)]
Merge branch 't-next-marvell' into t-next-at91

15 years agoat91: Update MEESC board support
Daniel Gorsulowski [Tue, 29 Sep 2009 06:03:12 +0000 (08:03 +0200)]
at91: Update MEESC board support

This patch implements several updates:
-disable CONFIG_ENV_OVERWRITE
-add new hardware style variants and set the arch numbers appropriate
-pass the serial# and hardware revision to the kernel
-removed unused macros from include/configs/meesc.h
-fixed multiline comment style

Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
15 years agoarm: Correct build with CONFIG_SYS_HUSH_PARSER set
Simon Kagstrom [Thu, 1 Oct 2009 14:11:50 +0000 (19:41 +0530)]
arm: Correct build with CONFIG_SYS_HUSH_PARSER set

FLAG_PARSE_SEMICOLON is not defined without hush.h, so include that.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
15 years agoTI: OMAP3: Overo Tobi ethernet support
Olof Johansson [Tue, 29 Sep 2009 14:22:45 +0000 (10:22 -0400)]
TI: OMAP3: Overo Tobi ethernet support

Add setup for ethernet on Tobi, allowing kernel/ramdisk to be loaded
over tftp.

This also refactors the smc911x driver to allow for detecting when the
chip is missing. I.e. the detect_chip() function is called earlier and
will abort gracefully when the Chip ID read returns all 1's.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Dirk Behme <dirk.behme@googlemail.com>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoSMC911X: Add chip auto detection
Olof Johansson [Tue, 29 Sep 2009 14:21:29 +0000 (10:21 -0400)]
SMC911X: Add chip auto detection

Refactor the smc911x driver to allow for detecting when the chip is missing.
I.e. the detect_chip() function is called earlier and will abort gracefully
when the Chip ID read returns all 1's.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Dirk Behme <dirk.behme@googlemail.com>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoTI OMAP3 Use arm init sequence to initialize i2c
Tom Rix [Tue, 29 Sep 2009 14:19:49 +0000 (10:19 -0400)]
TI OMAP3 Use arm init sequence to initialize i2c

This changes fixes an early i2c error.

It appears that I2C is working because once a read or write
error is detected, the omap24xx_i2c driver calls i2c_init
inside its error handling check.

While it is ok to attempt error handling this way, the boards
must not depend on this side effect to initialize it's i2c.

Instead of explicitly calling i2c_init for every board, use
the generic arm initialization in lib_arm/board.c. By defining
the config variable CONFIG_HARD_I2C, the omap3 i2c initialization
is included in the init_sequence table.

Run tested on Beagle.
Compile tested on the omap3's

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Acked-by: Dirk Behme <dirk.behme@googlemail.com>
15 years agoTI: DaVinci DM365: Enabling network Support on DM365 EVM
Sandeep Paulraj [Tue, 29 Sep 2009 13:43:04 +0000 (09:43 -0400)]
TI: DaVinci DM365: Enabling network Support on DM365 EVM

This patch enables EMAC on the DM365 EVM.

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Acked-by: Tom Rix <Tom.Rix@windriver.com>
15 years agoTI: DaVinci: GPIO header file and definitions
Sandeep Paulraj [Tue, 29 Sep 2009 14:02:38 +0000 (10:02 -0400)]
TI: DaVinci: GPIO header file and definitions

Some DaVinci SOC's use GPIOs to enable EMAC and DM9000.
This patch adds some definitions for GPIO registers and also adds
structures for GPIO.
A separate header file is being added so that in future we
can have a DaVinci GPIO driver similer to OMAP.

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Acked-by: Tom Rix <Tom.Rix@windriver.com>
15 years agoTI: DaVinci DM646x: Update flag used to represent DM646x SOC's
Sandeep Paulraj [Fri, 18 Sep 2009 21:30:05 +0000 (17:30 -0400)]
TI: DaVinci DM646x: Update flag used to represent DM646x SOC's

In the DaVinci specific code, we use both CONFIG_SOC_DM646X and
CONFIG_SOC_DM646x to represent DM646x specific code.
This patch changes occurrences of CONFIG_SOC_DM646x to
CONFIG_SOC_DM646X. This is because for DM644x series of SOCs we use
the flag CONFIG_SOC_DM644X. We want some uniformity.

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Acked-by: Tom Rix <Tom.Rix@windriver.com>
15 years agoOMAP3: Clean up whitespace in mux configs
Olof Johansson [Mon, 28 Sep 2009 12:19:30 +0000 (08:19 -0400)]
OMAP3: Clean up whitespace in mux configs

Switch from space-based indentation to tab-based in mux configs, as pointed
out by WD at:

http://lists.denx.de/pipermail/u-boot/2009-September/061241.html

Nothing but whitespace changes in this patch (diff -w gives no output).

Signed-off-by: Olof Johansson <olof@lixom.net>
15 years agoOMAP3 MMC: Fix warning dereferencing type-punned pointer
Dirk Behme [Mon, 28 Sep 2009 12:17:50 +0000 (08:17 -0400)]
OMAP3 MMC: Fix warning dereferencing type-punned pointer

Fix warning
Dereferencing type-punned pointer will break strict-aliasing rules

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
CC: Steve Sakoman <sakoman@gmail.com>
Acked-by: Tom Rix <Tom.Rix@windriver.com>
15 years agoMerge branch 'arm/master' into arm/next
Tom Rix [Sun, 4 Oct 2009 10:40:07 +0000 (05:40 -0500)]
Merge branch 'arm/master' into arm/next

Conflicts:
board/AtmarkTechno/suzaku/Makefile
board/amcc/acadia/acadia.c
board/amcc/katmai/katmai.c
board/amcc/luan/luan.c
board/amcc/ocotea/ocotea.c
board/cm-bf537u/Makefile
board/cray/L1/L1.c
board/csb272/csb272.c
board/csb472/csb472.c
board/eric/eric.c
board/eric/init.S
board/eukrea/cpuat91/Makefile
board/exbitgen/exbitgen.c
board/exbitgen/init.S
board/freescale/mpc8536ds/config.mk
board/g2000/g2000.c
board/jse/sdram.c
board/mpl/mip405/mip405.c
board/mpl/pip405/pip405.c
board/netstal/hcu5/hcu5.c
board/netstal/mcu25/mcu25.c
board/sc3/sc3.c
board/w7o/init.S
board/w7o/w7o.c
common/cmd_reginfo.c
cpu/ppc4xx/40x_spd_sdram.c
cpu/ppc4xx/44x_spd_ddr.c
doc/README.sbc8548
drivers/misc/fsl_law.c
fs/ubifs/ubifs.c
include/asm-ppc/immap_85xx.h

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Sat, 3 Oct 2009 21:40:35 +0000 (23:40 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-blackfin
Wolfgang Denk [Sat, 3 Oct 2009 21:38:55 +0000 (23:38 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-blackfin

15 years agoSupport for the OpenRD base board
Simon Kagstrom [Mon, 21 Sep 2009 22:31:01 +0000 (04:01 +0530)]
Support for the OpenRD base board

The implementation is borrowed from the sheevaplug board and the Marvell
1.1.4 code. Unsupported (or untested) is the SD card, PCIe and SATA.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
15 years agoKirkwood: mv88f6281gtw_ge: Add kwbimage build support
Prafulla Wadaskar [Mon, 21 Sep 2009 14:45:17 +0000 (20:15 +0530)]
Kirkwood: mv88f6281gtw_ge: Add kwbimage build support

This patch adds kwbimage configuration file
(used by mkimage utility)
to support u-boot.kwb target on mv88f6281gtw_ge board.

To create Kirkwood boot image to be flashed on SPI Flash,
additional parameter u-boot.kwb need to be passed during make.

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
15 years agoKirkwood: rd6281a: Add kwbimage build support
Prafulla Wadaskar [Mon, 21 Sep 2009 12:53:11 +0000 (18:23 +0530)]
Kirkwood: rd6281a: Add kwbimage build support

This patch adds kwbimage configuration file
(used by mkimage utility)
to support u-boot.kwb target on rd6281a platform.

To create Kirkwood boot image to be flashed on NAND,
additional parameter u-boot.kwb need to be passed during make.

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
15 years agoAdd support for Eukrea CPU9260/CPU9G20 SBC
Tom Rix [Sun, 27 Sep 2009 16:10:09 +0000 (11:10 -0500)]
Add support for Eukrea CPU9260/CPU9G20 SBC

these boards are built around Atmel's AT91SAM9260/9G20 and have
up to 64MB of NOR flash, up to 128MB of SDRAM, up to 2GB of NAND
and include a 10/100 Ethernet PHY in RMII mode.

Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
15 years agoAdd support for Eukrea CPUAT91 SBC
Tom Rix [Sun, 27 Sep 2009 12:47:24 +0000 (07:47 -0500)]
Add support for Eukrea CPUAT91 SBC

CPUAT91 is built around Atmel's AT91RM9200 and has up to 16MB of NOR
flash, up to 128MB of SDRAM, and includes a Micrel KS8721 PHY in RMII
mode.

Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
15 years agompc5121ads: fix breakage introduced when reordering elpida_mddrc_config[]
Wolfgang Denk [Fri, 25 Sep 2009 12:16:00 +0000 (14:16 +0200)]
mpc5121ads: fix breakage introduced when reordering elpida_mddrc_config[]

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agomucmc52, uc101: delete ata@3a00 node, if no CF card is detected
Heiko Schocher [Wed, 23 Sep 2009 05:56:08 +0000 (07:56 +0200)]
mucmc52, uc101: delete ata@3a00 node, if no CF card is detected

U-Boot can detect if an IDE device is present or not.
If not, and this new config option is activated, U-Boot
removes the ATA node from the DTS before booting Linux,
so the Linux IDE driver does not probe the device and
crash. This is needed for buggy hardware (uc101) where
no pull down resistor is connected to the signal IDE5V_DD7.

Signed-off-by: Heiko Schocher <hs@denx.de>
15 years agompc5200, mucmc52, uc101: config cleanup
Heiko Schocher [Wed, 23 Sep 2009 05:56:04 +0000 (07:56 +0200)]
mpc5200, mucmc52, uc101: config cleanup

- As these boards are similiar, collect common config options
  in manroland/common.h and manroland/mpc52xx-common.h
  for mpc5200 specific common options for this manufacturer.
- add OF support
- update default environment

Signed-off-by: Heiko Schocher <hs@denx.de>
Minor edit of commit message.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoFix "ppc/85xx: Clean up use of LAWAR defines" breakage
Wolfgang Denk [Thu, 24 Sep 2009 22:57:49 +0000 (00:57 +0200)]
Fix "ppc/85xx: Clean up use of LAWAR defines" breakage

Commit 002741ae86 modified include/asm-ppc/mmu.h such that the LAWAR_
defines were only enabled for the 83xx platform, but they are also
needed on MPC512x system. Enabling these for E300 systems seems thus
more appropriate.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoAdd Elpida Memory Configuration to mpc5121ads Boards
Martha M Stan [Mon, 21 Sep 2009 18:08:00 +0000 (14:08 -0400)]
Add Elpida Memory Configuration to mpc5121ads Boards

Signed-off-by: Martha M Stan <mmarx@silicontkx.com>
Minor coding style cleanup.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agompc512x: Streamlined fixed_sdram() init sequence.
Martha M Stan [Mon, 21 Sep 2009 18:07:14 +0000 (14:07 -0400)]
mpc512x: Streamlined fixed_sdram() init sequence.

Signed-off-by: Martha M Stan <mmarx@silicontkx.com>
Minor cleanup:

Re-ordered default_mddrc_config[] to have matching indices.

This allows to use the same index "N" for source and target fields;
before, we had code like this

out_be32(&im->mddrc.ddr_time_config2, mddrc_config[3]);

which always looked like a copy & paste error because 2 != 3.

Also, use NULL when meaning a null pointer.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoppc/p4080: Determine various chip frequencies on CoreNet platforms
Kumar Gala [Thu, 19 Mar 2009 07:46:19 +0000 (02:46 -0500)]
ppc/p4080: Determine various chip frequencies on CoreNet platforms

The means to determine the core, bus, and DDR frequencies are completely
new on CoreNet style platforms.  Additionally on p4080 we can have
different frequencies for FMAN and PME IP blocks.  We need to keep track
of the FMAN & PME frequencies since they are used for time stamping
capabilities inside each block.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoppc/p4080: Handle timebase enabling and frequency reporting
Kumar Gala [Thu, 17 Sep 2009 06:52:37 +0000 (01:52 -0500)]
ppc/p4080: Handle timebase enabling and frequency reporting

On CoreNet style platforms the timebase frequency is the bus frequency
defined by 16 (on PQ3 it is divide by 8).  Also on the CoreNet platforms
the core not longer controls the enabling of the timebase.  We now need
to enable the boot core's timebase via CCSR register writes.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>