kernel/u-boot.git
14 years agos5pc110: aquila: add CONFIG_SYS_CONSOLE_IS_IN_ENV define
Minkyu Kang [Fri, 27 Nov 2009 05:29:08 +0000 (14:29 +0900)]
s5pc110: aquila: add CONFIG_SYS_CONSOLE_IS_IN_ENV define

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: p1p2: Corrected AMOLED panel setting
Donghwa Lee [Fri, 27 Nov 2009 04:49:05 +0000 (13:49 +0900)]
s5pc1xx: p1p2: Corrected AMOLED panel setting

14 years agoMerge branch 'master' of dh09.lee@10.89.8.158:/pub/git/u-boot-s5pc1xx
Donghwa Lee [Fri, 27 Nov 2009 03:25:24 +0000 (12:25 +0900)]
Merge branch 'master' of dh09.lee@10.89.8.158:/pub/git/u-boot-s5pc1xx

14 years agos5pc1xx: p1p2: Change AMOLED panel driver to auto sequence
Donghwa Lee [Fri, 27 Nov 2009 03:23:52 +0000 (12:23 +0900)]
s5pc1xx: p1p2: Change AMOLED panel driver to auto sequence

14 years agos5pc110: No need to change at Universal board
Kyungmin Park [Fri, 27 Nov 2009 03:08:53 +0000 (12:08 +0900)]
s5pc110: No need to change at Universal board

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: Fix J1B2 Memory configuration
Kyungmin Park [Fri, 27 Nov 2009 03:04:37 +0000 (12:04 +0900)]
s5pc110: Fix J1B2 Memory configuration

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: Set correct memory size
Kyungmin Park [Fri, 27 Nov 2009 02:30:26 +0000 (11:30 +0900)]
s5pc110: Set correct memory size

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: aquila: fsa9480: remove unused operation
Minkyu Kang [Fri, 27 Nov 2009 01:00:16 +0000 (10:00 +0900)]
s5pc110: aquila: fsa9480: remove unused operation

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: aquila: clear device_info structure after display on LCD
Minkyu Kang [Fri, 27 Nov 2009 00:58:07 +0000 (09:58 +0900)]
s5pc110: aquila: clear device_info structure after display on LCD

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: Geminus detection support
Kyungmin Park [Thu, 26 Nov 2009 23:43:52 +0000 (08:43 +0900)]
s5pc110: Geminus detection support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: another omitted file
MyungJoo Ham [Thu, 26 Nov 2009 00:09:51 +0000 (09:09 +0900)]
s5pc110: another omitted file

14 years agos5pc110: support sleep: added an omitted file
MyungJoo Ham [Thu, 26 Nov 2009 00:00:18 +0000 (09:00 +0900)]
s5pc110: support sleep: added an omitted file

14 years agos5pc110: support sleep
MyungJoo Ham [Wed, 25 Nov 2009 23:57:36 +0000 (08:57 +0900)]
s5pc110: support sleep

14 years agoMerge branch 'master' of mj.ham@party:/pub/git/u-boot-s5pc1xx
MyungJoo Ham [Wed, 25 Nov 2009 10:53:17 +0000 (19:53 +0900)]
Merge branch 'master' of mj.ham@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc110: suspend/resume support
MyungJoo Ham [Wed, 25 Nov 2009 10:50:50 +0000 (19:50 +0900)]
s5pc110: suspend/resume support

KNOWN ISSUES:
- unstable resume (freezes occasionally)
- unnecessary wake-up routines (needs to be cleaned)
- current mismatch between before-suspend and after-suspend
- current not low enough (will follow kernel suspend/resume)
- HW Revision number corruption (probably GPIO related issue)

14 years agos5pc1xx: aquila: remove fat command
Minkyu Kang [Wed, 25 Nov 2009 08:20:23 +0000 (17:20 +0900)]
s5pc1xx: aquila: remove fat command

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: j1b2: add j1b2 board detection & fix lcd config
Minkyu Kang [Wed, 25 Nov 2009 06:35:20 +0000 (15:35 +0900)]
s5pc1xx: j1b2: add j1b2 board detection & fix lcd config

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: fb: corrected samsung logo.
daeinki [Tue, 24 Nov 2009 06:41:24 +0000 (15:41 +0900)]
s5pc110: fb: corrected samsung logo.

Signed-off-by: daeinki <inki.dae@samsung.com>
14 years agos5pc110: fb: code clean.
daeinki [Tue, 24 Nov 2009 04:56:00 +0000 (13:56 +0900)]
s5pc110: fb: code clean.

Signed-off-by: daeinki <inki.dae@samsung.com>
14 years agos5pc110: fb: changed samsung logo.
daeinki [Tue, 24 Nov 2009 04:50:09 +0000 (13:50 +0900)]
s5pc110: fb: changed samsung logo.

Signed-off-by: daeinki <inki.dae@samsung.com>
14 years agos5pc110: p1p2: Add ams701ka AMOLED Driver
Donghwa Lee [Tue, 24 Nov 2009 02:53:37 +0000 (11:53 +0900)]
s5pc110: p1p2: Add ams701ka AMOLED Driver

14 years agoMerge branch 'master' of git://git.denx.de/u-boot
Kyungmin Park [Tue, 24 Nov 2009 00:44:03 +0000 (09:44 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

Conflicts:

cpu/arm_cortexa8/start.S

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: fb: bug fix.
daeinki [Mon, 23 Nov 2009 12:34:40 +0000 (21:34 +0900)]
s5pc110: fb: bug fix.

Signed-off-by: daeinki <inki.dae@samsung.com>
14 years agos5pc11x: cache: remove unused file & build fix
Minkyu Kang [Mon, 23 Nov 2009 08:50:57 +0000 (17:50 +0900)]
s5pc11x: cache: remove unused file & build fix

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: serial: driver update
Minkyu Kang [Mon, 23 Nov 2009 08:39:25 +0000 (17:39 +0900)]
s5pc1xx: serial: driver update

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: aquila: lcd off when usb is stopped
Minkyu Kang [Mon, 23 Nov 2009 06:59:17 +0000 (15:59 +0900)]
s5pc1xx: aquila: lcd off when usb is stopped

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agosf: fix stmicro offset setup while erasing
Mike Frysinger [Wed, 14 Oct 2009 23:28:03 +0000 (19:28 -0400)]
sf: fix stmicro offset setup while erasing

Reported-by: Peter Gombos <gombos@protecta.hu>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agosf: new driver for Winbond W25X16/32/64 devices
Jason McMullan [Fri, 9 Oct 2009 21:12:23 +0000 (17:12 -0400)]
sf: new driver for Winbond W25X16/32/64 devices

Signed-off-by: Jason McMullan <jason.mcmullan@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agompc8260: move FDT memory node fixup into common CPU code.
Marcel Ziswiler [Thu, 1 Oct 2009 21:55:17 +0000 (23:55 +0200)]
mpc8260: move FDT memory node fixup into common CPU code.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@noser.com>
Tested-by: Heiko Schocher <hs@denx.de>
14 years agoAdd driver for FTRTC010 real time clock
Po-Yu Chuang [Wed, 23 Sep 2009 07:52:35 +0000 (15:52 +0800)]
Add driver for FTRTC010 real time clock

Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Edited commit message.
Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoMIMC200: set default fbmem value
Mark Jackson [Mon, 17 Aug 2009 15:42:52 +0000 (16:42 +0100)]
MIMC200: set default fbmem value

This patch adds a default bootargs "fbmem" value to the
CONFIG_BOOTARGS string for the MIMC200 board.

Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
14 years agousbd: add progress bar protocol
Minkyu Kang [Fri, 20 Nov 2009 12:05:26 +0000 (21:05 +0900)]
usbd: add progress bar protocol

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agofbutil: add to draw progress bar
Minkyu Kang [Fri, 20 Nov 2009 12:00:00 +0000 (21:00 +0900)]
fbutil: add to draw progress bar

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agousbd: fix the comments
Minkyu Kang [Fri, 20 Nov 2009 07:41:50 +0000 (16:41 +0900)]
usbd: fix the comments

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years ago5pc1xx: aquila: workaround: fix revision check (default is Rev0.4)
Minkyu Kang [Fri, 20 Nov 2009 06:17:06 +0000 (15:17 +0900)]
5pc1xx: aquila: workaround: fix revision check (default is Rev0.4)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: aquila: workaround: fix revision check
Minkyu Kang [Fri, 20 Nov 2009 04:58:32 +0000 (13:58 +0900)]
s5pc1xx: aquila: workaround: fix revision check

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agousbd: fix typo
Minkyu Kang [Fri, 20 Nov 2009 02:07:30 +0000 (11:07 +0900)]
usbd: fix typo

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agousbd: fix environment erase
Minkyu Kang [Fri, 20 Nov 2009 01:52:07 +0000 (10:52 +0900)]
usbd: fix environment erase

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: lcd: added env value for dual lcd.
daeinki [Thu, 19 Nov 2009 05:28:13 +0000 (14:28 +0900)]
s5pc110: lcd: added env value for dual lcd.

Signed-off-by: daeinki <inki.dae@samsung.com>
14 years agos5pc110: aquila: fix ifdef condition
Minkyu Kang [Wed, 18 Nov 2009 07:27:33 +0000 (16:27 +0900)]
s5pc110: aquila: fix ifdef condition

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agousbd: bugfix: get correct part id
Minkyu Kang [Wed, 18 Nov 2009 05:05:05 +0000 (14:05 +0900)]
usbd: bugfix: get correct part id

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoppc4xx: Initialize magnetic coupler on VOM405 boards
Matthias Fuchs [Tue, 27 Oct 2009 18:58:09 +0000 (19:58 +0100)]
ppc4xx: Initialize magnetic coupler on VOM405 boards

This patch fixes an ugly behavior of the IL712 magnetic coupler
as used on VOM405. These parts will remember their last state
over a power cycle which might cause unwanted behavior.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoppc4xx: Initialize magnetic couplers in PLU405
Matthias Fuchs [Mon, 26 Oct 2009 08:58:45 +0000 (09:58 +0100)]
ppc4xx: Initialize magnetic couplers in PLU405

This patch fixes an ugly behavior of the IL712 magnetic couplers
as used on PLU405. These parts will remember their last state
over a power cycle which might cause unwanted behavior.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoAdd minimal SJA1000 header for basic CAN mode
Matthias Fuchs [Mon, 26 Oct 2009 08:55:40 +0000 (09:55 +0100)]
Add minimal SJA1000 header for basic CAN mode

This patch is in preparation for the upcoming PLU405 board fix.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agos5pc110: aquila: Add fota and log partitions
Kyungmin Park [Tue, 17 Nov 2009 06:25:34 +0000 (15:25 +0900)]
s5pc110: aquila: Add fota and log partitions

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc11x: aquila: use hwrevision function
Minkyu Kang [Mon, 16 Nov 2009 10:12:19 +0000 (19:12 +0900)]
s5pc11x: aquila: use hwrevision function

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: aquila: kill warnings
Minkyu Kang [Mon, 16 Nov 2009 08:42:26 +0000 (17:42 +0900)]
s5pc1xx: aquila: kill warnings

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: remove SZ_ defines
Minkyu Kang [Mon, 16 Nov 2009 08:40:53 +0000 (17:40 +0900)]
s5pc1xx: remove SZ_ defines

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: aquila: fix the dram init
Minkyu Kang [Mon, 16 Nov 2009 08:24:23 +0000 (17:24 +0900)]
s5pc1xx: aquila: fix the dram init

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-net
Wolfgang Denk [Sun, 15 Nov 2009 21:50:52 +0000 (22:50 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-net

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Wolfgang Denk [Sun, 15 Nov 2009 21:48:02 +0000 (22:48 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx

14 years agoMerge branch 'master-sync' of git://git.denx.de/u-boot-arm
Wolfgang Denk [Sun, 15 Nov 2009 21:27:16 +0000 (22:27 +0100)]
Merge branch 'master-sync' of git://git.denx.de/u-boot-arm

14 years agoppc/85xx: Fix how we determine the number of CAM entries
Kumar Gala [Fri, 13 Nov 2009 14:52:21 +0000 (08:52 -0600)]
ppc/85xx: Fix how we determine the number of CAM entries

We were incorrectly use the max CAM size as the number of entries in
the array for setting up the addrmap.  We should be using the NENTRY
field which is the low 12-bits of TLB1CFG.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agos5pc1xx: aquila: remove duplicated printf
Minkyu Kang [Fri, 13 Nov 2009 09:33:53 +0000 (18:33 +0900)]
s5pc1xx: aquila: remove duplicated printf

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: aquila: show device info on LCD, if volume down key is pressed
Minkyu Kang [Fri, 13 Nov 2009 08:44:16 +0000 (17:44 +0900)]
s5pc1xx: aquila: show device info on LCD, if volume down key is pressed

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agofbutil: fb_printf: support horizontal tab
Minkyu Kang [Fri, 13 Nov 2009 08:43:06 +0000 (17:43 +0900)]
fbutil: fb_printf: support horizontal tab

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: aquila: Display HW Rev again
Kyungmin Park [Fri, 13 Nov 2009 07:25:34 +0000 (16:25 +0900)]
s5pc110: aquila: Display HW Rev again

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: check 3 touchkey firmware
Kyungmin Park [Fri, 13 Nov 2009 07:07:26 +0000 (16:07 +0900)]
s5pc110: check 3 touchkey firmware

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agosmc911x: make smc911x_initialize return correct value
Mike Rapoport [Thu, 12 Nov 2009 13:35:08 +0000 (15:35 +0200)]
smc911x: make smc911x_initialize return correct value

Make smc911x_initialize return -1 on error and number of interfaces
detected otherwise.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
14 years agosmc911x_eeprom: fix building after smc911x overhaul
Mike Frysinger [Fri, 13 Nov 2009 03:26:02 +0000 (22:26 -0500)]
smc911x_eeprom: fix building after smc911x overhaul

When the smc911x driver was converted to NET_MULTI, the smc911x eeprom was
missed.  The config option needed updating as well as overhauling of the
rergister read/write functions.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Tested-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
14 years agos5pc1xx: aquila: work around for rev 0.4 (rev 0.3 + CP ES3.1)
Minkyu Kang [Fri, 13 Nov 2009 03:09:40 +0000 (12:09 +0900)]
s5pc1xx: aquila: work around for rev 0.4 (rev 0.3 + CP ES3.1)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoRevert "s5pc1xx: aquila: work around for rev 0.4 (rev 0.3 + CP ES3.1)"
Minkyu Kang [Fri, 13 Nov 2009 02:33:01 +0000 (11:33 +0900)]
Revert "s5pc1xx: aquila: work around for rev 0.4 (rev 0.3 + CP ES3.1)"

This reverts commit 82aa2f09fe0d2b4ec73d048fbeafdd0fd5bfc2ae.

14 years agos5pc1xx: aquila: work around for rev 0.4 (rev 0.3 + CP ES3.1)
Minkyu Kang [Fri, 13 Nov 2009 02:30:44 +0000 (11:30 +0900)]
s5pc1xx: aquila: work around for rev 0.4 (rev 0.3 + CP ES3.1)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: aquila: set direction to input when hw rev check
Minkyu Kang [Fri, 13 Nov 2009 01:03:42 +0000 (10:03 +0900)]
s5pc1xx: aquila: set direction to input when hw rev check

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agobuild: add prom's setting
Minkyu Kang [Fri, 13 Nov 2009 01:03:16 +0000 (10:03 +0900)]
build: add prom's setting

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: aquila: Workaround for Rev 0.3 + CP ES3.1
Kyungmin Park [Fri, 13 Nov 2009 00:49:33 +0000 (09:49 +0900)]
s5pc110: aquila: Workaround for Rev 0.3 + CP ES3.1

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: aquila: Add XCLKOUT set to XUSBXTI
Joonyoung Shim [Fri, 13 Nov 2009 00:24:58 +0000 (09:24 +0900)]
s5pc110: aquila: Add XCLKOUT set to XUSBXTI

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agos5pc110: aquila: fsa9480 doesn't work at rev00 and rev01
Minkyu Kang [Thu, 12 Nov 2009 23:33:06 +0000 (08:33 +0900)]
s5pc110: aquila: fsa9480 doesn't work at rev00 and rev01

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agofsl-ddr: Fix the chip-select interleaving issue
Dave Liu [Wed, 11 Nov 2009 23:26:37 +0000 (07:26 +0800)]
fsl-ddr: Fix the chip-select interleaving issue

commit 1542fbdeec0d1e2a6df13189df8dcb1ce8802be3
introduced one new bug to chip-select interleaving.

Single DDR controller also can do the chip-select
interleaving if there is dual-rank or qual-rank DIMMs.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agos5pc110: Remove XCLKOUT set for audio
Joonyoung Shim [Thu, 12 Nov 2009 12:50:55 +0000 (21:50 +0900)]
s5pc110: Remove XCLKOUT set for audio

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-net
Wolfgang Denk [Wed, 11 Nov 2009 22:10:34 +0000 (23:10 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-net

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Wed, 11 Nov 2009 21:58:30 +0000 (22:58 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

14 years agomxc_fec: avoid free() calls to already freed pointers.
javier Martin [Thu, 29 Oct 2009 07:22:43 +0000 (08:22 +0100)]
mxc_fec: avoid free() calls to already freed pointers.

Sometimes, inside NetLoop, eth_halt() is called before eth_init() has
been called. This is harmless except for free() calls to pointers
which have not been allocated yet.

This patch initializes those pointers to NULL and allocates them only
the first time. This way we can get rid of free calls in halt callback.

This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
14 years agomxc_fec: fix some erroneous PHY accesses.
javier Martin [Thu, 29 Oct 2009 07:18:34 +0000 (08:18 +0100)]
mxc_fec: fix some erroneous PHY accesses.

This patch fixes erroneous access to the ethernet PHY which broke the driver.
1. Selector field in the auto-negotiation register must be 0x00001 for
using 802.3, not 0x00000 which is reseved.
2. Access to the PHY address specified by CONFIG_FEC_MXC_PHYADDR, not
0x0 fixed address.

This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains.

Now using proper defines for auto-negotiation register.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
14 years agoARM Don't inline weak symbols
Ron Lee [Wed, 5 Aug 2009 18:14:01 +0000 (20:14 +0200)]
ARM Don't inline weak symbols

------------------------------------------------------------------------

GCC 4.4 complains about this now.

Signed-off-by: Ron Lee <ron@debian.org>
14 years agoFix SMC91111 regression: lpd7a40x build failures
Ben Warren [Mon, 9 Nov 2009 21:09:57 +0000 (13:09 -0800)]
Fix SMC91111 regression: lpd7a40x build failures

Both lpd7a400 and lpd7a404 failed to compile because they had
CONFIG_SMC_USE_IOFUNCS defined:

examples/standalone/smc91111_eeprom.c:388: undefined reference to `SMC_outw'

Also removed an orphaned paren in lpd7a404.h

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
14 years agoSMC91111: Clean up SMC_inx macros on xsengine and xaeniax
Ben Warren [Mon, 9 Nov 2009 22:01:08 +0000 (14:01 -0800)]
SMC91111: Clean up SMC_inx macros on xsengine and xaeniax

This patch fixes the following warnings:

Configuring for xaeniax board...
smc91111_eeprom.c: In function 'print_macaddr':
smc91111_eeprom.c:278: warning: suggest parentheses around + or - in operand of &
smc91111_eeprom.c:281: warning: suggest parentheses around + or - in operand of &
...
Configuring for xsengine board...
smc91111_eeprom.c: In function 'print_macaddr':
smc91111_eeprom.c:278: warning: suggest parentheses around + or - inside shift
smc91111_eeprom.c:281: warning: suggest parentheses around + or - inside shift

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Tue, 10 Nov 2009 02:34:49 +0000 (11:34 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc1xx: universal: remove unused defines
Minkyu Kang [Tue, 10 Nov 2009 02:34:06 +0000 (11:34 +0900)]
s5pc1xx: universal: remove unused defines

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master-sync' of git://git.denx.de/u-boot-arm
Wolfgang Denk [Mon, 9 Nov 2009 21:46:32 +0000 (22:46 +0100)]
Merge branch 'master-sync' of git://git.denx.de/u-boot-arm

14 years agoFix CS8900 regression on impa7 board
Ben Warren [Mon, 9 Nov 2009 19:43:18 +0000 (11:43 -0800)]
Fix CS8900 regression on impa7 board

The following error was seen on impa7 board, due to its use of a 32-bit bus
on CS8900.
cs8900.c:137:37: error: macro "get_reg_init_bus" passed 2 arguments, but takes just 1

This patch gives the macro the correct number of arguments

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
14 years agoclarify eth driver halt/recv steps
Mike Frysinger [Mon, 2 Nov 2009 03:39:56 +0000 (22:39 -0500)]
clarify eth driver halt/recv steps

The dev->halt() func can be called at any time, and the dev->recv() func
does not need to use NetRxPackets[] when calling NetReceive().

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
14 years agoFix cs8900 dev->priv not init issue
Hui.Tang [Thu, 5 Nov 2009 01:58:44 +0000 (09:58 +0800)]
Fix cs8900 dev->priv not init issue

Ensure all CS8900 data structures are assigned before accessing device

Signed-off-by: Hui.Tang <zetalabs@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
14 years agoppc4xx: 44x_spd_ddr2.c: Fix register macro ECCCR -> ECCES (SDRAM_ECCES)
Stefan Roese [Tue, 3 Nov 2009 13:34:45 +0000 (14:34 +0100)]
ppc4xx: 44x_spd_ddr2.c: Fix register macro ECCCR -> ECCES (SDRAM_ECCES)

This error only appears when DEBUG is enabled in this driver. That's why
it went unnoticed till now.

Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoppc4xx: Canyonlands: Change EBC bus config to drive always (no high-z)
Stefan Roese [Thu, 29 Oct 2009 17:37:45 +0000 (18:37 +0100)]
ppc4xx: Canyonlands: Change EBC bus config to drive always (no high-z)

This patch fixes a problem only seen very occasionally on Canyonlands.
The NOR flash interface (CFI driver) doesn't work reliably in all cases.
Erasing and/or programming sometimes doesn't work. Sometimes with
an error message, like "flash not erased" when trying to program an
area that should have just been erased. And sometimes without any error
messages. As mentioned above, this problem was only seen rarely and with
some PLL configuration (CPU speed, EBC speed).

Now I spotted this problem a few times, when running my Canyonlands with
the following setup (chip_config):

1000-nor         - NOR  CPU:1000 PLB: 200 OPB: 100 EBC: 100

Changing the EBC configuration to not release the bus into high
impedance state inbetween the transfers (ATC, DTC and CTC bits set to 1
in EBC0_CFG) seems to fix this problem. I haven't seen any failure
anymore with this patch applied.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: David Mitchell <dmitchell@amcc.com>
Cc: Jeff Mann <MannJ@embeddedplanet.com>
14 years agos5pc110: aquila: code clean
Heungjun Kim [Mon, 9 Nov 2009 05:37:05 +0000 (14:37 +0900)]
s5pc110: aquila: code clean

Signed-off-by: Heungjun Kim <riverful.kim@samsung.com>
14 years agos5pc110: aquila: enable 3 touchkey even J1B2 setting
Heungjun Kim [Mon, 9 Nov 2009 05:35:33 +0000 (14:35 +0900)]
s5pc110: aquila: enable 3 touchkey even J1B2 setting

Signed-off-by: Heungjun Kim <riverful.kim@samsung.com>
14 years agos5pc110: aquila: enable 3 touchkey on booting
Heungjun Kim [Mon, 9 Nov 2009 05:26:01 +0000 (14:26 +0900)]
s5pc110: aquila: enable 3 touchkey on booting

Signed-off-by: Heungjun Kim <riverful.kim@samsung.com>
14 years agoARM: Use Linux version for unaligned access code
Remy Bohmer [Thu, 29 Oct 2009 11:29:37 +0000 (12:29 +0100)]
ARM: Use Linux version for unaligned access code

The asm-arm/unaligned.h includes linux/unaligned/access_ok.h
This file is unsafe to be used on ARM, since it does an unaligned memory
accesses which fails on ARM.

Lookin at Linux the basic difference seems to be the header
"include/asm-arm/unaligned.h". The Linux version of "unaligned.h"
does *not* include "access_ok.h" at all. It includes "le_byteshift.h"
and "be_byteshift.h" instead.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Stefan Roese <sr@denx.de>
--
 include/asm-arm/unaligned.h            |    3 -
 include/linux/unaligned/be_byteshift.h |   70 +++++++++++++++++++++++++++++++++
 include/linux/unaligned/le_byteshift.h |   70 +++++++++++++++++++++++++++++++++
 3 files changed, 142 insertions(+), 1 deletion(-)
 create mode 100644 include/linux/unaligned/be_byteshift.h
 create mode 100644 include/linux/unaligned/le_byteshift.h

14 years agos5pc1xx: aquila: fix the comment
Minkyu Kang [Fri, 6 Nov 2009 07:42:41 +0000 (16:42 +0900)]
s5pc1xx: aquila: fix the comment

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: aquila: If Factory Mode is Boot ON-USB, go to download mode automatically
Minkyu Kang [Fri, 6 Nov 2009 07:39:58 +0000 (16:39 +0900)]
s5pc1xx: aquila: If Factory Mode is Boot ON-USB, go to download mode automatically

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agousbd: move download msg to up
Minkyu Kang [Fri, 6 Nov 2009 07:33:10 +0000 (16:33 +0900)]
usbd: move download msg to up

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: serial: code clean
Minkyu Kang [Fri, 6 Nov 2009 05:05:35 +0000 (14:05 +0900)]
s5pc1xx: serial: code clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: tickertape: fix the usb switching
Minkyu Kang [Fri, 6 Nov 2009 02:32:20 +0000 (11:32 +0900)]
s5pc1xx: tickertape: fix the usb switching

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: fb: remove unused header file
Minkyu Kang [Thu, 5 Nov 2009 05:39:35 +0000 (14:39 +0900)]
s5pc110: fb: remove unused header file

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: fb: fix the clock setting
Minkyu Kang [Thu, 5 Nov 2009 05:38:41 +0000 (14:38 +0900)]
s5pc110: fb: fix the clock setting

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoppc/85xx: Fix inclusion of 83xx immap in 85xx builds
Kumar Gala [Thu, 5 Nov 2009 00:02:10 +0000 (18:02 -0600)]
ppc/85xx: Fix inclusion of 83xx immap in 85xx builds

The nand_boot_fsl_elbc.c is shared between 83xx & 85xx however we should
not be including the immap_83xx.h when building 85xx.  We can just get
this all from common.h

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years ago86xx: Remove redundant code in initdram
Becky Bruce [Wed, 4 Nov 2009 23:34:04 +0000 (17:34 -0600)]
86xx: Remove redundant code in initdram

The same code exists both inside an #ifdef and outside of it.
Remove the extra code for all the 86xx boards.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agofsl_pci_init_port end-point initialization is broken
Ed Swarthout [Mon, 2 Nov 2009 15:05:49 +0000 (09:05 -0600)]
fsl_pci_init_port end-point initialization is broken

commit 70ed869e broke fsl pcie end-point initialization.
Returning 0 is not correct.  The function must return the first free
bus number for the next controller.

fsl_pci_init() must still be called and a bus allocated even if the
controller is an end-point.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Vivek Mahajan <vivek.mahajan@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agoRevert "ppc/85xx/pci: fsl_pci_init: pcie agent mode support"
Kumar Gala [Wed, 4 Nov 2009 07:29:04 +0000 (01:29 -0600)]
Revert "ppc/85xx/pci: fsl_pci_init: pcie agent mode support"

This reverts commit 70ed869ea5f6b1d13d7b140c83ec0dcd8a127ddc.

There isn't any need to modify the API for fsl_pci_init_port to pass the
status of host/agent(end-point) status.  We can determine that
internally to fsl_pci_init_port.  Revert the patch that makes the API
change.

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