kernel/u-boot.git
14 years agos5pc110: aquila: Don't support NFS feature at default
Kyungmin Park [Fri, 26 Feb 2010 03:23:52 +0000 (12:23 +0900)]
s5pc110: aquila: Don't support NFS feature at default

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

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

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

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc11x: compiler warnings removed.
MyungJoo Ham [Fri, 26 Feb 2010 02:32:23 +0000 (11:32 +0900)]
s5pc11x: compiler warnings removed.

14 years agos5pc1xx: universal: codes clean up
Minkyu Kang [Fri, 26 Feb 2010 01:34:13 +0000 (10:34 +0900)]
s5pc1xx: universal: codes clean up

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: universal: make max8998 probing function
Minkyu Kang [Fri, 26 Feb 2010 01:27:37 +0000 (10:27 +0900)]
s5pc1xx: universal: make max8998 probing function

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agomtdparts: remove compiler warning
Minkyu Kang [Fri, 26 Feb 2010 01:24:49 +0000 (10:24 +0900)]
mtdparts: remove compiler warning

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoRemove useless evt1 build for kmpark
Kyungmin Park [Fri, 26 Feb 2010 00:29:42 +0000 (09:29 +0900)]
Remove useless evt1 build for kmpark

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

14 years agos5pc1xx: universal: remove compiler warnings JB17_20100225
Minkyu Kang [Thu, 25 Feb 2010 11:53:29 +0000 (20:53 +0900)]
s5pc1xx: universal: remove compiler warnings

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: geminus: modified movinand enable pin set
Jaehoon Chung [Thu, 25 Feb 2010 10:33:21 +0000 (19:33 +0900)]
s5pc110: geminus: modified movinand enable pin set
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Thu, 25 Feb 2010 10:26:16 +0000 (19:26 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc110: geminus: set moivnand enable pin
Jaehoon Chung [Thu, 25 Feb 2010 10:18:59 +0000 (19:18 +0900)]
s5pc110: geminus: set moivnand enable pin
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agos5pc11x: "mirror setting" for board revision check had incorrect bit operations.
MyungJoo Ham [Thu, 25 Feb 2010 10:15:20 +0000 (19:15 +0900)]
s5pc11x: "mirror setting" for board revision check had incorrect bit operations.

14 years agoMerge branch 'master' of http://git.denx.de/u-boot
Kyungmin Park [Thu, 25 Feb 2010 08:08:33 +0000 (17:08 +0900)]
Merge branch 'master' of http://git.denx.de/u-boot

14 years agos5pc110: aquila: Disable TFTP and Add dummy UBI configuration
Kyungmin Park [Thu, 25 Feb 2010 07:40:44 +0000 (16:40 +0900)]
s5pc110: aquila: Disable TFTP and Add dummy UBI configuration

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: mmc: mmc code clean
Jaehoon Chung [Thu, 25 Feb 2010 05:32:55 +0000 (14:32 +0900)]
s5pc110: mmc: mmc code clean
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agoAdd CONFIG_XYZMODEM configuration option JB16_20100224
Kyungmin Park [Wed, 24 Feb 2010 07:00:22 +0000 (16:00 +0900)]
Add CONFIG_XYZMODEM configuration option

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agousbd: version update
Minkyu Kang [Wed, 24 Feb 2010 06:44:14 +0000 (15:44 +0900)]
usbd: version update

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: universal: codes clean
Minkyu Kang [Wed, 24 Feb 2010 06:21:20 +0000 (15:21 +0900)]
s5pc1xx: universal: codes clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agomtdparts: support lite mtdparts command
Minkyu Kang [Wed, 24 Feb 2010 06:00:55 +0000 (15:00 +0900)]
mtdparts: support lite mtdparts command

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: neptune: add auto_download using home & volume down key
Donghwa Lee [Wed, 24 Feb 2010 05:19:07 +0000 (14:19 +0900)]
s5pc110: neptune: add auto_download using home & volume down key

14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Wed, 24 Feb 2010 04:54:37 +0000 (13:54 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc1xx: universal: make fsa9480 probing function
Minkyu Kang [Wed, 24 Feb 2010 04:54:12 +0000 (13:54 +0900)]
s5pc1xx: universal: make fsa9480 probing function

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc11x charger: avoid flickering, unexpected wakeup
MyungJoo Ham [Wed, 24 Feb 2010 04:37:02 +0000 (13:37 +0900)]
s5pc11x charger: avoid flickering, unexpected wakeup

- Avoid flickering by turning the display off before sleep
- Avoid unexpected wakeup by clearing PMIC interrupt before
  sleep
- Corrected ONOFF2 access ( LDO7 is not 1 << 7 )
- TODO: complete "restore_screen"

14 years agos5pc110: sleep: one less log message line.
MyungJoo Ham [Wed, 24 Feb 2010 04:33:19 +0000 (13:33 +0900)]
s5pc110: sleep: one less log message line.

14 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Wed, 24 Feb 2010 02:39:09 +0000 (11:39 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

14 years agoAdd CRC16 configuration flags
Kyungmin Park [Wed, 24 Feb 2010 02:39:06 +0000 (11:39 +0900)]
Add CRC16 configuration flags

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5p-fb: omitted initialization added.
MyungJoo Ham [Wed, 24 Feb 2010 02:38:26 +0000 (11:38 +0900)]
s5p-fb: omitted initialization added.

14 years agos5pc1xx: universal: remove dead code
Minkyu Kang [Wed, 24 Feb 2010 02:28:55 +0000 (11:28 +0900)]
s5pc1xx: universal: remove dead code

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: Remove unused function for old ext2 read purpose
Kyungmin Park [Wed, 24 Feb 2010 02:09:46 +0000 (11:09 +0900)]
s5pc110: Remove unused function for old ext2 read purpose

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoone less compiler warnings.
MyungJoo Ham [Wed, 24 Feb 2010 01:58:00 +0000 (10:58 +0900)]
one less compiler warnings.

14 years agos5pc1xx: universal: combine duplicated codes
Minkyu Kang [Wed, 24 Feb 2010 01:45:04 +0000 (10:45 +0900)]
s5pc1xx: universal: combine duplicated codes

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agocmd_itest.c: fix pointer dereferencing
Frans Meulenbroeks [Mon, 22 Feb 2010 21:49:06 +0000 (22:49 +0100)]
cmd_itest.c: fix pointer dereferencing

fix pointer dereferencing
if the size is .b and .w an 8 or 16 bit access is done.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Detlev Zundel <dzu@denx.de>
14 years agotools: fix imximage warning
Kim Phillips [Tue, 23 Feb 2010 01:37:56 +0000 (19:37 -0600)]
tools: fix imximage warning

Fix build warning:

Configuring for MPC837XEMDS board...
imximage.c: In function `imximage_parse_cfg_file':
imximage.c:146: warning: passing argument 2 of `getline' from incompatible pointer type
/usr/include/bits/stdio.h:116: note: expected `size_t *' but argument is of type `uint32_t *'

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
14 years agomkimage: SEGFAULT with imximage on 64 bit systems
Stefano Babic [Fri, 5 Feb 2010 14:16:02 +0000 (15:16 +0100)]
mkimage: SEGFAULT with imximage on 64 bit systems

Running mkimage to generate an imximage produces a SEGFAULT
on 64 bit machines due to pointer arithmetic limited to 32 bit.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
14 years agos5pc110: neptune: Fix backlight on since board_is_neptune JB15_20100223
Kyungmin Park [Tue, 23 Feb 2010 11:51:53 +0000 (20:51 +0900)]
s5pc110: neptune: Fix backlight on since board_is_neptune

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: kessler: Incorrect board revision check
MyungJoo Ham [Tue, 23 Feb 2010 11:45:11 +0000 (20:45 +0900)]
s5pc110: kessler: Incorrect board revision check

"board" of kessler > C110_MACH_START; thus, if (board<0) works
incorrectly. This patch allows "kessler" to boot.

14 years agos5pc1xx: universal: remove unused file
Minkyu Kang [Tue, 23 Feb 2010 10:24:48 +0000 (19:24 +0900)]
s5pc1xx: universal: remove unused file

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: kessler: Reduce the board detection codes
Kyungmin Park [Tue, 23 Feb 2010 07:43:51 +0000 (16:43 +0900)]
s5pc110: kessler: Reduce the board detection codes

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc11x: charger wakes up every 15sec to check the temperature
MyungJoo Ham [Tue, 23 Feb 2010 06:57:54 +0000 (15:57 +0900)]
s5pc11x: charger wakes up every 15sec to check the temperature

Supports "machine_is_kessler() == true" only.

14 years agoMerge branch 'master' of mj.ham@party:/pub/git/u-boot-s5pc1xx
MyungJoo Ham [Tue, 23 Feb 2010 06:57:28 +0000 (15:57 +0900)]
Merge branch 'master' of mj.ham@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc110: adc: invalid register address removed.
MyungJoo Ham [Tue, 23 Feb 2010 06:56:05 +0000 (15:56 +0900)]
s5pc110: adc: invalid register address removed.

14 years agos5pc110: neptune: Enable bd60910gu backlight
Donghwa Lee [Tue, 23 Feb 2010 06:55:05 +0000 (15:55 +0900)]
s5pc110: neptune: Enable bd60910gu backlight

14 years agos5pc1xx: universal: remove compiler warning
Minkyu Kang [Tue, 23 Feb 2010 02:51:59 +0000 (11:51 +0900)]
s5pc1xx: universal: remove compiler warning

universal.c: In function 's5pc1xx_phy_control':
universal.c:2189: warning: no return statement in function returning non-void

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: Ethernet over USB - disable broken NFS support
Marek Szyprowski [Mon, 22 Feb 2010 13:07:56 +0000 (14:07 +0100)]
s5pc110: Ethernet over USB - disable broken NFS support

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
14 years agos5pc110: enable TFTP over USB support
Marek Szyprowski [Mon, 22 Feb 2010 11:17:22 +0000 (12:17 +0100)]
s5pc110: enable TFTP over USB support

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
14 years agos5pc110: disable support for end points >3 to reduce uboot image size
Marek Szyprowski [Mon, 22 Feb 2010 11:17:05 +0000 (12:17 +0100)]
s5pc110: disable support for end points >3 to reduce uboot image size

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
14 years agos5pc110: USB Ethernet Gadget - enabled and fixed RNDIS mode
Marek Szyprowski [Mon, 22 Feb 2010 11:18:48 +0000 (12:18 +0100)]
s5pc110: USB Ethernet Gadget - enabled and fixed RNDIS mode

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
14 years agos5pc110: support adc JB15_20100222
MyungJoo Ham [Mon, 22 Feb 2010 07:55:17 +0000 (16:55 +0900)]
s5pc110: support adc

14 years agos5pc110: aquila: Enable Dynamic power down, Self refresh, and clock control JB14_20100220
Kyungmin Park [Sat, 20 Feb 2010 00:07:00 +0000 (09:07 +0900)]
s5pc110: aquila: Enable Dynamic power down, Self refresh, and clock control

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110 lcd: add safety checks (whether it's malloc'd or not) JB13_20100219
MyungJoo Ham [Fri, 19 Feb 2010 06:50:53 +0000 (15:50 +0900)]
s5pc110 lcd: add safety checks (whether it's malloc'd or not)

14 years agos5pc110: sleep code clean (less logs, less unnecessary codes)
MyungJoo Ham [Fri, 19 Feb 2010 06:48:43 +0000 (15:48 +0900)]
s5pc110: sleep code clean (less logs, less unnecessary codes)

14 years agos5pc110: charger: charger mode sleep alternatively sleeps and wakes up.
MyungJoo Ham [Fri, 19 Feb 2010 06:33:52 +0000 (15:33 +0900)]
s5pc110: charger: charger mode sleep alternatively sleeps and wakes up.

- TODO: full batt check and temperature check.

14 years agos5pc110: fb: possible memory leak (un-free'd malloc)
MyungJoo Ham [Fri, 19 Feb 2010 06:29:46 +0000 (15:29 +0900)]
s5pc110: fb: possible memory leak (un-free'd malloc)

This is dangerous for sleep/wakeup of u-boot.

14 years agos5pc110: fb: got a memory leakage (un-free'd malloc).
MyungJoo Ham [Fri, 19 Feb 2010 05:32:14 +0000 (14:32 +0900)]
s5pc110: fb: got a memory leakage (un-free'd malloc).

This is dangerous for the sleep-wakeup in u-boot.

14 years agos5pc110: aquila: Disable TFTPBOOT over USB JB12_20100218
Kyungmin Park [Thu, 18 Feb 2010 08:14:51 +0000 (17:14 +0900)]
s5pc110: aquila: Disable TFTPBOOT over USB

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: USB Ethernet Gadget: RNDIS port
Kyungmin Park [Thu, 18 Feb 2010 08:02:30 +0000 (17:02 +0900)]
s5pc110: USB Ethernet Gadget: RNDIS port

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoUSB: added RNDIS files
Kyungmin Park [Thu, 18 Feb 2010 08:00:25 +0000 (17:00 +0900)]
USB: added RNDIS files

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: Add S5PC110 S3C UDC OTG driver and enable CDC Ethernet networking (tftp)
Kyungmin Park [Thu, 18 Feb 2010 07:59:35 +0000 (16:59 +0900)]
s5pc110: Add S5PC110 S3C UDC OTG driver and enable CDC Ethernet networking (tftp)

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: copy&paste S3C UDC OTG driver from Linux Kernel tree
Kyungmin Park [Thu, 18 Feb 2010 07:50:51 +0000 (16:50 +0900)]
s5pc110: copy&paste S3C UDC OTG driver from Linux Kernel tree

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoEnable the use of Ethernet over USB (CDC) for the AT91SAM9261EK board.
Kyungmin Park [Thu, 18 Feb 2010 07:49:57 +0000 (16:49 +0900)]
Enable the use of Ethernet over USB (CDC) for the AT91SAM9261EK board.

Signed-off-by: Thomas Smits <ts.smits@gmail.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoConnect the AT91 UDC to USB CDC-ethernet support
Kyungmin Park [Thu, 18 Feb 2010 07:49:05 +0000 (16:49 +0900)]
Connect the AT91 UDC to USB CDC-ethernet support

This patch implements the low-level part of the USB CDC layer for AT91
Other boards can use this patch as an example to connect their own.

It does not enable the use of CDC ethernet for any of the AT91 boards.
Separate patches are required for that. Some boards also use network-
drivers that do not support CONFIG_NET_MULTI, which is mandatory for this
patch to work.

Signed-off-by: Thomas Smits <ts.smits@gmail.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoIntegrate USB gadget layer and USB CDC driver layer
Kyungmin Park [Thu, 18 Feb 2010 07:33:31 +0000 (16:33 +0900)]
Integrate USB gadget layer and USB CDC driver layer

Signed-off-by: Thomas Smits <ts.smits@gmail.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoUSB: Prepare the TFTP over USB
Kyungmin Park [Thu, 18 Feb 2010 07:31:15 +0000 (16:31 +0900)]
USB: Prepare the TFTP over USB

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Thu, 18 Feb 2010 02:41:48 +0000 (11:41 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc110: neptune: Neptune board detect support
Kyungmin Park [Thu, 18 Feb 2010 02:41:43 +0000 (11:41 +0900)]
s5pc110: neptune: Neptune board detect support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc1xx: gpio: use upper case macro
Minkyu Kang [Thu, 18 Feb 2010 02:32:02 +0000 (11:32 +0900)]
s5pc1xx: gpio: use upper case macro

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of http://git.denx.de/u-boot
Kyungmin Park [Thu, 18 Feb 2010 02:02:21 +0000 (11:02 +0900)]
Merge branch 'master' of http://git.denx.de/u-boot

Conflicts:

cpu/arm_cortexa8/s5pc1xx/Makefile
cpu/arm_cortexa8/s5pc1xx/cache.c
lib_ppc/reloc.S
onenand_ipl/board/samsung/universal/u-boot-onenand.lds

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: p1: modify onenand write address JB11_20100217
jinmo.sung [Tue, 16 Feb 2010 12:05:13 +0000 (21:05 +0900)]
s5pc110: p1: modify onenand write address

Signed-off-by: jinmo.sung <jm0302.sung@samsung.com>
14 years agonew board (eb_cpux9k2)
Jens Scharsig [Wed, 3 Feb 2010 21:48:09 +0000 (22:48 +0100)]
new board (eb_cpux9k2)

* new board (eb_cpux9k2)
 * support for EB+CPUx9K2 board by BuS Elektronik GmbH & Co. KG
 * select via make eb_cpux9k2_config
 * this also demonstrates, how to use boards with AT91RM9200 cpu
   in at91 arch tree

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
14 years agonew at91_emac network driver (NET_MULTI api)
Jens Scharsig [Wed, 3 Feb 2010 21:47:57 +0000 (22:47 +0100)]
new at91_emac network driver (NET_MULTI api)

* add's at91_emac (AT91RM9200) network driver (NET_MULTI api)
 * enable driver with CONFIG_DRIVER_AT91EMAC
 * generic PHY initialization
 * modify AT91RM9200 boards to use NET_MULTI driver
 * the drivers has been tested with LXT971 Phy and DM9161 Phy at MII and RMII
   interface

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
14 years agoprepare joining at91rm9200 into at91
Jens Scharsig [Wed, 3 Feb 2010 21:47:35 +0000 (22:47 +0100)]
prepare joining at91rm9200 into at91

* prepare joining at91 and at91rm9200
 * add modified copy of soc files to cpu/arm920t/at91 to make
   possible to compile at91rm9200 boards in at91 tree instead
   of at91rm9200
 * add header files with c structure defs for AT91 MC, ST and TC
 * the new cpu files are using at91 c structure soc access
 * please read README.soc-at91 for details

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
14 years agoupdate at91sam9263ek board to new SoC access
Jens Scharsig [Wed, 3 Feb 2010 21:47:18 +0000 (22:47 +0100)]
update at91sam9263ek board to new SoC access

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

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
14 years agoconvert common files to new SoC access
Jens Scharsig [Wed, 3 Feb 2010 21:46:58 +0000 (22:46 +0100)]
convert common files to new SoC access

* add's a warning to all files, which need update to new SoC access
 * convert common files in cpu/../at91 and a lot of drivers to use
   c stucture SoC access

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
14 years agoconvert all at91 files to use at91_gpio driver syntax
Jens Scharsig [Wed, 3 Feb 2010 21:46:46 +0000 (22:46 +0100)]
convert all at91 files to use at91_gpio driver syntax

* convert all files cpu/../at91 to use at91_gpio driver syntax
 * change AT91_PINP([A-F])(\d+) to AT91_PIO_PORT\1, \2
   this makes all 160 AT91_PINPxxx defines obsolete
 * AT91_PINPxxx defines and gpio.h can be remove, if all boards converted to new SoC access

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
14 years agoadd a new AT91 GPIO driver
Jens Scharsig [Wed, 3 Feb 2010 21:46:16 +0000 (22:46 +0100)]
add a new AT91 GPIO driver

* add a real AT91 GPIO driver instead of header inline code
* resolve the mixing of port and pins
* change board config files to use new driver
* add macros to gpio to realize backward compatibility

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
14 years agoadd c structures for SoC access
Jens Scharsig [Wed, 3 Feb 2010 21:46:01 +0000 (22:46 +0100)]
add c structures for SoC access

* add's c structures for SoC access to pheriperials head files

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
14 years agoadd new CONFIG_AT91_LEGACY
Jens Scharsig [Wed, 3 Feb 2010 21:45:42 +0000 (22:45 +0100)]
add new CONFIG_AT91_LEGACY

* add's the new temporary CONFIG_AT91_LEGACY to all board configs
 This will need for backward compatiblity, while change the SoC access
 to c structures. If CONFIG_AT91_LEGACY is defined, the deprecated
 SoC is used.

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
14 years agoDA830 EVM: Enable NAND support on Spectrum Digital EVM
Nick Thompson [Mon, 8 Feb 2010 16:36:16 +0000 (11:36 -0500)]
DA830 EVM: Enable NAND support on Spectrum Digital EVM

The EVM UI extender card has a NAND device. This change will enable
saveenv to work with NAND and Linux to be booted using:

mtdparts default
nboot kernel
bootm

Signed-off-by: Nick Thompson <nick.thompson@ge.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoDavinci: Add EMIF-A macros for setting chip select parameters
Nick Thompson [Mon, 8 Feb 2010 16:34:58 +0000 (11:34 -0500)]
Davinci: Add EMIF-A macros for setting chip select parameters

The patch adds EMIF-A macros for setting chip select parameters

Signed-off-by: Nick Thompson <nick.thompson@ge.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoOMAP3: Avoid re-write to PRM_CLKSRC_CTRL
Sanjeev Premi [Mon, 8 Feb 2010 16:33:25 +0000 (11:33 -0500)]
OMAP3: Avoid re-write to PRM_CLKSRC_CTRL

In function get_osc_clk_speed(), do not change/ update
the divider for SYS_CLK as it can has cascading effect
on the other derived clocks.

Sudden change in divider value can lead to inconsistent
behavior in the system - often leading to crashes.

The problem was found when working with OMAP3EVM using
DM3730 processor card.

The patch has been tested with OMAP3530 on OMAP3EVM as
well

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Hiremath Vaibhav <hvaibhav@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoSPI: Fix 32 bit transfers in mxc_spi.c
Magnus Lilja [Tue, 9 Feb 2010 21:05:39 +0000 (22:05 +0100)]
SPI: Fix 32 bit transfers in mxc_spi.c

Commit f9b6a1575d9f1ca192e4cb60e547aa66f08baa3f,  "i.MX31: fix SPI
driver for shorter than 32 bit" broke 32 bit transfers. This patch
makes single 32 bit transfer work again.

Transfer lengths that are known not to work will abort and print
an error message.

Tested on i.MX31 Litekit and i.MX31 PDK using 32 bit transfers to
the MC13783/ATLAS chip (using the 'date' command).

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
14 years agoedb93xx: enable the uart in devicecfg register
Alessandro Rubini [Sat, 6 Feb 2010 19:54:05 +0000 (20:54 +0100)]
edb93xx: enable the uart in devicecfg register

printf goes to uart1, but it will block forever waiting for
busy to go off unless the uart is enabled first.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
14 years agoedb93xx: change calculation un early_udelay.h
Alessandro Rubini [Sat, 6 Feb 2010 19:53:54 +0000 (20:53 +0100)]
edb93xx: change calculation un early_udelay.h

Previous code compiled with gcc-4.2.2 makes a call to
__aeabi_uidiv to divide by 20. As a side effect it was
not inline any more, and so sdram_cfg used the stack
as well, but this is early code that has no stack yet.
The patch explicitly removes the division, so no stack is used.

The calculation of the counter calls a division by 20

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
14 years agoEP93xx: fix syscon_regs definition
Alessandro Rubini [Sat, 6 Feb 2010 19:53:43 +0000 (20:53 +0100)]
EP93xx: fix syscon_regs definition

The structure was missing a reserved entry (not listed in the manual,
actually), so the last registers had a wrong offset. This prevented
all swlocked registers to be modified as swlock is last in the structure.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
14 years agoARM: Add support for EP93xx SoCs
Matthias Kaehlcke [Mon, 1 Feb 2010 20:29:39 +0000 (21:29 +0100)]
ARM: Add support for EP93xx SoCs

Add support for the Cirrus EP93xx platform

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Acked-by: Tom <Tom.Rix@windriver.com>
14 years agoAdd support for EDB93xx boards
Matthias Kaehlcke [Mon, 1 Feb 2010 20:29:48 +0000 (21:29 +0100)]
Add support for EDB93xx boards

Added support for the following EDB93xx boards:

EDB9301
EDB9302
EDB9302A
EDB9307
EDB9307A
EDB93012
EDB9315
EDB9315A

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
14 years agoNetStar: Remove debug junk leaked into eeprom utility
Ladislav Michl [Wed, 27 Jan 2010 16:12:28 +0000 (11:12 -0500)]
NetStar: Remove debug junk leaked into eeprom utility

This patch removes debug junk leaked into eeprom utility.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoNetStar: make crcit utility more readable
Ladislav Michl [Wed, 27 Jan 2010 16:12:23 +0000 (11:12 -0500)]
NetStar: make crcit utility more readable

This patch makes the crcit utility more readable

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoNetStar: Disable CONFIG_CMD_JFFS2
Ladislav Michl [Wed, 27 Jan 2010 16:12:08 +0000 (11:12 -0500)]
NetStar: Disable CONFIG_CMD_JFFS2

This patch removes "CONFIG_CMD_JFFS" from the board config

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoOMAP3 Move declaration of gpmc_cfg.
Tom Rix [Wed, 27 Jan 2010 16:11:55 +0000 (11:11 -0500)]
OMAP3 Move declaration of gpmc_cfg.

Every omap3 board config file declared the global variable gpmc_cfg.
This changes moves the declaration to a better location in the
arch dependent header file cpu.h.

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoOvero GPMC registers
Scott Ellis [Wed, 27 Jan 2010 16:11:46 +0000 (11:11 -0500)]
Overo GPMC registers

Use appropriate GPMC timings for the LAN9221 controller on the
Gumstix Overo expansion boards not the values in arch-omap3/mem.h
which are for a different ethernet controller.

Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoda830evm: Use table driven pin mux configuration
Nick Thompson [Wed, 27 Jan 2010 16:11:28 +0000 (11:11 -0500)]
da830evm: Use table driven pin mux configuration

Tidyup the pin muxer configuration using the Davinci table driven
pinmux configuration function and data tables.

Signed-off-by: Nick Thompson <nick.thompson@ge.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoTI DaVinci: Driver for the davinci SPI controller
Sekhar Nori [Wed, 27 Jan 2010 16:10:40 +0000 (11:10 -0500)]
TI DaVinci: Driver for the davinci SPI controller

This adds a driver for the SPI controller found on davinci
based SoCs from Texas Instruments.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoat91: Add esd gmbh OTC570 board support
Daniel Gorsulowski [Mon, 25 Jan 2010 09:50:41 +0000 (10:50 +0100)]
at91: Add esd gmbh OTC570 board support

This patch adds support for esd gmbh OTC570 board.
The OTC570 is based on an Atmel AT91SAM9263 SoC.

Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
14 years agos5pc110: kessler: fixed omitted conditions (LCD/MAX17040 for rev 0.9) JB10_20100212
MyungJoo Ham [Thu, 11 Feb 2010 12:51:39 +0000 (21:51 +0900)]
s5pc110: kessler: fixed omitted conditions (LCD/MAX17040 for rev 0.9)

14 years agos5pc110: kessler: code cleanup JB09_20100211
Kyungmin Park [Thu, 11 Feb 2010 11:25:22 +0000 (20:25 +0900)]
s5pc110: kessler: code cleanup

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: kessler: Use the kessler name instead of aries
Kyungmin Park [Thu, 11 Feb 2010 11:16:55 +0000 (20:16 +0900)]
s5pc110: kessler: Use the kessler name instead of aries

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