Re: [U-Boot] [PATCH] common/lcd: add protection from null bmp pointer

2012-08-20 Thread Nikita Kiryanov
On 08/18/2012 02:09 PM, Jeroen Hofstee wrote: Hi, On 08/16/2012 12:43 PM, Nikita Kiryanov wrote: If the bmp pointer is null (for example because the environment variable splashimage was not defined) then U-Boot will get stuck when trying to load the image. Which branch is this? At [1] there

Re: [U-Boot] [PATCH V3 0/4] common/lcd cleanup

2012-08-20 Thread Nikita Kiryanov
Gentle ping. On 08/09/2012 01:14 PM, Nikita Kiryanov wrote: This patch series attempts to simplify #ifdef complexity in common/lcd.c. It was compile tested on Arm and PowerPC using MAKEALL Changes in V3: - Rebased on latest u-boot-video - Removed volatile qualifiers in patch 3

[U-Boot] [PATCH 2/4] spi: atmel: add WDRBT bit to avoid receive overrun

2012-08-20 Thread Bo Shen
The atmel at91sam9x5 series spi has feature to avoid receive overren Using the patch to enable it Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/spi/atmel_spi.c |3 +++ drivers/spi/atmel_spi.h |1 + 2 files changed, 4 insertions(+) diff --git a/drivers/spi/atmel_spi.c

[U-Boot] [PATCH 3/4] atmel: at91sam9x5: fix name error for spi

2012-08-20 Thread Bo Shen
Fix the name error Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c b/arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c

[U-Boot] [PATCH 4/4] atmel: at91sam9x5: add spi flash boot support

2012-08-20 Thread Bo Shen
Add at91sam9x5 series spi flash boot support Using at91sam9x5ek_spiflash to configure, then it can boot from at25df321 serial flash SPI mater work in 30Mhz speed, while not 1Mhz speed. This will base on atmel_spi patch, or else, it will occur receive overrun Signed-off-by: Bo Shen

[U-Boot] [PATCH 1/4] spiflash: at25: using common spi flash operation

2012-08-20 Thread Bo Shen
Using common spi flash operation function to replace private operation funtion This patch is based on http://patchwork.ozlabs.org/patch/177896/ which has been merged by Mike frysinger Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mtd/spi/atmel.c | 11 --- 1 file changed, 8

Re: [U-Boot] [PATCH 5/7 V4] SPI: Add SPI Driver for EXYNOS.

2012-08-20 Thread Joonyoung Shim
Hi, 2012/8/2 Rajeshwari Shinde rajeshwar...@samsung.com: This patch adds SPI driver for EXYNOS. Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Padmavathi Venna padm...@samsung.com Signed-off-by: Gabe Black gabebl...@google.com Signed-off-by: Rajeshwari Shinde

[U-Boot] [PATCH v4] MX: Set a common gpio.h for all i.MX

2012-08-20 Thread Stefano Babic
Each i.MX has its own gpio.h, defining the same structure. The internal GPIO controller has the same layout (at least for the register used by u-boot) and can be shared. Signed-off-by: Stefano Babic sba...@denx.de --- Changes in v2: - please ignore this version, it is broken Changes in v3: -

Re: [U-Boot] [PATCH 1/2] MX28: Drop the cp15 reconfiguration from SPL

2012-08-20 Thread Stefano Babic
On 06/08/2012 23:34, Marek Vasut wrote: The SPL doesn't need the CP15 reconfiguration, as that's what the BootROM does for us already. Moreover, when the CP15 is reconfigured and the code returns control to BootROM, the USB boot works no more. Remove the code and allow [1] to work properly

Re: [U-Boot] [PATCH 2/2] MX28: Shuffle around the power management code

2012-08-20 Thread Stefano Babic
On 06/08/2012 23:34, Marek Vasut wrote: Move some function calls to a more appropriate place, so they're called only when needed. Signed-off-by: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com ---

Re: [U-Boot] [PATCH] rtc: add support of mx27 rtc

2012-08-20 Thread Stefano Babic
On 08/08/2012 19:04, Philippe Reynes wrote: This driver has been tested on board armadeus apf27. Signed-off-by: Philippe Reynes trem...@yahoo.fr --- arch/arm/include/asm/arch-mx27/imx-regs.h |3 + arch/arm/include/asm/arch-mx27/regs-rtc.h | 40 ++ drivers/rtc/Makefile

Re: [U-Boot] [PATCH 01/16] Blackfin: BF60x: new processor port

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 12:39 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 07 August 2012 04:07:40 Bob Liu wrote: From: Mike Frysinger vap...@gentoo.org Add basic support for blackfin new processor BF60x. i had always intended to clean split this 1 change up, but never got a

Re: [U-Boot] [PATCH] mxc_spi: Round up clock divider

2012-08-20 Thread Stefano Babic
On 10/08/2012 20:51, Benoît Thébaudeau wrote: Since the input frequency of the API is a maximum that should not be exceeded in order for the devices to operate properly, the SPI clock divider should be rounded up, not truncated. Signed-off-by: Benoît Thébaudeau

Re: [U-Boot] [PATCH] mx25: Enable dcache

2012-08-20 Thread Stefano Babic
On 14/08/2012 15:17, Benoît Thébaudeau wrote: Now that the main i.MX features work fine with dcache enabled, enabled it by default if CONFIG_SYS_DCACHE_OFF is not defined. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de ---

Re: [U-Boot] [PATCH] mx5: Enable dcache

2012-08-20 Thread Stefano Babic
On 14/08/2012 15:17, Benoît Thébaudeau wrote: Now that the main i.MX features work fine with dcache enabled, enabled it by default if CONFIG_SYS_DCACHE_OFF is not defined. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de ---

Re: [U-Boot] [PATCH 02/16] Blackfin: bf609-ezkit: new board port

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 12:41 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 07 August 2012 04:07:41 Bob Liu wrote: arch/blackfin/cpu/initcode.c | 96 ++- arch/blackfin/cpu/initcode.h |9 ++ arch/blackfin/cpu/serial1.h

Re: [U-Boot] [PATCH] mx35: Fix typo on EDIO

2012-08-20 Thread Stefano Babic
On 14/08/2012 15:28, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx35/crm_regs.h |4 ++-- .../board/CarMediaLab/flea3/flea3.c|2 +-

Re: [U-Boot] [PATCH] mx3: Fix typo on IPU_CONF_CSI_EN

2012-08-20 Thread Stefano Babic
On 14/08/2012 15:33, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx31/imx-regs.h |2 +- .../arch/arm/include/asm/arch-mx35/imx-regs.h |2 +- 2 files changed, 2

Re: [U-Boot] [PATCH] mx5/6 timer: Round up tick_to_time() value

2012-08-20 Thread Stefano Babic
On 14/08/2012 17:01, Benoît Thébaudeau wrote: Round up tick_to_time() value instead of truncating it. This avoids stopping waits instantly for low usec values, and this generally guarantees that the code always waits for at least the requested duration. Signed-off-by: Benoît Thébaudeau

Re: [U-Boot] [PATCH v2 1/4] mx5: cosmetic: Clean up lowlevel_init

2012-08-20 Thread Stefano Babic
On 14/08/2012 17:18, Benoît Thébaudeau wrote: Coding style cleanup: - Remove useless parentheses. - Use tabs for indentations and alignments. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Changes for v2: - Make patch description

Re: [U-Boot] [PATCH 1/3] mx35: Remove duplicate GPIO3_BASE_ADDR

2012-08-20 Thread Stefano Babic
On 14/08/2012 23:03, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx35/imx-regs.h |1 - 1 file changed, 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 1/1] iomux: move IOMUX_GPR13_xxx defines

2012-08-20 Thread Stefano Babic
On 15/08/2012 22:27, Troy Kisky wrote: Move mx6 specific defines to arch-mx6 directory. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- arch/arm/include/asm/arch-mx6/iomux.h | 129 + arch/arm/include/asm/imx-common/iomux-v3.h| 111

Re: [U-Boot] [PATCH V4 1/3] imx-common/cmd_bmode.c: add imx bmode (bootmode) command

2012-08-20 Thread Stefano Babic
On 15/08/2012 22:31, Troy Kisky wrote: This is useful for forcing the ROM's usb downloader to activate upon a watchdog reset. Or, you can boot from either SD Card. Currently, support added for MX53 and MX6Q Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com Note: MX53 support

Re: [U-Boot] [PATCH 1/2] spi: fix mxc_spi_slave structure allocation to clear memory

2012-08-20 Thread Stefano Babic
On 17/08/2012 20:15, Matt Sealey wrote: Use calloc() instead of malloc() to allocate the mxc_spi_slave structure. Clearing the memory is necessary since most of the time this gets done super early in boot, but on warm reboots, and when SPI probing is done long after the init stages it could

Re: [U-Boot] [PATCH 2/2] spi: fix mxs_spi_slave structure allocation to clear memory

2012-08-20 Thread Stefano Babic
On 17/08/2012 20:15, Matt Sealey wrote: Use calloc() instead of malloc() to allocate the mxs_spi_slave structure. Clearing the memory is necessary since most of the time this gets done super early in boot, but on warm reboots, and when SPI probing is done long after the init stages it could

Re: [U-Boot] [PATCH 03/16] Blackfin: Bf60x: support big cplb page

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 12:48 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 07 August 2012 04:07:42 Bob Liu wrote: Bf60x support 16K, 64K, 16M and 64M cplb pages, this patch add support for them. So that bf609-ezkit can use it's 128M memory. it's - its

Re: [U-Boot] [PATCH v2] mx5/6: Fix cpu_mmc_init() return value

2012-08-20 Thread Stefano Babic
On 17/08/2012 22:42, Benoît Thébaudeau wrote: Do not pretend to have initialized mmc successfully if CONFIG_FSL_ESDHC is not defined. Instead, only implement a custom cpu_mmc_init() when it does something. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic

Re: [U-Boot] [PATCH 04/16] Blackfin: Rsi: add support for bf609-ezkit

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 12:52 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 07 August 2012 04:07:43 Bob Liu wrote: --- a/arch/blackfin/include/asm/config-pre.h +++ b/arch/blackfin/include/asm/config-pre.h #define BFIN_BOOT_16HOST_DMA 11 /* boot ldr from 16-bit host dma */

Re: [U-Boot] [PATCH v2 7/7] mx35: Add cpu_mmc_init()

2012-08-20 Thread Stefano Babic
On 17/08/2012 22:43, Benoît Thébaudeau wrote: Add cpu_mmc_init() function to make it easy to init a single eSDHC instance. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Changes for v2: - Do not define cpu_mmc_init() if

Re: [U-Boot] [PATCH 05/16] Blackfin: Paraflash: add support for bf609-ezkit

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 12:55 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 07 August 2012 04:07:44 Bob Liu wrote: --- a/arch/blackfin/include/asm/mach-bf609/portmux.h +++ b/arch/blackfin/include/asm/mach-bf609/portmux.h this should be part of the initial commit of this header (one of

Re: [U-Boot] [PATCH v2 1/2] MX28: config: Allow different target generation in elftosb call

2012-08-20 Thread Stefano Babic
On 18/08/2012 19:25, Otavio Salvador wrote: The elftosb call needs to use a target param specific for i.MX28. This patch allow for later addition of i.MX233. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v2: - fix Makefile according - move u-boot.bd to

Re: [U-Boot] [PATCH v2 2/2] MX28: Move regs-base.h include after SoC type configuration

2012-08-20 Thread Stefano Babic
On 18/08/2012 19:25, Otavio Salvador wrote: For i.MX233 addition the base registers need to be change so the SoC definition needs to be known before the header include. The following boards has been changed: * apx4devkit * m28evk * mx28evk * sc_sps_1 Signed-off-by: Otavio

Re: [U-Boot] [PATCH 1/2] mx28evk: Remove unneeded 'undef'

2012-08-20 Thread Stefano Babic
On 19/08/2012 01:28, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com There is no need to undef an option that is not enabled by default. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx28evk.h |1 - 1 file changed, 1 deletion(-)

Re: [U-Boot] [PATCH 2/2] mxs: Use correct function name to initialize dram

2012-08-20 Thread Stefano Babic
On 19/08/2012 01:28, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com commit d92591a (mxs: Convert sys_proto.h prefixes to 'mxs') introduced a mxs_dram_init() function, which is not used anywhere. Fix it, so that the following warning goes away: mx28evk.c: In

Re: [U-Boot] [PATCH 06/16] Blackfin: Bf609-ezkit: implement soft switch

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 12:59 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 07 August 2012 04:07:45 Bob Liu wrote: --- a/board/bf609-ezkit/Makefile +++ b/board/bf609-ezkit/Makefile +COBJS-$(CONFIG_BFIN_SOFT_SWITCH) += soft_switch.o is there any reason we *wouldn't* want to build

Re: [U-Boot] [PATCH 07/16] Blackfin: Spi: add bf6xx spi driver

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 1:02 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 07 August 2012 04:07:46 Bob Liu wrote: --- /dev/null +++ b/arch/blackfin/include/asm/mach-common/bits/spi6xx.h @@ -0,0 +1,240 @@ +/* + * Analog Devices SPI3 controller driver i'd prefer to call it bfin_spi3

Re: [U-Boot] [PATCH 08/16] Blackfin: add more print info for Bf60x

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 1:04 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 07 August 2012 04:07:47 Bob Liu wrote: --- a/arch/blackfin/lib/clocks.c +++ b/arch/blackfin/lib/clocks.c +u_long get_dclk(void) +{ +#ifndef CONFIG_BFIN_GET_DCLK + return _get_sclk(cached_dclk); +#else

Re: [U-Boot] [PATCH 09/16] Blackfin: Bf60x: add reset support

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 1:05 PM, Mike Frysinger vap...@gentoo.org wrote: please squash into one of the initial bf60x cpu support patches -mike Okay. -- Regards, --Bob ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 10/16] Blackfin: Bf60x: Check card ready for each RSI command

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 1:05 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 07 August 2012 04:07:49 Bob Liu wrote: Set up RSI data before sending RSI command if data is applicable. squash into the Blackfin: rsi: add bf60x support patch -mike Okay. -- Regards, --Bob

Re: [U-Boot] [PATCH v2 3/4] mx5: Optimize lowlevel_init for TO 3

2012-08-20 Thread Stefano Babic
On 14/08/2012 17:19, Benoît Thébaudeau wrote: The mx5 lowlevel_init.S contains code that detects the silicon revision at runtime, and that behaves differently if a silicon revision older than TO 3 is detected. This code is useless for recently designed boards that may not be fitted with older

Re: [U-Boot] [PATCH 13/16] Blackfin: Bf60x: add hw watchdog support

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 1:11 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 07 August 2012 04:07:52 Bob Liu wrote: --- a/arch/blackfin/cpu/initcode.c +++ b/arch/blackfin/cpu/initcode.c if (CONFIG_BFIN_BOOT_MODE != BFIN_BOOT_BYPASS) { serial_putc('e'); +#ifdef

Re: [U-Boot] [PATCH 16/16] Blackfin: update license to Clear BSD license.

2012-08-20 Thread Bob Liu
On Wed, Aug 8, 2012 at 1:12 PM, Mike Frysinger vap...@gentoo.org wrote: obviously this is OK regardless of my opinion on it ;) -mike Thank for all your review. -- Regards, --Bob ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] Take over the maintainer for sam9g10 and sam9m10g45

2012-08-20 Thread Bo Shen
As the maintainer for at91sam9g10ek and at91sam9m10g45ek can not reach any more. So I wish to take over the maintainer for sam9g10 and sam9m10g45 Signed-off-by: Bo Shen voice.s...@atmel.com --- MAINTAINERS |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS

Re: [U-Boot] [PATCH] da8xx/hawkboard: Add support for ohci host controller

2012-08-20 Thread Sughosh Ganu
On Fri Aug 10, 2012 at 02:15:20AM +0530, Sughosh Ganu wrote: Also enable the ohci port on hawkboard. These additions result in an increased u-boot size -- adjust the same accordingly in the board's config. Move the usb header for da8xx platforms under arch-davinci. Signed-off-by: Sughosh

Re: [U-Boot] [PATCH v5] Consolidate bootcount code into drivers/bootcount

2012-08-20 Thread Christian Riesch
Hi Stefan, On Fri, Aug 17, 2012 at 5:55 AM, Stefan Roese s...@denx.de wrote: This patch moves all bootcount implementations into a common directory: drivers/bootcount. The generic bootcount driver is now usable not only by powerpc platforms, but others as well. Signed-off-by: Stefan Roese

Re: [U-Boot] [PATCH 07/10] mx5 clocks: Fix get_uart_clk()

2012-08-20 Thread Stefano Babic
On 14/08/2012 20:07, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Hi Benoît, .../arch/arm/cpu/armv7/mx5/clock.c | 45 1 file changed, 27 insertions(+), 18 deletions(-)

Re: [U-Boot] [PATCH] usb: fix ulpi_set_vbus prototype

2012-08-20 Thread Igor Grinberg
On 08/19/12 19:22, Lucas Stach wrote: Match the name of the header prototype with the actual implementation. Signed-off-by: Lucas Stach d...@lynxeye.de Good catch! Thanks! Marek, if it is not too late then: Acked-by: Igor Grinberg grinb...@compulab.co.il If it is too late, then don't

Re: [U-Boot] [PATCH 07/10] mx5 clocks: Fix get_uart_clk()

2012-08-20 Thread Stefano Babic
On 20/08/2012 11:52, Stefano Babic wrote: Why should we pass a parameter to this function ? Can it be used in another context ? I do not think so, because it decodes the value in the cscmr1 register. I think it is better if you move the reading of the cscmr1 register inside this function

Re: [U-Boot] [PATCH v2 3/4] mx5: Optimize lowlevel_init for TO 3

2012-08-20 Thread Benoît Thébaudeau
Hi Stefano, On 14/08/2012 17:19, Benoît Thébaudeau wrote: The mx5 lowlevel_init.S contains code that detects the silicon revision at runtime, and that behaves differently if a silicon revision older than TO 3 is detected. This code is useless for recently designed boards that may not

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

2012-08-20 Thread Christian Riesch
Hi Tom, I tested the entire patchset with the da850evm booting from SPI flash with SPL (make da850evm_config make u-boot.ais). I had to add defines for mem_malloc_init to make it work, please see my comment below. On Wed, Aug 15, 2012 at 11:30 PM, Tom Rini tr...@ti.com wrote: - Convert the

Re: [U-Boot] [PATCH v2 1/5] at91: atmel_nand: extract HWECC initialization code into one function: atmel_hw_nand_init_param().

2012-08-20 Thread Josh Wu
Hi, Andreas On 8/16/2012 4:56 PM, Andreas Bießmann wrote: Dear Josh Wu, On 16.08.2012 07:05, Josh Wu wrote: Extract the hwecc initialization code into one function. It is a preparation for adding atmel PMECC support. Signed-off-by: Josh Wu josh...@atmel.com ---

Re: [U-Boot] [PATCH 3/6] mx35: Fix broken pin definitions

2012-08-20 Thread Stefano Babic
On 14/08/2012 21:39, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx35/mx35_pins.h |3 --- .../board/CarMediaLab/flea3/flea3.c|4 ++-- 2 files changed,

Re: [U-Boot] [PATCH 1/6] mx35 iomux: Remove unused macro

2012-08-20 Thread Stefano Babic
On 14/08/2012 21:39, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu/arm1136/mx35/iomux.c |2 -- 1 file changed, 2 deletions(-) diff --git

Re: [U-Boot] [PATCH 4/6] mx35: Remove declaration of non-existing function

2012-08-20 Thread Stefano Babic
On 14/08/2012 21:40, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx35/sys_proto.h |1 - 1 file changed, 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 5/6] mx35: Add default pin initializers

2012-08-20 Thread Stefano Babic
On 14/08/2012 21:40, Benoît Thébaudeau wrote: Create default pin initialization functions for the default iomux function assignments of the main peripherals. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Hi Benoît,

Re: [U-Boot] [PATCH 1/7] mx35: Move clock enums to clock.h

2012-08-20 Thread Stefano Babic
On 14/08/2012 22:32, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/cpu/arm1136/mx35/generic.c|4 +-- .../arch/arm/include/asm/arch-mx35/clock.h | 28 +++-

Re: [U-Boot] [PATCH 2/7] mx35: Remove declaration of non-existing function

2012-08-20 Thread Stefano Babic
On 14/08/2012 22:32, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Hi Benoît, .../arch/arm/include/asm/arch-mx35/clock.h |2 -- 1 file changed, 2 deletions(-) diff --git

Re: [U-Boot] [PATCH 3/3] mx35: Clean up lowlevel_init

2012-08-20 Thread Benoît Thébaudeau
Hi Stefano, Clean up mx35 lowlevel_init: - Indent with tabs. - Fix comments. - Use defined values instead of literal constants. - Use defined macros instead of duplicating code. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de ---

Re: [U-Boot] [PATCH 6/7] mx35: Fix eSDHC clocks

2012-08-20 Thread Stefano Babic
On 14/08/2012 22:33, Benoît Thébaudeau wrote: Each eSDHC instance has a dedicated clock. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Hi Benoît, .../arch/arm/cpu/arm1136/mx35/generic.c| 14 --

Re: [U-Boot] [PATCH 3/3] tegra20: add USB ULPI init code

2012-08-20 Thread Igor Grinberg
Hi Lucas, On 08/19/12 19:08, Lucas Stach wrote: This adds the required code to set up a ULPI USB port. It is mostly a port of the Linux ULPI setup code with some tweaks added for more correctness, discovered along the way of debugging this. Can you share which tweaks for correctness are

Re: [U-Boot] [PATCH 6/7] mx35: Fix eSDHC clocks

2012-08-20 Thread Benoît Thébaudeau
Hi Stefano, On 14/08/2012 22:33, Benoît Thébaudeau wrote: Each eSDHC instance has a dedicated clock. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Hi Benoît, .../arch/arm/cpu/arm1136/mx35/generic.c| 14

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

2012-08-20 Thread Igor Grinberg
On 08/19/12 19:08, 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 Toradex Colibri T20 board, where USB2 is used to access the ASIX ethernet chipset. Testing was done with

Re: [U-Boot] [PATCH 6/7] mx35: Fix eSDHC clocks

2012-08-20 Thread Benoît Thébaudeau
Hi Stefano, Even if the two controllers can have different clocks, this is not supported by the driver. In fact, in drivers/mmc/fsl_esdhc.c: int sdhc_clk = gd-sdhc_clk; The driver uses always the same clock, stored in the global structure. Before extending the code as in this

Re: [U-Boot] [PATCH 3/3] tegra20: add USB ULPI init code

2012-08-20 Thread Lucas Stach
Hello Igor, thanks for your review. Comments inline. Am Montag, den 20.08.2012, 15:07 +0300 schrieb Igor Grinberg: Hi Lucas, On 08/19/12 19:08, Lucas Stach wrote: This adds the required code to set up a ULPI USB port. It is mostly a port of the Linux ULPI setup code with some tweaks

Re: [U-Boot] [PATCH 6/7] mx35: Fix eSDHC clocks

2012-08-20 Thread Stefano Babic
On 20/08/2012 14:34, Benoît Thébaudeau wrote: Hi Stefano, Hi Benoît, Even if the two controllers can have different clocks, this is not supported by the driver. In fact, in drivers/mmc/fsl_esdhc.c: int sdhc_clk = gd-sdhc_clk; The driver uses always the same clock, stored in the global

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

2012-08-20 Thread Lucas Stach
Am Montag, den 20.08.2012, 15:27 +0300 schrieb Igor Grinberg: On 08/19/12 19:08, 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 Toradex Colibri T20 board, where USB2 is

Re: [U-Boot] [PATCH 6/7] mx35: Fix eSDHC clocks

2012-08-20 Thread Benoît Thébaudeau
Hi Stefano, Even if the two controllers can have different clocks, this is not supported by the driver. In fact, in drivers/mmc/fsl_esdhc.c: int sdhc_clk = gd-sdhc_clk; The driver uses always the same clock, stored in the global structure. Before extending the code as in this

Re: [U-Boot] [PATCH 6/7] mx35: Fix eSDHC clocks

2012-08-20 Thread Stefano Babic
On 20/08/2012 14:55, Benoît Thébaudeau wrote: OK, then this patch does the job for the single eSDHC instance use case, which will still use gd-sdhc_clk. Yes, but then we do not need ESDHC1, ESDHC2 and ESDHC3, because the driver does not support different clocks. I will make another patch

Re: [U-Boot] [PATCH 6/7] mx35: Fix eSDHC clocks

2012-08-20 Thread Benoît Thébaudeau
Hi Stefano, OK, then this patch does the job for the single eSDHC instance use case, which will still use gd-sdhc_clk. Yes, but then we do not need ESDHC1, ESDHC2 and ESDHC3, because the driver does not support different clocks. We need them: Yes, the driver supports a single eSDHC

Re: [U-Boot] Support for USB Ethernet adapter

2012-08-20 Thread Marek Vasut
Dear Daniel Ścisłowski, Dear Mr Marek Vasut, CCing U-boot mailing list. Please keep it. I would be grateful if you could tell me if U-Boot (currently I use 2012.07) supports USB-Ethernet adapter Yes, it does support adapter based on ASIX chips and SMSC 95xx chips. from MosChip

Re: [U-Boot] [PATCH] usb: fix ulpi_set_vbus prototype

2012-08-20 Thread Marek Vasut
Dear Igor Grinberg, On 08/19/12 19:22, Lucas Stach wrote: Match the name of the header prototype with the actual implementation. Signed-off-by: Lucas Stach d...@lynxeye.de Good catch! Thanks! Marek, if it is not too late then: Acked-by: Igor Grinberg grinb...@compulab.co.il

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

2012-08-20 Thread Lucas Stach
There are multiple changes needed to make AX88772B work: 1. add vendor and product ID (trivial) 2. We need to read out the MAC address from the EEPROM and write it into the NodeID register manually. 3. The packet length check has to be adjusted, as all ASIX chips only use 11 bits to indicate

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

2012-08-20 Thread Marek Vasut
Dear Lucas Stach, There are multiple changes needed to make AX88772B work: 1. add vendor and product ID (trivial) 2. We need to read out the MAC address from the EEPROM and write it into the NodeID register manually. 3. The packet length check has to be adjusted, as all ASIX chips

[U-Boot] [Patch V3 0/4] add mips64 cpu support

2012-08-20 Thread Zhizhou Zhang
This patch add mips64 cpu support. Changes in V3: - merge related files into one patch, no longer one file one patch. - add detailed commit message. - remove standalone example. it's too complicate. Zhizhou Zhang (4): [MIPS] Add support for MIPS64 cpus [MIPS] add mips64 support in mips

[U-Boot] [Patch V3 1/4] [MIPS] Add support for MIPS64 cpus

2012-08-20 Thread Zhizhou Zhang
These files are derived from arch/mips/cpu/mips32/*. Howerver some Changes are made: *.S: changes ABI o32 to n64 config.mk: add mips64 building cflags cpu.c: add cache size probe interrupts.c: implement enable_interrupts and disable_interrupts Signed-off-by: Zhizhou Zhang

[U-Boot] [Patch V3 2/4] [MIPS] add mips64 support in mips head files

2012-08-20 Thread Zhizhou Zhang
The most important difference between mips32 and mips64 is the address space. changes in addrspace.h and io.h are for this sake. And this patch add cache discribe struct in cache.h, and make compatible to mips64 of some types in posix_types.h. Signed-off-by: Zhizhou Zhang etou...@gmail.com ---

[U-Boot] [Patch V3 4/4] [MIPS] Disable standalone while building MIPS64

2012-08-20 Thread Zhizhou Zhang
I think copy mips.lds to mips64.lds with only one line changed is not good. So I disable it in top Makefile. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- Makefile |2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 5ce5cc3..626d888 100644 --- a/Makefile +++

[U-Boot] [Patch V3 3/4] [MIPS] Add qemu-mips building configs

2012-08-20 Thread Zhizhou Zhang
This patch add qemu-mips64 config. And here uses qemu-mips board rather then a new board qemu-mips64 for the sake of reduce code copying. Below are the changes: config.mk: We must define CONFIG_SYS_TEXT_BASE in configs/*.h, not here, so remove this file. u-boot.lds: add mips64 link

[U-Boot] [Patch V3 0/4] add mips64 cpu support

2012-08-20 Thread Zhizhou Zhang
This patch add mips64 cpu support. Changes in V3: - merge related files into one patch, no longer one file one patch. - add detailed commit message. - remove standalone example. it's too complicate. Zhizhou Zhang (4): [MIPS] Add support for MIPS64 cpus [MIPS] add mips64 support in mips

[U-Boot] [Patch V3 1/4] [MIPS] Add support for MIPS64 cpus

2012-08-20 Thread Zhizhou Zhang
These files are derived from arch/mips/cpu/mips32/*. Howerver some Changes are made: *.S: changes ABI o32 to n64 config.mk: add mips64 building cflags cpu.c: add cache size probe interrupts.c: implement enable_interrupts and disable_interrupts Signed-off-by: Zhizhou Zhang

[U-Boot] [Patch V3 2/4] [MIPS] add mips64 support in mips head files

2012-08-20 Thread Zhizhou Zhang
The most important difference between mips32 and mips64 is the address space. changes in addrspace.h and io.h are for this sake. And this patch add cache discribe struct in cache.h, and make compatible to mips64 of some types in posix_types.h. Signed-off-by: Zhizhou Zhang etou...@gmail.com ---

[U-Boot] [Patch V3 3/4] [MIPS] Add qemu-mips building configs

2012-08-20 Thread Zhizhou Zhang
This patch add qemu-mips64 config. And here uses qemu-mips board rather then a new board qemu-mips64 for the sake of reduce code copying. Below are the changes: config.mk: We must define CONFIG_SYS_TEXT_BASE in configs/*.h, not here, so remove this file. u-boot.lds: add mips64 link

[U-Boot] [Patch V3 4/4] [MIPS] Disable standalone while building MIPS64

2012-08-20 Thread Zhizhou Zhang
I think copy mips.lds to mips64.lds with only one line changed is not good. So I disable it in top Makefile. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- Makefile |2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 5ce5cc3..626d888 100644 --- a/Makefile +++

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

2012-08-20 Thread Lucas Stach
Hello Marek, Am Montag, den 20.08.2012, 16:13 +0200 schrieb Marek Vasut: Dear Lucas Stach, There are multiple changes needed to make AX88772B work: 1. add vendor and product ID (trivial) 2. We need to read out the MAC address from the EEPROM and write it into the NodeID register

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

2012-08-20 Thread Shawn Guo
On Sat, Aug 18, 2012 at 04:52:15PM -0500, Matt Sealey wrote: By 3.7 (most) or 3.8 (maybe all) a lot of boards will be device tree only. iomux stuff in board files has been replaced with pinctrl in device trees.. Shawn will know his schedule better than me (CCd) I'm working on it, but do

Re: [U-Boot] [PATCH] da8xx/hawkboard: Add support for ohci host controller

2012-08-20 Thread Tom Rini
On 08/20/2012 02:05 AM, Sughosh Ganu wrote: On Fri Aug 10, 2012 at 02:15:20AM +0530, Sughosh Ganu wrote: Also enable the ohci port on hawkboard. These additions result in an increased u-boot size -- adjust the same accordingly in the board's config. Move the usb header for da8xx platforms

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

2012-08-20 Thread Marek Vasut
Dear Lucas Stach, Hello Marek, Am Montag, den 20.08.2012, 16:13 +0200 schrieb Marek Vasut: Dear Lucas Stach, There are multiple changes needed to make AX88772B work: 1. add vendor and product ID (trivial) 2. We need to read out the MAC address from the EEPROM and write

Re: [U-Boot] [PATCH] tegra20: rework UART GPIO handling

2012-08-20 Thread Stephen Warren
On 08/19/2012 12:15 PM, Lucas Stach wrote: Rename board provided gpio_config_uart() to gpio_early_init_uart() as it does the same thing as the equally called function provided by the uart-switch code. This allows to simply call this function in early board init whether or not we are building

Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-20 Thread Andy Fleming
I'm ok if you take them. I should be doing a push today, so either way works for me. On Aug 18, 2012, at 2:05 PM, Scott Wood wrote: On 08/13/2012 06:23 PM, Scott Wood wrote: On 08/13/2012 01:10 PM, Matthew McClintock wrote: This change reduces the SPL size by removing the redundant syncs

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

2012-08-20 Thread Matt Sealey
On Sat, Aug 18, 2012 at 5:26 PM, Marek Vasut ma...@denx.de wrote: Dear Matt Sealey, On Sat, Aug 18, 2012 at 10:50 AM, Stefano Babic sba...@denx.de wrote: On 17/08/2012 20:19, Matt Sealey wrote: Anyway, who will maintain the efikas in future ? Marek, do you hold it, or Matt will take

Re: [U-Boot] [PATCH 2/4] efikamx: remove drive strength hack from early_init_f and move it to the DCD

2012-08-20 Thread Matt Sealey
On Sat, Aug 18, 2012 at 5:56 PM, stefano babic sba...@denx.de wrote: Am 19/08/2012 00:29, schrieb Marek Vasut: Dear Matt Sealey, On Sat, Aug 18, 2012 at 10:34 AM, Stefano Babic sba...@denx.de wrote: On 17/08/2012 20:19, Matt Sealey wrote: The i.MX Boot ROM lets us set up certain registers

[U-Boot] [PATCH v2 0/18] ARM: SPL: Make more generic, merge DaVinci and OMAP

2012-08-20 Thread Tom Rini
Hey all, The following patch series merges the davinci and omap-common SPL frameworks into a single framework, CONFIG_SPL_FRAMEWORK along with a few small cleanups to the code to make it a little smaller and more flexible. The end result is that davinci can now opt in on SPL-boots-Linux by just

[U-Boot] [PATCH v2 02/18] spl_mmc: Make FAT checks / calls guarded with CONFIG_SPL_FAT_SUPPORT

2012-08-20 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/spl_mmc.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/omap-common/spl_mmc.c b/arch/arm/cpu/armv7/omap-common/spl_mmc.c index 2f921bb..7552f6c 100644 ---

[U-Boot] [PATCH v2 01/18] Makefile: Move SPL files to clobber, remove from clean

2012-08-20 Thread Tom Rini
The 'clean' target has been removing all of spl but not u-boot itself. For consistency and ease of testing, only remove SPL binaries / maps in the clobber target, just like for full U-Boot Signed-off-by: Tom Rini tr...@ti.com --- Makefile | 12 ++-- 1 file changed, 6 insertions(+), 6

[U-Boot] [PATCH v2 03/18] omap-common: SPL: Add CONFIG_SPL_DISPLAY_PRINT / spl_display_print()

2012-08-20 Thread Tom Rini
Only omap4/5 currently have a meaningful set of display text and overo had been adding a function to display nothing. Change how this works to be opt-in and only turned on for omap4/5 now. Signed-off-by: Tom Rini tr...@ti.com --- README |4

[U-Boot] [PATCH v2 04/18] omap-common: Fix typo in save_boot_params() in lowlevel_init.S

2012-08-20 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/lowlevel_init.S |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/omap-common/lowlevel_init.S b/arch/arm/cpu/armv7/omap-common/lowlevel_init.S index ccc6bb6..48a296c 100644 ---

[U-Boot] [PATCH v2 05/18] ARM: SPL: Rename omap_boot_device to spl_boot_device

2012-08-20 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/boot-common.c |2 +- arch/arm/cpu/armv7/omap-common/lowlevel_init.S |4 ++-- arch/arm/cpu/armv7/omap-common/spl.c |2 +- arch/arm/cpu/armv7/omap-common/spl_mmc.c |2 +-

[U-Boot] [PATCH v2 06/18] ARM: SPL: Rename omap_boot_mode to spl_boot_mode()

2012-08-20 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/boot-common.c |2 +- arch/arm/cpu/armv7/omap-common/spl_mmc.c |2 +- arch/arm/cpu/armv7/omap-common/spl_nand.c|2 +- arch/arm/cpu/armv7/omap3/board.c |2 +-

[U-Boot] [PATCH v2 07/18] ARM: SPL: Remove NAND_MODE_HW_ECC from spl_nand.c

2012-08-20 Thread Tom Rini
This detection code doesn't (and can't) do anything currently, so remove. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/spl_nand.c | 13 +++-- arch/arm/cpu/armv7/omap3/board.c |3 --- arch/arm/include/asm/omap_common.h|1 - 3 files

[U-Boot] [PATCH v2 08/18] ARM: SPL: Only call mem_malloc_init if configured

2012-08-20 Thread Tom Rini
We can only attempt to setup a malloc pool if CONFIG_SYS_SPL_MALLOC_START is defined, and not all boards require it. Make the call depend on the define. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/spl.c |2 ++ 1 file changed, 2 insertions(+) diff --git

  1   2   >