[U-Boot] [PATCH v2] Makefile: Add U_BOOT_TZ and include in version

2015-05-10 Thread Chris Packham
Define U_BOOT_TZ alongside U_BOOT_TIME and U_BOOT_DATE and use it to include the timezone in the version output. Acked-by: Simon Glass Signed-off-by: Chris Packham --- As per feedback from Tom I've switched to '%z' so that any size increase as a result of the timezone information is constant. C

Re: [U-Boot] [PATCH] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2015-05-10 Thread Pavel Machek
On Fri 2015-05-01 19:26:34, Marek Vasut wrote: > On Friday, May 01, 2015 at 04:49:37 PM, Pavel Machek wrote: > > On Fri 2015-05-01 16:24:45, Marek Vasut wrote: > > > On Friday, May 01, 2015 at 11:01:09 AM, Pavel Machek wrote: > > > > diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_prob

Re: [U-Boot] [PATCH 13/16] usb: ohci: Remove unnecessary delays from hc_start and power power-on paths

2015-05-10 Thread Hans de Goede
Hi, On 06-05-15 01:01, Marek Vasut wrote: On Tuesday, May 05, 2015 at 11:56:16 PM, Hans de Goede wrote: The common usb_hub code already waits a full second after powering up ports, so there is no need for additional delays inside the hcd code. Signed-off-by: Hans de Goede This makes a drive

[U-Boot] [PATCHv2] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2015-05-10 Thread Pavel Machek
Add reset for N25Q256A SPI NOR, as U-Boot SPL 2013-socfpga (only version working on that board) sets 4-byte addressing mode. Signed-off-by: Pavel Machek --- Diff to v2: Add README. diff --git a/README b/README index ee65fdb..69f9e5b 100644 --- a/README +++ b/README @@ -2775,6 +2775,10 @@ CBFS (

Re: [U-Boot] [RFC PATCH v1 0/1] Include timezone information in build

2015-05-10 Thread Chris Packham
Hi Tom, On Sat, May 9, 2015 at 9:05 AM, Tom Rini wrote: > On Thu, Apr 30, 2015 at 12:38:22PM +1200, Chris Packham wrote: >> Hi, >> >> >> Recently an eagle-eyed tester pointed out to me that the build time >> reported in my u-boot build did not match the file timestamp on the >> server it was stor

Re: [U-Boot] [PATCH 13/16] usb: ohci: Remove unnecessary delays from hc_start and power power-on paths

2015-05-10 Thread Marek Vasut
On Sunday, May 10, 2015 at 11:10:00 AM, Hans de Goede wrote: > Hi, Hi! > On 06-05-15 01:01, Marek Vasut wrote: > > On Tuesday, May 05, 2015 at 11:56:16 PM, Hans de Goede wrote: > >> The common usb_hub code already waits a full second after powering up > >> ports, so there is no need for additiona

Re: [U-Boot] [PATCH] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2015-05-10 Thread Marek Vasut
On Sunday, May 10, 2015 at 11:07:38 AM, Pavel Machek wrote: > On Fri 2015-05-01 19:26:34, Marek Vasut wrote: > > On Friday, May 01, 2015 at 04:49:37 PM, Pavel Machek wrote: > > > On Fri 2015-05-01 16:24:45, Marek Vasut wrote: > > > > On Friday, May 01, 2015 at 11:01:09 AM, Pavel Machek wrote: > > >

Re: [U-Boot] [PATCHv2] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2015-05-10 Thread Marek Vasut
On Sunday, May 10, 2015 at 11:15:41 AM, Pavel Machek wrote: > Add reset for N25Q256A SPI NOR, as U-Boot SPL 2013-socfpga (only > version working on that board) sets 4-byte addressing mode. > > Signed-off-by: Pavel Machek I'm still convinced this should be MICRON specific, not N25Q256 specific .

Re: [U-Boot] [PATCH] sunxi: add support for UART2 on A23/A33

2015-05-10 Thread Hans de Goede
Hi, On 06-05-15 02:02, Laurent Itti wrote: Add support for UART2 (2-pin version but note that RTS/CTS pins are available pn that port for possible future use), can be selected in config by using CONFIG_CONS_INDEX=3 Signed-off-by: Laurent Itti Thanks I've added this to my sunxi-wip branch min

[U-Boot] [PATCHv3] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2015-05-10 Thread Pavel Machek
On Sun 2015-05-10 11:15:41, Pavel Machek wrote: Add reset for N25Q256A SPI NOR, as U-Boot SPL 2013-socfpga (only version working on that board) sets 4-byte addressing mode. Signed-off-by: Pavel Machek --- Diff to v3: Marek insists this is Micron specific, so lets rename the config option. diff

[U-Boot] [PATCH v5 02/15] usb: usb_control_msg() propagate controller error code

2015-05-10 Thread Hans de Goede
Propagate the error returned by submit_control_msg() ratehr then always returning -EIO when the hcd code indicates an error. Signed-off-by: Hans de Goede --- common/usb.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/usb.c b/common/usb.c index 1b26bfa..20c614c

[U-Boot] [PATCH v5 06/15] dm: usb: Add support for interrupt queues to the dm usb code

2015-05-10 Thread Hans de Goede
Interrupt endpoints typically are polled for a long time by the usb controller before they return anything, so calls to submit_int_msg() can take a long time to complete this. To avoid this the u-boot code has the an interrupt queue mechanism / API, add support for this to the driver-model usb cod

[U-Boot] [PATCH v5 00/15] usb: ohci dm support & add sunxi ehci + ohci support

2015-05-10 Thread Hans de Goede
Hi All, Here is a new series which applies on top of u-boot-dm/master, this contains all my usb (dm) ohci / ehci / sunxi patches which have been posted before and not yet merged. The series is at v5 because for a couple of patches from my first posting of the ehci sunxi dm series this is the 5th p

[U-Boot] [PATCH v5 03/15] usb: legacy_hub_port_reset() check and propagate usb_set_port_feature() errors

2015-05-10 Thread Hans de Goede
Actually check for usb_set_port_feature() errors and propagate these if they happen. Signed-off-by: Hans de Goede --- common/usb_hub.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/usb_hub.c b/common/usb_hub.c index c9be530..7aac220 100644 --- a/common/usb_hub.

[U-Boot] [PATCH v5 01/15] usb: Fix handover of full-speed devices from ehci to companion

2015-05-10 Thread Hans de Goede
When after a reset the port status connection bit is still set and the enable bit is not then we're dealing with a full-speed device and should hand it over to the companion controller. Signed-off-by: Hans de Goede --- drivers/usb/host/ehci-hcd.c | 16 +--- 1 file changed, 13 inserti

[U-Boot] [PATCH v5 10/15] usb: ohci: Do not resubmit and leak urbs for interrupt packets

2015-05-10 Thread Hans de Goede
The u-boot usb code uses polling for all endpoints, including interrupt endpoints, so urbs should never be automatically resubmitted. This also fixes a leak of the urb, as submit_int_msg() did not check if an already re-submitted urb exists before creating a new one. Signed-off-by: Hans de Goede

[U-Boot] [PATCH v5 04/15] usb: Stop reset procedure when a dev is handed over to a companion hcd

2015-05-10 Thread Hans de Goede
Short circuit the retry loop in legacy_hub_port_reset() by returning an error from usb_control_msg() when a device was handed over to a companion by the ehci code. This avoids trying to reset low / fullspeed devices 5 times needlessly. Also do not print an error when a device has been handed over.

[U-Boot] [PATCH v5 11/15] usb: ohci: Remove unnecessary delays from hc_start and power power-on paths

2015-05-10 Thread Hans de Goede
The usb spec says that we must wait a minimum amount of time after port power on (exact time is in the hub descriptor), this is something which we must not only do for root ports but also for external hub ports, which is why the common usb_hub code already waits a full second after powering up port

[U-Boot] [PATCH v5 07/15] dm: usb: Move printing of usb scan status to usb_scan_bus()

2015-05-10 Thread Hans de Goede
Move printing of usb scan status to usb_scan_bus(). This is a preparation patch for adding companion controller support to the usb uclass. Signed-off-by: Hans de Goede Acked-by: Simon Glass --- drivers/usb/host/usb-uclass.c | 22 +- 1 file changed, 9 insertions(+), 13 delet

[U-Boot] [PATCH v5 12/15] usb: ohci: Skip unnecessary mdelay(1) calls in various places

2015-05-10 Thread Hans de Goede
For some reason the ohci code is full with: #ifdef DEBUG pkt_print(...) #else mdelay(1); #endif AFAICT there is no reason for the mdelay(1) calls. This commit disables them when building the ohci code for new driver-model using boards. It leaves the mdelay(1) ca

[U-Boot] [PATCH v5 05/15] dm: usb: Prefix ehci interrupt-queue functions with _ehci_

2015-05-10 Thread Hans de Goede
This is a preparation patch for adding interrupt-queue support to the ehci dm code. Signed-off-by: Hans de Goede Acked-by: Simon Glass --- drivers/usb/host/ehci-hcd.c | 31 +-- 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c

[U-Boot] [PATCH v5 09/15] dm: usb: Do not scan companion buses if no devices where handed over

2015-05-10 Thread Hans de Goede
USB scanning is slow, and there is no need to scan the companion buses if no usb devices where handed over to the companinon controllers by any of the main controllers. This saves e.g. 2 seconds when booting a A10 OLinuxIno Lime with no USB-1 devices plugged into the root usb ports. Signed-off-by

[U-Boot] [PATCH v5 14/15] sunxi: ehci: Convert to the driver-model

2015-05-10 Thread Hans de Goede
Convert sunxi-boards which use the sunxi-ehci code to the driver-model. Signed-off-by: Hans de Goede Acked-by: Simon Glass --- board/sunxi/Kconfig | 3 ++ drivers/usb/host/ehci-sunxi.c | 93 +-- 2 files changed, 67 insertions(+), 29 deletions(-

[U-Boot] [PATCH v5 08/15] dm: usb: Add support for companion controllers

2015-05-10 Thread Hans de Goede
USB companion controllers must be scanned after the main controller has been scanned, so that any devices which the main controller which to hand over to the companion have actually been handed over before we scan the companion. As there are no guarantees that this will magically happen in the rig

[U-Boot] [PATCH v5 13/15] usb: ohci: Add dm support

2015-05-10 Thread Hans de Goede
Add driver-model support to the ohci code. Signed-off-by: Hans de Goede Reviewed-by: Marek Vasut --- drivers/usb/host/ohci-hcd.c | 84 + drivers/usb/host/ohci.h | 7 2 files changed, 91 insertions(+) diff --git a/drivers/usb/host/ohci-hcd.c

[U-Boot] [PATCH v5 15/15] sunxi: ohci: Add ohci usb host controller support

2015-05-10 Thread Hans de Goede
This commit adds support for the OHCI companion controller, which makes usb-1 devices directly plugged into to usb root port work. Note for now this switches usb-keyboard support for sunxi back from int-queue support to the old interrupt polling method. Adding int-queue support to the ohci code an

Re: [U-Boot] [PATCH v5 14/15] sunxi: ehci: Convert to the driver-model

2015-05-10 Thread Ian Campbell
On Sun, 2015-05-10 at 14:10 +0200, Hans de Goede wrote: > Convert sunxi-boards which use the sunxi-ehci code to the driver-model. > > Signed-off-by: Hans de Goede > Acked-by: Simon Glass Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [PATCHv3] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2015-05-10 Thread Jagan Teki
On 10 May 2015 at 16:19, Pavel Machek wrote: > On Sun 2015-05-10 11:15:41, Pavel Machek wrote: > Add reset for N25Q256A SPI NOR, as U-Boot SPL 2013-socfpga (only > version working on that board) sets 4-byte addressing mode. > > Signed-off-by: Pavel Machek > > --- > Diff to v3: Marek insists this

Re: [U-Boot] [PATCH v1 1/2] cmd_sf: Add command "sf info" to show current device info

2015-05-10 Thread Jagan Teki
On 8 May 2015 at 13:51, haikun.w...@freescale.com wrote: > On 5/8/2015 1:53 PM, Jagan Teki wrote: >> On 8 May 2015 at 08:14, haikun.w...@freescale.com >> wrote: >>> On 5/7/2015 7:44 PM, Jagan Teki wrote: On 6 May 2015 at 02:30, Simon Glass wrote: > On 5 May 2015 at 05:37, haikun.w...@fr

Re: [U-Boot] [PATCH 4/4] x86: qemu: Add graphics support

2015-05-10 Thread Simon Glass
Hi Bin, On 8 May 2015 at 21:39, Bin Meng wrote: > Hi Simon, > > On Sat, May 9, 2015 at 4:43 AM, Simon Glass wrote: >> Hi Bin, >> >> On 6 May 2015 at 03:34, Bin Meng wrote: >>> It turns out that QEMU x86 emulated graphic card has an built-in >>> option ROM which can be run perfectly under native

Re: [U-Boot] [PATCH 0/4]: imx: mx6: use OTP for temperature grade and freq grade

2015-05-10 Thread Nikolay Dimitrov
Hi Tim, On 05/08/2015 10:26 PM, Tim Harvey wrote: On Fri, May 8, 2015 at 10:35 AM, Nikolay Dimitrov wrote: Hi Tim, On 05/08/2015 06:42 PM, Tim Harvey wrote: Your right - There is no indication in the IMX6SDLRM that OTP indicates either temperature grade 'or' speed grade, however my tes

Re: [U-Boot] [PATCH 0/4]: imx: mx6: use OTP for temperature grade and freq grade

2015-05-10 Thread Nikolay Dimitrov
On 05/10/2015 04:46 PM, Nikolay Dimitrov wrote: Hi Tim, On 05/08/2015 10:26 PM, Tim Harvey wrote: On Fri, May 8, 2015 at 10:35 AM, Nikolay Dimitrov wrote: Hi Tim, On 05/08/2015 06:42 PM, Tim Harvey wrote: Your right - There is no indication in the IMX6SDLRM that OTP indicates either t

Re: [U-Boot] [PATCH 1/4] video: cfb_console: Remove the unnecessary CONFIG_VGA_AS_SINGLE_DEVICE wraps

2015-05-10 Thread Simon Glass
Hi Bin, On 8 May 2015 at 22:26, Bin Meng wrote: > Hi Simon, > > On Sat, May 9, 2015 at 5:44 AM, Simon Glass wrote: >> Hi Bin, >> >> On 6 May 2015 at 03:34, Bin Meng wrote: >>> There are two places in the cfb_console driver that test whether >>> CONFIG_VGA_AS_SINGLE_DEVICE is defined or not, but

Re: [U-Boot] [PATCH 02/12] dm: pmic: max77686: update driver code

2015-05-10 Thread Simon Glass
On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > This update includes: > - add implementation of pmic_reg_count() method > - pmic_bind_children() - update function call name > - Kconfig: add new line at the end of file > > Signed-off-by: Przemyslaw Marczak > --- > drivers/power/pmic/Kconfig

Re: [U-Boot] [PATCH 01/12] dm: pmic: code cleanup of PMIC uclass driver

2015-05-10 Thread Simon Glass
Hi Przemyslaw, On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > The cleanup includes: > - pmic.h - fix mistakes in a few comments > - pmic operations: value 'reg_count' - redefine as function call > - fix function name: pmic_bind_childs() -> pmic_bind_children() > - pmic_bind_children: increme

Re: [U-Boot] [PATCH 00/12] PMIC/REGULATOR cleanup and Sandbox tests

2015-05-10 Thread Simon Glass
Hi Przemyslaw, On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > Hello! > This patchset cleanups the POWER framework V4, which is applied into > u-boot-dm/next tree. > > The main changes: > - pmic/regulator uclasses cleanup - each commit message describes >the changes in details. > - added

Re: [U-Boot] [PATCH 06/12] common: cmd regulator: command cleanup

2015-05-10 Thread Simon Glass
On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > This commit cleanups the regulator command. > The first change, is adjusting "regulator dev" command to use > "regulator-name" constraint, for setting the operating device. > Thanks to this, the regulator_get() function is removed. > > This also

Re: [U-Boot] [PATCH 04/12] odroid u3: cleanup the regulator calls

2015-05-10 Thread Simon Glass
Hi Przemyslaw, On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > Signed-off-by: Przemyslaw Marczak > --- > board/samsung/odroid/odroid.c | 9 - > 1 file changed, 4 insertions(+), 5 deletions(-) > > diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c > index 29de

Re: [U-Boot] [PATCH 05/12] common: cmd pmic: command cleanup

2015-05-10 Thread Simon Glass
On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > This commit cleanups the use of function: failed(). > The new function name is: failure(), and it is used > for print errno and the errno-related message only. > > The second change is choosing PMIC device by it's name, > instead of seq number. T

Re: [U-Boot] [PATCH 03/12] dm: regulator: uclass driver code cleanup

2015-05-10 Thread Simon Glass
On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > This cleanup includes: > - remove of the preprocessor macros which pointed to long name functions > - update of the names of some regulator uclass driver functions > - cleanup of the function regulator_autoset() > - reword of some comments of reg

Re: [U-Boot] [PATCH 09/12] sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator

2015-05-10 Thread Simon Glass
Hi Przemyslaw, On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > This commit adds emulation of sandbox PMIC device, which includes: > - PMIC I2C emulation driver > - PMIC I/O driver (UCLASS_PMIC) > - PMIC regulator driver (UCLASS_REGULATOR) > > The sandbox PMIC has 12 significant registers and

Re: [U-Boot] [PATCH 11/12] sandbox: defconfig: enable support of sandbox PMIC drivers

2015-05-10 Thread Simon Glass
On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > This commit enables: > - emulated i2c PMIC driver > - sandbox PMIC I/O driver > - sandbox PMIC's regulator driver > > Signed-off-by: Przemyslaw Marczak > --- > configs/sandbox_defconfig | 7 +++ > 1 file changed, 7 insertions(+) Acked-by:

Re: [U-Boot] [PATCH 08/12] sandbox: i2c: search child emul dev and check its uclass id

2015-05-10 Thread Simon Glass
On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > The function get_emul() in sandbox i2c bus driver, always returns > first child as i2c emul device. This may only work for i2c devices > with a single child, which is an only i2c emul device. > > In case when i2c device has more than one child (e

Re: [U-Boot] [PATCH 12/12] test: dm: add sandbox PMIC framework tests

2015-05-10 Thread Simon Glass
Hi Przemyslaw, On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > This change adds new file to sandbox driver model test environment. > The file is: test/dm/power.c, and it includes tests for PMIC framework, > which includes PMIC uclass and REGULATOR uclass. > > All tests are based od Sandbox PM

Re: [U-Boot] [PATCH 07/12] doc: driver-model: pmic-framework.txt - cleanup

2015-05-10 Thread Simon Glass
On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > This commit cleanups the PMIC framework documentation. > > Signed-off-by: Przemyslaw Marczak > --- > doc/driver-model/pmic-framework.txt | 20 +--- > 1 file changed, 9 insertions(+), 11 deletions(-) Acked-by: Simon Glass _

Re: [U-Boot] [PATCH 10/12] test: dm: dts: add sandbox pmic i2c node

2015-05-10 Thread Simon Glass
On 8 May 2015 at 10:20, Przemyslaw Marczak wrote: > This commit adds sandbox PMIC subnode to sandbox i2c bus 0. > > The PMIC's node includes: > - 2x BUCK > - 2x LDO > > Each regulator node include proper constraints: > - min, max micro Volts > - min, max micro Amps (only first of each type) > - al

Re: [U-Boot] [U-Boot, 6/6] overo: Override RAM setup for rev. 0 boards

2015-05-10 Thread Tom Rini
On Tue, Apr 28, 2015 at 04:17:55PM -0700, Ash Charles wrote: > From: Arun Bharadwaj > > Overo boards with board revision 0 use a 256MB RAM + 256MB NAND chip. > For an unknown reason, these boards fail to boot a 3.17.8 kernel based > on the RAM size configuration in u-boot. As a workaround, fake

Re: [U-Boot] [PATCH 2/2] console: Fix pre-console flushing via cfb_console being very slow

2015-05-10 Thread Tom Rini
On Tue, May 05, 2015 at 01:21:07PM +0200, Hans de Goede wrote: > On my A10 OlinuxIno Lime I noticed a huge (5+ seconds) delay coming from > console_init_r. This turns out to be caused by the preconsole buffer flushing > to the cfb_console. The Lime only has a 16 bit memory bus and that is already

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

2015-05-10 Thread Tom Rini
On Thu, May 07, 2015 at 10:01:36PM -0600, Simon Glass wrote: > Hi Tom, > > This includes the real-time-clock uclass, a driver model test suite > speed-up and part of Han's USB work (the rest need to wait for some patch > respins). > > > The following changes since commit 905e8f9e53766e606bd4a0e

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

2015-05-10 Thread Tom Rini
On Fri, May 08, 2015 at 12:58:47AM +0200, Marek Vasut wrote: > The following changes since commit 905e8f9e53766e606bd4a0ed46d804889e613f32: > > Prepare v2015.07-rc1 (2015-05-05 19:52:15 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-socfpga.git HEAD > > for

Re: [U-Boot] [U-Boot,v2] misc: led: Add PCA9551 LED driver

2015-05-10 Thread Tom Rini
On Thu, Mar 12, 2015 at 11:22:46AM +0100, Stefan Roese wrote: > This patch adds a driver for the PCA9551 LED controller. > > Originated-by: Timo Herbrecher > Signed-off-by: Stefan Roese > Reviewed-by: Tom Rini > Cc: Fabio Estevam > Reviewed-by: Fabio Estevam Applied to u-boot/master, thanks

Re: [U-Boot] ti: am335x/am437x/omap5 devices: Unify network environment variables

2015-05-10 Thread Tom Rini
On Tue, Apr 21, 2015 at 07:51:04AM -0500, Cooper Jr., Franklin wrote: > Across several devices network environment variables are duplicated. > Move these variables to a common include file which insures the environment > variables are reused and insures devices across product lines share the same

Re: [U-Boot] Remove non-working address from MAINTAINER

2015-05-10 Thread Tom Rini
On Thu, Apr 23, 2015 at 09:10:36AM +0200, Pavel Machek wrote: > 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 Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, 1/5] board/BuR/tseries: take usage of CONFIG_LCD_ROTATION

2015-05-10 Thread Tom Rini
On Fri, Apr 24, 2015 at 02:49:35PM +0200, Hannes Petermaier wrote: > We take use of the new LCD_ROTATION feature. > The information about how the display is rotated is taken from B&R specific > (/factory-settings/rotation) information in the devicetree. > > The information there is stored as stri

Re: [U-Boot] [U-Boot,02/11] kconfig: Move REGEX to Kconfig

2015-05-10 Thread Tom Rini
On Tue, Apr 21, 2015 at 05:02:42PM -0500, Joe Hershberger wrote: > Having this as a Kconfig allows it to be a dependent feature. > > Signed-off-by: Joe Hershberger > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,v2,1/1] Fix musl build

2015-05-10 Thread Tom Rini
On Wed, Apr 22, 2015 at 09:36:22PM +0200, Jörg Krause wrote: > This patch fixes cross-compiling U-Boot tools with the musl C library: > * including is needed for ulong > * defining _GNU_SOURCE is needed for loff_t > > Tested for target at91sam9261ek_dataflash_cs3. > > Signed-off-by: Jörg Kr

Re: [U-Boot] [U-Boot, 2/5] board/BuR/tseries: remove unnary CONFIG_LCD_NOSTDOUT

2015-05-10 Thread Tom Rini
On Fri, Apr 24, 2015 at 02:49:36PM +0200, Hannes Petermaier wrote: > the CONFIG_LCD_NOSTDOUT feature never had become mainline in uboot due to the > fact that the problem of "not writing out whole console to lcd" can be solved > with another way. > > So we remove this unnary define. > > Signed-o

Re: [U-Boot] image: android: handle default kernel address

2015-05-10 Thread Tom Rini
On Fri, Apr 24, 2015 at 12:53:12PM +0200, Maxime Ripard wrote: > The two tools that create android boot images, mkbootimg and the fastboot > client, set the kernel address by default to 0x10008000. > > U-boot always honors this field, and will try to relocate the kernel to > whatever value is set

Re: [U-Boot] [U-Boot, v2] gpio: stm32_gpio: Use clrsetbits_le32() at appropriate places

2015-05-10 Thread Tom Rini
On Sun, Apr 26, 2015 at 10:32:36AM +0800, Axel Lin wrote: > Use clrsetbits_le32() to replace clrbits_le32() + setbits_le32(). > > Signed-off-by: Axel Lin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-B

Re: [U-Boot] [U-Boot, v2, 1/2] spl: spl_mmc: Clearer structure in spl_mmc_load_image and cosmetics

2015-05-10 Thread Tom Rini
On Mon, Apr 27, 2015 at 10:20:22AM +0200, Paul Kocialkowski wrote: > This refactors spl_mmc_load_image to use a switch/case structure and easier > to understand spl_start_uboot checks. This also introduces some more automatic > fallback on the next mmc boot mode as long as it keeps failing. > > L

Re: [U-Boot] [U-Boot,3/5] board/BuR/tseries: Add simplefb support

2015-05-10 Thread Tom Rini
On Fri, Apr 24, 2015 at 02:49:37PM +0200, Hannes Petermaier wrote: > Since the used AM3352 SoC doesn't have GPU it isn't allways necessary to build > in complete drm-stuff into linux kernel. In very small applications only we > use > the simple-framebuffer. > > So we have 2 use-cases: > - device

Re: [U-Boot] [U-Boot, 4/5] board/BuR/common: remove BMP_DISPLAY from tseries board

2015-05-10 Thread Tom Rini
On Fri, Apr 24, 2015 at 02:49:38PM +0200, Hannes Petermaier wrote: > Since we display in future the splash screen out of linux-os, we don't need > this support anymore within the common section. > > But kwb-target is still using BMP_DISPLAY feature, so we move the related > from the common sectio

Re: [U-Boot] [U-Boot, 5/5] board/BuR/common: rename "usbupdate" environment to "usbscript"

2015-05-10 Thread Tom Rini
On Fri, Apr 24, 2015 at 02:49:39PM +0200, Hannes Petermaier wrote: > usbupdate in real does allways load some script from usb-storage and execute > it, on all B&R targets. > > So we do following 2 things: > - rename it to what it really does > - move it from boards to common environment > > Sign

Re: [U-Boot] [U-Boot,v2] stm32f4: fix serial output

2015-05-10 Thread Tom Rini
On Tue, Apr 28, 2015 at 02:25:45AM +0800, kunhuahuang wrote: > This patch fix the serial output. > The source is from Kamil Lulko's "stm32f429-discovery board support" > > Thanks, Varcain. I learned a lot. > > Signed-off-by: kunhuahuang Applied to u-boot/master, thanks! -- Tom signature.as

Re: [U-Boot] README: fix typo in 'currently'

2015-05-10 Thread Tom Rini
On Sat, Apr 25, 2015 at 06:53:10PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Signed-off-by: Fabio Estevam > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailin

Re: [U-Boot] [U-Boot, 2/6] omap3: overo: Add DTS support for TobiDuo expansion

2015-05-10 Thread Tom Rini
On Tue, Apr 28, 2015 at 04:17:51PM -0700, Ash Charles wrote: > From: Arun Bharadwaj > > Signed-off-by: Arun Bharadwaj > Signed-off-by: Ash Charles Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, 1/6] omap3: overo: Set the Arbor43C 'expansionname'

2015-05-10 Thread Tom Rini
On Tue, Apr 28, 2015 at 04:17:50PM -0700, Ash Charles wrote: > The Gumstix Arbor43C expansion board [1] uses a customized device tree > file. When this expansion board is detected, load this file. > > [1] https://store.gumstix.com/index.php/products/635/ > > Signed-off-by: Ash Charles Applied

Re: [U-Boot] cmd_part: fix usage text

2015-05-10 Thread Tom Rini
On Tue, Apr 28, 2015 at 01:44:58AM +0200, maxin.j...@enea.com wrote: > Fix the usage info from: > part part uuid : > to > part uuid : > > Signed-off-by: Maxin B. John > Reviewed-By: Sjoerd Simons signature.asc Description: Digital signature ___ U-B

Re: [U-Boot] [U-Boot, v2, 2/2] spl: spl_mmc: Partition raw boot mode for eMMC

2015-05-10 Thread Tom Rini
On Mon, Apr 27, 2015 at 10:20:23AM +0200, Paul Kocialkowski wrote: > This adds support for providing a partition number instead of a sector for > eMMC. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,v2] stm32f4: add serial print port

2015-05-10 Thread Tom Rini
On Tue, Apr 28, 2015 at 03:01:19AM +0800, kunhuahuang wrote: > Add the stm32F4 board's serial ports support. > User can use it easily. > The user only need to edit the number of the usart. > The patch also fix the serial print out. > > Last, this version of patch fix the first patch checkpatch.pl

Re: [U-Boot] davinci: restore CONFIG_SPL=y to configs/omapl138_lcdk_defconfig

2015-05-10 Thread Tom Rini
On Wed, Apr 29, 2015 at 09:05:57AM +1000, Peter Howard wrote: > Signed-off-by: Peter Howard 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/mail

Re: [U-Boot] [U-Boot, 4/6] omap3: overo: Use software BCH8 ECC for NAND

2015-05-10 Thread Tom Rini
On Tue, Apr 28, 2015 at 04:17:53PM -0700, Ash Charles wrote: > Overo COMs have NAND flash that requires 4-bit ECC or better except for > the first sector which can use 1-bit ECC. The boot ROM expects to load > a payload from NAND written using 1-bit hardware-based ECC. In short, > write SPL to N

Re: [U-Boot] [U-Boot, 3/6] overo: Add support for Palo35 expansion board

2015-05-10 Thread Tom Rini
On Tue, Apr 28, 2015 at 04:17:52PM -0700, Ash Charles wrote: > Signed-off-by: Ash Charles 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, 1/2] Fix inconsistency of VERIFY defines in cmd_mem

2015-05-10 Thread Tom Rini
On Tue, May 05, 2015 at 12:23:52PM -0500, Joe Hershberger wrote: > Introduced in change d20a40de9db07de1f1f06a79a4da1cdda5379b75 > "Roll crc32 into hash infrastructure" > > Use a consistent define to enable the verify feature in crc32 command. > > Signed-off-by: Joe Hershberger > Acked-by: Simo

Re: [U-Boot] [U-Boot, v3, 2/2] stv0991: use fdt for serial port platform data

2015-05-10 Thread Tom Rini
On Sun, May 03, 2015 at 02:10:35PM -0700, Vikas Manocha wrote: > This patch ignores the serial port static platform data at compilation time > in case of device tree control. > > Signed-off-by: Vikas Manocha > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 2/2] u-boot breaks for the Overo boards since the following commit: a6b541b09022acb6f7c2754100ae26bd44eed1d9

2015-05-10 Thread Tom Rini
On Tue, Apr 28, 2015 at 04:55:30PM -0700, Arun Bharadwaj wrote: > This is because the gd pointer is not set early enough anymore, > such that the i2c_set_bus_num in get_board_revision can safely > execute. This results in a console hang at SPL and the boot does > not proceed. > > This piece of co

Re: [U-Boot] [U-Boot,v3,1/2] stv0991: fdt: add stv0991 device tree

2015-05-10 Thread Tom Rini
On Sun, May 03, 2015 at 02:10:34PM -0700, Vikas Manocha wrote: > This patch adds device tree for the ST Micro stv0991 board & enables > device tree control. Progressively device tree support for the drivers > being used will also be added. > > Signed-off-by: Vikas Manocha > Reviewed-by: Simon Gl

Re: [U-Boot] Makefile: add a symbol link tags for ctags

2015-05-10 Thread Tom Rini
On Mon, May 04, 2015 at 06:26:53AM -0700, Du Huanpeng wrote: > Signed-off-by: Du Huanpeng 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, 5/6] omap3: overo: Allow boot with kernel in UBI rootfs

2015-05-10 Thread Tom Rini
On Tue, Apr 28, 2015 at 04:17:54PM -0700, Ash Charles wrote: > If regular NAND booting fails to find a valid uImage in the > kernel partition in NAND, try to boot using a zImage and dtb found > in a UBI volume in the rootfs partition. This is the NAND analog > of mmc zImage booting for device-tre

Re: [U-Boot] [U-Boot, 2/2] Fix broken verify functionality in crc32 command

2015-05-10 Thread Tom Rini
On Tue, May 05, 2015 at 12:23:53PM -0500, Joe Hershberger wrote: > Introduced in change d20a40de9db07de1f1f06a79a4da1cdda5379b75 > "Roll crc32 into hash infrastructure" > > The crc32 command with no -v expects an optional 3rd argument to be an > address to store the result in. With the -v switch,

Re: [U-Boot] [U-Boot, 1/2] This separates the SPL-specific code from the u-boot-specific code for the Overo board following the discussion at http://lists.denx.de/pipermail/u-boot/2015-April/211622.ht

2015-05-10 Thread Tom Rini
On Tue, Apr 28, 2015 at 04:55:29PM -0700, Arun Bharadwaj wrote: > The code is split up into spl.c, overo.c and common.c (which > has the code common to both) > > Signed-off-by: Arun Bharadwaj Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] ppc4xx: Remove sc3 board

2015-05-10 Thread Tom Rini
On Thu, May 07, 2015 at 01:00:23PM +0200, Stefan Roese wrote: > As this board seems to be unmaintained for quite some time, and its > not moved to the generic board ingrastructure, lets remove it. > > This will also enable us to remove the CONFIG_AUTOBOOT_DELAY_STR2 > and CONFIG_AUTOBOOT_STOP_STR

Re: [U-Boot] [U-Boot, v2] serial: fdt: add device tree support for pl01x

2015-05-10 Thread Tom Rini
On Wed, May 06, 2015 at 11:46:29AM -0700, Vikas Manocha wrote: > This patch adds device tree support for arm pl010/pl011 driver. > > Signed-off-by: Vikas Manocha > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH v2 4/4] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password

2015-05-10 Thread Simon Glass
Hi Stefan, On 8 May 2015 at 01:52, Stefan Roese wrote: > This patch adds the feature to only stop the autobooting, and therefor > boot into the U-Boot prompt, when the input string / password matches > a values that is encypted via a SHA256 hash and saved in the environment. > > This feature is e

Re: [U-Boot] [PATCH v1 1/4] Kconfig: Enable usage of escape char '\' in string values

2015-05-10 Thread Simon Glass
Hi Stefan, On 7 May 2015 at 06:13, Stefan Roese wrote: > I might have missed something, but I failed to use the escape char '\' > in strings. To pass a printf format string like "foo %d bar\n" via > Kconfig to the code. > > Right now its not possible to use the escape character '\' in Kconfig > s

Re: [U-Boot] [PATCH 3/4] imx: mx6: add display of temperature grade of processor in cpu_printinfo()

2015-05-10 Thread Fabio Estevam
Hi Tim, On Tue, Apr 28, 2015 at 12:44 PM, Tim Harvey wrote: > +#if defined(CONFIG_IMX6_THERMAL) > + switch (get_cpu_temp_grade(&minc, &maxc)) { > + case TEMP_AUTOMOTIVE: > + puts(" automotive"); > + break; > +

[U-Boot] [U-Boot PATCH v2 00/17] spi/sf: Cleansup and driver model conversions

2015-05-10 Thread Jagan Teki
No minor updates on code. Changes for v2: - One change suggested from Simon to use dev_get_parent thanks! Jagan. Jagan Teki (17): spi: Zap andes_spi driver spi: Zap ftssp010_spi driver spi: Zap oc_tiny_spi driver spi: xilinx_spi: Move header code to driver spi: xilinx_spi: Driv

[U-Boot] [U-Boot PATCH v2 01/17] spi: Zap andes_spi driver

2015-05-10 Thread Jagan Teki
Zap andes_spi driver since the boards used this driver is no longer been active. Signed-off-by: Jagan Teki Cc: Macpaul Lin --- drivers/spi/Makefile| 1 - drivers/spi/andes_spi.c | 284 drivers/spi/andes_spi.h | 115 3 f

[U-Boot] [U-Boot PATCH v2 06/17] spi: davinci_spi: Move header code to driver

2015-05-10 Thread Jagan Teki
Move the header code into driver for more readable and easy to access it. Signed-off-by: Jagan Teki Cc: Rex Chang Cc: Murali Karicheri --- drivers/spi/davinci_spi.c | 110 - drivers/spi/davinci_spi.h | 121 --

[U-Boot] [U-Boot PATCH v2 03/17] spi: Zap oc_tiny_spi driver

2015-05-10 Thread Jagan Teki
Zap oc_tiny_spi driver since the boards used this driver is no longer been active. Signed-off-by: Jagan Teki Cc: Thomas Chou --- drivers/spi/Makefile | 1 - drivers/spi/oc_tiny_spi.c | 245 -- 2 files changed, 246 deletions(-) delete mode 1006

[U-Boot] [U-Boot PATCH v2 02/17] spi: Zap ftssp010_spi driver

2015-05-10 Thread Jagan Teki
Zap ftssp010_spi driver since the boards used this driver is no longer been active. Signed-off-by: Jagan Teki Cc: Kuo-Jung Su Cc: Axel Lin --- drivers/spi/Makefile | 1 - drivers/spi/ftssp010_spi.c | 498 - 2 files changed, 499 deletions(-)

[U-Boot] [U-Boot PATCH v2 04/17] spi: xilinx_spi: Move header code to driver

2015-05-10 Thread Jagan Teki
Move the header code into driver for more readable and easy to access it. Signed-off-by: Jagan Teki Acked-by: Michal Simek --- drivers/spi/xilinx_spi.c | 113 +- drivers/spi/xilinx_spi.h | 138 --- 2 files changed,

[U-Boot] [U-Boot PATCH v2 05/17] spi: xilinx_spi: Driver clean-up

2015-05-10 Thread Jagan Teki
- Zap unneeded macros - Re-arrange the code - Removed __attribute__((weak)) - Replace __func__ macro with func names to save macro transition. - Re-arranged comment lines. - Arrange driver code in more readable format[1] [1] http://patchwork.ozlabs.org/patch/265683/ Signed-off-by: Jagan Teki Ac

[U-Boot] [U-Boot PATCH v2 08/17] spi/sf: Minor cleanups

2015-05-10 Thread Jagan Teki
- Adjust tab spaces - Add comments Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_internal.h | 18 +- include/spi.h | 2 +- include/spi_flash.h | 10 ++ 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/drivers/mtd/spi/sf_intern

[U-Boot] [U-Boot PATCH v2 07/17] spi: davinci_spi: Driver cleanup

2015-05-10 Thread Jagan Teki
Arrange driver code in more readable format[1] for easy accessing and readable. [1] http://patchwork.ozlabs.org/patch/265683/ Signed-off-by: Jagan Teki Cc: Rex Chang Cc: Murali Karicheri --- drivers/spi/davinci_spi.c | 343 +++--- 1 file changed, 173 ins

[U-Boot] [U-Boot PATCH v2 09/17] dm: spi: zynq_spi: Convert to driver model

2015-05-10 Thread Jagan 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: Jagan Teki Acked-by: Simon Glass Cc: Michal Simek Cc: Siva

[U-Boot] [U-Boot PATCH v2 10/17] zynq: Kconfig: Enable dm spi and spi_flash

2015-05-10 Thread Jagan Teki
Enabled CONFIG_DM_SPI and CONFIG_DM_SPI_FLASH for zynq soc. Signed-off-by: Jagan Teki Acked-by: 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 49bcad1..fd6fee0 100

[U-Boot] [U-Boot PATCH v2 15/17] spi: xilinx_spi: Add asm/io.h include file

2015-05-10 Thread Jagan 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 PATCH v2 12/17] spi: zynq_spi: Add fdt support in driver

2015-05-10 Thread Jagan 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: Jagan Teki Acked-by: Simon Glass Cc: Michal Simek Cc: Siva Durga Prasad Pal

[U-Boot] [U-Boot PATCH v2 11/17] dts: zynq: Add zynq spi controller nodes

2015-05-10 Thread Jagan Teki
This patch adds zynq spi controller nodes in zynq-7000.dtsi. Signed-off-by: Jagan Teki Acked-by: 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

  1   2   >