[U-Boot] Question about dynamic gpmc timings

2014-06-27 Thread Chase Lambert
Hello! I'm working on a product that has two different NAND devices, each with different timings. I'd like to have the products with the faster NAND keep the faster timings, while still supporting the slower NAND. I'm currently using x-loader instead of U-Boot's spl, so omap3/spl_id_nand.c is not

Re: [U-Boot] [PATCH v1 22/25] tools/kwboot: Sync with latest barebox version to support Armada XP

2014-06-27 Thread Daniel Stodden
On Fri, 2014-06-27 at 21:06 +0200, Luka Perkov wrote: > Hi Stefan, > > It's great to see you working on adding support for Marvell's new SoCs :) > > Since now kwboot is going to support more SoCs except kirkwood it makes > sense to rename it to mvboot. I've sent this patch long ago, dunno if it >

Re: [U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

2014-06-27 Thread Jörg Krause
On 06/28/2014 01:37 AM, Stephen Warren wrote: On 06/27/2014 05:16 PM, Jörg Krause wrote: On 06/27/2014 11:55 PM, Stephen Warren wrote: On 06/27/2014 03:37 PM, Jörg Krause wrote: I added the last series of patches beginning from 2014-06-10 for testing purposes. The patches from 2014-05-29 were

Re: [U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

2014-06-27 Thread Jörg Krause
On 06/28/2014 01:37 AM, Stephen Warren wrote: On 06/27/2014 05:16 PM, Jörg Krause wrote: On 06/27/2014 11:55 PM, Stephen Warren wrote: On 06/27/2014 03:37 PM, Jörg Krause wrote: I added the last series of patches beginning from 2014-06-10 for testing purposes. The patches from 2014-05-29 were

Re: [U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

2014-06-27 Thread Stephen Warren
On 06/27/2014 05:16 PM, Jörg Krause wrote: > > On 06/27/2014 11:55 PM, Stephen Warren wrote: >> On 06/27/2014 03:37 PM, Jörg Krause wrote: >>> I added the last series of patches beginning from 2014-06-10 for testing >>> purposes. The patches from 2014-05-29 were already applied. >>> >>> First seri

Re: [U-Boot] [PATCH v5 0/5] mtd, ubi, ubifs: resync with Linux-3.14

2014-06-27 Thread Jörg Krause
I applied this series of patches on top of a patch from Stephen Warren from 2014-06-23: [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC. Now my USB Ethernet driver does not work anymore. I am using tfpd for downloading files over USB Ethernet Gadget from my notebook to an Freesca

Re: [U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

2014-06-27 Thread Jörg Krause
On 06/27/2014 11:56 PM, Stephen Warren wrote: On 06/27/2014 03:52 PM, Jörg Krause wrote: I have tested a little bit more. It does NOT help waiting some seconds before running tftp again. Sometimes it just works running tfpd immediately after a previous tfpd. Sometimes waiting even a minute end

Re: [U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

2014-06-27 Thread Jörg Krause
On 06/27/2014 11:55 PM, Stephen Warren wrote: On 06/27/2014 03:37 PM, Jörg Krause wrote: I added the last series of patches beginning from 2014-06-10 for testing purposes. The patches from 2014-05-29 were already applied. First series of patches: Applying: usb: ci_udc: call udc_disconnec

Re: [U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

2014-06-27 Thread Stephen Warren
On 06/27/2014 03:52 PM, Jörg Krause wrote: > I have tested a little bit more. > > It does NOT help waiting some seconds before running tftp again. > Sometimes it just works running tfpd immediately after a previous tfpd. > Sometimes waiting even a minute ends up in the described error. > > Odd, v

Re: [U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

2014-06-27 Thread Stephen Warren
On 06/27/2014 03:37 PM, Jörg Krause wrote: > I added the last series of patches beginning from 2014-06-10 for testing > purposes. The patches from 2014-05-29 were already applied. > > First series of patches: > > Applying: usb: ci_udc: call udc_disconnect() from ci_pullup() > Applying: us

Re: [U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

2014-06-27 Thread Jörg Krause
I have tested a little bit more. It does NOT help waiting some seconds before running tftp again. Sometimes it just works running tfpd immediately after a previous tfpd. Sometimes waiting even a minute ends up in the described error. Odd, very odd, sorry :-) On 06/27/2014 11:37 PM, Jörg Kra

Re: [U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

2014-06-27 Thread Jörg Krause
I added the last series of patches beginning from 2014-06-10 for testing purposes. The patches from 2014-05-29 were already applied. First series of patches: Applying: usb: ci_udc: call udc_disconnect() from ci_pullup() Applying: usb: ci_udc: fix freeing of ep0 req Applying: usb: ci_ud

Re: [U-Boot] [PATCH v3 06/11] arm:reset: call the reset_misc() before the cpu reset

2014-06-27 Thread Jeroen Hofstee
Hello Przemyslaw, On 27-06-14 13:34, Przemyslaw Marczak wrote: On 06/27/2014 11:40 AM, Minkyu Kang wrote: Dear Przemyslaw Marczak, On 26/06/14 23:15, Przemyslaw Marczak wrote: On an Odroid U3 board, the SOC is unable to reset the eMMC card in the DWMMC mode by the cpu software reset. Manual r

[U-Boot] [PATCH 2/2] am43xx: Tune the system to avoid DSS underflows

2014-06-27 Thread Franklin S Cooper Jr
* This is done by limiting the ARM's bandwidth and setting DSS priority in the EMIF controller to ensure underflows do not occur. --- arch/arm/cpu/armv7/am33xx/ddr.c| 12 arch/arm/include/asm/arch-am33xx/cpu.h | 23 ++- arch/arm/include/asm/arch-am33x

[U-Boot] [PATCH 1/2] am43xx: Update EMIF DDR3 Configuration for AM43x GP

2014-06-27 Thread Franklin S Cooper Jr
From: "Franklin S. Cooper Jr" * Boot failures have been discovered due to a combination of routing issues and non optimal ddr3 timings in the EMIF * Since ddr3 timings are different after significant board layout changes different timings are required for alpha, beta and production boards. S

Re: [U-Boot] [PATCH v1 22/25] tools/kwboot: Sync with latest barebox version to support Armada XP

2014-06-27 Thread Luka Perkov
Hi Stefan, It's great to see you working on adding support for Marvell's new SoCs :) Since now kwboot is going to support more SoCs except kirkwood it makes sense to rename it to mvboot. I've sent this patch long ago, dunno if it still applies: http://patchwork.ozlabs.org/patch/219741/ Also, I'

Re: [U-Boot] [PATCH] doc/README.falcon: Clarify steps slightly.

2014-06-27 Thread Wolfgang Denk
Dear Tom, In message <1403874230-31939-1-git-send-email-tr...@ti.com> you wrote: > Make it clear that we need to load a legacy-formatted (aka uImage) > kernel into memory as well as the DT if used before using "spl export". Can this not also be a FIT image (or even a zImage)? Best regards, Wolf

[U-Boot] [Patch v1 1/4] ARMv8/ls2085a: Fix CPU_RELEASE_ADDR

2014-06-27 Thread York Sun
From: Arnab Basu Remove trailing UL from CONFIG_SYS_SDRAM_BASE to be used from assembly. Fix CPU_RELEASE_ADDR to use the beginning of SDRAM. Signed-off-by: Arnab Basu Signed-off-by: York Sun --- This set depends on this bundle http://patchwork.ozlabs.org/bundle/yorksun/armv8_fsl-lsch3/ incl

[U-Boot] [Patch v1 4/4] ARMv8/ls2085a: Move u-boot location to make room for RCW

2014-06-27 Thread York Sun
When booting with SP, RCW resides at the beginning of IFC NOR flash. Signed-off-by: York Sun --- This set depends on this bundle http://patchwork.ozlabs.org/bundle/yorksun/armv8_fsl-lsch3/ include/configs/ls2085a_common.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i

[U-Boot] [Patch v1 2/4] armv8/fsl-lsch3: Release secondary cores from boot hold off with Boot Page

2014-06-27 Thread York Sun
Secondary cores need to be released from holdoff by boot release registers. With GPP bootrom, they can boot from main memory directly. Individual spin table is used for each core. If a single release address is needed, defining macro CONFIG_FSL_SMP_RELEASE_ALL will use the CPU_RELEASE_ADDR. Spin ta

[U-Boot] [Patch v1 3/4] ARMv8/ls2085a: Enable secondary cores

2014-06-27 Thread York Sun
Spin table is at the very beginning of boot page. All cores are released by the first entry address. If individual entry address is needed, undef CONFIG_FSL_SMP_RELEASE_ALL. FDT fixup is called to update spin table address. Signed-off-by: York Sun --- This set depends on this bundle http://patch

Re: [U-Boot] [PATCH v3] ARM: tegra: Disable VPR

2014-06-27 Thread Thierry Reding
On Tue, Jun 24, 2014 at 11:45:29AM +0900, Alexandre Courbot wrote: > From: Bryan Wu > > On Tegra114 and Tegra124 platforms, certain display-related registers cannot > be accessed unless the VPR registers are programmed. For bootloader, we > probably don't care about VPR, so we disable it (which

Re: [U-Boot] ARMv8 spin-table patches

2014-06-27 Thread Tom Rini
On Fri, Jun 27, 2014 at 09:11:39AM -0700, York Sun wrote: > Dear Albert, Wolfgang, Tom, > > I have seen some patches for PSCI. We don't have PSCI enabled on > Freescale ARMv8 SoCs. Will spin-table patches be acceptable? Baring some technical reasons why no, you can't do that, yes, lets see the p

Re: [U-Boot] Return value of run command

2014-06-27 Thread Tom Rini
On Fri, Jun 27, 2014 at 12:24:49PM -0400, Tom Rini wrote: > On Fri, May 30, 2014 at 05:03:36PM +0200, Enric Balletbo Serra wrote: > > Hi all, > > > > Should the command 'run something"' return the value that returns > > "something" or just return "true" if can execute something and "false" > > if

Re: [U-Boot] Return value of run command

2014-06-27 Thread Tom Rini
On Fri, May 30, 2014 at 05:03:36PM +0200, Enric Balletbo Serra wrote: > Hi all, > > Should the command 'run something"' return the value that returns > "something" or just return "true" if can execute something and "false" > if it can't ? > > I'll explain. Imagine you have a variable that loads a

[U-Boot] ARMv8 spin-table patches

2014-06-27 Thread York Sun
Dear Albert, Wolfgang, Tom, I have seen some patches for PSCI. We don't have PSCI enabled on Freescale ARMv8 SoCs. Will spin-table patches be acceptable? York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] usb: host: xhci: make sure to power up PHY

2014-06-27 Thread Felipe Balbi
On Fri, Jun 27, 2014 at 10:27:30AM -0500, Dan Murphy wrote: > Hi > > On 06/23/2014 04:25 PM, Felipe Balbi wrote: > > some boards won't work if the PHY isn't explicitly > > powered up. > > > > Signed-off-by: Felipe Balbi > > --- > > drivers/usb/host/xhci-omap.c | 1 + > > 1 file changed, 1 insert

Re: [U-Boot] [PATCH 1/2] usb: host: xhci: make sure to power up PHY

2014-06-27 Thread Dan Murphy
On 06/27/2014 10:36 AM, Felipe Balbi wrote: > On Fri, Jun 27, 2014 at 10:27:30AM -0500, Dan Murphy wrote: >> Hi >> >> On 06/23/2014 04:25 PM, Felipe Balbi wrote: >>> some boards won't work if the PHY isn't explicitly >>> powered up. >>> >>> Signed-off-by: Felipe Balbi >>> --- >>> drivers/usb/host

Re: [U-Boot] [PATCH 1/2] usb: host: xhci: make sure to power up PHY

2014-06-27 Thread Dan Murphy
Hi On 06/23/2014 04:25 PM, Felipe Balbi wrote: > some boards won't work if the PHY isn't explicitly > powered up. > > Signed-off-by: Felipe Balbi > --- > drivers/usb/host/xhci-omap.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-oma

[U-Boot] [PATCH] doc/README.falcon: Clarify steps slightly.

2014-06-27 Thread Tom Rini
Make it clear that we need to load a legacy-formatted (aka uImage) kernel into memory as well as the DT if used before using "spl export". Cc: Yebio Mesfin Signed-off-by: Tom Rini --- doc/README.falcon |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/README.falc

Re: [U-Boot] [PATCH v3 03/11] board:samsung: check the boot device and init the right mmc driver.

2014-06-27 Thread Przemyslaw Marczak
hello Jaehoon, On 06/27/2014 11:45 AM, Jaehoon Chung wrote: On 06/27/2014 06:40 PM, Minkyu Kang wrote: Dear Przemyslaw Marczak, On 26/06/14 23:15, Przemyslaw Marczak wrote: It is possible to boot device using a micro SD or eMMC slots. In this situation, boot device should be registered as a b

Re: [U-Boot] [PATCH v3 07/11] samsung: board: enable support of multiple board types

2014-06-27 Thread Przemyslaw Marczak
On 06/27/2014 11:40 AM, Minkyu Kang wrote: On 26/06/14 23:15, Przemyslaw Marczak wrote: This change adds declaration of functions: - set_board_type() - called at checkboard() - get_board_type() - called at checkboard() - get_board_name() For supporting multiple board types in a one config - it

Re: [U-Boot] [PATCH v3 03/11] board:samsung: check the boot device and init the right mmc driver.

2014-06-27 Thread Przemyslaw Marczak
On 06/27/2014 11:40 AM, Minkyu Kang wrote: Dear Przemyslaw Marczak, On 26/06/14 23:15, Przemyslaw Marczak wrote: It is possible to boot device using a micro SD or eMMC slots. In this situation, boot device should be registered as a block device 0 in the MMC framework, because CONFIG_SYS_MMC_ENV

Re: [U-Boot] [PATCH v3 06/11] arm:reset: call the reset_misc() before the cpu reset

2014-06-27 Thread Przemyslaw Marczak
On 06/27/2014 11:40 AM, Minkyu Kang wrote: Dear Przemyslaw Marczak, On 26/06/14 23:15, Przemyslaw Marczak wrote: On an Odroid U3 board, the SOC is unable to reset the eMMC card in the DWMMC mode by the cpu software reset. Manual reset of the card by switching proper gpio pin - fixes this issue.

Re: [U-Boot] [PATCH v3 02/11] board:samsung: add function boot_device() for checking boot medium

2014-06-27 Thread Przemyslaw Marczak
Dear Minkyu, On 06/27/2014 11:40 AM, Minkyu Kang wrote: Dear Przemyslaw Marczak, On 26/06/14 23:15, Przemyslaw Marczak wrote: It is possible to boot from a few media devices, especially using a micro SD or eMMC slots. In this situation depends on a boot device - some setup can be changeg. Thi

Re: [U-Boot] [PATCH] Samsung: Goni: change maintainer to Robert Baldyga

2014-06-27 Thread Lukasz Majewski
Hi Przemyslaw, > Robert Baldyga will now take care of this board. > > Signed-off-by: Przemyslaw Marczak > Cc: Robert Baldyga > Cc: Minkyu Kang > --- > boards.cfg | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/boards.cfg b/boards.cfg > index 1527ebe..673e599 100644 >

[U-Boot] [PATCH] Samsung: Goni: change maintainer to Robert Baldyga

2014-06-27 Thread Przemyslaw Marczak
Robert Baldyga will now take care of this board. Signed-off-by: Przemyslaw Marczak Cc: Robert Baldyga Cc: Minkyu Kang --- boards.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards.cfg b/boards.cfg index 1527ebe..673e599 100644 --- a/boards.cfg +++ b/boards.cfg @@ -3

Re: [U-Boot] [PATCH v1 0/25] Add Marvell Armada XP MV78460 SoC support

2014-06-27 Thread Prafulla Wadaskar
> -Original Message- > From: Stefan Roese [mailto:s...@denx.de] > Sent: 27 June 2014 15:25 > To: u-boot@lists.denx.de > Cc: Prafulla Wadaskar; tr...@ti.com > Subject: [PATCH v1 0/25] Add Marvell Armada XP MV78460 > SoC support > > > This patch series adds support for the Marvell Armada

Re: [U-Boot] U-Boot Digest, Vol 73, Issue 47

2014-06-27 Thread luca . luminari
Grazie per il tuo messaggio. Sono fuori azienda con accesso limitato alle mail fino al 3 Luglio. Thank you for your message I am out of office and will be back on Thursday the third of July. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists

Re: [U-Boot] U-Boot Digest, Vol 73, Issue 46

2014-06-27 Thread luca . luminari
Grazie per il tuo messaggio. Sono fuori azienda con accesso limitato alle mail fino al 3 Luglio. Thank you for your message I am out of office and will be back on Thursday the third of July. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists

[U-Boot] [PATCH v1 25/25] Makefile: Add CONFIG_BUILD_TARGET to automatically build an special image

2014-06-27 Thread Stefan Roese
Add target to build it automatically upon "make" / MAKEALL. This can/should be set by board / cpu specific headers if a special U-Boot image is required for this SoC / board. E.g. used by Marvell Armada XP to automatically build the u-boot.kwb target. Signed-off-by: Stefan Roese Cc: Masahiro Yam

[U-Boot] [PATCH v1 18/25] arm: armada-xp: Add basic support for Marvell Armada XP SoC

2014-06-27 Thread Stefan Roese
This basic support for the Marvell Armada XP is base on the existing kirkwood support. Which has been generatized by moving some common files into common marvell locations. This is in preparation for the upcoming Armada XP MV78460 support. Signed-off-by: Stefan Roese --- Makefile

[U-Boot] [PATCH v1 04/25] spi: kirkwood_spi.c: Make global variable static

2014-06-27 Thread Stefan Roese
Signed-off-by: Stefan Roese Cc: Jagannadha Sutradharudu Teki --- drivers/spi/kirkwood_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index 449e9f8..7d1c1f9 100644 --- a/drivers/spi/kirkwood_spi.c +++ b/drivers/sp

[U-Boot] [PATCH v1 11/25] spi: kirkwood_spi.c: Compile MPP (pin-mux) only for kirkwood SoC's

2014-06-27 Thread Stefan Roese
Compile the pin multiplexing only on Kirkwood platforms. As the Armada XP doesn't need it. Signed-off-by: Stefan Roese Cc: Jagannadha Sutradharudu Teki --- drivers/spi/kirkwood_spi.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwo

[U-Boot] [PATCH v1 07/25] arm: marvell: Move arch/kirkwood.h to arch/soc.h

2014-06-27 Thread Stefan Roese
This move makes is possible to use this header not only from kirkwood platforms but from all Marvell mvebu platforms. Signed-off-by: Stefan Roese --- arch/arm/cpu/arm926ejs/kirkwood/cpu.c| 2 +- arch/arm/cpu/arm926ejs/kirkwood/mpp.c| 2 +- arch/arm/includ

[U-Boot] [PATCH v1 17/25] i2c: mvtwsi: Add support for Marvell Armada XP

2014-06-27 Thread Stefan Roese
To support the Armada XP SoC, we just need to include the correct header. Signed-off-by: Stefan Roese Cc: Heiko Schocher --- drivers/i2c/mvtwsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c index 4a49291..7cbf109 100644 --- a/

[U-Boot] [PATCH v1 08/25] arm: marvell: Move arch-kirkwood/spi.h to arch-mvebu/spi.h

2014-06-27 Thread Stefan Roese
This move makes it possible to use this kirkwood SPI driver from other MVEBU platforms as well. This will be used by the upcoming Armada XP support. Signed-off-by: Stefan Roese --- arch/arm/include/asm/{arch-kirkwood => arch-mvebu}/spi.h | 0 drivers/spi/kirkwood_spi.c

[U-Boot] [PATCH v1 16/25] net: phy.h: Make PHY autonegotiation timeout configurable

2014-06-27 Thread Stefan Roese
The Marvell MV78460 eval board DB-78460-BP seems to need a longer PHY autonegotiation timeout than the "standard" 4 seconds. So lets make this timeout configurable. If not defined in the board config header the original 4000ms is used. Signed-off-by: Stefan Roese Cc: Joe Hershberger --- includ

[U-Boot] [PATCH v1 15/25] net: mvneta.c: Add support for the ethernet controller of the Marvell Armada XP SoC

2014-06-27 Thread Stefan Roese
This patch adds support for the NETA ethernet controller which is integrated in the Marvell Armada XP SoC's. This port is based on the Linux driver which has been stripped of the in U-Boot unused portions. Tested on the Marvell MV78460 eval board db-78460-bp. Signed-off-by: Stefan Roese Cc: Joe

[U-Boot] [PATCH v1 09/25] arm: marvell: Rework timer.c to make it usable for other MVEBU platforms

2014-06-27 Thread Stefan Roese
This patch does the following: - Rename defines and registers to not use kirkwood - Remove unused defines - Use clrsetbits() accessor functions - Coding style cleanup - Clear 25MHZ bit in timer controller register init for Armada XP There is no functional change for kirkwood. At least not intentio

[U-Boot] [PATCH v1 01/25] sf: Add M25PX64 SPI NOR flash ID

2014-06-27 Thread Stefan Roese
Add ID for this Numonix / STMicro chip. Tested on Marvell DB-78460-BP board. Signed-off-by: Stefan Roese Cc: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c index ac886fd

[U-Boot] [PATCH v1 22/25] tools/kwboot: Sync with latest barebox version to support Armada XP

2014-06-27 Thread Stefan Roese
The barebox version of the kwboot tool has evolved a bit. To support Armada XP and Dove. Additionally a few minor fixes have been applied. So lets sync with the latest barebox version. Please note that the main difference between both versions now is, that the U-Boot version still supports the -p

[U-Boot] [PATCH v1 20/25] arm: kirkwood: Remove some dead code from cpu.c

2014-06-27 Thread Stefan Roese
All those functions removed with this patch are not accessed at all. So lets remove them. Signed-off-by: Stefan Roese --- arch/arm/cpu/arm926ejs/kirkwood/cpu.c | 55 --- 1 file changed, 55 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/kirkwood/cpu.c b/arch/a

[U-Boot] [PATCH v1 13/25] spi: kirkwood_spi.c: Change KW_SPI_BASE to MVEBU_SPI_BASE

2014-06-27 Thread Stefan Roese
This makes is possible to use this SPI driver from other MVEBU SoC's as well. As the upcoming Armada XP support will do. Signed-off-by: Stefan Roese Cc: Jagannadha Sutradharudu Teki --- arch/arm/include/asm/arch-kirkwood/soc.h | 2 +- drivers/spi/kirkwood_spi.c | 3 ++- 2 files c

[U-Boot] [PATCH v1 12/25] arm: marvell: Extract kirkwood gpio functions into new common file gpio.c

2014-06-27 Thread Stefan Roese
This makes is possible to use those gpio functions from other MVEBU SoC's as well. Signed-off-by: Stefan Roese --- arch/arm/cpu/arm926ejs/kirkwood/cpu.c | 17 -- arch/arm/include/asm/arch-kirkwood/cpu.h| 2 +- arch/arm/include/asm/arch-kirkwood/gpio.h | 16

[U-Boot] [PATCH v1 23/25] tools: Compile kwboot for Marvell Armada XP as those SoCs are now supported

2014-06-27 Thread Stefan Roese
Signed-off-by: Stefan Roese --- tools/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/Makefile b/tools/Makefile index 61b2048..9aab9da 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -139,6 +139,7 @@ ubsha1-objs := os_support.o ubsha1.o lib/sha1.o HOSTCFLAGS_ubsha1.o := -

[U-Boot] [PATCH v1 03/25] spi: kirkwood_spi.c: Some fixes and cleanup

2014-06-27 Thread Stefan Roese
This patch introduces the clrsetbits_le32() accessor functions in the kirkwood SPI driver. Note that it also includes a fix: -writel(~KWSPI_CSN_ACT | KWSPI_SMEMRDY, &spireg->ctrl); +writel(KWSPI_SMEMRDY, &spireg->ctrl); Here the bit KWSPI_CSN_ACT (0x1) should have been cleared. In

[U-Boot] [PATCH v1 21/25] arm: kirkwood: Use mvebu new common mbus API

2014-06-27 Thread Stefan Roese
Now that the new common mvebu mbus API is available, lets use it on kirkwood as well. This includes a small change in the kirkwood EHCI driver. Making it more similar to the Linux driver from which it is ported. Signed-off-by: Stefan Roese --- arch/arm/cpu/arm926ejs/kirkwood/cpu.c| 102

[U-Boot] [PATCH v1 05/25] spi: kirkwood_spi.c: cosmetic: Fix minor coding style issues

2014-06-27 Thread Stefan Roese
Signed-off-by: Stefan Roese Cc: Jagannadha Sutradharudu Teki --- drivers/spi/kirkwood_spi.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index 7d1c1f9..3d58bcc 100644 --- a/drivers/spi/kirkwood_spi.c +

[U-Boot] [PATCH v1 14/25] arm: kirkwood: Change naming of dram functions from km_foo() to mvebu_foo()

2014-06-27 Thread Stefan Roese
Additionally the SDRAM address decoding register address is not hard coded in the C code any more. A define is introduced for this base address. This makes is possible to use those gpio functions from other MVEBU SoC's as well. Signed-off-by: Stefan Roese --- arch/arm/include/asm/arch-kirkwood

[U-Boot] [PATCH v1 06/25] arm: kirkwood: Move some SoC files into new arch/arm/mvebu-common

2014-06-27 Thread Stefan Roese
By moving some kirkwood files into a Marvell common directory, those files can be used by other Marvell platforms as well. The name mvebu is taken from the Linux kernel source tree. It has been chosen there to represent the SoC's from the Marvell EBU (Engineering Business Unit). Those SoC's current

[U-Boot] [PATCH v1 10/25] arm: mvebu: Add common mbus functions to use on Marvell SoCs

2014-06-27 Thread Stefan Roese
These mbus functions are ported from Barebox. The Barebox version is ported from Linux. These functions will be first used by the upcoming Armada XP support. Later other Marvell SoC's will be adopted to use these functions as well (Kirkwood, Orion). Signed-off-by: Stefan Roese --- arch/arm/mveb

[U-Boot] [PATCH v1 0/25] Add Marvell Armada XP MV78460 SoC support

2014-06-27 Thread Stefan Roese
This patch series adds support for the Marvell Armada XP SoC's. Specifically the MV78460. Basic support for the db-78460-bp evaluation board is added. Supporting the following interfaces: - UART - SPI (including SPI NOR flash) - I2C - Ethernet (neta) While doing this port, I tried to consolidate

[U-Boot] [PATCH v1 02/25] arm: kirkwood: spi.h: Add some missing parenthesis

2014-06-27 Thread Stefan Roese
Signed-off-by: Stefan Roese Cc: Jagannadha Sutradharudu Teki --- arch/arm/include/asm/arch-kirkwood/spi.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/include/asm/arch-kirkwood/spi.h b/arch/arm/include/asm/arch-kirkwood/spi.h index b1cf614..e512dce 10064

[U-Boot] [PATCH v1 19/25] arm: armada-xp: Add basic support for the Marvell DB-78460-BP board

2014-06-27 Thread Stefan Roese
This patch adds basic support for the Marvell DB-78460-BP evaulation board. This is the first board that uses the recently created Armada XP 78460 SoC support. Signed-off-by: Stefan Roese --- board/Marvell/db-78460-bp/Makefile | 7 ++ board/Marvell/db-78460-bp/db-78460-bp.c | 120 +++

[U-Boot] [PATCH v1 24/25] tools: kwbimage: Add image version 1 support for Armada XP / 370

2014-06-27 Thread Stefan Roese
This patch integrates the Barebox version of this kwbimage.c file into U-Boot. As this version supports the image version 1 type for the Armada XP / 370 SoCs. It was easier to integrate the existing and known to be working Barebox source than to update the current U-Boot version to support this v1

Re: [U-Boot] [PATCH v3 03/11] board:samsung: check the boot device and init the right mmc driver.

2014-06-27 Thread Jaehoon Chung
On 06/27/2014 06:40 PM, Minkyu Kang wrote: > Dear Przemyslaw Marczak, > > On 26/06/14 23:15, Przemyslaw Marczak wrote: >> It is possible to boot device using a micro SD or eMMC slots. >> In this situation, boot device should be registered as a block >> device 0 in the MMC framework, because CONFIG

Re: [U-Boot] [PATCH v3 07/11] samsung: board: enable support of multiple board types

2014-06-27 Thread Minkyu Kang
On 26/06/14 23:15, Przemyslaw Marczak wrote: > This change adds declaration of functions: > - set_board_type() - called at checkboard() > - get_board_type() - called at checkboard() > - get_board_name() > > For supporting multiple board types in a one config - it is welcome > to display the curren

Re: [U-Boot] [PATCH v3 03/11] board:samsung: check the boot device and init the right mmc driver.

2014-06-27 Thread Minkyu Kang
Dear Przemyslaw Marczak, On 26/06/14 23:15, Przemyslaw Marczak wrote: > It is possible to boot device using a micro SD or eMMC slots. > In this situation, boot device should be registered as a block > device 0 in the MMC framework, because CONFIG_SYS_MMC_ENV_DEV > is usually set to "0" in the most

Re: [U-Boot] [PATCH v3 02/11] board:samsung: add function boot_device() for checking boot medium

2014-06-27 Thread Minkyu Kang
Dear Przemyslaw Marczak, On 26/06/14 23:15, Przemyslaw Marczak wrote: > It is possible to boot from a few media devices, especially > using a micro SD or eMMC slots. In this situation depends on > a boot device - some setup can be changeg. > > This change adds function: > boot_device() - which re

Re: [U-Boot] [PATCH v3 06/11] arm:reset: call the reset_misc() before the cpu reset

2014-06-27 Thread Minkyu Kang
Dear Przemyslaw Marczak, On 26/06/14 23:15, Przemyslaw Marczak wrote: > On an Odroid U3 board, the SOC is unable to reset the eMMC card > in the DWMMC mode by the cpu software reset. Manual reset of the card > by switching proper gpio pin - fixes this issue. > > Such solution needs to add a call

Re: [U-Boot] [PATCH] mmc: sdhci: Fixed timeout for sdhci_send_command()

2014-06-27 Thread Pantelis Antoniou
Hi Eli, On Jun 12, 2014, at 12:41 PM, Eli Billauer wrote: > The current wait loop just reads the status 1 times, which makes the > actual timeout period platform-dependent. The udelay() call within the loop > makes the new timeout ~100 ms. > > Signed-off-by: Eli Billauer > --- > drivers/mmc

Re: [U-Boot] [RFC PATCH 0/3] Implement "fastboot flash" for eMMC

2014-06-27 Thread Lukasz Majewski
Hi Steve, > > > On 14-06-26 06:20 AM, Rob Herring wrote: > > On Wed, Jun 25, 2014 at 7:16 PM, Steve Rae > > wrote: > >> Rob, > >> > >> > >> On 14-06-25 06:59 AM, Rob Herring wrote: > >>> > >>> On Mon, Jun 23, 2014 at 1:37 PM, Steve Rae > >>> wrote: > > Rob & Sebastian > > I

Re: [U-Boot] [RFC PATCH 0/3] Implement "fastboot flash" for eMMC

2014-06-27 Thread Lukasz Majewski
Hi Rob, > On Wed, Jun 25, 2014 at 7:16 PM, Steve Rae wrote: > > Rob, > > > > > > On 14-06-25 06:59 AM, Rob Herring wrote: > >> > >> On Mon, Jun 23, 2014 at 1:37 PM, Steve Rae > >> wrote: > >>> > >>> Rob & Sebastian > >>> > >>> I would appreciate your comments on this issue; I suspect that > >>>

Re: [U-Boot] [RFC PATCH 0/3] Implement "fastboot flash" for eMMC

2014-06-27 Thread Lukasz Majewski
Hi Rob, > On Mon, Jun 23, 2014 at 1:37 PM, Steve Rae wrote: > > Rob & Sebastian > > > > I would appreciate your comments on this issue; I suspect that you > > had some ideas regarding the implementation of the fastboot "flash" > > and "erase" commands > > I agree with Lukasz's and Marek's co

Re: [U-Boot] [PATCH v3 00/10] sunxi: Bug fixes, sun4i and sun5i support and network improvements

2014-06-27 Thread Stefan Roese
On 26.06.2014 09:38, Ian Campbell wrote: (re-adding Hans whose CC I seem to have dropped somehow, sorry) On Wed, 2014-06-25 at 20:57 +0100, Ian Campbell wrote: Hi Albert, Any comments on these sunxi series from Hans and myself? I wonder if Hans and I should be applying for a u-boot-sunxi.git

[U-Boot] [PATCH] powerpc/t4240qds: fix offset of serdes when checking its' reference clock

2014-06-27 Thread shh.xie
From: Shaohui Xie T4240 has 4 serdes, each serdes has 4k memory space, two PLLs. We use PLL1CR0 to check the serdes reference clock. Signed-off-by: Shaohui Xie --- arch/powerpc/include/asm/immap_85xx.h | 6 ++ board/freescale/t4qds/t4240qds.c | 10 ++ 2 files changed, 12 inse