Kyungmin Park [Tue, 12 Jan 2010 09:15:00 +0000 (18:15 +0900)]
Merge branch 'master' of http://git.denx.de/u-boot
Conflicts:
common/env_onenand.c
drivers/mtd/onenand/onenand_base.c
include/linux/mtd/onenand_regs.h
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 08:33:21 +0000 (17:33 +0900)]
s5pc110: aquila: Don't include modem code
It's only used for debugging
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 08:23:58 +0000 (17:23 +0900)]
OneNAND: Remove unused codes
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 02:14:34 +0000 (11:14 +0900)]
s5pc110: aquila: New memory timing (not yet tested)
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 01:18:23 +0000 (10:18 +0900)]
s5pc110: aquila: Add gitignore
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 01:17:25 +0000 (10:17 +0900)]
s5pc110: aquila: Use correct name at comments
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Donggeun Kim [Fri, 8 Jan 2010 08:53:05 +0000 (17:53 +0900)]
s5pc110:aquila:add 'bamboo' board
Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Donggeun Kim [Thu, 7 Jan 2010 13:45:27 +0000 (22:45 +0900)]
Merge branch 'master' of dgkim@party:/pub/git/u-boot-s5pc1xx
Donggeun Kim [Thu, 7 Jan 2010 13:45:07 +0000 (22:45 +0900)]
Revert "s5pc110:aquila:add 'bamboo' board"
This reverts commit
e3979bde8e25e60075890d1fe7410cdcc011cbfe.
MyungJoo Ham [Thu, 7 Jan 2010 11:53:13 +0000 (20:53 +0900)]
s5pc110: suspend/resume: EVT1: OTHERS CF Retention
Kyungmin Park [Thu, 7 Jan 2010 10:20:29 +0000 (19:20 +0900)]
s5pc110: aquila: Add CSA partition automatically
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 7 Jan 2010 10:05:00 +0000 (19:05 +0900)]
s5pc110: aquila: create the csa image
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 7 Jan 2010 09:52:22 +0000 (18:52 +0900)]
s5pc110: aquila: Add csa partition
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Donggeun Kim [Thu, 7 Jan 2010 09:41:04 +0000 (18:41 +0900)]
s5pc110:aquila:add 'bamboo' board
Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Minkyu Kang [Thu, 7 Jan 2010 08:09:59 +0000 (17:09 +0900)]
s5pc110: fix wrong PLL_LOCK offset
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 7 Jan 2010 05:52:40 +0000 (14:52 +0900)]
s5pc1xx: remove unnecessary header files
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Byungho Min [Wed, 6 Jan 2010 07:02:28 +0000 (16:02 +0900)]
clock: enable uart1 clock for GPS
Minkyu Kang [Wed, 6 Jan 2010 06:13:01 +0000 (15:13 +0900)]
s5pc110: remove warning
remove below warning
s6e63m0.c: In function 's6e63m0_set_spi_interface':
s6e63m0.c:476: warning: implicit declaration of function 'printf'
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 6 Jan 2010 06:12:41 +0000 (15:12 +0900)]
usbd: version update
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 6 Jan 2010 05:27:56 +0000 (14:27 +0900)]
s5pc110: aquila: remove warnings
remove below warnings
universal.c: In function 'board_sleep_init':
universal.c:1859: warning: unused variable 'gpio'
universal.c:1856: warning: unused variable 'value'
universal.c: In function 'board_sleep_resume':
universal.c:1909: warning: unused variable 'gpio'
universal.c:1906: warning: unused variable 'value'
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 6 Jan 2010 05:21:27 +0000 (14:21 +0900)]
usbd: modify old style partition info
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 6 Jan 2010 01:24:19 +0000 (10:24 +0900)]
usbd: add download mode
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
MyungJoo Ham [Tue, 5 Jan 2010 10:57:19 +0000 (19:57 +0900)]
s5pc1xx: reduce u-boot-sleep current. (16.8 -> 12.2 mA)
Done by turning sound codec off.
Applies to u-boot sleep only (kernel does it already)
1 less mili-amps to match kernel.
MyungJoo Ham [Tue, 5 Jan 2010 10:56:07 +0000 (19:56 +0900)]
s5pc1xx:gpio S5PC110 EVT0 Errata
MyungJoo Ham [Tue, 5 Jan 2010 08:57:00 +0000 (17:57 +0900)]
s5pc110: sleep: power/clock related registers are saved for uboot sleep
MyungJoo Ham [Tue, 5 Jan 2010 08:53:21 +0000 (17:53 +0900)]
s5pc110: more registers registered in the headers.
MyungJoo Ham [Tue, 5 Jan 2010 08:52:32 +0000 (17:52 +0900)]
s5pc110: powerdown gpio setting: less hardcoded values.
Heungjun Kim [Tue, 5 Jan 2010 08:42:25 +0000 (17:42 +0900)]
Merge branch 'master' of ssh://riverful.kim@party/pub/git/u-boot-s5pc1xx
Heungjun Kim [Tue, 5 Jan 2010 08:40:38 +0000 (17:40 +0900)]
s5pc1xx: touchkey: power chip bug fix
- must use TOUCH_CE pin for power controlling, after TOUCH_EN pin high.
Signed-off-by: Heungjun Kim <riverful.kim@samsung.com>
MyungJoo Ham [Tue, 5 Jan 2010 08:02:56 +0000 (17:02 +0900)]
s5pc1xx: wakeup I/O retention control for EVT1, save ETC GPIO control
Minkyu Kang [Tue, 5 Jan 2010 04:00:45 +0000 (13:00 +0900)]
usbd: remove warning
remove below warning
cmd_usbd.c: In function 'process_data':
cmd_usbd.c:727: warning: initialization makes pointer from integer without a cast
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 5 Jan 2010 03:54:11 +0000 (12:54 +0900)]
s5pc1xx: sleep: codes clean
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 5 Jan 2010 02:30:57 +0000 (11:30 +0900)]
s5pc1xx: sleep: remove CONFIG_CPU_S5PC110_EVT0_ERRATA define (2)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 5 Jan 2010 02:29:09 +0000 (11:29 +0900)]
s5pc1xx: sleep: set correct sleep mode by CPU revision
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 5 Jan 2010 02:28:46 +0000 (11:28 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Tue, 5 Jan 2010 02:27:06 +0000 (11:27 +0900)]
s5pc1xx: sleep: remove CONFIG_CPU_S5PC110_EVT0_ERRATA define
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
MyungJoo Ham [Tue, 5 Jan 2010 02:20:49 +0000 (11:20 +0900)]
s5pc110: revert GPIO_G1 PDN setting, update 3_TOUCH GPIO PDN setting.
- no noticable change.
MyungJoo Ham [Tue, 5 Jan 2010 01:46:23 +0000 (10:46 +0900)]
Merge branch 'master' of mj.ham@party:/pub/git/u-boot-s5pc1xx
MyungJoo Ham [Tue, 5 Jan 2010 01:45:37 +0000 (10:45 +0900)]
s5pc110: GPIO PDN mode setting for WLAN (~2.3mA reduced)
Minkyu Kang [Tue, 5 Jan 2010 00:40:21 +0000 (09:40 +0900)]
usbd: send error status
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 5 Jan 2010 00:36:10 +0000 (09:36 +0900)]
usbd: use status definitions
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 5 Jan 2010 00:10:47 +0000 (09:10 +0900)]
s5pc1xx: checking cpu revision at bootloader downloading
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Mon, 4 Jan 2010 07:45:23 +0000 (16:45 +0900)]
s5pc1xx: aquila: remove warning
remove below warning
universal.c: In function 'power_on':
universal.c:2332: warning: no return statement in function returning non-void
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Mon, 4 Jan 2010 07:43:15 +0000 (16:43 +0900)]
s5pc110: add CPU revision checking function
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Wolfgang Denk [Sun, 3 Jan 2010 20:07:04 +0000 (21:07 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Kyungmin Park [Thu, 31 Dec 2009 04:50:46 +0000 (13:50 +0900)]
s5pc110: power on/off all support
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 31 Dec 2009 03:08:14 +0000 (12:08 +0900)]
s5pc110: Use s5pc110_gpio at predefined
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 31 Dec 2009 02:38:19 +0000 (11:38 +0900)]
s5pc110: Power control
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 31 Dec 2009 02:08:35 +0000 (11:08 +0900)]
s5pc110: power control
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 31 Dec 2009 01:31:57 +0000 (10:31 +0900)]
s5pc110: Control device power
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 31 Dec 2009 01:30:53 +0000 (10:30 +0900)]
s5pc110: gpio: show gpio at one row
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 29 Dec 2009 09:55:08 +0000 (18:55 +0900)]
s5pc110: aquila: Use proper EVT names
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Joonyoung Shim [Tue, 29 Dec 2009 08:55:19 +0000 (17:55 +0900)]
build: Modify user setting
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Minkyu Kang [Tue, 29 Dec 2009 08:48:51 +0000 (17:48 +0900)]
s5pc110: enable i2c clocks
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 29 Dec 2009 08:39:58 +0000 (17:39 +0900)]
s5pc110: aquila: rev0.7 is 4G2G1G
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 29 Dec 2009 08:14:12 +0000 (17:14 +0900)]
s5pc110: aquila: add memory setting for rev0.8
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
daeinki [Tue, 29 Dec 2009 05:39:47 +0000 (14:39 +0900)]
s5pc110: fb: added evt1 FIMD Driver support.
Signed-off-by: daeinki <inki.dae@samsung.com>
Minkyu Kang [Mon, 28 Dec 2009 10:46:43 +0000 (19:46 +0900)]
build: modify prom's setting
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Mon, 28 Dec 2009 08:59:54 +0000 (17:59 +0900)]
s5pc110: enable PWM clock
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Mon, 28 Dec 2009 08:34:36 +0000 (17:34 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Mon, 28 Dec 2009 08:33:57 +0000 (17:33 +0900)]
s5pc110: checksum: evt1 doesn't have reserved page
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Joonyoung Shim [Mon, 28 Dec 2009 08:23:12 +0000 (17:23 +0900)]
s5pc110: geminus: Add rev0.1 board detection
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Minkyu Kang [Mon, 28 Dec 2009 07:35:33 +0000 (16:35 +0900)]
s5pc110: checksum: fix checksum routine
evt1 needs to sum reserved page, but evt0 doesn't need it.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Mon, 28 Dec 2009 07:11:50 +0000 (16:11 +0900)]
s5pc110: evt1: fix text base
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Mon, 28 Dec 2009 07:08:30 +0000 (16:08 +0900)]
s5pc110: checksum: fix checksum routine
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Kyungmin Park [Sat, 26 Dec 2009 04:41:37 +0000 (13:41 +0900)]
s5pc110: aquila: Fix wrong TEXT_BASE16K_*
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Sat, 26 Dec 2009 04:26:21 +0000 (13:26 +0900)]
s5pc110: aquila: set correct relocation address
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Sat, 26 Dec 2009 04:22:20 +0000 (13:22 +0900)]
s5pc110: aquila: Fix wrong size
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Minkyu Kang [Thu, 24 Dec 2009 08:30:46 +0000 (17:30 +0900)]
s5pc110: support evt1
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 24 Dec 2009 05:18:46 +0000 (14:18 +0900)]
s5pc110: aquila: disable ldo3
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 24 Dec 2009 05:10:25 +0000 (14:10 +0900)]
s5pc110: pmic: add pmic command config
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 24 Dec 2009 04:34:33 +0000 (13:34 +0900)]
s5pc110: aquila: seperate the 3-touchkey checking logic
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 24 Dec 2009 02:22:53 +0000 (11:22 +0900)]
s5pc110: aquila: codes clean
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 24 Dec 2009 00:41:37 +0000 (09:41 +0900)]
s5pc110: gpio: codes clean
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 24 Dec 2009 00:23:42 +0000 (09:23 +0900)]
s5pc110: gpio: fix print msg
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 23 Dec 2009 09:49:07 +0000 (18:49 +0900)]
s5pc110: gpio: add gpio command config
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 23 Dec 2009 09:44:33 +0000 (18:44 +0900)]
s5pc110: gpio: add gpio command for debugging
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 23 Dec 2009 05:56:37 +0000 (14:56 +0900)]
s5pc110: aquila: battery: reset correctly
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
MyungJoo Ham [Wed, 23 Dec 2009 01:48:31 +0000 (10:48 +0900)]
s5pc110: PULL-UP setting for GPG1_[1,4-5] (WLAN_SDIO CMD, D)
Kyungmin Park [Tue, 22 Dec 2009 12:09:44 +0000 (21:09 +0900)]
Revert "s5pc110: clock: enabled sgx core clock."
This reverts commit
cfef27e7e90af51ecbdc94f2271610a6beda9c0c.
daeinki [Tue, 22 Dec 2009 08:13:28 +0000 (17:13 +0900)]
s5pc110: clock: enabled sgx core clock.
this clock should be disabled in the future.
Signed-off-by: daeinki <inki.dae@samsung.com>
Stefan Roese [Wed, 16 Dec 2009 08:27:31 +0000 (09:27 +0100)]
ppc4xx: alpr: Remove some not needed commands to make image fit again
The latest changes increased the size of the alpr image a bit more.
Now it doesn't fit into the 256k reserved for it. This patch now removes
the commands "ping" and "diag" which are not needed in the production
systems.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Pieter Voorthuijsen <pieter.voorthuijsen@prodrive.nl>
Heiko Schocher [Thu, 3 Dec 2009 10:23:17 +0000 (11:23 +0100)]
i2c, ppc4xx: fix compiling KAREF and METROBOX boards.
commit
eb5eb2b0f744f0cba405160c5d01335c40f09acf
ppc4xx: Cleanup PPC4xx I2C infrastructure
This patch cleans up the PPC4xx I2C intrastructure:
- Use C struct to describe the I2C registers instead of defines
- Coding style cleanup (braces, whitespace, comments, line length)
- Extract common code from i2c_read() and i2c_write()
- Remove unneeded IIC defines from ppc405.h & ppc440.h
breaks comiling for the KAREF and METROBOX boards.
This patch fixes this issue.
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Minkyu Kang [Tue, 22 Dec 2009 02:39:19 +0000 (11:39 +0900)]
s5pc110: aquila: disable SROMC clock
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 22 Dec 2009 01:48:38 +0000 (10:48 +0900)]
build: add private setting
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Wolfgang Wegner [Wed, 9 Dec 2009 14:16:47 +0000 (15:16 +0100)]
move prototypes for gunzip() and zunzip() to common.h
Prototype for gunzip/zunzip was only in lib_generic/gunzip.c and thus
repeated in every file using it. This patch moves the prototypes to
common.h and removes all prototypes distributed anywhere else.
Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
Wolfgang Denk [Mon, 21 Dec 2009 20:01:56 +0000 (21:01 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-usb
Minkyu Kang [Mon, 21 Dec 2009 08:37:56 +0000 (17:37 +0900)]
s5pc110: aquila: add IP4 clock gating
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Mon, 21 Dec 2009 03:28:15 +0000 (12:28 +0900)]
s5pc110: aquila: remove power gating (for suspend/resume)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Mahavir Jain [Tue, 3 Nov 2009 06:52:10 +0000 (12:22 +0530)]
usb: write command for RAW partition.
This patch implements write support to usb device with raw partition.
It will be useful for filesystem write support to usb device from
u-boot in future.
Tested with writing kernel image to raw usb disk & booting with usb
read command into ram.
[Note: run usb part to get info about start sector & number of
sectors on a partition for usb write operation.]
Signed-off-by: Mahavir Jain <mjain@marvell.com>
Ajay Kumar Gupta [Wed, 4 Nov 2009 21:58:23 +0000 (15:58 -0600)]
omap3evm: musb: add USB config
Added USB host and device config for host (MSC, Keyboard) and
device (ACM) functionalities.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Tom Rix [Sat, 31 Oct 2009 17:37:46 +0000 (12:37 -0500)]
OMAP3 USB Initialize twl4030 only if required
OMAP3EVM uses ISP1504 phy and so twl4030 related init is not required.
Submitted-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Tom Rix [Sat, 31 Oct 2009 17:37:45 +0000 (12:37 -0500)]
OMAP3 zoom2 Use usbtty if the debug board is not connected.
The preferred serial output comes from the debug board.
When the debug board is disconnected, fall back on using
usbtty from the usb connector on the Zoom2 board.
This shows up as /dev/ttyACM0 in a linux host.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Tom Rix [Sat, 31 Oct 2009 17:37:44 +0000 (12:37 -0500)]
USBTTY make some function declarations easier to use.
Zoom2 needs to use these declarations and the include directory is a
better place from them than in the middle of the driver directory.
It did not make sense to create a new file for just a couple of
lines so they were appended to the serial.h
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Tom Rix [Sat, 31 Oct 2009 17:37:43 +0000 (12:37 -0500)]
OMAP3 beagle Add usbtty configuration
The primary console of beagle is the serial header.
A secondary console is to use the usbtty. The user can set this
manually by doing
setenv stdout usbtty; setenv stdin usbtty; setenv stderr usbtty
saveenv
usbtty will be usable by accessing the /dev/ttyACM0 on a linux host.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Tom Rix [Sat, 31 Oct 2009 17:37:42 +0000 (12:37 -0500)]
OMAP3 zoom1 Add usbtty configuration
The primary console of zoom1 is the serial out from the jumpers
accessed by removing the back panel.
A secondary console is to use the usbtty. The user can set this
manually by doing
setenv stdout usbtty; setenv stdin usbtty; setenv stderr usbtty
saveenv
usbtty will be usable by accessing the /dev/ttyACM0 on a linux host.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Tom Rix [Sat, 31 Oct 2009 17:37:41 +0000 (12:37 -0500)]
OMAP3 Add usb device support
This change adds the usb device support for musb.
Omap3 platform support added at the same level as davinci.
The interface for usbtty to use the musb device support was added.
Verified on omap3 beagle, zoom1 and zoom2.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Tom Rix [Sat, 31 Oct 2009 17:37:40 +0000 (12:37 -0500)]
TWL4030 Add usb PHY support
The twl4030 provides a PHY device for connecting a link device,
like musb, to physical connection.
This change adds the twl4030 usb registers and functions for
initializing the PHY as required by omap3.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Tom Rix [Sat, 31 Oct 2009 17:37:39 +0000 (12:37 -0500)]
USB add macros for debugging usb device setup.
When developing usb device features, it is useful to print out
common usb structures.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Tom Rix [Sat, 31 Oct 2009 17:37:38 +0000 (12:37 -0500)]
USB Consolidate descriptor definitions
The header files usb.h and usbdescriptors.h have the same nameed
structure definitions for
usb_config_descriptor
usb_interface_descriptor
usb_endpoint_descriptor
usb_device_descriptor
usb_string_descriptor
These are out right duplicates in usb.h
usb_device_descriptor
usb_string_descriptor
This one has extra unused elements
usb_endpoint_descriptor
unsigned char bRefresh
unsigned char bSynchAddress;
These in usb.h have extra elements at the end of the usb 2.0
specified descriptor and are used.
usb_config_descriptor
usb_interface_descriptor
The change is to consolidate the definition of the descriptors
to usbdescriptors.h. The dublicates in usb.h are removed.
The extra element structure will have their name shorted by
removing the '_descriptor' suffix.
So
usb_config_descriptor -> usb_config
usb_interface_descriptor -> usb_interface
For these, the common descriptor elements are accessed now
by an element 'desc'.
As an example
- if (iface->bInterfaceClass != USB_CLASS_HUB)
+ if (iface->desc.bInterfaceClass != USB_CLASS_HUB)
This has been compile tested on MAKEALL arm, ppc and mips.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>