Re: [U-Boot] [PATCH v2 16/18] da850_am18xxevm: Add README.da850_am18xxevm

2012-08-22 Thread Tom Rini
On Tue, Aug 21, 2012 at 9:46 PM, Prabhakar Lad prabhakar@ti.com wrote: On Tuesday 21 August 2012 09:04 PM, Tom Rini wrote: On 08/20/2012 10:09 PM, Prabhakar Lad wrote: Hi Tom, Thanks for the patch. On Monday 20 August 2012 10:15 PM, Tom Rini wrote: Add a board-specific README that

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

2012-08-22 Thread Rajeshwari Shinde
This patchset adds the audio support for EXYNOS5. This patchset plays a predefined beep sound. This patchset is based on the following patches: [U-Boot] [PATCH 1/7 V4] EXYNOS5: Add pinmux support for SPI [U-Boot] [PATCH 4/7 V3] EXYNOS5: Add base address for SPI [U-Boot] [PATCH 3/7 V3] EXYNOS: Add

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

2012-08-22 Thread Rajeshwari Shinde
This pastc adds driver for audio codec WM8994 Signed-off-by: R. Chandrasekar rcse...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - None drivers/sound/Makefile |1 + drivers/sound/wm8994.c | 781

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

2012-08-22 Thread Rajeshwari Shinde
This patch adds driver for I2S interface specific to samsung. Signed-off-by: R. Chandrasekar rcse...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - renamed i2s.c to samsung-i2s.c. Makefile|1 + drivers/sound/Makefile | 47

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

2012-08-22 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. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - None common/Makefile|1 + common/cmd_sound.c |

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

2012-08-22 Thread Rajeshwari Shinde
This patch adds the audio parameters required by the I2S to play the predefined audio data. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - None arch/arm/include/asm/arch-exynos/sound.h | 44 ++ 1 files changed, 44 insertions(+), 0

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

2012-08-22 Thread Rajeshwari Shinde
This patch add I2S registers Signed-off-by: R. Chandrasekar rcse...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - None arch/arm/include/asm/arch-exynos/i2s-regs.h | 66 +++ 1 files changed, 66 insertions(+), 0 deletions(-)

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

2012-08-22 Thread Rajeshwari Shinde
This patch adds pinmux support for I2S1 Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - made exynos_i2s_config pinmux function static. arch/arm/cpu/armv7/exynos/pinmux.c| 12 arch/arm/include/asm/arch-exynos/periph.h |1 + 2 files

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

2012-08-22 Thread Rajeshwari Shinde
This patch enables sound support for EXYNOS5 Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - corrected the commit message. include/configs/smdk5250.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/smdk5250.h

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

2012-08-22 Thread Rajeshwari Shinde
This patch adds base address for I2S Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - None arch/arm/include/asm/arch-exynos/cpu.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/cpu.h

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

2012-08-22 Thread Rajeshwari Shinde
This patch adds clock support for I2S Signed-off-by: R. Chandrasekar rcse...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - None arch/arm/cpu/armv7/exynos/clock.c| 119 ++ arch/arm/include/asm/arch-exynos/clk.h |

Re: [U-Boot] [PATCH v2 4/5] at91: 9x5: change SMC config timing that both works for PMECC non-PMECC.

2012-08-22 Thread Josh Wu
Hi, Andreas On 8/21/2012 6:46 PM, Andreas Bießmann wrote: Dear Josh Wu, On 16.08.2012 07:05, Josh Wu wrote: Signed-off-by: Josh Wu josh...@atmel.com --- board/atmel/at91sam9x5ek/at91sam9x5ek.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [U-Boot] [PATCH 2/3] mx51evk: Use IMX_GPIO_NR macro

2012-08-22 Thread Stefano Babic
On 21/08/2012 19:26, Fabio Estevam wrote: Use IMX_GPIO_NR macro. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx51evk/mx51evk.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/freescale/mx51evk/mx51evk.c

Re: [U-Boot] [PATCH 3/3] mx53ard: Use IMX_GPIO_NR macro

2012-08-22 Thread Stefano Babic
On 21/08/2012 19:26, Fabio Estevam wrote: Use IMX_GPIO_NR macro. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx53ard/mx53ard.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mx53ard/mx53ard.c

Re: [U-Boot] [PATCH 1/3] mx53loco: Use IMX_GPIO_NR macro

2012-08-22 Thread Stefano Babic
On 21/08/2012 19:26, Fabio Estevam wrote: Use IMX_GPIO_NR macro. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx53loco/mx53loco.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mx53loco/mx53loco.c

Re: [U-Boot] [PATCH V2 1/1] mx31/mx35/mx51/mx53/mx6: add watchdog

2012-08-22 Thread Stefano Babic
On 21/08/2012 19:51, Troy Kisky wrote: On 8/20/2012 11:11 PM, Stefano Babic wrote: On 21/08/2012 01:03, Troy Kisky wrote: diff --git a/arch/arm/include/asm/arch-mx31/imx-regs.h b/arch/arm/include/asm/arch-mx31/imx-regs.h index bba37ac..594d613 100644 ---

Re: [U-Boot] Seeking ARM development platform suggestions

2012-08-22 Thread Stefan Roese
Hi Graeme, On 08/21/2012 02:29 PM, Graeme Russ wrote: http://www.j1nx.nl/xbmc-amlogic-8726-m-pivos-xios-an-initial-investigation/ Thanks for the link. Looks like it uses the same GPU (Mali 400) as the AllWinner A10 The Geniatech Enjoy TV series looks pretty good, particularly the ATV1000:

Re: [U-Boot] [PATCH v2 1/2] mx35: Define default SoC input clock frequencies

2012-08-22 Thread Stefano Babic
On 21/08/2012 23:07, Benoît Thébaudeau wrote: Define default SoC input clock frequencies for i.MX35 in order to get rid of duplicated definitions. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- This patch depends on

Re: [U-Boot] [PATCH v2 2/2] mx35 timer: Switch to 32-kHz source

2012-08-22 Thread Stefano Babic
On 21/08/2012 23:07, Benoît Thébaudeau wrote: Switch the mx35 timer driver to the 32-kHz clock source to avoid calling mxc_get_clock() again and again, and to be consistent with the timer drivers of other i.MX SoCs. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc:

Re: [U-Boot] [PATCH v2 16/18] da850_am18xxevm: Add README.da850_am18xxevm

2012-08-22 Thread Christian Riesch
[cc'd Manjunath Hadli] Hi Tom, On Mon, Aug 20, 2012 at 6:45 PM, Tom Rini tr...@ti.com wrote: Add a board-specific README that documents how to write u-boot.ais to the SPI found on this board. Changes-series: 2 - Add Signed-off-by: Tom Rini tr...@ti.com ---

Re: [U-Boot] Seeking ARM development platform suggestions

2012-08-22 Thread Graeme Russ
Hi Stefan, On Aug 22, 2012 5:24 PM, Stefan Roese s...@denx.de wrote: Hi Graeme, On 08/21/2012 02:29 PM, Graeme Russ wrote: http://www.j1nx.nl/xbmc-amlogic-8726-m-pivos-xios-an-initial-investigation/ Thanks for the link. Looks like it uses the same GPU (Mali 400) as the AllWinner A10

Re: [U-Boot] [PATCH v2 16/18] da850_am18xxevm: Add README.da850_am18xxevm

2012-08-22 Thread Prabhakar Lad
Hi, On Wednesday 22 August 2012 01:43 PM, Christian Riesch wrote: [cc'd Manjunath Hadli] Hi Tom, On Mon, Aug 20, 2012 at 6:45 PM, Tom Rini tr...@ti.com wrote: Add a board-specific README that documents how to write u-boot.ais to the SPI found on this board. Changes-series: 2 - Add

Re: [U-Boot] [PATCH v2 16/18] da850_am18xxevm: Add README.da850_am18xxevm

2012-08-22 Thread Christian Riesch
Hi Prabhakar, On Wed, Aug 22, 2012 at 11:07 AM, Prabhakar Lad prabhakar@ti.com wrote: Hi, On Wednesday 22 August 2012 01:43 PM, Christian Riesch wrote: [cc'd Manjunath Hadli] Hi Tom, On Mon, Aug 20, 2012 at 6:45 PM, Tom Rini tr...@ti.com wrote: Add a board-specific README that

Re: [U-Boot] [PATCH v2 15/18] ARM: SPL: Convert davinci to CONFIG_SPL_FRAMEWORK

2012-08-22 Thread Christian Riesch
Hi Tom, On Mon, Aug 20, 2012 at 6:45 PM, Tom Rini tr...@ti.com wrote: - Convert the non-relocation part of board_init_f to spl_board_init, turn on CONFIG_SPL_BOARD_INIT in the configs. - Remove duplicated code. - Add spl_boot_device() that returns the statically chosen boot device. I

Re: [U-Boot] [PATCH v2 16/18] da850_am18xxevm: Add README.da850_am18xxevm

2012-08-22 Thread Prabhakar Lad
Hi Christian, On Wednesday 22 August 2012 02:47 PM, Christian Riesch wrote: Hi Prabhakar, On Wed, Aug 22, 2012 at 11:07 AM, Prabhakar Lad prabhakar@ti.com wrote: Hi, On Wednesday 22 August 2012 01:43 PM, Christian Riesch wrote: [cc'd Manjunath Hadli] Hi Tom, On Mon, Aug 20, 2012

[U-Boot] [PATCH 1/6] net: introduce transparent driver private in ueth_data

2012-08-22 Thread Lucas Stach
Avoid clutter in ueth_data. Individual drivers should not mess with structures belonging to the core like this. Signed-off-by: Lucas Stach d...@lynxeye.de --- drivers/usb/eth/smsc95xx.c | 48 -- include/usb_ether.h| 8 ++-- 2 Dateien

[U-Boot] [PATCH 0/6] net: ASIX AX88772B enablement

2012-08-22 Thread Lucas Stach
Hi all, This series supersedes the earlier posted patches to support the AX88772B chip. I've split this up into a series as what started as a small patch to get the chip working turned into a journey through the usbeth stack and now not only reworks a lot of the ASIX code, but also touches other

[U-Boot] [PATCH 2/6] net: usbeth: remove misleading warning

2012-08-22 Thread Lucas Stach
If the environment doesn't provide a MAC address it's not an error to use the one provided by the eth adapter. Actually it should be the default case if the adapter exports it's own address during get_info(). So just remove the warning that gets printed in this case. Signed-off-by: Lucas Stach

[U-Boot] [PATCH 4/6] net: asix: add write_hwaddr function

2012-08-22 Thread Lucas Stach
All ASIX chipsets aside from AX88172 are able to set the MAC address on the hardware level. Add a function to expose this ability. To differentiate between chip types we now carry flags as driver private data. Also while touching the asix_dongles array constify this. Signed-off-by: Lucas Stach

[U-Boot] [PATCH 3/6] net: asix: split out basic reset function

2012-08-22 Thread Lucas Stach
The basic device reset ensures that the device is ready to service commands and does not need to get redone before each network operation. Split out the basic reset from asix_init() and instead call it from asix_eth_get_info(), so that it only gets called once. Signed-off-by: Lucas Stach

[U-Boot] [PATCH 6/6] net: asix: add AX88772B support

2012-08-22 Thread Lucas Stach
Add AX88772B ID together with two fixes needed to make this work. 1. The packet length check has to be adjusted, as all ASIX chips only use 11 bits to indicate the length. AX88772B uses the other bits to indicate unrelated things, which cause the check to fail. This fix is based on a fix for the

[U-Boot] [PATCH 5/6] net: asix: add read_mac function

2012-08-22 Thread Lucas Stach
Initial device MAC should be read while getting info about the device, so it's wrong to only read it in asix_init(). Add a dedicated function to read the initial MAC, which is also able to handle devices that have their initial MAC stored in EEPROM. Call this function inasix_eth_get_info().

Re: [U-Boot] [PATCH v2 15/18] ARM: SPL: Convert davinci to CONFIG_SPL_FRAMEWORK

2012-08-22 Thread Prabhakar Lad
Hi Tom, On Wednesday 22 August 2012 03:34 PM, Christian Riesch wrote: Hi Tom, On Mon, Aug 20, 2012 at 6:45 PM, Tom Rini tr...@ti.com wrote: - Convert the non-relocation part of board_init_f to spl_board_init, turn on CONFIG_SPL_BOARD_INIT in the configs. - Remove duplicated code. - Add

Re: [U-Boot] [PATCH 3/5] Add fuse API and commands

2012-08-22 Thread Dirk Behme
On 14.08.2012 14:52, Benoît Thébaudeau wrote: This can be useful for fuse-like hardware, OTP SoC options, etc. For i.MX6, I have a port of the OTP support from Freescale's U-Boot to our mainline U-Boot in the queue [1]. As I don't have the overview over the various i.MXxx SoCs and don't

Re: [U-Boot] [PATCH 3/5] Add fuse API and commands

2012-08-22 Thread Benoît Thébaudeau
Hi Dirk, On Wednesday, August 22, 2012 12:43:05 PM, Dirk Behme wrote: On 14.08.2012 14:52, Benoît Thébaudeau wrote: This can be useful for fuse-like hardware, OTP SoC options, etc. For i.MX6, I have a port of the OTP support from Freescale's U-Boot to our mainline U-Boot in the queue [1].

Re: [U-Boot] [PATCH v2 16/18] da850_am18xxevm: Add README.da850_am18xxevm

2012-08-22 Thread Christian Riesch
Hi Prabhakar, On Wednesday, August 22, 2012, Prabhakar Lad wrote: Hi Christian, On Wednesday 22 August 2012 02:47 PM, Christian Riesch wrote: Hi Prabhakar, On Wed, Aug 22, 2012 at 11:07 AM, Prabhakar Lad prabhakar@ti.comjavascript:; wrote: Hi, On Wednesday 22 August 2012

[U-Boot] Blackfin BF547 board testing.

2012-08-22 Thread Dimitar Penev
Hi Guys, We have developed Blackfin based board using BF547-Rev04. At the moment we face strange probably hardware issue. Let me share few details - GCC assumes rev 0.2 of the CPU is this OK with the rev 0.4 which we have on board? - The DDR routing due to a PCB mistake is not perfect now so

Re: [U-Boot] [PATCH] ARM: lacie_kw: add support for WIRELESS_SPACE

2012-08-22 Thread Simon Guinot
On Tue, Aug 21, 2012 at 12:16:40AM -0700, Prafulla Wadaskar wrote: -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Albert ARIBAUD Sent: 18 August 2012 02:59 To: Tom Rini Cc: u-boot@lists.denx.de Subject: Re:

Re: [U-Boot] [PATCH 3/5] MX28: SPI: Supercharge the SPI driver

2012-08-22 Thread Mike Frysinger
On Tuesday 21 August 2012 22:17:27 Marek Vasut wrote: This change implements DMA chaining into SPI driver. This allows the transfers to go much faster, while also fixing SF issues. might be nice to have the word DMA in the patch summary MX28: SPI: Supercharge the SPI driver w/DMA -mike

Re: [U-Boot] [PATCH 2/5] MX28: DMA: Prolong the DMA timeout

2012-08-22 Thread Fabio Estevam
On Tue, Aug 21, 2012 at 11:17 PM, Marek Vasut ma...@denx.de wrote: int mxs_dma_go(int chan) { - uint32_t timeout = 1; + uint32_t timeout = 1000; Should we use a proper timeout mechanism instead? Reagards, Fabio Estevam ___

Re: [U-Boot] Blackfin BF547 board testing.

2012-08-22 Thread Mike Frysinger
On Wednesday 22 August 2012 11:13:54 Dimitar Penev wrote: - GCC assumes rev 0.2 of the CPU is this OK with the rev 0.4 which we have on board? err, gcc assumes nothing. this is controlled by your board config's CONFIG_BFIN_CPU setting. The first reason for this behavior seems to be memory

Re: [U-Boot] [PATCH 0/3] Tegra 2 USB ULPI series

2012-08-22 Thread Stephen Warren
On 08/20/2012 01:59 PM, Lucas Stach wrote: Am Montag, den 20.08.2012, 12:09 -0600 schrieb Stephen Warren: On 08/19/2012 10:08 AM, Lucas Stach wrote: With this series we are able to initialize USB controllers using an external ULPI phy AKA USB2 on Tegra 2 devices. This was tested to work on a

Re: [U-Boot] [PATCH 08/11] powerpc/e6500: Move QCSP registers for QMan v3

2012-08-22 Thread Andy Fleming
On Fri, Aug 17, 2012 at 1:27 PM, York Sun york...@freescale.com wrote: The QCSP registers are at offset 0x1000 for SoCs with QMan v3. Signed-off-by: York Sun york...@freescale.com --- arch/powerpc/include/asm/immap_85xx.h | 19 ++- 1 files changed, 18 insertions(+), 1

Re: [U-Boot] [PATCH 3/5] Add fuse API and commands

2012-08-22 Thread Benoît Thébaudeau
Hi Dirk, On Wednesday, August 22, 2012 6:25:57 PM, Dirk Behme wrote: On 22.08.2012 13:11, Benoît Thébaudeau wrote: Hi Dirk, On Wednesday, August 22, 2012 12:43:05 PM, Dirk Behme wrote: On 14.08.2012 14:52, Benoît Thébaudeau wrote: This can be useful for fuse-like hardware, OTP SoC

Re: [U-Boot] [PATCH v2 16/18] da850_am18xxevm: Add README.da850_am18xxevm

2012-08-22 Thread Tom Rini
On Wed, Aug 22, 2012 at 10:13:02AM +0200, Christian Riesch wrote: [cc'd Manjunath Hadli] Hi Tom, On Mon, Aug 20, 2012 at 6:45 PM, Tom Rini tr...@ti.com wrote: Add a board-specific README that documents how to write u-boot.ais to the SPI found on this board. Changes-series: 2 - Add

Re: [U-Boot] [PATCH v2 16/18] da850_am18xxevm: Add README.da850_am18xxevm

2012-08-22 Thread Tom Rini
On Wed, Aug 22, 2012 at 03:35:30PM +0530, Prabhakar Lad wrote: Hi Christian, On Wednesday 22 August 2012 02:47 PM, Christian Riesch wrote: Hi Prabhakar, On Wed, Aug 22, 2012 at 11:07 AM, Prabhakar Lad prabhakar@ti.com wrote: Hi, On Wednesday 22 August 2012 01:43 PM,

Re: [U-Boot] [PATCH v2 15/18] ARM: SPL: Convert davinci to CONFIG_SPL_FRAMEWORK

2012-08-22 Thread Tom Rini
On Wed, Aug 22, 2012 at 12:04:27PM +0200, Christian Riesch wrote: Hi Tom, On Mon, Aug 20, 2012 at 6:45 PM, Tom Rini tr...@ti.com wrote: - Convert the non-relocation part of board_init_f to spl_board_init, turn on CONFIG_SPL_BOARD_INIT in the configs. - Remove duplicated code. - Add

Re: [U-Boot] [PATCH 2/5] MX28: DMA: Prolong the DMA timeout

2012-08-22 Thread Marek Vasut
Dear Fabio Estevam, On Tue, Aug 21, 2012 at 11:17 PM, Marek Vasut ma...@denx.de wrote: int mxs_dma_go(int chan) { - uint32_t timeout = 1; + uint32_t timeout = 1000; Should we use a proper timeout mechanism instead? What would that be? I think 10 seconds is

Re: [U-Boot] [PATCH 3/5] MX28: SPI: Supercharge the SPI driver

2012-08-22 Thread Marek Vasut
Dear Mike Frysinger, On Tuesday 21 August 2012 22:17:27 Marek Vasut wrote: This change implements DMA chaining into SPI driver. This allows the transfers to go much faster, while also fixing SF issues. might be nice to have the word DMA in the patch summary MX28: SPI: Supercharge the

Re: [U-Boot] [PATCH 2/2] pxa25x: Add USB ethernet gadget

2012-08-22 Thread Marek Vasut
Dear Łukasz Dałek, Signed-off-by: Łukasz Dałek luk0...@gmail.com --- drivers/usb/gadget/Makefile |1 + drivers/usb/gadget/pxa25x_udc.c | 2059 +++ drivers/usb/gadget/pxa25x_udc.h | 168 3 files changed, 2228 insertions(+), 0 deletions(-)

Re: [U-Boot] [PATCH 0/6] net: ASIX AX88772B enablement

2012-08-22 Thread Marek Vasut
Dear Lucas Stach, Hi all, This series supersedes the earlier posted patches to support the AX88772B chip. I've split this up into a series as what started as a small patch to get the chip working turned into a journey through the usbeth stack and now not only reworks a lot of the ASIX

Re: [U-Boot] [PATCH 1/6] net: introduce transparent driver private in ueth_data

2012-08-22 Thread Marek Vasut
Dear Lucas Stach, Avoid clutter in ueth_data. Individual drivers should not mess with structures belonging to the core like this. Signed-off-by: Lucas Stach d...@lynxeye.de Reviewed-by: Marek Vasut ma...@denx.de Acked-by: Marek Vasut ma...@denx.de --- drivers/usb/eth/smsc95xx.c | 48

Re: [U-Boot] [PATCH 2/6] net: usbeth: remove misleading warning

2012-08-22 Thread Marek Vasut
Dear Lucas Stach, If the environment doesn't provide a MAC address it's not an error to use the one provided by the eth adapter. Actually it should be the default case if the adapter exports it's own address during get_info(). I think we should warn if the addr in env doesn't match the one

Re: [U-Boot] [PATCH 3/6] net: asix: split out basic reset function

2012-08-22 Thread Marek Vasut
Dear Lucas Stach, The basic device reset ensures that the device is ready to service commands and does not need to get redone before each network operation. Split out the basic reset from asix_init() and instead call it from asix_eth_get_info(), so that it only gets called once.

Re: [U-Boot] [PATCH 4/6] net: asix: add write_hwaddr function

2012-08-22 Thread Marek Vasut
Dear Lucas Stach, All ASIX chipsets aside from AX88172 are able to set the MAC address on the hardware level. Add a function to expose this ability. To differentiate between chip types we now carry flags as driver private data. Also while touching the asix_dongles array constify this.

Re: [U-Boot] [PATCH 5/6] net: asix: add read_mac function

2012-08-22 Thread Marek Vasut
Dear Lucas Stach, Initial device MAC should be read while getting info about the device, so it's wrong to only read it in asix_init(). Add a dedicated function to read the initial MAC, which is also able to handle devices that have their initial MAC stored in EEPROM. Call this function

Re: [U-Boot] [PATCH 6/6] net: asix: add AX88772B support

2012-08-22 Thread Marek Vasut
Dear Lucas Stach, Add AX88772B ID together with two fixes needed to make this work. 1. The packet length check has to be adjusted, as all ASIX chips only use 11 bits to indicate the length. AX88772B uses the other bits to indicate unrelated things, which cause the check to fail. This fix

Re: [U-Boot] [PATCH 0/7] [RFC] Driver model, take 1

2012-08-22 Thread Marek Vasut
Dear Marek Vasut, I'm submitting hereby the initial code for the driver model. This is a RFC patch, please give it a spin and scream :-) The GPIO api should now use the new approach on the sandbox target. There's also dm command, that allows dumping the driver tree. Expanding CC ... guys,

Re: [U-Boot] [PATCH V2 1/1] mx31/mx35/mx51/mx53/mx6: add watchdog

2012-08-22 Thread Troy Kisky
On 8/22/2012 12:22 AM, Stefano Babic wrote: On 21/08/2012 19:51, Troy Kisky wrote: On 8/20/2012 11:11 PM, Stefano Babic wrote: On 21/08/2012 01:03, Troy Kisky wrote: So, you are saying CONFIG_ options don't belong in imx-regs.h, or you didn't notice I stuck it there, or both??? I didn't

Re: [U-Boot] [PATCH 2/6] net: usbeth: remove misleading warning

2012-08-22 Thread Lucas Stach
Am Mittwoch, den 22.08.2012, 20:22 +0200 schrieb Marek Vasut: Dear Lucas Stach, If the environment doesn't provide a MAC address it's not an error to use the one provided by the eth adapter. Actually it should be the default case if the adapter exports it's own address during

Re: [U-Boot] [PATCH V2 1/1] mx31/mx35/mx51/mx53/mx6: add watchdog

2012-08-22 Thread Troy Kisky
On 8/22/2012 11:30 AM, Troy Kisky wrote: On 8/22/2012 12:22 AM, Stefano Babic wrote: On 21/08/2012 19:51, Troy Kisky wrote: On 8/20/2012 11:11 PM, Stefano Babic wrote: On 21/08/2012 01:03, Troy Kisky wrote: So, you are saying CONFIG_ options don't belong in imx-regs.h, or you didn't notice

Re: [U-Boot] [PATCH 08/11] powerpc/e6500: Move QCSP registers for QMan v3

2012-08-22 Thread York Sun
On Wed, 2012-08-22 at 11:18 -0500, Andy Fleming wrote: On Fri, Aug 17, 2012 at 1:27 PM, York Sun york...@freescale.com wrote: The QCSP registers are at offset 0x1000 for SoCs with QMan v3. Signed-off-by: York Sun york...@freescale.com --- arch/powerpc/include/asm/immap_85xx.h | 19

Re: [U-Boot] [PATCH 2/6] net: usbeth: remove misleading warning

2012-08-22 Thread Joe Hershberger
Hi Lucas / Marek, On Wed, Aug 22, 2012 at 1:32 PM, Lucas Stach d...@lynxeye.de wrote: Am Mittwoch, den 22.08.2012, 20:22 +0200 schrieb Marek Vasut: Dear Lucas Stach, If the environment doesn't provide a MAC address it's not an error to use the one provided by the eth adapter. Actually it

Re: [U-Boot] [PATCH 1/6] net: introduce transparent driver private in ueth_data

2012-08-22 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 5:09 AM, Lucas Stach d...@lynxeye.de wrote: Avoid clutter in ueth_data. Individual drivers should not mess with structures belonging to the core like this. Signed-off-by: Lucas Stach d...@lynxeye.de Acked-by: Joe Hershberger joe.hershber...@ni.com

Re: [U-Boot] [PATCH 3/6] net: asix: split out basic reset function

2012-08-22 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 5:09 AM, Lucas Stach d...@lynxeye.de wrote: The basic device reset ensures that the device is ready to service commands and does not need to get redone before each network operation. Split out the basic reset from asix_init() and instead call it from

Re: [U-Boot] [PATCH 2/5] MX28: DMA: Prolong the DMA timeout

2012-08-22 Thread Fabio Estevam
On Wed, Aug 22, 2012 at 2:42 PM, Marek Vasut marek.va...@gmail.com wrote: Dear Fabio Estevam, On Tue, Aug 21, 2012 at 11:17 PM, Marek Vasut ma...@denx.de wrote: int mxs_dma_go(int chan) { - uint32_t timeout = 1; + uint32_t timeout = 1000; Should we use a proper

Re: [U-Boot] [PATCH 5/6] net: asix: add read_mac function

2012-08-22 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 5:09 AM, Lucas Stach d...@lynxeye.de wrote: Initial device MAC should be read while getting info about the device, so it's wrong to only read it in asix_init(). Add a dedicated function to read the initial MAC, which is also able to handle devices that have

Re: [U-Boot] [PATCH 6/6] net: asix: add AX88772B support

2012-08-22 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 5:09 AM, Lucas Stach d...@lynxeye.de wrote: Add AX88772B ID together with two fixes needed to make this work. 1. The packet length check has to be adjusted, as all ASIX chips only use 11 bits to indicate the length. AX88772B uses the other bits to indicate

Re: [U-Boot] [PATCH 4/6] net: asix: add write_hwaddr function

2012-08-22 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 5:09 AM, Lucas Stach d...@lynxeye.de wrote: All ASIX chipsets aside from AX88172 are able to set the MAC address on the hardware level. Add a function to expose this ability. To differentiate between chip types we now carry flags as driver private data.

Re: [U-Boot] [PATCH v2 15/18] ARM: SPL: Convert davinci to CONFIG_SPL_FRAMEWORK

2012-08-22 Thread Tom Rini
On Wed, Aug 22, 2012 at 10:46:19AM -0700, Tom Rini wrote: On Wed, Aug 22, 2012 at 12:04:27PM +0200, Christian Riesch wrote: Hi Tom, On Mon, Aug 20, 2012 at 6:45 PM, Tom Rini tr...@ti.com wrote: - Convert the non-relocation part of board_init_f to spl_board_init, turn on

[U-Boot] [PATCH v2] mx5: add iomux-mx51.h include

2012-08-22 Thread Matt Sealey
Allow usage of the imx-common/iomux-v3.h framework by including pad settings for the i.MX51. The content of the file is taken from Linux kernel at commit 5d23b39 plus the required changes to make it work in U-Boot. The contained pad settings are the minimum required to make an Efika MX boot and

[U-Boot] [PATCH v2 1/4] efikamx: move and rename Efika MX directories and config files to prepare for new boards

2012-08-22 Thread Matt Sealey
* Move Efika MX Smarttop and Smartbook boards into a genesi vendor directory * Rename efikamx - mx51_efikamx since there is an mx53_efikamx and mx6_efikamx to come Signed-off-by: Matt Sealey m...@genesi-usa.com --- board/{efikamx = genesi/mx51_efikamx}/Makefile|0 .../{efikamx =

[U-Boot] [PATCH 2/4] efikamx: remove drive strength function and roll its functionality into the DCD

2012-08-22 Thread Matt Sealey
Efika MX boards configure their DDR pad settings twice, one in the DCD generated from imximage_*.cfg and again in init_drive_strength called before relocation. Rather than doing this, roll the changes it makes into the DCD so DDR is set up before a single line of code in U-Boot is run. The

[U-Boot] [PATCH 3/4] efikamx: configure Smarttop PCBID and LED pads in DCD for convenience

2012-08-22 Thread Matt Sealey
PCBID pads seem to need time to settle due to external pulldowns, otherwise we are reading floating GPIO pins with implicit pad pullups and get the wrong data. However we can't wait at the time we need them before relocation, since timers are not available. The time taken to get from DCD to the

[U-Boot] [PATCH 4/4] efikamx: update to Efika MX Smarttop and Smartbook boards

2012-08-22 Thread Matt Sealey
This is a rework of a previously submitted patchset and bundles the main board support and USB support into a single commit. It requires the patch mx5: add iomux-mx51.h include * Use iomux-mx51.h include to simplify board configuration. * Simplify LED support (remove efikamx_toggle_led, change

Re: [U-Boot] [PATCH 2/5] MX28: DMA: Prolong the DMA timeout

2012-08-22 Thread Marek Vasut
Dear Fabio Estevam, On Wed, Aug 22, 2012 at 2:42 PM, Marek Vasut marek.va...@gmail.com wrote: Dear Fabio Estevam, On Tue, Aug 21, 2012 at 11:17 PM, Marek Vasut ma...@denx.de wrote: int mxs_dma_go(int chan) { - uint32_t timeout = 1; + uint32_t timeout =

Re: [U-Boot] [PATCH V1 1/3] phy: add phy_connect_by_mask

2012-08-22 Thread Troy Kisky
On 8/20/2012 5:35 PM, Andy Fleming wrote: On Monday, August 20, 2012, Troy Kisky wrote: It is useful to be able to try a range of possible phy addresses to connect. This seems like it just encourages a bad habit. Which is? How do you envision this working on a system with

[U-Boot] [PATCH] mxs: Convert timeout parameter to 'unsigned int'

2012-08-22 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com For representing a timeout value, it makes more sense to pass it as 'unsigned int'. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/cpu/arm926ejs/mxs/mxs.c |6 -- arch/arm/include/asm/arch-mxs/sys_proto.h |

Re: [U-Boot] [PATCH V1 1/3] phy: add phy_connect_by_mask

2012-08-22 Thread Eric Nelson
On 08/20/2012 05:35 PM, Andy Fleming wrote: On Monday, August 20, 2012, Troy Kisky wrote: It is useful to be able to try a range of possible phy addresses to connect. This seems like it just encourages a bad habit. How do you envision this working on a system with multiple Ethernet

Re: [U-Boot] [PATCH] mxs: Convert timeout parameter to 'unsigned int'

2012-08-22 Thread Marek Vasut
Dear Fabio Estevam, From: Fabio Estevam fabio.este...@freescale.com For representing a timeout value, it makes more sense to pass it as 'unsigned int'. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Acked-by: Marek Vasut ma...@denx.de --- arch/arm/cpu/arm926ejs/mxs/mxs.c

Re: [U-Boot] [PATCH 1/3] nand: Add support for unlock.invert

2012-08-22 Thread Joe Hershberger
Hi Scott, On Fri, Aug 17, 2012 at 3:53 PM, Scott Wood scottw...@freescale.com wrote: On 08/17/2012 03:31 PM, Joe Hershberger wrote: NAND unlock command allows an invert bit to be set to unlock all but the selected page range. Signed-off-by: Joe Hershberger joe.hershber...@ni.com ---

Re: [U-Boot] [PATCH V1 1/3] phy: add phy_connect_by_mask

2012-08-22 Thread Andy Fleming
On Wed, Aug 22, 2012 at 2:59 PM, Troy Kisky troy.ki...@boundarydevices.com wrote: On 8/20/2012 5:35 PM, Andy Fleming wrote: On Monday, August 20, 2012, Troy Kisky wrote: It is useful to be able to try a range of possible phy addresses to connect. This seems like it just encourages a

Re: [U-Boot] [PATCH V1 1/3] phy: add phy_connect_by_mask

2012-08-22 Thread Joe Hershberger
Hi Andy, On Wed, Aug 22, 2012 at 3:40 PM, Andy Fleming aflem...@gmail.com wrote: On Wed, Aug 22, 2012 at 2:59 PM, Troy Kisky troy.ki...@boundarydevices.com wrote: On 8/20/2012 5:35 PM, Andy Fleming wrote: The same way it works currently. I removed no features. Agreed. But the way it works

Re: [U-Boot] [PATCH V1 1/3] phy: add phy_connect_by_mask

2012-08-22 Thread Andy Fleming
On Wed, Aug 22, 2012 at 3:11 PM, Eric Nelson eric.nel...@boundarydevices.com wrote: On 08/20/2012 05:35 PM, Andy Fleming wrote: On Monday, August 20, 2012, Troy Kisky wrote: It's best if the driver make the reasonable assumption that its PHY address is known when it comes up, and let the

Re: [U-Boot] [PATCH V1 1/3] phy: add phy_connect_by_mask

2012-08-22 Thread Eric Nelson
On 08/22/2012 01:50 PM, Andy Fleming wrote: On Wed, Aug 22, 2012 at 3:11 PM, Eric Nelson eric.nel...@boundarydevices.com wrote: On 08/20/2012 05:35 PM, Andy Fleming wrote: On Monday, August 20, 2012, Troy Kisky wrote: It's best if the driver make the reasonable assumption that its PHY

[U-Boot] [PATCHv2 1/5] net: introduce transparent driver private in ueth_data

2012-08-22 Thread Lucas Stach
Avoid clutter in ueth_data. Individual drivers should not mess with structures belonging to the core like this. Signed-off-by: Lucas Stach d...@lynxeye.de Reviewed-by: Marek Vasut ma...@denx.de Acked-by: Marek Vasut ma...@denx.de Acked-by: Joe Hershberger joe.hershber...@ni.com ---

[U-Boot] [PATCHv2 2/5] net: asix: split out basic reset function

2012-08-22 Thread Lucas Stach
The basic device reset ensures that the device is ready to service commands and does not need to get redone before each network operation. Split out the basic reset from asix_init() and instead call it from asix_eth_get_info(), so that it only gets called once. Signed-off-by: Lucas Stach

[U-Boot] [PATCHv2 0/5] net: ASIX AX88772B enablement

2012-08-22 Thread Lucas Stach
Hi all, This series supersedes the earlier posted patches to support the AX88772B chip. I've split this up into a series as what started as a small patch to get the chip working turned into a journey through the usbeth stack and now not only reworks a lot of the ASIX code, but also touches other

[U-Boot] [PATCHv2 4/5] net: asix: add read_mac function

2012-08-22 Thread Lucas Stach
Initial device MAC should be read while getting info about the device, so it's wrong to only read it in asix_init(). Add a dedicated function to read the initial MAC, which is also able to handle devices that have their initial MAC stored in EEPROM. Call this function inasix_eth_get_info().

[U-Boot] [PATCHv2 5/5] net: asix: add AX88772B support

2012-08-22 Thread Lucas Stach
Add AX88772B ID together with two fixes needed to make this work. 1. The packet length check has to be adjusted, as all ASIX chips only use 11 bits to indicate the length. AX88772B uses the other bits to indicate unrelated things, which cause the check to fail. This fix is based on a fix for the

[U-Boot] [PATCHv2 3/5] net: asix: add write_hwaddr function

2012-08-22 Thread Lucas Stach
All ASIX chipsets aside from AX88172 are able to set the MAC address on the hardware level. Add a function to expose this ability. To differentiate between chip types we now carry flags as driver private data. Also while touching the asix_dongles array constify this. Signed-off-by: Lucas Stach

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-22 Thread Andy Fleming
On Mon, Jul 23, 2012 at 3:58 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: PowerPC mandates SP to be 16 bytes aligned. Furthermore, a stack frame is added, pointing to the reset vector which may in the way when gdb is walking the stack because the reset vector may not accessible

Re: [U-Boot] [PATCHv2 3/5] net: asix: add write_hwaddr function

2012-08-22 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 4:04 PM, Lucas Stach d...@lynxeye.de wrote: All ASIX chipsets aside from AX88172 are able to set the MAC address on the hardware level. Add a function to expose this ability. To differentiate between chip types we now carry flags as driver private data.

Re: [U-Boot] [PATCH V1 1/3] phy: add phy_connect_by_mask

2012-08-22 Thread Troy Kisky
On 8/22/2012 1:40 PM, Andy Fleming wrote: 1) Modify the driver so that the PHY address is passed in from board initialization code programmatically. As a nod to the effort of doing so for all boards, you can create a default value (ie - as it was), that can be overridden by board code. 2)

Re: [U-Boot] [PATCH 3/5] MX28: SPI: Supercharge the SPI driver

2012-08-22 Thread Mike Frysinger
On Wednesday 22 August 2012 13:43:19 Marek Vasut wrote: Dear Mike Frysinger, On Tuesday 21 August 2012 22:17:27 Marek Vasut wrote: This change implements DMA chaining into SPI driver. This allows the transfers to go much faster, while also fixing SF issues. might be nice to have the

[U-Boot] [PATCH v2 2/4] nand: Change ulong to loff_t and size_t

2012-08-22 Thread Joe Hershberger
Missed in previous cleanup. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: - Added loff_t cleanup to series drivers/mtd/nand/nand_util.c | 5 +++-- include/nand.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v2 1/4] nand: Add support for unlock.invert

2012-08-22 Thread Joe Hershberger
NAND unlock command allows an invert bit to be set to unlock all but the selected page range. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: - Changed invert to allexcept - Changed unlock printf to debug print - Dropped cast in unlock debug print common/cmd_nand.c

[U-Boot] [PATCH v2 3/4] nand: consolidate duplicated constants

2012-08-22 Thread Joe Hershberger
NAND_CMD_ constants for lock/unlock should be in the header Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- drivers/mtd/nand/nand_util.c | 6 -- include/linux/mtd/nand.h | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/nand/nand_util.c

[U-Boot] [PATCH v2 4/4] nand: Make NAND lock status compatible with Micron

2012-08-22 Thread Joe Hershberger
Micron NAND flash (e.g. MT29F4G08ABADAH4) BLOCK LOCK READ STATUS is not the same as others. Instead of bit 1 being lock, it is #lock_tight. To make the driver support either format, ignore bit 1 and use only bit 0 and bit 2. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-22 Thread Pavel Machek
Hi! From: Dinh Nguyen dingu...@altera.com Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. Albert, it seems you should be one merging this...? (Am I right?) Is there anything we need to fix? Was it too late? Thanks,

  1   2   >