[U-Boot] [PATCH] boards/t2080rdb: update ddr frequency from 1600MT/s to 1867MT/s

2015-03-31 Thread Shengzhou Liu
T2080RDB RevC uses new SODIMM 1867MT/s instead of previous 1600MT/s. So update RCW to support new DDR frequency i.e 1867MT/s Signed-off-by: Shengzhou Liu --- board/freescale/t208xrdb/t2080_rcw.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/t208xrdb/t

Re: [U-Boot] [PATCH V3 1/3] dm: gpio: request list: return the count if requests max_count reached

2015-03-31 Thread Przemyslaw Marczak
Hello Simon, On 04/01/2015 05:17 AM, Simon Glass wrote: On 31 March 2015 at 10:57, Przemyslaw Marczak wrote: The function gpio_request_list_by_name_nodev() returned -ENOSPC error, when the loop count was greater than requested count. This was wrong, because function should return the requested

Re: [U-Boot] Compile x86 minnowboard max got error

2015-03-31 Thread li yuqian
gcc --version shows following: gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Thank you > Date: Wed, 1

Re: [U-Boot] Compile x86 minnowboard max got error

2015-03-31 Thread Bin Meng
On Wed, Apr 1, 2015 at 10:51 AM, li yuqian wrote: > Hi All, > i am trying to compile the x86 minnowboard max uboot support followed this > link http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.x86 , but i alway > got following error > > CC net/ping.o > CC net/tftp.o > LD

[U-Boot] Compile x86 minnowboard max got error

2015-03-31 Thread li yuqian
Hi All, i am trying to compile the x86 minnowboard max uboot support followed this link http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.x86 , but i alway got following error CC net/ping.o CC net/tftp.o LD net/built-in.o LD test/built-in.o CC test

Re: [U-Boot] [PATCH 0/14] sandbox: exynos: Move some (mostly) sandbox CONFIG options to Kconfig

2015-03-31 Thread Simon Glass
Hi, On 6 March 2015 at 13:19, Simon Glass wrote: > These options relate to the sandbox drivers and also sound. There are still > more options to move, but this is a start. > > > Simon Glass (14): > sandbox: Move GPIO CONFIGs to Kconfig > sandbox: Move CONFIG_SYS_VSNPRINTF to Kconfig > sandb

Re: [U-Boot] [PATCH] dm: eth: Provide a way for drivers to manage packet buffers

2015-03-31 Thread Simon Glass
Hi Joe, On 30 March 2015 at 14:44, Joe Hershberger wrote: > Some drivers need a chance to manage their receive buffers after the > packet has been handled by the network stack. Add an operation that > will allow the driver to be called in that case. > > Reported-by: Simon Glass > Signed-off-by:

Re: [U-Boot] [PATCH] x86: Set serial port IRQ for SMSC LPC47M

2015-03-31 Thread Simon Glass
On 30 March 2015 at 21:25, Bin Meng wrote: > For starting a Linux console on the superio serial port under > interrupt mode, the IRQ number must be configured. > > Signed-off-by: Jian Luo > Signed-off-by: Bin Meng > --- > > arch/x86/include/asm/ibmpc.h | 3 +++ > board/intel/crownbay/crown

Re: [U-Boot] [PATCH] x86: Move CONFIG_ENV_IS_IN_SPI_FLASH to x86-common.h

2015-03-31 Thread Simon Glass
On 30 March 2015 at 21:51, Bin Meng wrote: > Since all x86 boards use spi flash as its bootloader storage media, > it makes sense to make CONFIG_ENV_IS_IN_SPI_FLASH a common option. > So far only minnowmax board does not support it so undefine it in > its board configuration file. > > Signed-off-b

Re: [U-Boot] [PATCH v3] dm: spi: Convert Freescale DSPI driver to driver model

2015-03-31 Thread Simon Glass
On 31 March 2015 at 19:55, Simon Glass wrote: > On 24 March 2015 at 08:03, Haikun Wang wrote: >> Move the Freescale DSPI driver over to driver model. >> >> Signed-off-by: Haikun Wang >> --- >> >> Changes in v3: >> - Coding style cleanup >> - Remove cur_slave_plat in structure fsl_dspi_priv >> -

Re: [U-Boot] [PATCH 4/5 v1] dm: ls1021a: dts: Update DSPI node to support DM SPI

2015-03-31 Thread Simon Glass
On 31 March 2015 at 19:41, Simon Glass wrote: > On 24 March 2015 at 07:19, Haikun Wang wrote: >> Update DSPI controller node in ls1021a.dtsi. >> Update flash device node in ls1021a-qds.dts. >> Ls1021a-twr board doesn't support DSPI, so remove DSPI node >> in ls1021a-twr.dts. >> >> Signed-off-by:

Re: [U-Boot] [PATCH 5/5 v1] dm: ls1021a: dts: Add QSPI dts node

2015-03-31 Thread Simon Glass
On 31 March 2015 at 19:41, Simon Glass wrote: > On 24 March 2015 at 07:20, Haikun Wang wrote: >> Add QSPI controller dts node in ls1021a.dtsi. >> Add QSPI slave device dts node in ls1021a-twr.dts and ls1021a-qds.dts. >> >> Signed-off-by: Haikun Wang >> --- >> arch/arm/dts/ls1021a-qds.dts | 14 +

Re: [U-Boot] [PATCH 3/5 v1] dm: ls1021a: dts: Change address_cells and size_cells from 2 to 1

2015-03-31 Thread Simon Glass
On 24 March 2015 at 21:09, Simon Glass wrote: > On 24 March 2015 at 07:16, Haikun Wang wrote: >> From: haikun >> >> Change address_cells and size_cells of root node and 'soc' node >> from 2 to 1. >> >> We backport ls1021a device tree source files from kernel to u-boot. >> Kernel files set addres

Re: [U-Boot] [PATCH 2/5 v2] dm: ls1021a: Bring in ls1021a dts files from linux kernel

2015-03-31 Thread Simon Glass
On 25 March 2015 at 14:46, Simon Glass wrote: > On 25 March 2015 at 06:23, Haikun Wang wrote: >> From: haikun >> >> Bring in required device tree files for ls1021a from Linux. >> These are initially unchanged and have a number of pieces not needed by >> U-Boot. >> >> Signed-off-by: Haikun Wang

Re: [U-Boot] [PATCH 1/5 v1] dm: arm: Bring in skeleton64 device tree file from Linux

2015-03-31 Thread Simon Glass
On 24 March 2015 at 21:09, Simon Glass wrote: > On 24 March 2015 at 07:12, Haikun Wang wrote: >> Backport of kernel commits: >> 7c14f6c719de092d69c81877786e83ce7ae1a860 >> 35faad2a1563b3d4dc983a82ac41033fe053870c >> >> Signed-off-by: Haikun Wang >> --- >> arch/arm/dts/skeleton64

Re: [U-Boot] [PATCH V3 3/3] dm: i2c: add i2c-gpio driver

2015-03-31 Thread Simon Glass
On 31 March 2015 at 21:18, Simon Glass wrote: > On 31 March 2015 at 10:57, Przemyslaw Marczak wrote: >> This commit adds driver model support to software emulated i2c bus driver. >> This driver supports kernel-style device tree bindings. Fdt properties in >> use: >> - compatible - "i2c-gpio" >>

Re: [U-Boot] [PATCH V3 2/3] Kconfig: i2c: fix help message related to dm i2c

2015-03-31 Thread Simon Glass
On 31 March 2015 at 21:17, Simon Glass wrote: > On 31 March 2015 at 10:57, Przemyslaw Marczak wrote: >> Signed-off-by: Przemyslaw Marczak >> Cc: Masahiro Yamada >> Cc: Mike Frysinger >> Cc: Simon Glass >> Cc: Heiko Schocher >> >> Changes V2: >> - add i2c uclass description >> >> Changes v3:

Re: [U-Boot] [PATCH V3 1/3] dm: gpio: request list: return the count if requests max_count reached

2015-03-31 Thread Simon Glass
On 31 March 2015 at 21:17, Simon Glass wrote: > On 31 March 2015 at 10:57, Przemyslaw Marczak wrote: >> The function gpio_request_list_by_name_nodev() returned -ENOSPC error, >> when the loop count was greater than requested count. This was wrong, >> because function should return the requested g

Re: [U-Boot] [PATCH V3 3/3] dm: i2c: add i2c-gpio driver

2015-03-31 Thread Simon Glass
On 31 March 2015 at 10:57, Przemyslaw Marczak wrote: > This commit adds driver model support to software emulated i2c bus driver. > This driver supports kernel-style device tree bindings. Fdt properties in use: > - compatible - "i2c-gpio" > - gpios - data and clock GPIO pin phandles > - delay

Re: [U-Boot] [PATCH V3 2/3] Kconfig: i2c: fix help message related to dm i2c

2015-03-31 Thread Simon Glass
On 31 March 2015 at 10:57, Przemyslaw Marczak wrote: > Signed-off-by: Przemyslaw Marczak > Cc: Masahiro Yamada > Cc: Mike Frysinger > Cc: Simon Glass > Cc: Heiko Schocher > > Changes V2: > - add i2c uclass description > > Changes v3: > - Kconfig: i2c-uclass: fix help message > --- > drivers/

Re: [U-Boot] [PATCH v2 17/17] i8042: Add keyboard enable logic in kbd_reset()

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > This code appears to be missing a piece that is needed on some keyboards > to enable the keyboard. Add this in. > > This makes the keyboard work correctly on chromebook_link. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Rebase to dm/n

Re: [U-Boot] [PATCH v2 14/17] fdt: Drop LPC compatible string in fdtdec

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > This is not needed now that we have moved chromebook_link and cros_ec to > driver model. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > include/fdtdec.h | 1 - > lib/fdtdec.c | 1 - > 2 files changed, 2 deletions(-) Applied t

Re: [U-Boot] [PATCH V3 1/3] dm: gpio: request list: return the count if requests max_count reached

2015-03-31 Thread Simon Glass
On 31 March 2015 at 10:57, Przemyslaw Marczak wrote: > The function gpio_request_list_by_name_nodev() returned -ENOSPC error, > when the loop count was greater than requested count. This was wrong, > because function should return the requested gpio count, when meets > the call request without err

Re: [U-Boot] [PATCH v2 16/17] sandbox: cros_ec: Add Kconfig for sandbox EC config

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Move CONFIG_CROS_EC_SANDBOX to Kconfig. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add new patch to move CONFIG_CROS_EC_SANDBOX to Kconfig > > drivers/misc/Kconfig | 9 + > 1 file changed, 9 insertions(+) Applied to u-boot

Re: [U-Boot] [PATCH v2 15/17] cros_ec: exynos: Match up device tree with kernel version

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > The U-Boot device trees are slightly different in a few places. Adjust them > to remove most of the differences. Note that U-Boot does not support the > concept of interrupts as distinct from GPIOs, so this difference remains. > > For sandbox, use th

Re: [U-Boot] [PATCH v2 11/17] exynos: cros_ec: Drop unnecessary init

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Since driver model will probe the EC when it is first used, we do not > need to init it explicitly. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > board/samsung/common/board.c| 12 > include/configs/exynos5420

Re: [U-Boot] [PATCH v2 12/17] cros_ec: Remove unused cros_ec_board_init() function

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Now that driver model handles cros_ec init, we can drop this special code. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > common/cros_ec.c | 5 - > include/cros_ec.h | 7 --- > 2 files changed, 12 deletions(-) Applied to

Re: [U-Boot] [PATCH v2 09/17] sandbox: cros_ec: Drop unnecessary init

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Since driver model will probe the EC when it is first used, we do not > need to init it explicitly. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > board/sandbox/sandbox.c | 12 > include/configs/sandbox.h | 1 - >

Re: [U-Boot] [PATCH v2 13/17] fdt: cros_ec: Drop compatible string in fdtdec

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > This is not needed now that we have moved to driver model. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > include/fdtdec.h | 1 - > lib/fdtdec.c | 1 - > 2 files changed, 2 deletions(-) Applied to u-boot-dm/next _

Re: [U-Boot] [PATCH v2 10/17] x86: cros_ec: Drop unnecessary init

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Since driver model will probe the EC when it is first used, we do not > need to init it explicitly. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > board/coreboot/coreboot/coreboot.c | 5 - > board/google/chromebook_link/link.

Re: [U-Boot] [PATCH v2 08/17] cros_ec: Drop unused CONFIG_DM_CROS_EC

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Since all supported boards enable this option now, we can remove it along > with the old code. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/sandbox/Kconfig | 3 - > board/samsung/smdk5420/Kconfig | 6 -- > com

Re: [U-Boot] [PATCH v2 07/17] cros_ec: Reinit the cros_ec device when 'crosec init' is used

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > This command is supposed to reinit the device. At present with driver > model is does nothing. Implement this feature. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/misc/cros_ec.c | 10 -- > 1 file changed, 8 inse

Re: [U-Boot] [PATCH v2 06/17] dm: cros_ec: Convert cros_ec LPC driver to driver model

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > This is the last driver to be converted. It requires an LPC bus and a > special check_version() method. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Support pre-driver-model too so we can rebase on dm/next > > configs/chromebook_link

Re: [U-Boot] [PATCH v2 05/17] x86: chromebook_link: dts: Add PCH and LPC devices

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > The PCH (Platform Controller Hub) is on the PCI bus, so show it as such. > The LPC (Low Pin Count) and SPI bus are inside the PCH, so put these in the > right place also. > > Rename the compatible strings to be more descriptive since this board is th

Re: [U-Boot] [PATCH v2 04/17] dm: x86: Add a uclass for an Low Pin Count (LPC) device

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > On x86 systems this device is commonly used to provide legacy port access. > It is sort-of a replacement for the old ISA bus. > > Add a uclass for this, and allow it to have child devices. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None

Re: [U-Boot] [PATCH v2 03/17] dm: x86: Add a uclass for a Platform Controller Hub

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Add a simple uclass for this chip which is often found in x86 systems > where the CPU is a separate device. > > The device can have children, so make it scan the device tree for these. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH v2 02/17] dm: x86: spi: Convert ICH SPI driver to driver model

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Convert this driver over to use driver model. Since all x86 platforms use > it, move x86 to use driver model for SPI and SPI flash. Adjust all dependent > code and remove the old x86 spi_init() function. > > Note that this does not make full use of t

Re: [U-Boot] [PATCH v2 01/17] dm: sf: Add driver model read/write/erase methods

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Permit use of a udevice to talk to SPI flash. Ultimately we would like > to retire the use of 'struct spi_flash' for this purpose, so create the > new API for those who want to move to it. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None

[U-Boot] [PATCH v2] dm: spi: Convert Freescale QSPI driver to driver model

2015-03-31 Thread Haikun Wang
Move the Freescale QSPI driver over to driver model. Signed-off-by: Haikun Wang Signed-off-by: Peng Fan --- Changes in v2: - Fix build fail on mx6sxsabresd_spl issue - Add configure regmap endian in NO-DM model Changes in v1: None. drivers/spi/fsl_qspi.c | 985 +++

Re: [U-Boot] [ PATCH] patman: cover letter shows like 00/xx if more than 10 patches

2015-03-31 Thread Josh Wu
Hi, Simon On 4/1/2015 10:04 AM, Simon Glass wrote: Hi Josh, On 30 March 2015 at 19:54, Josh Wu wrote: Make cover letter shows like 0/x, 00/xx and 000/xxx etc. Signed-off-by: Josh Wu --- This is a quirk of patman that I've grown comfortable with. Still, we should fix it. Thanks for the patc

Re: [U-Boot] [PATCH v4 0/2] ARM: mx5: add support for USB armory board

2015-03-31 Thread Chris Kuethe
Any chance of this being accepted into 2015.04? On Thu, Mar 26, 2015 at 3:28 PM, Chris Kuethe wrote: > On Thu, Mar 26, 2015 at 3:23 PM, Andrej Rosano wrote: > >> Please note that the patch is prepared against imx tree and not the >> mainline one, where the "arch/board approach" is not yet merged

Re: [U-Boot] [PATCH v2] MAKEALL: fix get_target_arch() to adjust to '-' in Status field

2015-03-31 Thread Simon Glass
Hi Masahiro, On 30 March 2015 at 05:59, Masahiro Yamada wrote: > Since the Kconfig conversion, boards.cfg scanned by MAKEALL is > generated by tools/genboardscfg.py. Every board is supposed to have > its own MAINTAINERS that contains maintainer and status information, > but, in fact, MAINTAINERS

Re: [U-Boot] [PATCH v1] dm: spi: Convert Freescale QSPI driver to driver model

2015-03-31 Thread haikun.w...@freescale.com
On 4/1/2015 10:26 AM, Simon Glass wrote: > On 23 March 2015 at 17:26, Simon Glass wrote: >> On 17 March 2015 at 05:26, Haikun Wang wrote: >>> Move the Freescale QSPI driver over to driver model. >>> >>> Signed-off-by: Haikun Wang >>> Signed-off-by: Peng Fan >>> --- >>> >>> This patch adds DM su

[U-Boot] [PATCH 2/2] MX6: Enable ARM errata workaround for 845369

2015-03-31 Thread nitin.garg
From: Nitin Garg Since MX6 is Cortex-A9 r2p10, enable software workaround for errata 845369. Signed-off-by: Nitin Garg --- include/configs/mx6_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index e0528ce..8c0957a 100

[U-Boot] [PATCH 1/2] ARM: Add workaround for Cortex-A9 errata 845369

2015-03-31 Thread nitin.garg
From: Nitin Garg Under very rare timing circumstances, transition into streaming mode might create a data corruption. Exists on all Cortex-A9 revisions. Signed-off-by: Nitin Garg --- README |1 + arch/arm/cpu/armv7/start.S |5 + 2 files changed, 6 insertions(+)

Re: [U-Boot] [PATCH] x86: minnowmax: add GPIO mapping support

2015-03-31 Thread Simon Glass
Hi Gabriel, On 27 February 2015 at 01:52, Bin Meng wrote: > Hi Gabriel, > > On Fri, Feb 27, 2015 at 3:54 PM, gabriel huau wrote: >> Hi Bin, >> >> >> On 02/26/2015 07:30 PM, Bin Meng wrote: >>> >>> Hi Gabriel, >>> >>> On Thu, Feb 26, 2015 at 12:27 AM, Gabriel Huau >>> wrote: Hi Bin, >>

Re: [U-Boot] [PATCH v1] dm: spi: Convert Freescale QSPI driver to driver model

2015-03-31 Thread Simon Glass
On 23 March 2015 at 17:26, Simon Glass wrote: > On 17 March 2015 at 05:26, Haikun Wang wrote: >> Move the Freescale QSPI driver over to driver model. >> >> Signed-off-by: Haikun Wang >> Signed-off-by: Peng Fan >> --- >> >> This patch adds DM support for FSL QSPI driver. >> Now this driver can s

Re: [U-Boot] [ PATCH] patman: cover letter shows like 00/xx if more than 10 patches

2015-03-31 Thread Simon Glass
Hi Josh, On 30 March 2015 at 19:54, Josh Wu wrote: > Make cover letter shows like 0/x, 00/xx and 000/xxx etc. > > Signed-off-by: Josh Wu > --- This is a quirk of patman that I've grown comfortable with. Still, we should fix it. Thanks for the patch. > > tools/patman/patchstream.py | 9 +++

Re: [U-Boot] [PATCH 1/6] sandbox: only do sandboxfs for hostfs interface

2015-03-31 Thread Simon Glass
Hi Sjoerd, On 20 February 2015 at 12:22, Simon Glass wrote: > Hi Sjoerd, > > On 19 February 2015 at 15:41, Sjoerd Simons > wrote: >> Only do sandbox filesystem access when using the hostfs device >> interface, rather then falling back to it in all cases. This prevents >> confusion situations due

Re: [U-Boot] [PATCH v3] dm: spi: Convert Freescale DSPI driver to driver model

2015-03-31 Thread Simon Glass
On 24 March 2015 at 08:03, Haikun Wang wrote: > Move the Freescale DSPI driver over to driver model. > > Signed-off-by: Haikun Wang > --- > > Changes in v3: > - Coding style cleanup > - Remove cur_slave_plat in structure fsl_dspi_priv > - Change arguments of 'claim_bus' and 'release_bus' > - Remo

Re: [U-Boot] [PATCH 4/5 v1] dm: ls1021a: dts: Update DSPI node to support DM SPI

2015-03-31 Thread Simon Glass
On 24 March 2015 at 07:19, Haikun Wang wrote: > Update DSPI controller node in ls1021a.dtsi. > Update flash device node in ls1021a-qds.dts. > Ls1021a-twr board doesn't support DSPI, so remove DSPI node > in ls1021a-twr.dts. > > Signed-off-by: Haikun Wang > --- > arch/arm/dts/ls1021a-qds.dts | 3

Re: [U-Boot] [PATCH 5/5 v1] dm: ls1021a: dts: Add QSPI dts node

2015-03-31 Thread Simon Glass
On 24 March 2015 at 07:20, Haikun Wang wrote: > Add QSPI controller dts node in ls1021a.dtsi. > Add QSPI slave device dts node in ls1021a-twr.dts and ls1021a-qds.dts. > > Signed-off-by: Haikun Wang > --- > arch/arm/dts/ls1021a-qds.dts | 14 ++ > arch/arm/dts/ls1021a-twr.dts | 14

Re: [U-Boot] [PATCH v2 0/17] dm: x86: Convert x86 to use driver model more fully

2015-03-31 Thread Simon Glass
Hi, On 26 March 2015 at 09:29, Simon Glass wrote: > At present x86 does not use driver model for SPI or LPC (low-pin-count, a > bus used to talk to the EC on Chromebooks). > > This series: > - moves the ICH SPI driver over to driver model > - moves the cros_ec LPC driver to driver model > - remov

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

2015-03-31 Thread Tom Rini
On Wed, Apr 01, 2015 at 01:11:45AM +0200, Andreas Bießmann wrote: > Hi Tom, > > another pull request for 2015.04 release. Atmel stuff should be fine now for > this release. > > The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2: > > sunxi: UTOO_P66: Add missing MAINTA

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

2015-03-31 Thread Tom Rini
On Tue, Mar 31, 2015 at 12:06:29AM +0200, Andreas Färber wrote: > Am 05.03.2015 um 16:32 schrieb Tom Rini: > > On Sun, Mar 01, 2015 at 12:44:39PM +0100, Kamil Lulko wrote: > > > >> Signed-off-by: Kamil Lulko > > [snip] > >> diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S > > [snip] > >> @@

Re: [U-Boot] Pull request: nand flash

2015-03-31 Thread Tom Rini
On Tue, Mar 31, 2015 at 03:59:07PM -0500, Scott Wood wrote: > [resent with Tom's new e-mail address] > > The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2: > > sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200) > > are available in the git rep

[U-Boot] [ANN] U-Boot v2015.04-rc5 released

2015-03-31 Thread Tom Rini
Hey all, I've pushed v2015.04-rc5 out to the repository and tarballs should exist soon. So we're now about 2 weeks until release. With respect to generic distro framework, it looks to me like there's an outstanding question on if we do, or do not, want to pass console=.. information. And if the

Re: [U-Boot] [PULL] Please pull u-boot-imx

2015-03-31 Thread Tom Rini
On Tue, Mar 31, 2015 at 03:48:34PM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit 21866c34a1b4098a8868c9250daf01baf84c2397: > > at91sam9rlek_mmc_defconfig: Add CONFIG_ARCH_AT91=y (2015-03-20 > 10:47:38 -0400) > > are ava

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2015-03-31 Thread Andreas Bießmann
Hi Tom, another pull request for 2015.04 release. Atmel stuff should be fine now for this release. The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2: sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200) are available in the git repository at:

Re: [U-Boot] [PATCH] spl_atmel.c: Switch s_init to board_init_f

2015-03-31 Thread Andreas Bießmann
Dear Tom Rini, Tom Rini writes: >To facilitate changing lowlevel_init to become s_init, move the current >contents of s_init into board_init_f and add the rest of what >board_init_f does here. >In order to compile clean without CONFIG_SKIP_LOWLEVEL_INIT set, leave an >empty stub of s_init(). It c

Re: [U-Boot] [U-Boot,v2,2/4] ARM: atmel: at91sam9m10g45ek: enable spl support

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Supports boot up from NAND flash with software ECC eanbled. >And supports boot up from SD/MMC card with FAT file system. > >As the boot from SD/MMC card with FAT file system, the BSS >segment is too big to fit into SRAM, so, use the lds to put >it into SDRAM. > >Sig

Re: [U-Boot] [U-Boot,v2,1/4] ARM: atmel: arm926ejs: fix clock configuration

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Config MCKR according to the datasheet sequence, or else it >will cause the MCKR configuration failed. > >Remove timeout checking for clock configuration, if configure >the clock failed, let the system hang while not run in wrong >clock configuration. > >Signed-off-

Re: [U-Boot] [U-Boot,v2,4/4] ARM: atmel: at91sam9n12ek: enable spl support

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Enable SPL support for at91sam9n12ek boards, now it supports >boot up from NAND flash, serial flash. > >Signed-off-by: Bo Shen >--- > >Changes in v2: > - Remove the meaningless prefix "+S:" in configuration file. > > arch/arm/mach-at91/Kconfig | 1

Re: [U-Boot] [U-Boot, v2] ARM: at91: sama5: move the common part of configurations to at91-sama5_common.h

2015-03-31 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >Create a new configuration file: at91-sama5_common.h. Which includes the >configurations that reused by all SAMA5 chips. > >at91-sama5_common.h includes: >- hw macros (clock, text_base and etc.) >- default commands. >- BOOTARGS >- U-Boot common configs. >NOTE: NOR f

Re: [U-Boot] [U-Boot,PATCHv2] ARM: at91: atmel_nand: Support flash based BBT

2015-03-31 Thread Andreas Bießmann
Dear David Dueck, David Dueck writes: >Add support for on-flash bad block table. This makes U-Boot handle an existing >BBT correctly. > >Signed-off-by: David Dueck >Reviewed-by: Boris BREZILLON >CC: Boris BREZILLON >CC: Josh Wu >CC: Andreas Bießmann >CC: Scott Wood >Acked-by: Josh Wu >---

Re: [U-Boot] [U-Boot, v2] ARM: at91: at91sam9n12ek: save the environment to a fat file in MMC card

2015-03-31 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >Insteading in mmc's raw sectors, this patch will save the environment >in a fat file (uboot.env) in mmc card's first FAT patition by default. > >If you want to save in mmc's raw sectors, you only need to define >CONFIG_ENV_IS_IN_MMC. > >Signed-off-by: Josh Wu >Acke

Re: [U-Boot] [U-Boot,v2,3/4] ARM: atmel: at91sam9x5ek: enable spl support

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Enable SPL support for at91sam9x5ek board. Now, it supports >boot up from NAND flash and SPI flash. > >Signed-off-by: Bo Shen >--- > >Changes in v2: > - Remove the meaningless prefix "+S:" in configuration file. > > arch/arm/mach-at91/Kconfig |

Re: [U-Boot] arm, at91: corvus: move MACH_TYPE to defconfig

2015-03-31 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >move MACH_TYPE into defconfig > >Signed-off-by: Heiko Schocher >--- > > configs/corvus_defconfig | 2 +- > include/configs/corvus.h | 3 --- > 2 files changed, 1 insertion(+), 4 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andrea

Re: [U-Boot] [PATCH] spl_atmel.c: Switch s_init to board_init_f

2015-03-31 Thread Andreas Bießmann
Dear Tom Rini, Tom Rini writes: >To facilitate changing lowlevel_init to become s_init, move the current >contents of s_init into board_init_f and add the rest of what >board_init_f does here. >In order to compile clean without CONFIG_SKIP_LOWLEVEL_INIT set, leave an >empty stub of s_init(). It c

Re: [U-Boot] ARM: at91: sama5d4: display the U-Boot version on LCD

2015-03-31 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >This patch will display the U-Boot version on LCD. > >Signed-off-by: Josh Wu >Acked-by: Bo Shen >--- > > board/atmel/sama5d4_xplained/sama5d4_xplained.c | 2 ++ > board/atmel/sama5d4ek/sama5d4ek.c | 2 ++ > 2 files changed, 4 insertions(+) applied to

Re: [U-Boot] [U-Boot, v2, 1/2] ARM: atmel: arm9: switch to use common timer functions

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Signed-off-by: Bo Shen >[rebase on current master] >Signed-off-by: Andreas Bießmann >--- > >Changes in v2: None > > arch/arm/mach-at91/arm926ejs/timer.c | 59 > > arch/arm/mach-at91/include/mach/at91sam9260.h | 3 ++ > arch/ar

Re: [U-Boot] [U-Boot, v2, 2/2] ARM: atmel: armv7: switch to use common timer functions

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >The commit 8dfafdd (Introduce common timer functions), add common >timer functions, we can use them directly. > >Signed-off-by: Bo Shen >[rebase on current master] >Sigend-off-by: Andreas Bießmann >--- > >Changes in v2: > - correct the timer register for sama5d4.

Re: [U-Boot] [PATCH v2 0/2] ARM: tegra: pinmux/colibri_t20: fix nand pinmux

2015-03-31 Thread Tom Warren
Marcel, This series applied to u-boot-tegra/next. I'll push an update today or tomorrow to Denx.de. Tom > -Original Message- > From: Marcel Ziswiler [mailto:mar...@ziswiler.com] > Sent: Thursday, March 26, 2015 5:32 PM > To: u-boot@lists.denx.de > Cc: Tom Warren; Albert Aribaud; Tom Rin

Re: [U-Boot] [PATCH v2 0/2] rename colibri_t20

2015-03-31 Thread Tom Warren
Marcel, This series applied to u-boot-tegra/next. I'll push an update today or tomorrow to Denx.de. Tom > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Thursday, March 26, 2015 7:15 AM > To: Marcel Ziswiler > Cc: u-boot@lists.denx.de; Marek Vasut; Aksh

Re: [U-Boot] [PATCHv3 17/17] arm: socfpga: fix uart0 pin mux configuration

2015-03-31 Thread Dinh Nguyen
On 3/31/15 3:48 PM, Pavel Machek wrote: > On Mon 2015-03-30 17:01:18, dingu...@opensource.altera.com wrote: >> From: Dinh Nguyen >> >> commit "07d30b6c3129 arm: socfpga: Sync Cyclone V DK pinmux configuration" >> incorrectly set the muxing for UART0 on the Cyclone V DK. >> >> This fixes it up so

Re: [U-Boot] [PATCHv3 17/17] arm: socfpga: fix uart0 pin mux configuration

2015-03-31 Thread Pavel Machek
On Tue 2015-03-31 15:59:11, Dinh Nguyen wrote: > > > On 3/31/15 3:48 PM, Pavel Machek wrote: > > On Mon 2015-03-30 17:01:18, dingu...@opensource.altera.com wrote: > >> From: Dinh Nguyen > >> > >> commit "07d30b6c3129 arm: socfpga: Sync Cyclone V DK pinmux configuration" > >> incorrectly set the

Re: [U-Boot] [PATCHv3 00/17] Add SPL support for SoCFPGA

2015-03-31 Thread Pavel Machek
Hi! > This is v3 of the patchset that adds all the SPL code that is necessary to > support the SoCFPGA platform. For v3, here are the changes: > > - Remove gdata > - Remove s_init > - Remove socfpga lowlevel_init.S > - Use common u-boot-spl.lds > - Properly use CONFIG_SPL_TEXT_BASE so we don't ha

Re: [U-Boot] [PATCHv3 16/17] arm: socfpga: remove the need to map sdram in arch_early_init

2015-03-31 Thread Pavel Machek
On Mon 2015-03-30 17:01:17, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Since we are already mapping sdram 0x0 in board_init_f, we can remove it > here. > > Signed-off-by: Dinh Nguyen > Reviewed-by: Marek Vasut Yes, and you want to merge this to the patch that does that. Al

Re: [U-Boot] [PATCHv3 14/17] arm: socfpga: spl: Add SDRAM check

2015-03-31 Thread Pavel Machek
On Mon 2015-03-30 17:01:15, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Signed-off-by: Dinh Nguyen > --- > v3: Only report the failure > v2: Be a bit more verbose about the fail message > --- > arch/arm/cpu/armv7/socfpga/spl.c | 6 ++ > 1 file changed, 6 insertions(+) > >

Re: [U-Boot] [PATCHv3 13/17] arm: socfpga: spl: add board_init_f to SPL

2015-03-31 Thread Pavel Machek
Hi! On Mon 2015-03-30 17:01:14, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Remap SDRAM to 0x0, and clear OCRAM's ECC in board_init_f(). > > Signed-off-by: Dinh Nguyen > Reviewed-by: Marek Vasut > --- > v3: Move the code from s_init to board_init_f > --- > arch/arm/cpu/armv7

Re: [U-Boot] [PATCHv3 07/17] arm: socfpga: spl: add sdram init and calibration

2015-03-31 Thread Pavel Machek
On Mon 2015-03-30 17:01:08, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Add a call to checkboard along with sdram intilialization and calibration. > > Signed-off-by: Dinh Nguyen > --- > v3: Use debug instead of puts and add a newline for visual separation > v2: Add a fail mess

[U-Boot] Pull request: nand flash

2015-03-31 Thread Scott Wood
[resent with Tom's new e-mail address] The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2: sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git for you to fetch c

[U-Boot] Pull request: nand flash

2015-03-31 Thread Scott Wood
The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2: sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git for you to fetch changes up to 55765b1842e7dcf22efa8d973c7

Re: [U-Boot] [PATCHv3 17/17] arm: socfpga: fix uart0 pin mux configuration

2015-03-31 Thread Pavel Machek
On Mon 2015-03-30 17:01:18, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > commit "07d30b6c3129 arm: socfpga: Sync Cyclone V DK pinmux configuration" > incorrectly set the muxing for UART0 on the Cyclone V DK. > > This fixes it up so UART0 is working again. > > Signed-off-by: Din

Re: [U-Boot] [PATCH 08/12] ARM: socfpga: use "select" instead of default value in defconfig

2015-03-31 Thread Pavel Machek
Hi! On Tue 2015-03-31 12:47:59, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > arch/arm/Kconfig | 6 ++ > configs/socfpga_arria5_defconfig | 3 --- > configs/socfpga_cyclone5_defconfig | 3 --- > configs/socfpga_socrates_defconfig | 3 --- > 4 files cha

[U-Boot] [PATCH] image: fix build when CONFIG_NR_DRAM_BANKS is disabled on ARM

2015-03-31 Thread Matt Porter
common/image.c currently implicitly depends on CONFIG_NR_DRAM_BANKS when CONFIG_ARM is enabled. Make this requirement explicit. Signed-off-by: Matt Porter --- common/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image.c b/common/image.c index a911aa9..13e68a0

[U-Boot] [PATCH] net: Fix incorrect DHCP/BOOTP packet layout on 64-bit systems

2015-03-31 Thread Sergey Temerkhanov
This commit fixes incorrect DHCP/BOOTP packet layout caused by 'ulong' type size difference on 64 and 32-bit architectures. It also converts protocol header structures to use explicitly sized fields and renames NetReadLong()/NetCopyLong() to NetReadU32/NetCopyU32() accordingly Signed-off-by: Radh

Re: [U-Boot] [PATCH] net: Fix incorrect DHCP/BOOTP packet layout on 64-bit systems

2015-03-31 Thread Joe Hershberger
Hi Sergey, On Tue, Mar 31, 2015 at 12:17 PM, Sergey Temerkhanov < s.temerkha...@gmail.com> wrote: > > > This commit fixes incorrect DHCP/BOOTP packet layout caused by > 'ulong' type size difference on 64 and 32-bit architectures. > It also converts protocol header structures to use explicitly > si

[U-Boot] [PATCH V3 3/3] dm: i2c: add i2c-gpio driver

2015-03-31 Thread Przemyslaw Marczak
This commit adds driver model support to software emulated i2c bus driver. This driver supports kernel-style device tree bindings. Fdt properties in use: - compatible - "i2c-gpio" - gpios - data and clock GPIO pin phandles - delay-us - micro seconds delay between GPIOs toggle operations,

[U-Boot] [PATCH V3 1/3] dm: gpio: request list: return the count if requests max_count reached

2015-03-31 Thread Przemyslaw Marczak
The function gpio_request_list_by_name_nodev() returned -ENOSPC error, when the loop count was greater than requested count. This was wrong, because function should return the requested gpio count, when meets the call request without errors. Now, the loop ends on requested max_count. Signed-off-by

[U-Boot] [PATCH V3 2/3] Kconfig: i2c: fix help message related to dm i2c

2015-03-31 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak Cc: Masahiro Yamada Cc: Mike Frysinger Cc: Simon Glass Cc: Heiko Schocher Changes V2: - add i2c uclass description Changes v3: - Kconfig: i2c-uclass: fix help message --- drivers/i2c/Kconfig | 17 +++-- 1 file changed, 7 insertions(+), 10 deleti

[U-Boot] [PATCH V3 0/3] dm: i2c: enable driver model for i2c gpio

2015-03-31 Thread Przemyslaw Marczak
This patchset enables driver model support for software i2c bus driver. It was tested on Trats2 and Odroid U3 devices. It can be tested on any other device by just modifying the dts file, first by disabling the hardware i2c bus and then, as it is described in the doc binding file, add i2c-gpio nod

Re: [U-Boot] [PATCH V2 2/3] Kconfig: i2c: fix help message related to dm i2c

2015-03-31 Thread Przemyslaw Marczak
Hello Simon, On 03/28/2015 04:08 PM, Simon Glass wrote: Hi Przemyslaw, On 27 March 2015 at 11:33, Przemyslaw Marczak wrote: Signed-off-by: Przemyslaw Marczak Cc: Masahiro Yamada Cc: Mike Frysinger Cc: Simon Glass Cc: Heiko Schocher Changes V2: - add i2c uclass description --- drivers/

Re: [U-Boot] [PATCH V2 3/3] dm: i2c: add i2c-gpio driver

2015-03-31 Thread Przemyslaw Marczak
Hello Simon, On 03/28/2015 04:08 PM, Simon Glass wrote: Hi Przemyslaw, On 27 March 2015 at 11:33, Przemyslaw Marczak wrote: This commit adds driver model support to software emulated i2c bus driver. The device-tree node is compatible with the kernel i2c-gpio driver. It means, that boards devi

Re: [U-Boot] [PATCH] kbuild: move ARCH, CPU, etc. to top Makefile to fix random build error

2015-03-31 Thread York Sun
On 03/31/2015 08:45 AM, Stephen Warren wrote: > On 03/31/2015 06:02 AM, Masahiro Yamada wrote: >> Since the Kconfig conversion, some developers have reported that >> Kbuild sometimes fails completely at random. According to the error >> reports, it seems to occur for any target board, but only o

Re: [U-Boot] [PATCH] kbuild: move ARCH, CPU, etc. to top Makefile to fix random build error

2015-03-31 Thread Stephen Warren
On 03/31/2015 06:02 AM, Masahiro Yamada wrote: Since the Kconfig conversion, some developers have reported that Kbuild sometimes fails completely at random. According to the error reports, it seems to occur for any target board, but only on very fast computers. The log message for the fail case

Re: [U-Boot] [PATCH] kbuild: move ARCH, CPU, etc. to top Makefile to fix random build error

2015-03-31 Thread York Sun
On 03/31/2015 05:02 AM, Masahiro Yamada wrote: > Since the Kconfig conversion, some developers have reported that > Kbuild sometimes fails completely at random. According to the error > reports, it seems to occur for any target board, but only on very > fast computers. > > The log message for t

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-31 Thread Bill Pringlemeir
On 31 Mar 2015, scottw...@freescale.com wrote: > On Tue, 2015-03-31 at 00:24 +0200, Stefan Agner wrote: >> Actually, I just realized that the driver is not caching writes. >> >> switch (command) { >> case NAND_CMD_PAGEPROG: >> nfc->page = -1; >> +vf610_nfc_transfer_size(nfc->regs, nfc->pag

[U-Boot] [PULL] Please pull u-boot-imx

2015-03-31 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit 21866c34a1b4098a8868c9250daf01baf84c2397: at91sam9rlek_mmc_defconfig: Add CONFIG_ARCH_AT91=y (2015-03-20 10:47:38 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for

[U-Boot] [PATCH] kbuild: move ARCH, CPU, etc. to top Makefile to fix random build error

2015-03-31 Thread Masahiro Yamada
Since the Kconfig conversion, some developers have reported that Kbuild sometimes fails completely at random. According to the error reports, it seems to occur for any target board, but only on very fast computers. The log message for the fail case is like this: make[1]: *** No rule to make ta

  1   2   >