[U-Boot] [PATCH v3 0/4] i2c: fti2c010: bug fix new driver model

2013-12-02 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com This changeset adapts the fti2c010.c to the new i2c driver model. Changes for v3: 1. cmd_eeprom: Pass 'addr[0]' instead of 'dev_addr' into i2c r/w routines. 2. fti2c010: serial out r/w address in MSB order: coding style update Changes for v2:

[U-Boot] [PATCH v3 1/4] i2c: fti2c010: cosmetic: coding style cleanup

2013-12-02 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Coding style cleanup Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com Cc: Heiko Schocher h...@denx.de --- Changes for v2 v3: - Nothing updates drivers/i2c/fti2c010.c | 31 --- 1 file changed, 16 insertions(+), 15

[U-Boot] [PATCH v3 2/4] i2c: fti2c010: migrate to new i2c model

2013-12-02 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Replace the legacy i2c model with the new one. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com Cc: Heiko Schocher h...@denx.de --- Changes for v2 v3: - Nothing updates drivers/i2c/fti2c010.c | 299

[U-Boot] [PATCH v3 3/4] i2c: fti2c010: serial out r/w address in MSB order

2013-12-02 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com For a eeprom with a 2-bytes address (e.g., Ateml AT24C1024B), the r/w address should be serial out in MSB order. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com Cc: Heiko Schocher h...@denx.de --- Changes for v3: - Coding style update Changes

[U-Boot] [PATCH v3 4/4] cmd_eeprom: bug fix for i2c read/write

2013-12-02 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The local pointer of address (i.e., addr) only gets referenced under SPI mode, and it won't be appropriate to pass only 1-byte addr[1] to i2c_read/i2c_write while CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1. 1. In U-boot's I2C model, the address would be

Re: [U-Boot] [PATCH v3 0/4] i2c: fti2c010: bug fix new driver model

2013-12-02 Thread Kuo-Jung Su
Hi Heiko: Sorry, my 3G network was unstable this morning, I've re-sent this v3 patch series. Please check it out few minutes later, thank you. Best Wishes Dante Su 2013/12/2 Heiko Schocher h...@denx.de: Hello Kuop-Jung, Am 02.12.2013 03:57, schrieb Kuo-Jung Su: From: Kuo-Jung

[U-Boot] [PATCH v6] spi: Add support SH Quad SPI driver

2013-12-02 Thread Nobuhiro Iwamatsu
This patch adds a driver for Renesas SoC's Quad SPI bus. This supports with 8 bits per transfer to use with SPI flash. Signed-off-by: Kouei Abe kouei.abe...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com

Re: [U-Boot] [PATCH v3 0/4] i2c: fti2c010: bug fix new driver model

2013-12-02 Thread Heiko Schocher
Hello Kuo-Jung, Am 02.12.2013 09:09, schrieb Kuo-Jung Su: Hi Heiko: Sorry, my 3G network was unstable this morning, I've re-sent this v3 patch series. Please check it out few minutes later, thank you. Your patches have reached the ML now, thanks! bye, Heiko -- DENX Software Engineering

Re: [U-Boot] [PATCH V3] exynos: spl: Add a custom spi copy function

2013-12-02 Thread Minkyu Kang
On 09/10/13 16:55, Rajeshwari Birje wrote: Hi Minkyu Kang, Since this patch is related to arch/arm spi booting, I had a doubt where would it get merged in u-boot-samsung.git or u-boot-spi.git. This patch is based on [U-Boot] [PATCH 4/4] spi: exynos: Support word transfers which is already

Re: [U-Boot] [PATCH] mmc: dw_mmc: remove the exynos specific code in dw-mmc.c

2013-12-02 Thread Minkyu Kang
On 29/11/13 21:01, Pantelis Antoniou wrote: Hi Jaehoon, Looks good On Nov 29, 2013, at 1:08 PM, Jaehoon Chung wrote: dw-mmc.c is the general driver file. So, remove the exynos specific code at dw-mmc.c. Instead, exynos specific cod can be move into exynos-dw_mmc.c. Signed-off-by:

Re: [U-Boot] [PATCH 0/2] Add usb eth support

2013-12-02 Thread Chander Kashyap
Ping On 19 November 2013 11:09, Chander Kashyap chander.kash...@linaro.org wrote: Ping.. On 19 October 2013 12:19, Inderpal Singh chander.kash...@linaro.org wrote: From: Chander Kashyap chander.kash...@linaro.org Arndale board has AX88760, which is USB 2.0 Hub USB 2.0 Ethernet Combo

[U-Boot] Zynq serial - pull request

2013-12-02 Thread Michal Simek
Hi Tom, this is one pending patch which is around for a while and hasn't been merged yet. Please add it to your tree. Thanks, Michal The following changes since commit d19ad726bcd5d9106f7ba9c750462fcc369f1020: Prepare v2014.01-rc1 (2013-11-25 16:49:32 -0500) are available in the git

Re: [U-Boot] [PATCH v2] dwmmc: make driver usable for non-exynos platforms

2013-12-02 Thread Alexey Brodkin
On Mon, 2013-12-02 at 14:45 +0900, Jaehoon Chung wrote: Hi, Rajeshwari It didn't need to include this patch. Best Regards, Jaehoon Chung Agree, there's no need in this particular patch any more. Jaehoon Chung did appropriate changes in dwmmc driver. Thanks for collaboration. -Alexey

Re: [U-Boot] [PATCH v3 4/4] cmd_eeprom: bug fix for i2c read/write

2013-12-02 Thread Alexey Brodkin
On Mon, 2013-12-02 at 16:02 +0800, Kuo-Jung Su wrote: From: Kuo-Jung Su dant...@faraday-tech.com diff --git a/common/cmd_eeprom.c b/common/cmd_eeprom.c index 02539c4..3924805 100644 --- a/common/cmd_eeprom.c +++ b/common/cmd_eeprom.c @@ -161,7 +161,7 @@ int eeprom_read (unsigned dev_addr,

[U-Boot] [PATCH 0/9 V9] EXYNOS5420: Add SMDK5420 board support

2013-12-02 Thread Rajeshwari S Shinde
This patch adds basic board support for SMDK5420 board. These patches are tested for booting fine on EVT1 SMDK5420. Changes in V2: - Corrected a compilation issue for SMDK5420. Changes in V3: - Add patch to support variable size SPL support - Add patch to disable SMU for

[U-Boot] [PATCH 4/9 V9] Exynos5420: Add DDR3 initialization for 5420

2013-12-02 Thread Rajeshwari S Shinde
This patch intends to add DDR3 initialization code for Exynos5420. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2: - Corrected a compilation issue for SMDK5250.

[U-Boot] [PATCH 9/9 V9] SPL: EXYNOS: Prepare for variable size SPL support

2013-12-02 Thread Rajeshwari S Shinde
When variable size SPL is used, the BL1 expects the SPL to be encapsulated differently: instead of putting the checksum at a fixed offset in the SPL blob, prepend the blob with a header including the size and the checksum. The enhancements include - adding a command line option, '--vs' to

[U-Boot] [PATCH 1/9 V9] EXYNOS5: Create a common board file

2013-12-02 Thread Rajeshwari S Shinde
Create a common board.c file for all functions which are common across all EXYNOS5 platforms. exynos_init function is provided for platform specific code. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com --- Changes in V2: - None Changes in V3: - None Changes in V4:

[U-Boot] [PATCH 6/9 V9] Exynos5420: Add base patch for SMDK5420

2013-12-02 Thread Rajeshwari S Shinde
Adding the base patch for Exynos based SMDK5420. This shall enable compilation and basic boot support for SMDK5420. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com --- Changes in V2: - None Changes in V3: - None

[U-Boot] [PATCH 2/9 V9] Exynos5420: Add base addresses for 5420

2013-12-02 Thread Rajeshwari S Shinde
Adds base addresses of various IPs and controllers required for Exynos5420. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2: - None Changes in V3: - None

[U-Boot] [PATCH 8/9 V9] Config: Add initial config for SMDK5420

2013-12-02 Thread Rajeshwari S Shinde
Adding initial config for SMDK5420 to build and boot U-Boot over Exynos based SMDK5420. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2: - None Changes in V3:

[U-Boot] [PATCH 7/9 V9] DTS: Add dts support for SMDK5420

2013-12-02 Thread Rajeshwari S Shinde
This patch adds dts support for SMDK5420. exynos5.dtsi created is a common file which has the nodes common to both 5420 and 5250. Signed-off-by: Akshay Saraswat aksha...@samsung.com Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in

[U-Boot] [PATCH 5/9 V9] Exynos5420: Add support for 5420 in pinmux and gpio

2013-12-02 Thread Rajeshwari S Shinde
Adds code in pinmux and gpio framework to support Exynos5420. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2:

Re: [U-Boot] [PATCH V2] arm: omap: i2c: don't zero cnt in i2c_write

2013-12-02 Thread Thomas Petazzoni
Dear Nikita Kiryanov, On Thu, 28 Nov 2013 18:04:42 +0200, Nikita Kiryanov wrote: Writing zero into I2Ci.I2C_CNT register causes random I2C failures in OMAP3 based devices. This seems to be related to the following advisory which apears in multiple erratas for OMAP3 SoCs (OMAP35xx, DM37xx), as

[U-Boot] Compiling a debug version of u-boot on panda board

2013-12-02 Thread Vikram Singh Shekhawat
Hi all, I want to compile a u-boot with debug enable.But i am getting some problem in that. I am using omap4460 panda board. When i am enabling DEBUG in config file(include/configs/omap4_panda.h). I am getting error that .rodaata not fit in region .sram , sram overflowed (might be because the

[U-Boot] [PATCH v2] trats: usb: Add usb_cable_connected() function

2013-12-02 Thread Przemyslaw Marczak
Changes: - define function usb_cable_connected() in trats board file which returns 1 if cable is connected and 0 otherwise - trats.h: add CONFIG_USB_CHECK_CABLE Changes v2: - add muic avaibility check Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com

Re: [U-Boot] Compiling a debug version of u-boot on panda board

2013-12-02 Thread Lokesh Vutla
Hi Vikram, On Monday 02 December 2013 04:01 PM, Vikram Singh Shekhawat wrote: Hi all, I want to compile a u-boot with debug enable.But i am getting some problem in that. I am using omap4460 panda board. When i am enabling DEBUG in config file(include/configs/omap4_panda.h). I am getting

Re: [U-Boot] [PATCH V3] exynos: spl: Add a custom spi copy function

2013-12-02 Thread Rajeshwari Birje
Hi Minkyu Kang, Thank you for comments. On Mon, Dec 2, 2013 at 2:18 PM, Minkyu Kang mk7.k...@samsung.com wrote: On 09/10/13 16:55, Rajeshwari Birje wrote: Hi Minkyu Kang, Since this patch is related to arch/arm spi booting, I had a doubt where would it get merged in u-boot-samsung.git or

[U-Boot] [PATCH 1/3] usb: ehci-omap: Reset the USB Host OMAP module

2013-12-02 Thread Roger Quadros
In commit bb1f327 we removed the UHH reset to fix NFS root (over usb ethernet) problems with Beagleboard (3530 ES1.0). However, this seems to cause USB detection problems for Pandaboard, about (3/8). On further investigation, it seems that doing the UHH reset is not the cause of the original

[U-Boot] [PATCH 3/3] omap4_panda: Don't use ulpi_reset

2013-12-02 Thread Roger Quadros
Fixes this error message when USB is started. ULPI: ulpi_reset: failed writing reset bit It is pointless to manually reset the ULPI as the USB Host Reset and PHY RESET line should take care of that. Reported-by: Tomi Valkeinen tomi.valkei...@ti.com Reviewed-by: Stefan Roese s...@denx.de

[U-Boot] [PATCH 2/3] omap3_beagle: Don't use ulpi_reset

2013-12-02 Thread Roger Quadros
Fixes this error message when USB is started. ULPI: ulpi_reset: failed writing reset bit It is pointless to manually reset the ULPI as the USB Host Reset and PHY RESET line should take care of that. Reported-by: Tomi Valkeinen tomi.valkei...@ti.com Reviewed-by: Stefan Roese s...@denx.de

[U-Boot] [STATUS] Resuming ARM activity

2013-12-02 Thread Albert ARIBAUD
Hello all, Apologies for my inactivity for the last fifteen days. I am resuming fully today, with PRs being applied first, then pending patches. If anyone wants to draw my attention to some post on the list, just reply to that post adding my e-mail address as To: rather than Cc: -- this will

Re: [U-Boot] why u-boot relocate it self to RAM from flash?

2013-12-02 Thread FengHua
Hi, I can not understand why u-boot relocate it self to RAM from flash? Why is it not executing from flash? Can anybody explain. First, flash is slow. Second, there are many data structures or variables which should be writable. So, we should copy u-boot to RAM and relocate it. Regards

Re: [U-Boot] Why u-boot relocate from flash to RAM

2013-12-02 Thread FengHua
Hi, I can't understand that why u-boot code relocate itself form flash to RAM? why it doesn't execute from flash? Can anybody explain. Plz First, flash is slow. Second, there are many data structures or variables which should be writable. So, we should copy u-boot to RAM and relocate it.

Re: [U-Boot] [PATCH V2] arm: omap: i2c: don't zero cnt in i2c_write

2013-12-02 Thread Lubomir Popov
Hi Nikita, On 28/11/13 18:04, Nikita Kiryanov wrote: Writing zero into I2Ci.I2C_CNT register causes random I2C failures in OMAP3 based devices. This seems to be related to the following advisory which apears in multiple erratas for OMAP3 SoCs (OMAP35xx, DM37xx), as well as OMAP4430 TRM:

Re: [U-Boot] [PATCH 0/3] OMAP USB host fixes for Beagle Panda

2013-12-02 Thread Marek Vasut
Dear Roger Quadros, Hi, This series - Fixes OMAP4 Panda USB device detection issues - Gets rid of ULPI reset errors on Beagle Panda Is this a V2 or what is this? I already see similar series posted a few days ago. Best regards, Marek Vasut

[U-Boot] [PATCH] ARM: mx53: video: Add IPUv3 LCD support for M53EVK

2013-12-02 Thread Marek Vasut
This patch adds support for the AMPIRE 800x480 LCD panel that is available for M53EVK. Signed-off-by: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de --- board/denx/m53evk/m53evk.c | 73 ++ include/configs/m53evk.h | 16 ++ 2 files

Re: [U-Boot] [PATCH 0/3] OMAP USB host fixes for Beagle Panda

2013-12-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/02/2013 10:59 AM, Marek Vasut wrote: Dear Roger Quadros, Hi, This series - Fixes OMAP4 Panda USB device detection issues - Gets rid of ULPI reset errors on Beagle Panda Is this a V2 or what is this? I already see similar series

Re: [U-Boot] [PATCH 0/3] OMAP USB host fixes for Beagle Panda

2013-12-02 Thread Marek Vasut
Hi, Dear Roger Quadros, Hi, This series - Fixes OMAP4 Panda USB device detection issues - Gets rid of ULPI reset errors on Beagle Panda Is this a V2 or what is this? I already see similar series posted a few days ago. I see, it was not posted to the ML before. Best

Re: [U-Boot] [GIT PULL] u-boot-mips/master

2013-12-02 Thread Tom Rini
On Wed, Nov 27, 2013 at 12:56:23AM +0100, Daniel Schwierzeck wrote: Hi Tom, please pull some additional fixes for MIPS malta board, thanks. The following changes since commit d19ad726bcd5d9106f7ba9c750462fcc369f1020: Prepare v2014.01-rc1 (2013-11-25 16:49:32 -0500) are available in

Re: [U-Boot] [PATCH] Blackfin: remove executable permission of AWK script

2013-12-02 Thread Tom Rini
On Thu, Nov 21, 2013 at 04:10:20PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- arch/blackfin/cpu/bootrom-asm-offsets.awk | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 = 100644 arch/blackfin/cpu/bootrom-asm-offsets.awk

Re: [U-Boot] Zynq serial - pull request

2013-12-02 Thread Tom Rini
On Mon, Dec 02, 2013 at 11:40:26AM +0100, Michal Simek wrote: Hi Tom, this is one pending patch which is around for a while and hasn't been merged yet. Please add it to your tree. Thanks, Michal The following changes since commit d19ad726bcd5d9106f7ba9c750462fcc369f1020:

Re: [U-Boot] [PULL] u-boot-atmel/master - u-boot-arm/master

2013-12-02 Thread Albert ARIBAUD
Hi Andreas, On Sun, 1 Dec 2013 22:50:12 +0100, Andreas Bießmann andreas.de...@googlemail.com wrote: Dear Albert Aribaud, please pull u-boot-atmel/master into u-boot-arm/master. This PR supersedes http://patchwork.ozlabs.org/patch/291044/ The following changes since commit

Re: [U-Boot] [PATCH v4] socfpga: Adding Freeze Controller driver

2013-12-02 Thread Albert ARIBAUD
Hi Chin Liang, On Tue, 1 Oct 2013 13:42:20 -0500, Chin Liang See cl...@altera.com wrote: Hi guys, Any further comments on this? Thanks None from me, and I would happily apply it except it does not apply cleanly any more on ARM. Can you rebase and re-send? Chin Liang Amicalement, --

Re: [U-Boot] [PATCH v2] arm: ep9315: Return back Cirrus Logic EDB9315A board support

2013-12-02 Thread Albert ARIBAUD
Hi sergey.kostanbaev, On Tue, 22 Oct 2013 17:18:45 +0400, sergey.kostanbaev sergey.kostanb...@gmail.com wrote: From: Sergey Kostanbaev sergey.kostanb...@gmail.com This patch returns back support for old ep93xx processors family Signed-off-by: Sergey Kostanbaev

Re: [U-Boot] [PATCH v4] socfpga: Adding Freeze Controller driver

2013-12-02 Thread Chin Liang See
Hi Albert On Mon, 2013-12-02 at 18:15 +0100, ZY - albert.u.boot wrote: Hi Chin Liang, On Tue, 1 Oct 2013 13:42:20 -0500, Chin Liang See cl...@altera.com wrote: Hi guys, Any further comments on this? Thanks None from me, and I would happily apply it except it does not apply

[U-Boot] [PATCH v5] socfpga: Adding Freeze Controller driver

2013-12-02 Thread Chin Liang See
Adding Freeze Controller driver. All HPS IOs need to be in freeze state during pin mux or IO buffer configuration. It is to avoid any glitch which might happen during the configuration from propagating to external devices. Signed-off-by: Chin Liang See cl...@altera.com Cc: Wolfgang Denk

Re: [U-Boot] adding NAND support for omap4 (based on pandaboard)

2013-12-02 Thread Gupta, Pekon
From: Abraham V. [mailto:abraham.varric...@vvdntech.com] 4. At this point we'll get some complaints about missing static definitions, so apply the following patch to add them in the common configuration file; diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h These

[U-Boot] regarding RAM Test

2013-12-02 Thread Beagle Board
Hi all, I wanted to perform a RAM test in u-boot for my DM8148 board. I've used the *mtest* command present in u-boot. But its taking ages and it looks like a never ending test. So guys can anyone point me a way to test maximum RAM memory. Here why i'm asking maximum is if I try it from kernel

Re: [U-Boot] regarding RAM Test

2013-12-02 Thread York Sun
On 12/02/2013 10:20 AM, Beagle Board wrote: Hi all, I wanted to perform a RAM test in u-boot for my DM8148 board. I've used the *mtest* command present in u-boot. But its taking ages and it looks like a never ending test. So guys can anyone point me a way to test maximum RAM memory. Here

Re: [U-Boot] [PATCH v7 0/13] Driver model implementation, tests, demo and GPIO

2013-12-02 Thread Mateusz Zalega
On 11/29/13 02:00, Masahiro Yamada wrote: How come 13/13 is missing? It's not. -- Mateusz Zalega Samsung RD Institute Poland ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Add support for single source clocking

2013-12-02 Thread York Sun
On 11/27/2013 09:34 PM, Priyanka Jain wrote: Single-source clocking is new feature introduced in T1040. In this mode, a differential clock is supplied to the DIFF_SYSCLK_P/N inputs to the processor, which in turn is used to supply clocks to the sysclock, ddrclock and usbclock. So, both

Re: [U-Boot] [PATCH v7 0/13] Driver model implementation, tests, demo and GPIO

2013-12-02 Thread Simon Glass
+Tom Hi, On 2 December 2013 12:02, Mateusz Zalega m.zal...@samsung.com wrote: On 11/29/13 02:00, Masahiro Yamada wrote: How come 13/13 is missing? It's not. I think it was missing until someone approved it, since it was over the 100KB limit. Regards, Simon

[U-Boot] [PATCH 0/2 v2] socfpga: Adding Scan Manager

2013-12-02 Thread Chin Liang See
Adding Scan Manager driver and handoff files. Scan Manager driver will be called to configure the IO buffer setting. Signed-off-by: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Wolfgang Denk w...@denx.de CC: Pavel Machek pa...@denx.de Cc: Tom Rini tr...@ti.com Cc:

[U-Boot] [PATCH v2 2/2] socfpga: Adding Scan Manager IOCSR handoff files

2013-12-02 Thread Chin Liang See
The IOCSR handoff files will be consumed by Scan Manager driver. Signed-off-by: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Wolfgang Denk w...@denx.de CC: Pavel Machek pa...@denx.de Cc: Tom Rini tr...@ti.com Cc: Albert Aribaud albert.u.b...@aribaud.net Signed-off-by:

[U-Boot] [PATCH v2 1/2] socfpga: Adding Scan Manager driver

2013-12-02 Thread Chin Liang See
Scan Manager driver will be called to configure the IOCSR scan chain. This configuration will setup the IO buffer settings Signed-off-by: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Wolfgang Denk w...@denx.de CC: Pavel Machek pa...@denx.de Cc: Tom Rini tr...@ti.com Cc:

[U-Boot] sf implementation

2013-12-02 Thread Eggler, Ron (GE Energy Management, Non-GE)
Hi Maillist, I'm new here and just started looking through the source code as I'm interested to see, how the function sf for loading a serial flash is implemented. I however can not seem to be able to find this in the source code, may you have any hints for me? I'm working with version

Re: [U-Boot] why u-boot relocate it self to RAM from flash?

2013-12-02 Thread Graeme Russ
Hi, On Tue, Dec 3, 2013 at 1:18 AM, FengHua feng...@phytium.com.cn wrote: Hi, I can not understand why u-boot relocate it self to RAM from flash? Why is it not executing from flash? Can anybody explain. First, flash is slow. Second, there are many data structures or variables

[U-Boot] [PATCH v3] arm: at91: support for the Calao USB-A9263 board (based on AT91SAM9263)

2013-12-02 Thread Mateusz Kulikowski
Add support for USB-A9263 board manufactured by Calao Systems (http://www.calao-systems.com/). Code is based on old U-Boot sources (2010.09) released by Calao. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- Changes for v3 - Updated Makefile to a new build system - Use generic

Re: [U-Boot] Why u-boot relocate from flash to RAM

2013-12-02 Thread Rommel G Custodio
Dear tvpatel12, tvpatel12 tvpatel12 at gmail.com writes: Hi, I can't understand that why u-boot code relocate itself form flash to RAM? why it doesn't execute from flash? Can anybody explain. Plz Read the very first paragraph of http://www.denx.de/wiki/DULG/DebuggingUBoot Tejas All

Re: [U-Boot] [PATCH v2] trats: usb: Add usb_cable_connected() function

2013-12-02 Thread Minkyu Kang
On 02/12/13 21:54, Przemyslaw Marczak wrote: Changes: - define function usb_cable_connected() in trats board file which returns 1 if cable is connected and 0 otherwise - trats.h: add CONFIG_USB_CHECK_CABLE Changes v2: - add muic avaibility check Change log should be under --- line. This

Re: [U-Boot] [PATCH] arm: exynos: fix set_mmc_clk for exynos4x12

2013-12-02 Thread Minkyu Kang
On 02/12/13 14:25, Jaehoon Chung wrote: Fix the set_mmc_clk() for exnos4x12. If board is exynos4x12, mmc clock should be set to wrong value. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com --- arch/arm/cpu/armv7/exynos/clock.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [U-Boot] [PATCH] arm: exynos: fix the align for exynos4_power structure

2013-12-02 Thread Minkyu Kang
On 02/12/13 15:09, Minkyu Kang wrote: res3 should be 4 bytes Signed-off-by: Minkyu Kang mk7.k...@samsung.com Cc: Dominik Klein dominik.kl...@gmx.com --- arch/arm/include/asm/arch-exynos/power.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot-samsung. Thanks,

Re: [U-Boot] [PATCH v3 4/4] cmd_eeprom: bug fix for i2c read/write

2013-12-02 Thread Kuo-Jung Su
2013/12/2 Alexey Brodkin alexey.brod...@synopsys.com: On Mon, 2013-12-02 at 16:02 +0800, Kuo-Jung Su wrote: From: Kuo-Jung Su dant...@faraday-tech.com diff --git a/common/cmd_eeprom.c b/common/cmd_eeprom.c index 02539c4..3924805 100644 --- a/common/cmd_eeprom.c +++ b/common/cmd_eeprom.c @@

Re: [U-Boot] [PATCH 5/5] ARM: mx6: Enable PCIe on Sabrelite

2013-12-02 Thread Eric Nelson
Hi Marek, On 11/29/2013 05:06 PM, Marek Vasut wrote: Dear Stefano Babic, Hi Eric, Marek, On 27/11/2013 17:19, Eric Nelson wrote: It seems to lock up the system if you don't have the proper device connected. Without this bit, I was able to confirm proper enumeration of a PCIe bus with a

[U-Boot] [PATCH 1/3 v6] arm: rmobile: Move lowlevel_init.o to taget of each CPU

2013-12-02 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu iwama...@nigauri.org --- v6: Fix failure of application on arm/HEAD. v5: add this patch. arch/arm/cpu/armv7/rmobile/Makefile | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/cpu/armv7/rmobile/Makefile

[U-Boot] Pull request: u-boot-sh/rmobile into u-boot-arm/master

2013-12-02 Thread Nobuhiro Iwamatsu
Dear Albert Aribaud, Please pull u-boot-sh/rmobile into u-boot-arm/master. The following changes since commit 77524d2c9d81e97c54e704b65c8a02e4bec0f441: Merge branch 'u-boot-atmel/master' into 'u-boot-arm/master' (2013-12-02 16:00:10 +0100) are available in the git repository at:

Re: [U-Boot] [PATCH] drivers:power:exynos-tmu: add support for Exynos5260

2013-12-02 Thread Minkyu Kang
Dear Naveen Krishna Chatradhi, On 26/11/13 20:56, Naveen Krishna Chatradhi wrote: This patch adds support for TMU on Exynos5260 Register bit fields are little different from the previous versions. Change-Id: Ibe835abe9cb255d2f8375c8e9e32d32cff19c093 please remove it. Signed-off-by:

Re: [U-Boot] [PATCH V2] arm: omap: i2c: don't zero cnt in i2c_write

2013-12-02 Thread Lokesh Vutla
Hi Lubomir, On Monday 02 December 2013 09:17 PM, Lubomir Popov wrote: Hi Nikita, On 28/11/13 18:04, Nikita Kiryanov wrote: Writing zero into I2Ci.I2C_CNT register causes random I2C failures in OMAP3 based devices. This seems to be related to the following advisory which apears in multiple

Re: [U-Boot] why u-boot relocate it self to RAM from flash?

2013-12-02 Thread tejas patel
Thank you very much for explanation both graeme and FengHua. I think i have got best answer from you Graeme from entire web. Thanks Tejas On Tue, Dec 3, 2013 at 4:03 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi, On Tue, Dec 3, 2013 at 1:18 AM, FengHua feng...@phytium.com.cn wrote:

[U-Boot] [PATCH 2/2] arm: exynos: remove the unused define.

2013-12-02 Thread Jaehoon Chung
These defines didn't use anywhere. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com --- arch/arm/include/asm/arch-exynos/dwmmc.h |4 1 file changed, 4 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/dwmmc.h b/arch/arm/include/asm/arch-exynos/dwmmc.h index

[U-Boot] [PATCH 1/2] arm: exynos/goni: fix the return type for s5p_mmc_init

2013-12-02 Thread Jaehoon Chung
The int type is right. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com --- arch/arm/include/asm/arch-exynos/mmc.h |2 +- arch/arm/include/asm/arch-s5pc1xx/mmc.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/mmc.h

[U-Boot] [PATCH 1/2] arm: exynos/goni: fix the return type for s5p_mmc_init

2013-12-02 Thread Jaehoon Chung
The int type is right. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com --- arch/arm/include/asm/arch-exynos/mmc.h |2 +- arch/arm/include/asm/arch-s5pc1xx/mmc.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/mmc.h

Re: [U-Boot] [v4 1/6] Driver/DDR: Moving Freescale DDR driver to a common driver

2013-12-02 Thread Masahiro Yamada
Hello York. --- a/arch/powerpc/cpu/mpc83xx/Makefile +++ b/arch/powerpc/cpu/mpc83xx/Makefile @@ -38,11 +38,11 @@ obj-$(CONFIG_OF_LIBFDT) += fdt.o # Stub implementations of cache management functions for USB obj-y += cache.o -ifdef CONFIG_FSL_DDR2 -obj-$(CONFIG_MPC8349) +=

Re: [U-Boot] [PATCH 2/2] arm: exynos: remove the unused define.

2013-12-02 Thread Alexey Brodkin
On Tue, 2013-12-03 at 14:00 +0900, Jaehoon Chung wrote: These defines didn't use anywhere. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com --- arch/arm/include/asm/arch-exynos/dwmmc.h |4 1 file changed, 4 deletions(-) Acked-by: Alexey Brodkin abrod...@synopsys.com Regards,

Re: [U-Boot] why u-boot relocate it self to RAM from flash?

2013-12-02 Thread Wolfgang Denk
Dear tejas patel, In message capwfgsa88djf_jm9mktu53kpinb7kqncnug6edba_w1mfhz...@mail.gmail.com you wrote: I can not understand why u-boot relocate it self to RAM from flash? Why is it not executing from flash? Can anybody explain. There is a ton of reasons. One is that you cannot erase or

Re: [U-Boot] [PATCH 2/2] Makefile: Select objects by CONFIG_ rather than $(ARCH) or $(CPU)

2013-12-02 Thread Masahiro Yamada
Hi Tom. --- a/arch/powerpc/cpu/mpc8xxx/Makefile +++ b/arch/powerpc/cpu/mpc8xxx/Makefile @@ -19,10 +19,8 @@ ifdef MINIMAL obj-$(CONFIG_FSL_LAW) += law.o else - -ifneq ($(CPU),mpc83xx) -obj-y+= cpu.o -endif +obj-$(CONFIG_MPC85xx) += cpu.o +obj-$(CONFIG_MPC86xx) += cpu.o

Re: [U-Boot] [v4 1/6] Driver/DDR: Moving Freescale DDR driver to a common driver

2013-12-02 Thread york sun
On Dec 2, 2013, at 9:15 PM, Masahiro Yamada wrote: Hello York. --- a/arch/powerpc/cpu/mpc83xx/Makefile +++ b/arch/powerpc/cpu/mpc83xx/Makefile @@ -38,11 +38,11 @@ obj-$(CONFIG_OF_LIBFDT) += fdt.o # Stub implementations of cache management functions for USB obj-y += cache.o -ifdef

Re: [U-Boot] [PATCH 1/9 V9] EXYNOS5: Create a common board file

2013-12-02 Thread Minkyu Kang
Dear Rajeshwari S Shinde, On 02/12/13 20:47, Rajeshwari S Shinde wrote: Create a common board.c file for all functions which are common across all EXYNOS5 platforms. exynos_init function is provided for platform specific code. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com

Re: [U-Boot] [PATCH 4/9 V9] Exynos5420: Add DDR3 initialization for 5420

2013-12-02 Thread Minkyu Kang
Dear Rajeshwari S Shinde, On 02/12/13 20:47, Rajeshwari S Shinde wrote: This patch intends to add DDR3 initialization code for Exynos5420. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH 3/9 V9] Exynos5420: Add clock initialization for 5420

2013-12-02 Thread Minkyu Kang
Dear Rajeshwari S Shinde, On 02/12/13 20:47, Rajeshwari S Shinde wrote: This patch adds code for clock initialization and clock settings of various IP's and controllers, required for Exynos5420 Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Signed-off-by: Akshay Saraswat

Re: [U-Boot] [PATCH V3] exynos: spl: Add a custom spi copy function

2013-12-02 Thread Minkyu Kang
On 02/12/13 22:17, Rajeshwari Birje wrote: Hi Minkyu Kang, Thank you for comments. On Mon, Dec 2, 2013 at 2:18 PM, Minkyu Kang mk7.k...@samsung.com wrote: On 09/10/13 16:55, Rajeshwari Birje wrote: Hi Minkyu Kang, Since this patch is related to arch/arm spi booting, I had a doubt

[U-Boot] [PATCH] PowerPC: mpc83xx: Do not use absolute paths for obj-y

2013-12-02 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Please make sure relative paths always should be used when $(obj-y) points to objects under a different directory. The absolute path like follows: obj-$(CONFIG_MPC8349) += $(SRCTREE)/drivers/ddr/fsl/mpc85xx_ddr_gen2.o creates an

[U-Boot] [PATCH] include/mmc.h: Remove declaration for spl_mmc_load()

2013-12-02 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com The spl_mmc_load() was removed while converting to CONFIG_SPL_FRAMEWORK usage the definition was removed but the declaration was missed. This patch removes this declaration. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com ---

Re: [U-Boot] [v4 1/6] Driver/DDR: Moving Freescale DDR driver to a common driver

2013-12-02 Thread Masahiro Yamada
Hello York. And it also looks weird to me. Why did you put this code in arch/powerpc/cpu/mpc83xx/Makefie, not drivers/ddr/fsl/Makefile ? I understand this looks weird. Most 83xx didn't use the same driver as 85xx SoCs do. Freescale DDR driver has two parts. One is the

Re: [U-Boot] [PATCH 0/4] Trats2 code cleanups

2013-12-02 Thread Minkyu Kang
On 27/11/13 19:10, Piotr Wilczek wrote: This patch series cleanups some code for Trats2. Unused defines are removed. For envs, hardcoded names are replaced with variable names. In the board file, 'samsung_get_base' common functions are used. Tizen partions layout is updated. This patch

Re: [U-Boot] [v4 1/6] Driver/DDR: Moving Freescale DDR driver to a common driver

2013-12-02 Thread york sun
On Dec 2, 2013, at 10:49 PM, Masahiro Yamada wrote: Hello York. And it also looks weird to me. Why did you put this code in arch/powerpc/cpu/mpc83xx/Makefie, not drivers/ddr/fsl/Makefile ? I understand this looks weird. Most 83xx didn't use the same driver as 85xx SoCs do.

Re: [U-Boot] [PATCH v3 4/4] cmd_eeprom: bug fix for i2c read/write

2013-12-02 Thread Alexey Brodkin
On Tue, 2013-12-03 at 08:55 +0800, Kuo-Jung Su wrote: The comment bellow clearly explain the issue here. soft_i2c.c: line 351 ~ 367: #ifdef CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW /* * EEPROM chips that implement address overflow are ones * like Catalyst 24WC04/08/16 which has