[U-Boot] [PATCH] Remove non-working address from MAINTAINER

2015-04-23 Thread Pavel Machek
I checked with Detlev, and sadly removing that maintainers entry is right thing to do. Signed-off-by: Pavel Machek diff --git a/MAINTAINERS b/MAINTAINERS index 067fb22..a8394f3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -383,11 +383,6 @@ F: drivers/mtd/spi/ F: drivers/spi/ F: inclu

[U-Boot] [PATCH] socfpga: implement socdk SPI flash config in dts

2015-04-23 Thread Pavel Machek
SocDK has same QSPI and SPI flash configuration as Socrates. Add support for it. Signed-off-by: Pavel Machek diff --git a/arch/arm/dts/socfpga_cyclone5_socdk.dts b/arch/arm/dts/socfpga_cyclone5_socdk.dts index 8e1f88c..70701f0 100644 --- a/arch/arm/dts/socfpga_cyclone5_socdk.dts +++ b/arch/arm

Re: [U-Boot] fastboot boot base address behaviour

2015-04-23 Thread Maxime Ripard
On Wed, Apr 22, 2015 at 05:56:23PM +0200, Marek Vasut wrote: > > I've been trying to use fastboot (and especially the boot command) on > > sunxi recently, and got it to work pretty fine (apart from PSCI, but > > that's another story). > > > > The only thing that worries me a bit is that by default

Re: [U-Boot] [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support

2015-04-23 Thread shengzhou....@freescale.com
> -Original Message- > From: Sun York-R58495 > Sent: Friday, April 17, 2015 3:22 AM > To: Liu Shengzhou-B36685; u-boot@lists.denx.de > Subject: Re: [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support > > On 03/27/2015 12:48 AM, Shengzhou Liu wrote: > > T1023RDB is a Freescale Referen

[U-Boot] [PATCH 2/2] x86: crownbay: Update dts for SST SPI flash

2015-04-23 Thread Bin Meng
Use SST SPI flash compatible string "spi-flash-sst" so that the write op is really working. Signed-off-by: Bin Meng --- arch/x86/dts/crownbay.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/dts/crownbay.dts b/arch/x86/dts/crownbay.dts index fbdeade..a15d8ca 1006

[U-Boot] [PATCH 1/2] dm: sf: Make SST flash write op work again

2015-04-23 Thread Bin Meng
With SPI flash moving to driver model, commit fbb0991 "dm: Convert spi_flash_probe() and 'sf probe' to use driver model" ignored the SST flash-specific write op (byte program & word program), which actually broke the SST flash from wroking. This commit makes SST flash work again under driver model

Re: [U-Boot] [PATCH] dm: spi: Correct SPI claim/release_bus() methods

2015-04-23 Thread Jagan Teki
On 23 April 2015 at 02:12, Simon Glass wrote: > Hi Jagan, > > On 19 April 2015 at 23:27, Jagan Teki wrote: >> On 20 April 2015 at 10:11, Peng Fan wrote: >>> Hi, Simon >>> >>> >>> On 4/19/2015 11:05 PM, Simon Glass wrote: These methods should be passed a slave device, not a bus. This ma

Re: [U-Boot] [PATCH v5 2/3] mtd, nand: move common functions from cmd_nand.c to common place

2015-04-23 Thread Heiko Schocher
Hello Scott, Am 23.04.2015 08:55, schrieb Scott Wood: On Thu, 2015-04-23 at 07:57 +0200, Heiko Schocher wrote: Hello Scott, Am 23.04.2015 00:47, schrieb Scott Wood: On Mon, 2015-04-20 at 07:47 +0200, Heiko Schocher wrote: @@ -322,7 +213,12 @@ int do_nand_env_oob(cmd_tbl_t *cmdtp, int argc, c

Re: [U-Boot] [PATCH v2] f_thor: Dont perform reset at the end of thor

2015-04-23 Thread Michal Simek
Hi Lukasz, On 04/16/2015 12:01 PM, Marek Vasut wrote: > On Thursday, April 16, 2015 at 11:41:30 AM, Michal Simek wrote: >> Hi, >> >> On 04/16/2015 11:31 AM, Marek Vasut wrote: >>> On Thursday, April 16, 2015 at 10:38:34 AM, Michal Simek wrote: From: Siva Durga Prasad Paladugu Dont

Re: [U-Boot] [PATCH v4 04/16] dm: pmic: add implementation of driver model pmic uclass

2015-04-23 Thread Przemyslaw Marczak
Hello Simon, On 04/22/2015 06:30 PM, Simon Glass wrote: Hi Przemyslaw, On 20 April 2015 at 12:07, Przemyslaw Marczak wrote: This commit introduces the PMIC uclass implementation. It allows providing the basic I/O interface for PMIC devices. For the multi-function PMIC devices, this can be use

Re: [U-Boot] [PATCH v4 05/16] dm: regulator: add implementation of driver model regulator uclass

2015-04-23 Thread Przemyslaw Marczak
Hello Simon, On 04/22/2015 06:30 PM, Simon Glass wrote: Hi Przemyslaw, On 20 April 2015 at 12:07, Przemyslaw Marczak wrote: This commit introduces the implementation of dm regulator API. Device tree support allows for auto binding. And by the basic uclass operations, it allows to driving the

Re: [U-Boot] [PATCH v4 12/16] doc: driver-model: pmic and regulator uclass documentation

2015-04-23 Thread Przemyslaw Marczak
Hello, On 04/22/2015 06:31 PM, Simon Glass wrote: Hi Przemyslaw, On 20 April 2015 at 12:07, Przemyslaw Marczak wrote: Since this framework is still under the construction, the main documentation is kept in the header files. Signed-off-by: Przemyslaw Marczak --- Changes v2, V3: - update docu

Re: [U-Boot] [PATCH v4 07/16] dm: regulator: add regulator command

2015-04-23 Thread Przemyslaw Marczak
Hello Simon, On 04/22/2015 06:30 PM, Simon Glass wrote: Hi Przemyslaw, On 20 April 2015 at 12:07, Przemyslaw Marczak wrote: This command is based on driver model regulator's API. The user interface provides: - list UCLASS regulator devices - show or [set] operating regulator device - print co

Re: [U-Boot] [PATCH v4 14/16] odroid: board: add support to dm pmic api

2015-04-23 Thread Przemyslaw Marczak
Hello Simon, On 04/22/2015 06:31 PM, Simon Glass wrote: Hi Przemyslaw, On 20 April 2015 at 12:07, Przemyslaw Marczak wrote: This commit change the old pmic framework calls to the new ones. Signed-off-by: Przemyslaw Marczak --- Changes v2: - remove board_init_i2c() call - update regulator ca

Re: [U-Boot] [PATCH v4 13/16] dm: board:samsung: power_init_board: add requirement of CONFIG_DM_PMIC

2015-04-23 Thread Przemyslaw Marczak
Hello, On 04/22/2015 06:31 PM, Simon Glass wrote: On 20 April 2015 at 12:07, Przemyslaw Marczak wrote: In the power_init_board function call, regulator driver init is called, so before compile, make sure that any power framework is defined. Signed-off-by: Przemyslaw Marczak --- board/samsu

Re: [U-Boot] [PATCH v4 00/16] Power(full) framework based on Driver Model

2015-04-23 Thread Przemyslaw Marczak
Hello Simon, On 04/22/2015 06:29 PM, Simon Glass wrote: Hi Przemyslaw, On 20 April 2015 at 12:07, Przemyslaw Marczak wrote: Hello, Again the next version. The changes are described below each commit message. This is rebased on last u-boot-dm/master after apply this patchset: https://patchwork

Re: [U-Boot] [PATCH 3/4] include:configs:ls1021atwr: Enable USB IP support

2015-04-23 Thread Marek Vasut
On Thursday, April 23, 2015 at 08:51:14 AM, Ramneek Mehresh wrote: > > -Original Message- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: Wednesday, April 22, 2015 5:18 PM > > To: Mehresh Ramneek-B31383 > > Cc: u-boot@lists.denx.de > > Subject: Re: [PATCH 3/4] include:configs:ls1021a

Re: [U-Boot] [PATCH 3/4] include:configs:ls1021atwr: Enable USB IP support

2015-04-23 Thread Ramneek Mehresh
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, April 23, 2015 5:26 PM > To: Mehresh Ramneek-B31383 > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH 3/4] include:configs:ls1021atwr: Enable USB IP support > > On Thursday, April 23, 2015 at 08:51:14 AM, Ra

Re: [U-Boot] fastboot boot base address behaviour

2015-04-23 Thread Marek Vasut
On Thursday, April 23, 2015 at 09:41:04 AM, Maxime Ripard wrote: > On Wed, Apr 22, 2015 at 05:56:23PM +0200, Marek Vasut wrote: > > > I've been trying to use fastboot (and especially the boot command) on > > > sunxi recently, and got it to work pretty fine (apart from PSCI, but > > > that's another

Re: [U-Boot] [PATCH v4 11/16] dm: regulator: add fixed voltage regulator driver

2015-04-23 Thread Przemyslaw Marczak
Hello Simon, On 04/20/2015 08:07 PM, Przemyslaw Marczak wrote: This driver implements regulator operations for fixed Voltage/Current value regulators. beside the standard regulator constraints, which are put into the uclass platform data, a typical fixed regulator node provides few additional pr

Re: [U-Boot] [PATCH v4 11/16] dm: regulator: add fixed voltage regulator driver

2015-04-23 Thread Przemyslaw Marczak
+CC Simon On 04/23/2015 02:31 PM, Przemyslaw Marczak wrote: Hello Simon, On 04/20/2015 08:07 PM, Przemyslaw Marczak wrote: This driver implements regulator operations for fixed Voltage/Current value regulators. beside the standard regulator constraints, which are put into the uclass platform d

Re: [U-Boot] [PATCH v3 0/7] Add support for Colibri Vybrid Modules

2015-04-23 Thread maitysanchayan
Hello, On 15-04-15 16:24:21, Sanchayan Maity wrote: > Hello, > > This is the third version of the patchset which adds support for the > Toradex Colibri Vybrid VF50 and VF61 modules. Boot up has been tested > using the serial loader over UART. Compile tested for vf610twr_defconfig > and vf610twr_n

Re: [U-Boot] [PATCH] Revert "spi: add config option to enable the WP pin function on st micron flashes"

2015-04-23 Thread Heiko Schocher
Hello Jagan, Am 22.04.2015 13:03, schrieb Jagan Teki: On 23 December 2014 at 13:45, Jagan Teki wrote: Hi Heiko, On 23 December 2014 at 12:04, Heiko Schocher wrote: Hello Jagan, Am 22.12.2014 09:58, schrieb Jagan Teki: On 18 December 2014 at 19:21, Jagannadha Sutradharudu Teki wrote: T

Re: [U-Boot] [PATCH] Revert "spi: add config option to enable the WP pin function on st micron flashes"

2015-04-23 Thread Jagan Teki
On 23 April 2015 at 18:28, Heiko Schocher wrote: > Hello Jagan, > > Am 22.04.2015 13:03, schrieb Jagan Teki: >> >> On 23 December 2014 at 13:45, Jagan Teki wrote: >>> >>> Hi Heiko, >>> >>> On 23 December 2014 at 12:04, Heiko Schocher wrote: Hello Jagan, Am 22.12.2014 09:58, s

[U-Boot] buildman and multiple toolchains?

2015-04-23 Thread Tom Rini
Hey, So I'm merging (or rather have merged and will push shortly) the ARMv7-M support. You can't build this with your normal arm-linux toolchain. Is there some way in buildman to be able to say, roughly: [toolchain] arm: /usr/bin/arm-linux-gnueabi armnone: /usr/bin/arm-none-eabi [toolchain-alia

Re: [U-Boot] [PATCH] Revert "spi: add config option to enable the WP pin function on st micron flashes"

2015-04-23 Thread Heiko Schocher
Hello Jagan, Am 23.04.2015 15:06, schrieb Jagan Teki: On 23 April 2015 at 18:28, Heiko Schocher wrote: Hello Jagan, Am 22.04.2015 13:03, schrieb Jagan Teki: On 23 December 2014 at 13:45, Jagan Teki wrote: Hi Heiko, On 23 December 2014 at 12:04, Heiko Schocher wrote: Hello Jagan, Am

Re: [U-Boot] [PATCH v3 0/7] Add support for Colibri Vybrid Modules

2015-04-23 Thread Tom Rini
On Thu, Apr 23, 2015 at 06:08:43PM +0530, maitysancha...@gmail.com wrote: > Hello, > > On 15-04-15 16:24:21, Sanchayan Maity wrote: > > Hello, > > > > This is the third version of the patchset which adds support for the > > Toradex Colibri Vybrid VF50 and VF61 modules. Boot up has been tested > >

Re: [U-Boot] [U-Boot, 2/2] unzip: add gzwrite command to write compressed image to block device

2015-04-23 Thread Tom Rini
On Sun, Feb 15, 2015 at 04:16:07PM -0700, Eric Nelson wrote: > Add gzwrite command to write gzip-compressed images to block devices. > > Input must be gzip-compressed according to RFC1952, since the crc > and file size in the trailer will be confirmed during operation. > The decompressed file siz

Re: [U-Boot] [U-Boot, V2, 1/2] gunzip: add gzwrite routine for extracting compresed images to block device

2015-04-23 Thread Tom Rini
On Tue, Feb 17, 2015 at 11:30:30AM -0700, Eric Nelson wrote: > Initial filesystem images are generally highly compressible. > > Add a routine gzwrite that allows gzip-compressed images to be > written to block devices. > > Signed-off-by: Eric Nelson > Reviewed-by: Tom Rini Applied to u-boot/m

Re: [U-Boot] [U-Boot,2/4] ARMv7M: Add STM32F4 support

2015-04-23 Thread Tom Rini
On Sun, Mar 01, 2015 at 12:44:40PM +0100, re...@wp.pl wrote: > Signed-off-by: Kamil Lulko > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [U-Boot,1/4] ARM: Add ARMv7-M support

2015-04-23 Thread Tom Rini
On Sun, Mar 01, 2015 at 12:44:39PM +0100, re...@wp.pl wrote: > Signed-off-by: Kamil Lulko Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailma

Re: [U-Boot] [U-Boot,3/4] stm32f4: Add serial driver

2015-04-23 Thread Tom Rini
On Sun, Mar 01, 2015 at 12:44:41PM +0100, re...@wp.pl wrote: > Signed-off-by: Kamil Lulko > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [U-Boot, 1/3] board/BuR/common: simplify access to devicetree

2015-04-23 Thread Tom Rini
On Wed, Apr 08, 2015 at 07:38:33AM +0200, Hannes Petermaier wrote: > instead of polling everytime the environment, we take usage of the global > gd->fdt_blob variable and check it only against NULL. > > Variable "dtbaddr" from environment is needed only one time on loading the > devicetree within

Re: [U-Boot] cmd_scsi: Enable SoC AHCI device on platforms with PCI

2015-04-23 Thread Tom Rini
On Fri, Mar 20, 2015 at 10:27:54AM +0800, tang yuantian wrote: > Current driver assumes the AHCI is connected to PCI, this is not > true on some SoCs, e.g. LS1021A, which has PCI but the AHCI is > in SoC. This patch will enable embedded AHCI devices on platforms > with PCI. > PCI AHCI devices stil

Re: [U-Boot] [U-Boot,3/3] board/BuR/tseries: change pinmux

2015-04-23 Thread Tom Rini
On Wed, Apr 08, 2015 at 07:38:35AM +0200, Hannes Petermaier wrote: > some pins on the board have been rerouted to other peripherals, so we > change the pinmux to apply with hardware-design. > > Signed-off-by: Hannes Petermaier Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [U-Boot] [U-Boot, 4/4] stm32f4: Add support for stm32f429-discovery board

2015-04-23 Thread Tom Rini
On Sun, Mar 01, 2015 at 12:44:42PM +0100, re...@wp.pl wrote: > Signed-off-by: Kamil Lulko > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [U-Boot,2/3] board/BuR/tseries: reactivate NAND-board

2015-04-23 Thread Tom Rini
On Wed, Apr 08, 2015 at 07:38:34AM +0200, Hannes Petermaier wrote: > The NAND-version has been become a bit orphan. > Now we need to reactivate it, so bring necessary things: > > - loading devicetree > - switch control signal to correct pins > - setup pinmux > - default-environment > > up to dat

Re: [U-Boot] Licenses: fix a typo in README

2015-04-23 Thread Tom Rini
On Fri, Apr 17, 2015 at 10:20:43AM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] vexpress64: use DM for all vexpress64 boards

2015-04-23 Thread Tom Rini
On Tue, Apr 14, 2015 at 10:01:35AM +0200, Linus Walleij wrote: > Commit d8bafe1310487ba0e0785997726b4792072178d3 > "ARMv8: enable DM in vexpress64 board" only enabled DM > for the simulated vexpress64 board (FVP) with the > hardcoded clock value for the simulated board, causing > a console regress

Re: [U-Boot] [U-Boot, v2, 2/5] ARM: integrator: move board select into mach-integrator/Kconfig

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 09:59:36PM +0900, Masahiro Yamada wrote: > The board/SoC select menu in arch/arm/Kconfig is still cluttered. > Add ARCH_INTEGRATOR into arch/arm/Kconfig and move the board select > under arch/arm/mach-integrator. > > Signed-off-by: Masahiro Yamada > Cc: Linus Walleij Ap

Re: [U-Boot] [U-Boot, v2, 1/5] ARM: ARM720t: remove empty asm/arch/hardware.h

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 09:59:35PM +0900, Masahiro Yamada wrote: > arch/arm/cpu/arm720t/start.S includes , > but the hardware.h headers of ARM720T boards are all empty. > > Signed-off-by: Masahiro Yamada > Cc: Linus Walleij > Cc: Stephen Warren > Cc: Tom Warren Applied to u-boot/master, than

Re: [U-Boot] [U-Boot, v2, 3/5] ARM: integrator: split board select into AP/CP select and CM select

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 09:59:37PM +0900, Masahiro Yamada wrote: > Select integrator boards by the combination of platform select (AP/CP) > and core module select (CM720T, CM920T, ...). > > This allows us to remove CONFIG_SYS_EXTRA_OPTIONS and make Kconfig > much cleaner. > > Signed-off-by: Masa

Re: [U-Boot] [U-Boot, v2, 4/5] ARM: integrator: abolish CONFIG_INTEGRATOR

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 09:59:38PM +0900, Masahiro Yamada wrote: > Switch to CONFIG_ARCH_INTEGRATOR defined by Kconfig. > > Signed-off-by: Masahiro Yamada > Cc: Linus Walleij Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] SPDX: add X11 SPDX-License-Identifier

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 01:39:27PM +0900, Masahiro Yamada wrote: > These is a growing trend to license DT files dual GPL and X11 > especially in the Linux community. It allows easier reuse of > device trees for other software projects. > > This commit prepares for doing so in U-Boot too, since D

Re: [U-Boot] [U-Boot, v2, 5/5] ARM: integrator: move CONFIG_ARCH_CINTEGRATOR to Kconfig

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 09:59:39PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Cc: Linus Walleij Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [U-Boot,1/2] integrator: stop zeroing the gd flags

2015-04-23 Thread Tom Rini
On Tue, Apr 21, 2015 at 03:35:59PM +0200, Linus Walleij wrote: > This assignment conflicts with code that add flags with > gd->flags |= FOO prior to the execution of this function. > Seems like a historical artifact and creates bugs with > early alloc(). > > Cc: Masahiro Yamada > Signed-off-by:

Re: [U-Boot] [RFC] Booting Xen from a FIT - Additional discussion about a refactor

2015-04-23 Thread Karl Apsite
On 04/22/2015 09:55 PM, Simon Glass wrote: > +Tom > > Hi Karl, > > On 22 April 2015 at 13:05, Karl Apsite wrote: >> Hi! >> >> I work at DornerWorks with the Xen Hypervisor. We work with a variety of >> embedded systems, and we wanted to facilitate Xen's boot procedure through >> U-boot's Flatt

[U-Boot] [U-Boot 1/7] dm: spi: zynq_spi: Convert to driver model

2015-04-23 Thread Jagannadha Sutradharudu Teki
This converts the zynq spi driver to use the driver model. Minimal functional changes like using meaningful name on structure members wrt mainlined dm spi drivers. - input_hz -> frequency - req_hz -> freq - base -> regs Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Sime

[U-Boot] [U-Boot 3/7] dts: zynq: Add zynq spi controller nodes

2015-04-23 Thread Jagannadha Sutradharudu Teki
This patch adds zynq spi controller nodes in zynq-7000.dtsi. Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- arch/arm/dts/zynq-7000.dtsi | 24 doc/device-tree-bindings/spi/spi-zynq.txt | 27

[U-Boot] [U-Boot 2/7] zynq: Kconfig: Enable dm spi and spi_flash

2015-04-23 Thread Jagannadha Sutradharudu Teki
Enabled CONFIG_DM_SPI and CONFIG_DM_SPI_FLASH for zynq soc. Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 3702bb0.

[U-Boot] [U-Boot 0/7] dm: spi: Convert few drivers to driver model

2015-04-23 Thread Jagannadha Sutradharudu Teki
Driver model conversion, patches. - drivers/spi/zynq_spi.c and drivers/spi/xilinx_spi.c thanks! -- Jagan. Jagannadha Sutradharudu Teki (7): dm: spi: zynq_spi: Convert to driver model zynq: Kconfig: Enable dm spi and spi_flash dts: zynq: Add zynq spi controller nodes spi: zynq_spi: Add fdt

[U-Boot] [U-Boot 6/7] dm: spi: xilinx_spi: Convert to driver model

2015-04-23 Thread Jagannadha Sutradharudu Teki
This converts the xilinx spi driver to use the driver model. Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Simek --- Note: Michal, can you test this, I don't have hardware. drivers/spi/xilinx_spi.c | 212 +++ 1 file changed,

[U-Boot] [U-Boot 7/7] spi: xilinx_spi: Add asm/io.h include file

2015-04-23 Thread Jagannadha Sutradharudu Teki
This patch includes asm/io.h for readl and writel calls. build errors: drivers/spi/xilinx_spi.c: In function 'xilinx_spi_probe': drivers/spi/xilinx_spi.c:119:2: warning: implicit declaration of function 'writel' [-Wimplicit-function-declaration] drivers/spi/xilinx_spi.c: In function 'xilinx_spi_x

[U-Boot] [U-Boot 5/7] dts: zynq: Enable spi1 for zc770_xm010 board

2015-04-23 Thread Jagannadha Sutradharudu Teki
This patch enables spi1 for zynq zc770_xm010 board dts. Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- arch/arm/dts/zynq-zc770-xm010.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/zynq-zc770-xm010.dts

[U-Boot] [U-Boot 4/7] spi: zynq_spi: Add fdt support in driver

2015-04-23 Thread Jagannadha Sutradharudu Teki
Now zynq spi driver platform data is controlled by devicetree, enable the status by saying "okay" on respective board dts to use the devicetree generated platdata. Ex: &spi1 { status = "okay"; }; Signed-off-by: Jagannadha Sutradharudu Teki Cc: Simon Glass Cc: Michal Simek Cc: Siva Durg

Re: [U-Boot] [RFC PATCH] arm: mx6: Clamp MMDC and DDR3 clocks for timing calculations

2015-04-23 Thread Nikolay Dimitrov
Hi Stefano, On 04/22/2015 05:02 PM, Stefano Babic wrote: Hi Nikolay, On 22/04/2015 14:22, Nikolay Dimitrov wrote: Hi Stefano, On 04/22/2015 03:12 PM, Stefano Babic wrote: Hi Nikolay, On 17/04/2015 00:36, Nikolay Dimitrov wrote: This is proposal for clamping the MMDC/DDR3 clocks to the maxi

[U-Boot] [U-Boot PATCH v2] Revert "spi: add config option to enable the WP pin function on st micron flashes"

2015-04-23 Thread Jagannadha Sutradharudu Teki
This reverts commit 562f8df18da62ae02c4ace1e530451fe82c3312d. Note: Even un-reverting this patch couldn't works as expected, based on the latest testing from Heiko Schocher. Signed-off-by: Jagannadha Sutradharudu Teki Cc: Heiko Schocher --- README| 11 --- drive

Re: [U-Boot] [RFC PATCH] arm: mx6: Clamp MMDC and DDR3 clocks for timing calculations

2015-04-23 Thread Stefano Babic
Hi Nikolay, On 23/04/2015 16:26, Nikolay Dimitrov wrote: >> >> +arch/arm/cpu/armv7/mx6/ddr.c: In function 'mx6_dram_cfg': >> +arch/arm/cpu/armv7/mx6/ddr.c:279:4: error: assignment of member >> 'mem_speed' in read-only object >> +arch/arm/cpu/armv7/mx6/ddr.c:286:4: error: assignment of member >> 'm

Re: [U-Boot] [PATCH 4/5] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-23 Thread Nikolay Dimitrov
Hi Fabio, guys, On 04/23/2015 06:57 AM, Fabio Estevam wrote: From: Fabio Estevam Introduce is_hummingboard() function that reads GPIOs that can distinguish between Cubox-i and Hummingboard. Print the board name accordingly. Signed-off-by: Fabio Estevam --- board/solidrun/mx6cuboxi/mx6cubo

Re: [U-Boot] [PATCH] net/phy: refactor RTL8211F initialization

2015-04-23 Thread Joe Hershberger
Hi Shengzhou Liu, On Wed, Apr 22, 2015 at 5:22 AM, Shengzhou Liu wrote: > RTL8211F needs to enalbe TXDLY for RGMII during > phy initialization, so move it to rtl8211f_config > for early initialization. > > Signed-off-by: Shengzhou Liu > cc: Joe Hershberger > --- > drivers/net/phy/realtek.c | 2

Re: [U-Boot] [PATCH] net/phy: refactor RTL8211F initialization

2015-04-23 Thread Joe Hershberger
On Thu, Apr 23, 2015 at 12:58 AM, shengzhou@freescale.com wrote: >> -Original Message- >> From: Florian Fainelli [mailto:f.faine...@gmail.com] >> Sent: Thursday, April 23, 2015 12:39 PM >> To: Liu Shengzhou-B36685; net...@vger.kernel.org; joe.hershber...@gmail.com >> Subject: Re: [PATC

Re: [U-Boot] [PATCH 02/20] dm: i2c: sandbox: Add debugging to the speed limit

2015-04-23 Thread Simon Glass
Hi Heiko, On 20 April 2015 at 23:04, Heiko Schocher wrote: > Hello Simon, > > > Am 20.04.2015 20:37, schrieb Simon Glass: >> >> Print a debug() message with the I2C speed is exceeded. >> >> Signed-off-by: Simon Glass >> --- >> >> drivers/i2c/sandbox_i2c.c | 4 +++- >> 1 file changed, 3 insert

Re: [U-Boot] [PATCH v4 9/9] sandbox: add config_distro_defaults and config_distro_bootcmd

2015-04-23 Thread Simon Glass
Hi, On 21 April 2015 at 02:13, Sjoerd Simons wrote: > Hey Joe, > > On Mon, 2015-04-20 at 23:31 -0500, Joe Hershberger wrote: >> Hi Sjoerd, >> >> On Mon, Apr 13, 2015 at 3:54 PM, Sjoerd Simons >> wrote: >> > Make the sandbox setup more generic/examplary by including >> > config_distro_defaults.h

Re: [U-Boot] [PATCH v5 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-04-23 Thread Simon Glass
Hi Albert, On 8 April 2015 at 00:12, Albert ARIBAUD wrote: > Hi Simon, > > Le Tue, 7 Apr 2015 21:20:22 -0600, Simon Glass a > écrit : > >> Well the problem is that we don't have driver model support in rtc, We >> do have an eeprom uclass, but it is currently implemented only for >> sandbox. We d

Re: [U-Boot] [dm/next PATCH v1] dm: qspi fix claim bus and release bus

2015-04-23 Thread Simon Glass
Hi Peng, On 15 April 2015 at 03:50, Peng Fan wrote: > Add missed people. > > > On 4/14/2015 1:19 PM, Peng Fan wrote: >> >> For fsl_qspi_claim_bus and fsl_qspi_release_bus, the input parameter >> "struct udevice *dev" represents device: "qspi[x]: qspi@[address] {...}". >> Since "dev" already repre

Re: [U-Boot] [PATCH 4/5] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-23 Thread Stefano Babic
Hi Nikolay, On 23/04/2015 16:38, Nikolay Dimitrov wrote: > > As more and more board variants are supported by unified source files, > functions like "is_specificboard()" are not scaling well - there's a > repetitive code for extracting hw-specific info, and then there's the > multiple functions t

Re: [U-Boot] [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support

2015-04-23 Thread York Sun
+Masahiro Yamada On 04/23/2015 01:27 AM, Liu Shengzhou-B36685 wrote: > >> -Original Message- >> From: Sun York-R58495 >> Sent: Friday, April 17, 2015 3:22 AM >> To: Liu Shengzhou-B36685; u-boot@lists.denx.de >> Subject: Re: [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support >> >> On

Re: [U-Boot] [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support

2015-04-23 Thread York Sun
Resend with corrected email address. +Masahiro Yamada On 04/23/2015 01:27 AM, Liu Shengzhou-B36685 wrote: > >> -Original Message- >> From: Sun York-R58495 >> Sent: Friday, April 17, 2015 3:22 AM >> To: Liu Shengzhou-B36685; u-boot@lists.denx.de >> Subject: Re: [PATCH v4] powerpc/t1023rdb

Re: [U-Boot] [U-Boot PATCH v2] Revert "spi: add config option to enable the WP pin function on st micron flashes"

2015-04-23 Thread Jagan Teki
On 23 April 2015 at 19:57, Jagannadha Sutradharudu Teki wrote: > This reverts commit 562f8df18da62ae02c4ace1e530451fe82c3312d. > > Note: Even un-reverting this patch couldn't works as expected, based > on the latest testing from Heiko Schocher. > > Signed-off-by: Jagannadha Sutradharudu Teki > Cc

Re: [U-Boot] [PATCH] fdt: Fix handling of paths with options in them

2015-04-23 Thread Simon Glass
Hi Hans, On 23 April 2015 at 00:55, Hans de Goede wrote: > Hi, > > > On 22-04-15 19:20, Simon Glass wrote: >> >> Hi Hans, >> >> On 20 April 2015 at 12:10, Hans de Goede wrote: >>> >>> Hi, >>> >>> On 20-04-15 17:39, Simon Glass wrote: Hi Hans, On 20 April 2015 at 03:13, H

[U-Boot] [PATCH 1/4] x86: baytrail: fix the GPIOBASE address

2015-04-23 Thread Gabriel Huau
Signed-off-by: Gabriel Huau --- arch/x86/include/asm/arch-baytrail/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/arch-baytrail/gpio.h b/arch/x86/include/asm/arch-baytrail/gpio.h index ab4e059..4e8987c 100644 --- a/arch/x86/include/asm/arch-baytra

[U-Boot] [PATCH 0/4] x86: support of pin-muxing from device tree

2015-04-23 Thread Gabriel Huau
This serie of patches adds the support of pin-muxing from the device tree through different properties. I have put two example to enable the USB Host on the minnowboard max. The support of the call to 'setup_pch_gpios' is still supported and only the minnowboard has been tested with the device tr

[U-Boot] [PATCH 2/4] x86: minnowmax: add GPIO banks in the device tree

2015-04-23 Thread Gabriel Huau
There is 6 banks: 4 banks for CORE: available in S0 mode 2 banks for SUS (Suspend): available in S0-S5 mode Signed-off-by: Gabriel Huau --- arch/x86/dts/minnowmax.dts | 42 ++ 1 file changed, 42 insertions(+) diff --git a/arch/x86/dts/minnowmax.dt

[U-Boot] [PATCH 4/4] x86: minnowmax: initialize the pin-muxing from device tree

2015-04-23 Thread Gabriel Huau
Signed-off-by: Gabriel Huau --- board/intel/minnowmax/minnowmax.c | 9 + include/configs/minnowmax.h | 1 + 2 files changed, 10 insertions(+) diff --git a/board/intel/minnowmax/minnowmax.c b/board/intel/minnowmax/minnowmax.c index 6e82b16..60dd2bb 100644 --- a/board/intel/minnowma

[U-Boot] [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-23 Thread Gabriel Huau
A set of properties has been defined for the device tree to select for each pin the pull/func/default output configuration. The offset for the PAD needs to be provided and if a GPIO needs to be configured, his offset needs to be provided as well. Here is an example: pin_usb_host_en0@0 { gpio-

[U-Boot] [PATCH] x86: minnowmax: use the correct NOR in the configuration

2015-04-23 Thread Gabriel Huau
The SPI NOR on the minnowboard max is a MICRON N25Q064A Signed-off-by: Gabriel Huau --- include/configs/minnowmax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h index 3c7b266..72393fa 100644 --- a/include/configs/mi

[U-Boot] Please pull u-boot-dm

2015-04-23 Thread Simon Glass
Hi Tom, This brings in core features to support PMICs (which should come within a week so), core test fixes and most of the SPL device tree support . I'd like to do this in two pieces since this is all somewhat risky. The images sizes mostly drop slightly with these patches which is a good sign (

[U-Boot] unassigned-patches/139: [PATCH 1/4] x86: baytrail: fix the GPIOBASE address

2015-04-23 Thread u-boot
Signed-off-by: Gabriel Huau --- Added to GNATS database as unassigned-patches/139 >Responsible:patch-coord >Message-Id: <1429805775-1809-2-git-send-email-cont...@huau-gabriel.fr> >In-Reply-To:<1429805775-1809-1-git-send-email-cont...@huau-gabriel.fr> >References: <1429805775-1809-

[U-Boot] unassigned-patches/140: [PATCH 2/4] x86: minnowmax: add GPIO banks in the device tree

2015-04-23 Thread u-boot
There is 6 banks: 4 banks for CORE: available in S0 mode 2 banks for SUS (Suspend): available in S0-S5 mode Signed-off-by: Gabriel Huau --- Added to GNATS database as unassigned-patches/140 >Responsible:patch-coord >Message-Id: <1429805775-1809-3-git-send-email-cont...@huau-gabri

[U-Boot] unassigned-patches/138: [PATCH 3/4] x86: gpio: add pinctrl support from the device tree

2015-04-23 Thread u-boot
A set of properties has been defined for the device tree to select for each pin the pull/func/default output configuration. The offset for the PAD needs to be provided and if a GPIO needs to be configured, his offset needs to be provided as well. Here is an example: pin_usb_host_en0@0 { gpio-

[U-Boot] unassigned-patches/141: [PATCH] x86: minnowmax: use the correct NOR in the configuration

2015-04-23 Thread u-boot
The SPI NOR on the minnowboard max is a MICRON N25Q064A Signed-off-by: Gabriel Huau --- Added to GNATS database as unassigned-patches/141 >Responsible:patch-coord >Message-Id: <1429805814-1892-1-git-send-email-cont...@huau-gabriel.fr> >In-Reply-To: >References: >Patch-Date:

[U-Boot] Commands to partition the hw partitions on emmc using uboot 2015-04

2015-04-23 Thread harsha kiran
Hi ! I am unable to create the hardware (gp1-4) partitions my eMMC on a custom board using the new Uboot(2015.04). I think i am missing something in my commands..I was wondering if someone can point at the mistake i am doing.. i am trying to create a gp1 partition with 7009.875 MB and SLC on and w

[U-Boot] [PATCH 3/4][v2]include:configs:ls1021atwr: Enable USB IP support

2015-04-23 Thread Ramneek Mehresh
Enable USB IP support for both EHCI and XHCI for ls1021atwr platform Signed-off-by: Ramneek Mehresh --- include/configs/ls1021atwr.h | 36 include/linux/usb/xhci-fsl.h | 5 + 2 files changed, 41 insertions(+) diff --git a/include/configs/ls1021atwr.h b/

[U-Boot] [PATCH 2/4][v2]drivers:usb:fsl: Add XHCI driver support

2015-04-23 Thread Ramneek Mehresh
Add xhci driver support for all FSL socs Signed-off-by: Ramneek Mehresh --- arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 6 ++ drivers/usb/host/Makefile | 1 + drivers/usb/host/xhci-fsl.c | 107 ++ include/linux/usb/xh

[U-Boot] unassigned-patches/143: [PATCH 4/4] x86: minnowmax: initialize the pin-muxing from device tree

2015-04-23 Thread u-boot
Signed-off-by: Gabriel Huau --- Added to GNATS database as unassigned-patches/143 >Responsible:patch-coord >Message-Id: <1429805775-1809-5-git-send-email-cont...@huau-gabriel.fr> >In-Reply-To:<1429805775-1809-1-git-send-email-cont...@huau-gabriel.fr> >References: <1429805775-1809-

[U-Boot] unassigned-patches/142: [PATCH 0/4] x86: support of pin-muxing from device tree

2015-04-23 Thread u-boot
This serie of patches adds the support of pin-muxing from the device tree through different properties. I have put two example to enable the USB Host on the minnowboard max. The support of the call to 'setup_pch_gpios' is still supported and only the minnowboard has been tested with the device tr

Re: [U-Boot] [RFC] Booting Xen from a FIT - Additional discussion about a refactor

2015-04-23 Thread Simon Glass
Hi Karl, On 23 April 2015 at 07:15, Karl Apsite wrote: > > On 04/22/2015 09:55 PM, Simon Glass wrote: >> +Tom >> >> Hi Karl, >> >> On 22 April 2015 at 13:05, Karl Apsite wrote: >>> Hi! >>> >>> I work at DornerWorks with the Xen Hypervisor. We work with a variety of >>> embedded systems, and we

Re: [U-Boot] [PATCH 5/5] mx6cuboxi: Load the correct 'fdt_file' variable

2015-04-23 Thread Fabio Estevam
Hi Stefano, On Thu, Apr 23, 2015 at 3:13 AM, Stefano Babic wrote: > I admit I do not like a lot to have C code setting / fixing the > environment. This has the drawback that when a user try to set the > environment from the console as he wants, he cannot because the code has > reverted back and

Re: [U-Boot] [PATCH v5 2/3] mtd, nand: move common functions from cmd_nand.c to common place

2015-04-23 Thread Scott Wood
On Thu, 2015-04-23 at 13:12 +0200, Heiko Schocher wrote: > Hello Scott, > > Am 23.04.2015 08:55, schrieb Scott Wood: > > On Thu, 2015-04-23 at 07:57 +0200, Heiko Schocher wrote: > >> Hello Scott, > >> > >> Am 23.04.2015 00:47, schrieb Scott Wood: > >>> On Mon, 2015-04-20 at 07:47 +0200, Heiko Scho

Re: [U-Boot] [PATCH] spl: descend into lib/ for all the SPL boards

2015-04-23 Thread Simon Glass
Hi Tom, On 22 April 2015 at 08:14, Tom Rini wrote: > On Tue, Apr 21, 2015 at 12:37:18PM +0900, Masahiro Yamada wrote: >> Currently, CONFIG_SPL_LIBGENERIC_SUPPORT must be defined >> to build under lib/ directory for SPL. >> >> This directory contains very basic functions such as memcpy, memset >>

Re: [U-Boot] [PATCH] spl: descend into lib/ for all the SPL boards

2015-04-23 Thread Simon Glass
On 21 April 2015 at 10:53, York Sun wrote: > > > On 04/20/2015 08:37 PM, Masahiro Yamada wrote: >> Currently, CONFIG_SPL_LIBGENERIC_SUPPORT must be defined >> to build under lib/ directory for SPL. >> >> This directory contains very basic functions such as memcpy, memset >> in lib/string.c, so it

Re: [U-Boot] [U-Boot 4/7] spi: zynq_spi: Add fdt support in driver

2015-04-23 Thread Simon Glass
Hi Jagan, On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > Now zynq spi driver platform data is controlled by devicetree, > enable the status by saying "okay" on respective board dts to use > the devicetree generated platdata. > > Ex: > &spi1 { > status = "okay"; > }; > >

Re: [U-Boot] [U-Boot 1/7] dm: spi: zynq_spi: Convert to driver model

2015-04-23 Thread Simon Glass
Hi Jagan, On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > This converts the zynq spi driver to use the driver model. > > Minimal functional changes like using meaningful name on > structure members wrt mainlined dm spi drivers. > - input_hz -> frequency > - req_hz -> freq > - bas

Re: [U-Boot] [PATCH] buildman: Add gcc 4.9.0 with Microblaze toolchain

2015-04-23 Thread Simon Glass
On 20 April 2015 at 03:46, Michal Simek wrote: > Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain. > > Signed-off-by: Michal Simek > --- > > tools/buildman/README | 2 +- > tools/buildman/toolchain.py | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Acked-b

Re: [U-Boot] [U-Boot 3/7] dts: zynq: Add zynq spi controller nodes

2015-04-23 Thread Simon Glass
On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > This patch adds zynq spi controller nodes in zynq-7000.dtsi. > > Signed-off-by: Jagannadha Sutradharudu Teki > Cc: Simon Glass > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu > --- > arch/arm/dts/zynq-7000.dtsi

Re: [U-Boot] [U-Boot 5/7] dts: zynq: Enable spi1 for zc770_xm010 board

2015-04-23 Thread Simon Glass
On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > This patch enables spi1 for zynq zc770_xm010 board dts. > > Signed-off-by: Jagannadha Sutradharudu Teki > Cc: Simon Glass > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu > --- > arch/arm/dts/zynq-zc770-xm010.dts | 4 >

Re: [U-Boot] [U-Boot 2/7] zynq: Kconfig: Enable dm spi and spi_flash

2015-04-23 Thread Simon Glass
On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > > Enabled CONFIG_DM_SPI and CONFIG_DM_SPI_FLASH for zynq soc. > > Signed-off-by: Jagannadha Sutradharudu Teki > Cc: Simon Glass > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu > --- > arch/arm/Kconfig | 2 ++ > 1 file change

Re: [U-Boot] [U-Boot 6/7] dm: spi: xilinx_spi: Convert to driver model

2015-04-23 Thread Simon Glass
Hi Jagan, On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki wrote: > This converts the xilinx spi driver to use the driver model. > > Signed-off-by: Jagannadha Sutradharudu Teki > Cc: Simon Glass > Cc: Michal Simek > --- > Note: Michal, can you test this, I don't have hardware. > > driv

Re: [U-Boot] [PATCH 5/5] mx6cuboxi: Load the correct 'fdt_file' variable

2015-04-23 Thread Stefano Babic
Hi Fabio, On 23/04/2015 19:18, Fabio Estevam wrote: >> What about to export your is_hummingboard() function as U-Boot command ? >> You can then use it in U-Boot scripts, and the correct fdt name can be >> set in the "bootcmd" variable. Something like "if is_humming;then ..." > > I am not sure ho

Re: [U-Boot] [PATCH] buildman: Add gcc 4.9.0 with Microblaze toolchain

2015-04-23 Thread Simon Glass
Hi, On 23 April 2015 at 12:23, Simon Glass wrote: > On 20 April 2015 at 03:46, Michal Simek wrote: >> Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain. >> >> Signed-off-by: Michal Simek >> --- >> >> tools/buildman/README | 2 +- >> tools/buildman/toolchain.py | 2 +-

  1   2   >