Re: [U-Boot] [PATCH 05/14] fdt: Export fdtdec_find_alias_node() function

2012-10-25 Thread David Gibson
On Thu, Oct 25, 2012 at 07:31:02PM -0700, Simon Glass wrote: > This function is useful outside fdtdec, so export it. Hrm. fdt_path_offset() in libfdt itself will already look up aliases if given a path that doesn't start with '/'. So it's not clear why you need this function at all. -- David G

[U-Boot] [PATCH 9/9 V4] SMDK5250: Enable Sound

2012-10-25 Thread Rajeshwari Shinde
This patch enables sound support for EXYNOS5 Signed-off-by: Rajeshwari Shinde Acked-by: Chander Kashyap Acked-by: Simon Glass --- Changes in V2: - corrected the commit message. Changes in V3: - None. Changes in V4: - None. include/configs/smdk5250.h |8 1 files changed, 8 inser

[U-Boot] [PATCH 8/9 V4] EXYNOS: Add clock for I2S

2012-10-25 Thread Rajeshwari Shinde
This patch adds clock support for I2S Signed-off-by: R. Chandrasekar Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - Changes clock function names as suggested by Minkyu Kang. Changes in V4: - None arch/arm/cpu/armv7/exynos/clock.c| 120

[U-Boot] [PATCH 7/9 V4] EXYNOS: Add I2S base address

2012-10-25 Thread Rajeshwari Shinde
This patch adds base address for I2S Signed-off-by: Rajeshwari Shinde Acked-by: Chander Kashyap Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - None Changes in V4: - None arch/arm/include/asm/arch-exynos/cpu.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff

[U-Boot] [PATCH 6/9 V4] EXYNOS: Add pinmux for I2S

2012-10-25 Thread Rajeshwari Shinde
This patch adds pinmux support for I2S1 Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - made exynos_i2s_config pinmux function static. Changes in V3: - Incorporated comments from Simon Glass Changes in V4: - None arch/arm/cpu/armv7/exynos/pinmux.c| 13 +

[U-Boot] [PATCH 5/9 V4] EXYNOS: Add parameters required by I2S

2012-10-25 Thread Rajeshwari Shinde
This patch adds the audio parameters required by the I2S to play the predefined audio data. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - Changed codec I2C address to 0x1a. Changes in V4: - None arch/arm/include/asm/arch-exynos/sound.h | 44

Re: [U-Boot] [PATCH 0/3] Bring in new I2C framework

2012-10-25 Thread Heiko Schocher
Hello Simon, On 25.10.2012 23:37, Simon Glass wrote: On Mon, Oct 22, 2012 at 10:40 AM, Heiko Schocher wrote: rebased/reworked the I2C multibus patches from Simon Glass found here: http://www.mail-archive.com/u-boot@lists.denx.de/msg75530.html It seems the timing is coming, to bring this in m

[U-Boot] [PATCH 4/9 V4] EXYNOS: Add I2S registers

2012-10-25 Thread Rajeshwari Shinde
This patch add I2S registers Signed-off-by: R. Chandrasekar Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - None Changes in V4: - None arch/arm/include/asm/arch-exynos/i2s-regs.h | 66 +++ 1 files changed, 66 insertion

[U-Boot] [PATCH 3/9 V4] Sound: Add command for audio playback

2012-10-25 Thread Rajeshwari Shinde
This patch adds command to test audio playback. sound init - Initialises the audio subsystem (i2s and wm8994 codec) sound play - Plays predefined the audio data when specified length and frequency. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: -

[U-Boot] [PATCH 2/9 V4] SOUND: Add WM8994 codec

2012-10-25 Thread Rajeshwari Shinde
This patch adds driver for audio codec WM8994 Signed-off-by: R. Chandrasekar Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - Incorporated comments from Simon Glass. Changes in V4: - None drivers/sound/Makefile |1 + drivers/sound/

[U-Boot] [PATCH 1/9 V4] SOUND: SAMSUNG: Add I2S driver

2012-10-25 Thread Rajeshwari Shinde
This patch adds driver for I2S interface specific to samsung. Signed-off-by: R. Chandrasekar Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - renamed i2s.c to samsung-i2s.c. Changes in V3: - wave sine table removed and the same in calculated in a function. Changes in

[U-Boot] [PATCH 0/9 V4] EXYNOS5: Add Audio support

2012-10-25 Thread Rajeshwari Shinde
This patchset adds the audio support for EXYNOS5. This patchset plays a predefined beep sound. Rajeshwari Shinde (9): SOUND: SAMSUNG: Add I2S driver SOUND: Add WM8994 codec Sound: Add command for audio playback EXYNOS: Add I2S registers EXYNOS: Add parameters required by I2S EXYNOS: Ad

Re: [U-Boot] Please pull u-boot-ti/master

2012-10-25 Thread Albert ARIBAUD
Hi Tom, On Thu, 25 Oct 2012 11:49:22 -0700, Tom Rini wrote: > Hello, > > The following changes since commit 39826f09978a0a7070999acc15babf88f03e4051: > > arm: fdt: Relocate fdt along with other data (2012-10-19 21:38:27 +0200) > > are available in the git repository at: > > git://git.den

Re: [U-Boot] Merging device trees at runtime for module-based systems

2012-10-25 Thread David Gibson
On Thu, Oct 25, 2012 at 10:46:32PM +0200, Wolfgang Denk wrote: > Dear Daniel, > > In message <50893633.6070...@gmail.com> you wrote: > > > > Overwrites must be addressed in the first place. The most common example > > is that a more generic part (the module tree) registers all details > > about a

Re: [U-Boot] [PATCH 2/9 V3] SOUND: Add WM8994 codec

2012-10-25 Thread Rajeshwari Birje
Hi Simon Glass, Thank you for the comments. On Thu, Oct 25, 2012 at 10:37 PM, Simon Glass wrote: > > Hi, > > On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde > wrote: > > This patch adds driver for audio codec WM8994 > > > > Signed-off-by: R. Chandrasekar > > Signed-off-by: Rajeshwari Shind

Re: [U-Boot] [PATCH 1/9 V3] SOUND: SAMSUNG: Add I2S driver

2012-10-25 Thread Rajeshwari Birje
Hi Simon Glass, Thank you for the comments. Will correct the issues mentioned. Regards, Rajeshwari Shinde. On Thu, Oct 25, 2012 at 10:32 PM, Simon Glass wrote: > Hi, > > On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde > wrote: > > This patch adds driver for I2S interface specific to sams

Re: [U-Boot] [PATCH 20/20] x86: config: Enable AHCI support for coreboot

2012-10-25 Thread Graeme Russ
Hi Simon, On Fri, Oct 26, 2012 at 1:36 PM, Simon Glass wrote: > Hi Graeme, > > On Mon, Oct 22, 2012 at 11:33 PM, Graeme Russ wrote: >> Hi Simon, >> >> On Oct 23, 2012 4:42 PM, "Simon Glass" wrote: >>> >>> Hi Graeme, >>> >>> On Mon, Oct 22, 2012 at 10:38 PM, Graeme Russ >>> wrote: >>> > Hi Simo

Re: [U-Boot] [U-Boot, 32/32] drivers/serial/serial_ns16550.c: sparse fixes

2012-10-25 Thread Tom Rini
On Tue, Oct 16, 2012 at 02:28:48PM -, Kim Phillips wrote: > serial_ns16550.c:222:1: warning: symbol 'eserial1_init' was not declared. > Should it be static? > serial_ns16550.c:222:1: warning: symbol 'eserial1_setbrg' was not declared. > Should it be static? > serial_ns16550.c:222:1: warning:

Re: [U-Boot] [U-Boot,27/32] drivers/i2c/fsl_i2c.c: sparse fix

2012-10-25 Thread Tom Rini
On Tue, Oct 16, 2012 at 02:28:43PM -, Kim Phillips wrote: > fsl_i2c.c:217:14: warning: symbol 'get_i2c_clock' was not declared. Should it > be static? > > Signed-off-by: Kim Phillips > Acked-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH V4 1/3] FAT: remove cur_part_nr

2012-10-25 Thread Tom Rini
On Wed, Oct 17, 2012 at 10:44:57AM -0600, Stephen Warren wrote: > From: Stephen Warren > > A future patch will implement the more standard filesystem API > fat_set_blk_dev(). This API has no way to know which partition number > the partition represents. Equally, future DM rework will make the >

Re: [U-Boot] [PATCH 0/2] Standardize on run-time board ID variables

2012-10-25 Thread Simon Glass
Hi, On Wed, Oct 24, 2012 at 12:05 PM, Stephen Warren wrote: > On 10/24/2012 12:41 PM, Tom Rini wrote: >> On Wed, Oct 24, 2012 at 11:50:38AM -0600, Stephen Warren wrote: >>> On 10/24/2012 11:28 AM, Tom Rini wrote: Hey all, I've been thinking about one of the problems we need to solv

Re: [U-Boot] [PATCH 20/20] x86: config: Enable AHCI support for coreboot

2012-10-25 Thread Simon Glass
Hi Graeme, On Mon, Oct 22, 2012 at 11:33 PM, Graeme Russ wrote: > Hi Simon, > > On Oct 23, 2012 4:42 PM, "Simon Glass" wrote: >> >> Hi Graeme, >> >> On Mon, Oct 22, 2012 at 10:38 PM, Graeme Russ >> wrote: >> > Hi Simon, >> > >> > On Tue, Oct 23, 2012 at 4:34 PM, Simon Glass wrote: >> >> Hi Gra

[U-Boot] [PATCH 03/14] fdt: Add fdtdec_decode_region() to decode memory region

2012-10-25 Thread Simon Glass
A memory region has a start and a size and is often specified in a node by a 'reg' property. Add a function to decode this information from the fdt. Signed-off-by: Simon Glass --- include/fdtdec.h | 19 +++ lib/fdtdec.c | 17 + 2 files changed, 36 insertio

[U-Boot] [PATCH 06/14] fdt: Export fdtdec_lookup() and fix the name

2012-10-25 Thread Simon Glass
The name of this function is not consistent, so fix it, and export the function for external use. Signed-off-by: Simon Glass --- include/fdtdec.h | 13 + lib/fdtdec.c |2 +- 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h

[U-Boot] [PATCH 08/14] fdt: Add fdtdec_get_uint64 to decode a 64-bit value from a property

2012-10-25 Thread Simon Glass
From: Che-Liang Chiou It decodes a 64-bit value from a property that is at least 8 bytes long. Signed-off-by: Che-Liang Chiou Signed-off-by: Simon Glass --- include/fdtdec.h | 15 +++ lib/fdtdec.c | 13 + 2 files changed, 28 insertions(+), 0 deletions(-) diff

[U-Boot] [PATCH 05/14] fdt: Export fdtdec_find_alias_node() function

2012-10-25 Thread Simon Glass
This function is useful outside fdtdec, so export it. Signed-off-by: Simon Glass --- include/fdtdec.h |9 + lib/fdtdec.c |6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index e70714b..e566e47 100644 --- a/include/

[U-Boot] [PATCH 02/14] fdt: Add function to get a config string from device tree

2012-10-25 Thread Simon Glass
Add a function to look up a configuration string such as board name and returns its value. We look in the "/config" node for this. Signed-off-by: Simon Glass --- include/fdtdec.h | 10 ++ lib/fdtdec.c | 28 ++-- 2 files changed, 28 insertions(+), 10 deleti

[U-Boot] [PATCH 01/14] fdt: Add function to get config int from device tree

2012-10-25 Thread Simon Glass
From: Abhilash Kesavan Add a function to look up a configuration item such as machine id and return its value. Note: The code has been taken as is from the Chromium u-boot development tree and needs Simon Glass' sign-off. Signed-off-by: Abhilash Kesavan Signed-off-by: Simon Glass --- include

[U-Boot] [PATCH 09/14] fdt: Add polarity-aware gpio functions to fdtdec

2012-10-25 Thread Simon Glass
From: Sean Paul Add get and set gpio functions to fdtdec that take into account the polarity field in fdtdec_gpio_state.flags. Signed-off-by: Sean Paul Signed-off-by: Simon Glass --- include/fdtdec.h | 16 lib/fdtdec.c | 20 2 files changed, 36 in

[U-Boot] [PATCH 04/14] fdt: Add function for decoding multiple gpios globally available

2012-10-25 Thread Simon Glass
From: Abhilash Kesavan Samsung's SDHCI bindings require multiple gpios to be parsed and configured at a time. Export the already available fdtdec_decode_gpios for this purpose. Signed-off-by: Abhilash Kesavan Commit-Ready: Che-Liang Chiou Signed-off-by: Simon Glass --- include/fdtdec.h | 1

[U-Boot] [PATCH 12/14] fdt: Allow device tree to specify secure booting

2012-10-25 Thread Simon Glass
From: Doug Anderson When secure booting is chosen: * The u-boot shell is never invoked during boot--we just do a simple table lookup to find the command. This means we could even remove the shell parsing from u-boot and still be able to boot. * The boot command can't be interruped. * Failure

[U-Boot] [PATCH 11/14] fdt: Tell the FDT library where the device tree is

2012-10-25 Thread Simon Glass
From: Gabe Black This change adds a call to set_working_fdt_addr near the end of u-boot initialization which tells the fdt command/library where the device tree is. This makes it possible to use the fdt command to look at the active device tree since otherwise there would be no way to know what a

[U-Boot] [PATCH 07/14] fdt: Add function to read boolean property

2012-10-25 Thread Simon Glass
From: Gabe Black Signed-off-by: Vincent Palatin Commit-Ready: Vincent Palatin Commit-Ready: Gabe Black Signed-off-by: Simon Glass --- include/fdtdec.h | 10 ++ lib/fdtdec.c | 14 ++ 2 files changed, 24 insertions(+), 0 deletions(-) diff --git a/include/fdtdec.h

[U-Boot] [PATCH 13/14] fdt: Add option to default to most compatible conf in a fit image

2012-10-25 Thread Simon Glass
From: Gabe Black When booting a fit image with multiple configurations, the user either has to specify which configuration to use explicitly, or there has to be a default defined which is chosen automatically. This change adds an option to change that behavior so that a configuration can be selec

[U-Boot] [PATCH 14/14] fdt: Set kernaddr if fdt indicates a kernel is present

2012-10-25 Thread Simon Glass
If kernel-offset is specified in the fdt, set an environment variable so that scripts can access the attached kernel. This can be used by a packaging program to tell U-Boot about a kernel that has been downloaded alongside U-Boot. The value in the fdt is the offset of the kernel from the start of

[U-Boot] [PATCH 10/14] fdt: Load boot command from device tree

2012-10-25 Thread Simon Glass
From: Che-Liang Chiou Load boot command from /config/bootcmd of device tree if present. Signed-off-by: Tom Wai-Hong Tam Signed-off-by: Che-Liang Chiou Signed-off-by: Simon Glass --- common/main.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/common/

[U-Boot] [PATCH 0/14] fdt: Add various device tree utilities and features

2012-10-25 Thread Simon Glass
This series contains a number of features related to CONFIG_OF_CONTROL, such as: - reading fdt values - reading configuration from the fdt - allowing the fdt to specify a boot command Abhilash Kesavan (2): fdt: Add function to get config int from device tree fdt: Add function for decoding mu

Re: [U-Boot] [PATCH v2 02/19] scsi: Provide support for a list of AHCI controllers.

2012-10-25 Thread Simon Glass
Hi Tom, On Thu, Oct 25, 2012 at 5:52 PM, Simon Glass wrote: > From: Vadim Bendebury > > Many AHCI controllers are identical, the main (and often the > only) difference being the PCI Vendor ID/Device ID combination > reported by the device. > > This change allows the config file to define a list

[U-Boot] [PATCH v2 02/19] scsi: Provide support for a list of AHCI controllers.

2012-10-25 Thread Simon Glass
From: Vadim Bendebury Many AHCI controllers are identical, the main (and often the only) difference being the PCI Vendor ID/Device ID combination reported by the device. This change allows the config file to define a list of PCI vendor ID/device ID pairs. The driver would scan the list and initi

Re: [U-Boot] [PATCH] serial: remove calls to serial_assign()

2012-10-25 Thread Joe Hershberger
Hi Allen, On Thu, Oct 25, 2012 at 6:30 PM, Allen Martin wrote: > Remove calls to serial_assign() that are failing now that it returns a > proper error code. This calls were not actually doing anything > because they passed the name of a stdio_dev when a serial_device name > is exptectd. > > Sign

[U-Boot] [PATCH] serial: remove calls to serial_assign()

2012-10-25 Thread Allen Martin
Remove calls to serial_assign() that are failing now that it returns a proper error code. This calls were not actually doing anything because they passed the name of a stdio_dev when a serial_device name is exptectd. Signed-off-by: Allen Martin --- common/cmd_nvedit.c |3 --- common/iomux.c

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 04:18:11PM -0700, Joe Hershberger wrote: > Hi Allen, > > On Thu, Oct 25, 2012 at 5:53 PM, Allen Martin wrote: > > On Thu, Oct 25, 2012 at 03:47:09PM -0700, Joe Hershberger wrote: > >> Hi Stephen, > >> > >> On Thu, Oct 25, 2012 at 5:45 PM, Stephen Warren > >> wrote: > >>

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Joe Hershberger
Hi Allen, On Thu, Oct 25, 2012 at 5:53 PM, Allen Martin wrote: > On Thu, Oct 25, 2012 at 03:47:09PM -0700, Joe Hershberger wrote: >> Hi Stephen, >> >> On Thu, Oct 25, 2012 at 5:45 PM, Stephen Warren >> wrote: >> > On 10/25/2012 04:36 PM, Joe Hershberger wrote: >> >> Hi Allen, >> >> >> >> On Thu

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Joe Hershberger
Hi Allen, On Thu, Oct 25, 2012 at 5:50 PM, Allen Martin wrote: > On Thu, Oct 25, 2012 at 03:46:01PM -0700, Joe Hershberger wrote: >> Hi Stephen, >> >> On Thu, Oct 25, 2012 at 5:43 PM, Stephen Warren >> wrote: >> > On 10/25/2012 03:59 PM, Allen Martin wrote: >> >> Add a new special environment v

[U-Boot] [PATCH] usb: tegra: move Tegra EHCI implementation to correct place

2012-10-25 Thread Lucas Stach
Move the Tegra EHCI implementation to the correct directory in the tree. This code is specific to the Tegra EHCI controller, not to the Tegra SoC in general. This is not just a move of the code, but also some small changes squashed in. Most notable: - removed some unneeded parameters from function

Re: [U-Boot] [PATCH v9] [RFC] Add dmmalloc module for DM.

2012-10-25 Thread Graeme Russ
Hi Tomas, On Fri, Oct 26, 2012 at 6:16 AM, Tomas Hlavacek wrote: > Hello Graeme, > > On Thu, Oct 25, 2012 at 3:40 AM, Graeme Russ wrote: > >>> diff --git a/arch/arm/include/asm/global_data.h >>> b/arch/arm/include/asm/global_data.h >>> index 2b9af93..9045829 100644 >>> --- a/arch/arm/include/as

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 03:47:09PM -0700, Joe Hershberger wrote: > Hi Stephen, > > On Thu, Oct 25, 2012 at 5:45 PM, Stephen Warren wrote: > > On 10/25/2012 04:36 PM, Joe Hershberger wrote: > >> Hi Allen, > >> > >> On Thu, Oct 25, 2012 at 4:59 PM, Allen Martin wrote: > >>> Add a new special envir

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 03:46:01PM -0700, Joe Hershberger wrote: > Hi Stephen, > > On Thu, Oct 25, 2012 at 5:43 PM, Stephen Warren wrote: > > On 10/25/2012 03:59 PM, Allen Martin wrote: > >> Add a new special environment variable "serial" that allows selection > >> of serial device when CONFIG_SE

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Joe Hershberger
Hi Stephen, On Thu, Oct 25, 2012 at 5:45 PM, Stephen Warren wrote: > On 10/25/2012 04:36 PM, Joe Hershberger wrote: >> Hi Allen, >> >> On Thu, Oct 25, 2012 at 4:59 PM, Allen Martin wrote: >>> Add a new special environment variable "serial" that allows selection >>> of serial device when CONFIG_S

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Joe Hershberger
Hi Stephen, On Thu, Oct 25, 2012 at 5:43 PM, Stephen Warren wrote: > On 10/25/2012 03:59 PM, Allen Martin wrote: >> Add a new special environment variable "serial" that allows selection >> of serial device when CONFIG_SERIAL_MULTI is defined. This replaces >> the existing calls to serial_assign(

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Stephen Warren
On 10/25/2012 04:36 PM, Joe Hershberger wrote: > Hi Allen, > > On Thu, Oct 25, 2012 at 4:59 PM, Allen Martin wrote: >> Add a new special environment variable "serial" that allows selection >> of serial device when CONFIG_SERIAL_MULTI is defined. This replaces >> the existing calls to serial_assi

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Stephen Warren
On 10/25/2012 03:59 PM, Allen Martin wrote: > Add a new special environment variable "serial" that allows selection > of serial device when CONFIG_SERIAL_MULTI is defined. This replaces > the existing calls to serial_assign() from cmd_nvedit.c and iomux.c > that were not doing anything. So I thin

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Joe Hershberger
Hi Allen, On Thu, Oct 25, 2012 at 4:19 PM, Allen Martin wrote: > On Thu, Oct 25, 2012 at 02:02:55PM -0700, Simon Glass wrote: >> Hi, >> >> On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut wrote: >> > Dear Simon Glass, >> > >> >> Hi, >> >> >> >> On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote:

[U-Boot] [PATCH] powerpc/85xx: implement check for erratum A-004849 work-around

2012-10-25 Thread Timur Tabi
The work-around for erratum A-004849 ("CoreNet fabric (CCF) can exhibit a deadlock under certain traffic patterns causing the system to hang") is implemented via the PBI (pre-boot initialization code, typically attached to the RCW binary). This is because the work-around is easier to implement in

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Joe Hershberger
Hi Allen, On Thu, Oct 25, 2012 at 4:59 PM, Allen Martin wrote: > Add a new special environment variable "serial" that allows selection > of serial device when CONFIG_SERIAL_MULTI is defined. This replaces > the existing calls to serial_assign() from cmd_nvedit.c and iomux.c > that were not doing

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Tom Rini
On Thu, Oct 25, 2012 at 02:59:50PM -0700, Allen Martin wrote: > Add a new special environment variable "serial" that allows selection > of serial device when CONFIG_SERIAL_MULTI is defined. This replaces > the existing calls to serial_assign() from cmd_nvedit.c and iomux.c > that were not doing a

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Marek Vasut
Dear Allen Martin, > Add a new special environment variable "serial" that allows selection > of serial device when CONFIG_SERIAL_MULTI is defined. This replaces > the existing calls to serial_assign() from cmd_nvedit.c and iomux.c > that were not doing anything. > > Signed-off-by: Allen Martin

[U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
Add a new special environment variable "serial" that allows selection of serial device when CONFIG_SERIAL_MULTI is defined. This replaces the existing calls to serial_assign() from cmd_nvedit.c and iomux.c that were not doing anything. Signed-off-by: Allen Martin --- common/cmd_nvedit.c

Re: [U-Boot] [PATCH 0/3] Bring in new I2C framework

2012-10-25 Thread Simon Glass
Hi Heiko, On Mon, Oct 22, 2012 at 10:40 AM, Heiko Schocher wrote: > rebased/reworked the I2C multibus patches from Simon Glass found > here: > > http://www.mail-archive.com/u-boot@lists.denx.de/msg75530.html > > It seems the timing is coming, to bring this in mainline and > move boards over to th

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 02:27:24PM -0700, Tom Rini wrote: > * PGP Signed by an unknown key > > On 10/25/12 14:19, Allen Martin wrote: > > On Thu, Oct 25, 2012 at 02:02:55PM -0700, Simon Glass wrote: > >> Hi, > >> > >> On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut > >> wrote: > >>> Dear Simon Gl

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/25/12 14:19, Allen Martin wrote: > On Thu, Oct 25, 2012 at 02:02:55PM -0700, Simon Glass wrote: >> Hi, >> >> On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut >> wrote: >>> Dear Simon Glass, >>> Hi, On Mon, Oct 22, 2012 at 10:23 A

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 02:02:55PM -0700, Simon Glass wrote: > Hi, > > On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut wrote: > > Dear Simon Glass, > > > >> Hi, > >> > >> On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote: > >> > On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: > >>

Re: [U-Boot] [U-Boot,3/6] fdt: Add get commands to fdt

2012-10-25 Thread Tom Rini
On Fri, Aug 17, 2012 at 10:34:37AM -, Joe Hershberger wrote: > Add commands to access data in the fdt. This allows data from a dtb > or itb to be accessed from the shell scripts. > > Signed-off-by: Joe Hershberger This adds: $ uboot-build.sh sandbox Testing sandbox on -00386-g5e8f983 Thu O

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Simon Glass
Hi, On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut wrote: > Dear Simon Glass, > >> Hi, >> >> On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote: >> > On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: >> >> Dear Allen Martin, >> >> >> >> [...] >> >> >> >> > Hi Marek, the change to ret

Re: [U-Boot] [U-Boot, 2/6] fdt: Limit printed hex in fdt print and list commands

2012-10-25 Thread Tom Rini
On Fri, Aug 17, 2012 at 10:34:36AM -, Joe Hershberger wrote: > Prevent printing the entire image in a itb. It is most likely unhelpful > to have the hex of the entire image scroll for minutes on your slow > serial console. > > Signed-off-by: Joe Hershberger This causes: $ uboot-build.sh san

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 12:03:47PM -0700, Marek Vasut wrote: > Dear Simon Glass, > > > Hi, > > > > On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote: > > > On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: > > >> Dear Allen Martin, > > >> > > >> [...] > > >> > > >> > Hi Marek, th

Re: [U-Boot] Merging device trees at runtime for module-based systems

2012-10-25 Thread Wolfgang Denk
Dear Daniel, In message <50893633.6070...@gmail.com> you wrote: > > Overwrites must be addressed in the first place. The most common example > is that a more generic part (the module tree) registers all details > about a peripheral up-front but then sets its status to 'disabled'. That > way, the

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Marek Vasut
Dear Simon Glass, > Hi, > > On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote: > > On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: > >> Dear Allen Martin, > >> > >> [...] > >> > >> > Hi Marek, the change to return value here broke serial output on > >> > tegra. What I see is t

Re: [U-Boot] [PATCH 1/4 V3] kerneldoc: Implant DocBook from Linux kernel

2012-10-25 Thread Marek Vasut
Dear Tom Rini, [...] > > > make --version ? > > > > GNU Make 3.81 > > OK, found it, posting a patch now. What exactly did you find? I don't see this problem with make 3.81 . Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH 00/32] Initial sparse fix series

2012-10-25 Thread Tom Rini
On Thu, Oct 25, 2012 at 01:59:45PM -0500, Kim Phillips wrote: > On Thu, 25 Oct 2012 10:46:54 -0700 > Tom Rini wrote: > > > On Tue, Oct 16, 2012 at 07:28:16PM -0500, Kim Phillips wrote: > > > > > This 32-patch series only begins to address making u-boot source more > > > 'sparseable,' or sparse-c

Re: [U-Boot] [PATCH 2/2] mmc: Split device init to decouple OCR-polling delay

2012-10-25 Thread Simon Glass
Hi, On Sun, Oct 21, 2012 at 1:12 AM, RgC wrote: > Hi All, > > On 2012.10/20, Simon Glass wrote: >> From: Che-Liang Chiou >> >> Most of time that MMC driver spends on initializing a device is polling >> OCR (operation conditions register). To decouple this polling loop, >> device init is split i

Re: [U-Boot] [PATCH v9] [RFC] Add dmmalloc module for DM.

2012-10-25 Thread Tomas Hlavacek
Hello Graeme, On Thu, Oct 25, 2012 at 3:40 AM, Graeme Russ wrote: >> diff --git a/arch/arm/include/asm/global_data.h >> b/arch/arm/include/asm/global_data.h >> index 2b9af93..9045829 100644 >> --- a/arch/arm/include/asm/global_data.h >> +++ b/arch/arm/include/asm/global_data.h >> @@ -82,6 +82,9

Re: [U-Boot] [PATCH] common/cmd_ext_common: measure throughput

2012-10-25 Thread Tom Rini
On Wed, Oct 17, 2012 at 12:16:14PM +0200, Andreas Bie??mann wrote: > Dear Wolfgang Denk, > > On 17.10.2012 12:05, Wolfgang Denk wrote: > > Dear Andreas Bie??mann, > > > > In message <1350467910-2014-1-git-send-email-andreas.de...@googlemail.com> > > you wrote: > >> This patch adds time measureme

Re: [U-Boot] [PATCH 00/32] Initial sparse fix series

2012-10-25 Thread Kim Phillips
On Thu, 25 Oct 2012 10:46:54 -0700 Tom Rini wrote: > On Tue, Oct 16, 2012 at 07:28:16PM -0500, Kim Phillips wrote: > > > This 32-patch series only begins to address making u-boot source more > > 'sparseable,' or sparse-clean, ultimately to catch type, address space, > > and endianness mismatches

[U-Boot] [PATCH] MAKEALL: Add -s to '${MAKE} tidy' section

2012-10-25 Thread Tom Rini
When BUILD_NBUILDS is > 1 we run the tidy command. With the addition of DocBook this now includes a -C doc/DocBook and a 'entering/leaving' pair of messages happen. Since we don't want to see what's being cleaned here, we can just invoke make -s like we do when building. Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH 1/4 V3] kerneldoc: Implant DocBook from Linux kernel

2012-10-25 Thread Tom Rini
On Tue, Oct 23, 2012 at 04:03:29PM -0500, Andy Fleming wrote: > On Tue, Oct 23, 2012 at 3:58 PM, Tom Rini wrote: > > On Tue, Oct 23, 2012 at 02:56:58PM -0500, Andy Fleming wrote: > >> On Tue, Oct 23, 2012 at 2:30 AM, Marek Vasut wrote: > >> > Dear Andy Fleming, > >> > > >> > [...] > >> > > >> >>

[U-Boot] Please pull u-boot-ti/master

2012-10-25 Thread Tom Rini
Hello, The following changes since commit 39826f09978a0a7070999acc15babf88f03e4051: arm: fdt: Relocate fdt along with other data (2012-10-19 21:38:27 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to c7d35bef255dedb3ec38569

[U-Boot] [PATCH v2 04/20] scsi: Add function and env var to report number of scsi drives

2012-10-25 Thread Simon Glass
From: Stefan Reinauer Add a new function to find out the number of available SCSI disks. Also set the 'scsidevs' environment variable after each scan. Signed-off-by: Stefan Reinauer Signed-off-by: Simon Glass --- Changes in v2: - Set 'scsidevs' environment variable to number of SCSI disks RE

Re: [U-Boot] Please pull u-boot-ti/master

2012-10-25 Thread Tom Rini
On Tue, Oct 23, 2012 at 11:19:29AM -0700, Tom Rini wrote: > Hello, > > The following changes since commit 39826f09978a0a7070999acc15babf88f03e4051: > > arm: fdt: Relocate fdt along with other data (2012-10-19 21:38:27 +0200) > > are available in the git repository at: > > git://git.denx.de

Re: [U-Boot] [PATCH V3 5/5] ARM: tegra: don't request GPIO from Seaboard's SPL

2012-10-25 Thread Simon Glass
Hi, On Mon, Oct 22, 2012 at 9:19 AM, Stephen Warren wrote: > From: Stephen Warren > > Seaboard has a GPIO that switches an external mux between Tegra's debug > UART and SPI flash. This is initialized from the SPL so that SPL debug > output can be seen. Simplify the code that does this, and don't

Re: [U-Boot] [PATCH V3 4/5] ARM: tegra: select between Seaboard/Ventana at compile time

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 9:19 AM, Stephen Warren wrote: > From: Stephen Warren > > Seaboard and Ventana are very similar boards, and so share the seaboard.c > board file. The one difference needed so far is detected at run-time by > calling machine_is_ventana(). This bloats the Ventana build with

Re: [U-Boot] [PATCH V3 3/5] ARM: tegra: derive CONFIG_SPL_MAX_SIZE instead of hard-coding it

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 9:19 AM, Stephen Warren wrote: > From: Stephen Warren > > For Tegra, the SPL and main U-Boot are concatenated together to form a > single memory image. Hence, the maximum SPL size is the different in > TEXT_BASE for SPL and main U-Boot. Instead of manually calculating > SP

Re: [U-Boot] [PATCH V3 2/5] ARM: enhance u-boot.lds to detect over-sized SPL

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 10:52 AM, Tom Rini wrote: > On Mon, Oct 22, 2012 at 10:19:33AM -0600, Stephen Warren wrote: > >> From: Stephen Warren >> >> Add an ASSERT() to u-boot.lds to detect an SPL that doesn't fit within >> SPL_TEXT_BASE..SPL_MAX_SIZE. >> >> Different .lds files implement this chec

Re: [U-Boot] [PATCH V3 1/5] ARM: fix u-boot.lds for -ffunction-sections/-fdata-sections

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 9:19 AM, Stephen Warren wrote: > From: Stephen Warren > > When -ffunction-sections or -fdata-section are used, symbols are placed > into sections such as .data.eserial1_device and .bss.serial_current. > Update the linker script to explicitly include these. Without this > c

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Simon Glass
Hi, On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote: > On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: >> Dear Allen Martin, >> >> [...] >> > >> > Hi Marek, the change to return value here broke serial output on >> > tegra. What I see is that the serial device name (s->name) is

Re: [U-Boot] USB detection

2012-10-25 Thread RgC
Truncated CCs Hi, On 2012.10/25, Manukumar wrote: > Dear All > > While board bring up in custom board > iam getting below mentioned error > > I2C: ready > DRAM: DDR: failed to read SPD from address It seems you are using a DIMM for your memory (as opposed to directly soldered on the board

Re: [U-Boot] [PATCH 00/32] Initial sparse fix series

2012-10-25 Thread Tom Rini
On Tue, Oct 16, 2012 at 07:28:16PM -0500, Kim Phillips wrote: > This 32-patch series only begins to address making u-boot source more > 'sparseable,' or sparse-clean, ultimately to catch type, address space, > and endianness mismatches and generally improve code quality. E.g., in this > initial do

Re: [U-Boot] [PATCH 01/32] include/linux/byteorder: import latest endian definitions from linux

2012-10-25 Thread Tom Rini
On Tue, Oct 16, 2012 at 07:28:17PM -0500, Kim Phillips wrote: > u-boot's byteorder headers did not contain endianness attributions > for use with sparse, causing a lot of false positives. Import the > kernel's latest definitions, and enable them by including compiler.h > and types.h. They come w

Re: [U-Boot] [PATCH 13/32] common/misc: sparse fixes

2012-10-25 Thread Tom Rini
On Tue, Oct 16, 2012 at 07:28:29PM -0500, Kim Phillips wrote: > command.c:44:38: error: bad constant expression > console.c:537:18: warning: symbol 'search_device' was not declared. Should it > be static? > dlmalloc.c:1468:2: warning: Using plain integer as NULL pointer > dlmalloc.c:1468:5: warni

Re: [U-Boot] [PATCH 0/6 V7] EXYNOS5: Enable SPI support

2012-10-25 Thread Simon Glass
Hi Hatin, On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > This patch set adds SPI driver for EXYNOS5 and enables same. > This patch set is based on latest Mainline u-boot.git tree. I have acked all of these. Regards, Simon > > Changes in V2: > - Correted the Commit message. > Chang

Re: [U-Boot] [PATCH 6/6 V7] EXYNOS5: Enable SPI booting.

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > From: Rajeshwari Shinde > > This patch enables SPI Booting for EXYNOS5 > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes since v4: > No Change > Changes since v5: > No Change > Changes since v6: >

Re: [U-Boot] [PATCH 5/6 V7] EXYNOS5: Enable SPI

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > From: Rajeshwari Shinde > > This patch enables SPI driver for EXYNOS5. > > Signed-off-by: Rajeshwari Shinde > Signed-off-by: Hatim Ali Acked-by: Simon Glass > --- > Changes since v4: > - Rebased on u-boot-samsung.git > Changes since

Re: [U-Boot] [PATCH 2/6 V7] EXYNOS: Add clock for SPI.

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > From: Rajeshwari Shinde > > This patch adds api to calculate and set the clock for SPI channels > > Signed-off-by: James Miller > Signed-off-by: Simon Glass > Signed-off-by: Rajeshwari Shinde > Signed-off-by: Hatim Ali Acked-by: Simon Glass

Re: [U-Boot] [PATCH 1/6 V7] EXYNOS5: Add pinmux support for SPI

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > From: Rajeshwari Shinde > > This patch adds pinmux support for SPI channels > > Signed-off-by: Rajeshwari Shinde > Signed-off-by: Hatim Ali Acked-by: Simon Glass > --- > Changes since v4: > Fixed minor nits suggested by Simon Glass

Re: [U-Boot] [PATCH 4/6 V7] SPI: Add SPI Driver for EXYNOS.

2012-10-25 Thread Simon Glass
Hi Hatim, On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > From: Rajeshwari Shinde > > This patch adds SPI driver for EXYNOS. > > Signed-off-by: Simon Glass > Signed-off-by: Padmavathi Venna > Signed-off-by: Gabe Black > Signed-off-by: Rajeshwari Shinde > Signed-off-by: Hatim Ali > Acked

Re: [U-Boot] [PATCH 0/9 V3] EXYNOS5: Add Audio support

2012-10-25 Thread Simon Glass
Hi, On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde wrote: > This patchset adds the audio support for EXYNOS5. > This patchset plays a predefined beep sound. > > Rajeshwari Shinde (9): > SOUND: SAMSUNG: Add I2S driver > SOUND: Add WM8994 codec > Sound: Add command for audio playback >

Re: [U-Boot] [PATCH 8/9 V3] EXYNOS: Add clock for I2S

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde wrote: > This patch adds clock support for I2S > > Signed-off-by: R. Chandrasekar > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - None > Changes in V3: > - Changes clock function names as suggested by Mink

Re: [U-Boot] [PATCH 3/9 V3] Sound: Add command for audio playback

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde wrote: > This patch adds command to test audio playback. > sound init - Initialises the audio subsystem (i2s and wm8994 codec) > sound play - Plays predefined the audio data when specified length > and frequency. > > Signed-off-by: Rajeshwari Shi

Re: [U-Boot] [PATCH 2/9 V3] SOUND: Add WM8994 codec

2012-10-25 Thread Simon Glass
Hi, On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde wrote: > This patch adds driver for audio codec WM8994 > > Signed-off-by: R. Chandrasekar > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - None > Changes in V3: > - Incorporated comments from Simon Gla

Re: [U-Boot] [PATCH 1/9 V3] SOUND: SAMSUNG: Add I2S driver

2012-10-25 Thread Simon Glass
Hi, On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde wrote: > This patch adds driver for I2S interface specific to samsung. > > Signed-off-by: R. Chandrasekar > Signed-off-by: Rajeshwari Shinde > --- > Changes in V2: > - renamed i2s.c to samsung-i2s.c. > Changes in V3: > - wave sine table re

  1   2   >