Re: [U-Boot] [PATCH] usb: dwc2: Enhance interrupt handling for CONTROL transaction

2016-01-14 Thread Marek Vasut
On Thursday, January 14, 2016 at 03:50:18 PM, Chin Liang See wrote: > On Wed, 2016-01-13 at 16:22 +0100, Marek Vasut wrote: > > On Wednesday, January 13, 2016 at 04:18:43 PM, Chin Liang See wrote: > > > On Wed, 2016-01-13 at 03:58 +0100, Marek Vasut wrote: > > > > On Tuesday, January 05, 2016 at

[U-Boot] [PATCH 02/37] gpio: Warn about invalid GPIOs used with the 'gpio' command

2016-01-14 Thread Simon Glass
At present there is no indication that an invalid GPIO is used except that the GPIO status is not displayed. Make the error more explicit to avoid confusion. Signed-off-by: Simon Glass --- common/cmd_gpio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 09/37] dm: backlight: Add a driver for a PWM backlight

2016-01-14 Thread Simon Glass
Many backlights need to use a PWM to control the brightness. Add a driver for this. It understands the standard device tree binding. Signed-off-by: Simon Glass --- drivers/video/Makefile| 3 + drivers/video/pwm_backlight.c | 134

[U-Boot] [PATCH 10/37] dm: panel: Add a panel uclass

2016-01-14 Thread Simon Glass
LCD panels can usefully be modelled as their own uclass. They can be probed (which powers them up ready for use). If they have a backlight, this can be enabled. Signed-off-by: Simon Glass --- drivers/video/Makefile | 1 + drivers/video/panel-uclass.c | 25

[U-Boot] [PATCH 07/37] pwm: rockchip: Add a PWM driver for Rockchip SoCs

2016-01-14 Thread Simon Glass
Add a simple driver which implements the standard PWM uclass interface. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-rockchip/pwm.h | 41 drivers/pwm/Kconfig | 9 +++ drivers/pwm/Makefile | 1 +

[U-Boot] [PATCH 00/37] rockchip: Add support for display and keyboard

2016-01-14 Thread Simon Glass
This series adds display drivers for rockchip and enables them on jerry, firefly-rk3288 (HDMI only) and rock2 (HDMI only). It builds on the recent keyboard series. Driver are provided for video displays (EDP and HDMI) and the VOP (video output processor). This series also adds several new

[U-Boot] [PATCH 25/37] rockchip: spl: Drop MMC support code when not needed

2016-01-14 Thread Simon Glass
When the board does not use MMC SPL this code is a waste of space. Drop it. Signed-off-by: Simon Glass --- arch/arm/mach-rockchip/rk3288-board-spl.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c

[U-Boot] [PATCH 19/37] rockchip: Add a simple 'clock' command

2016-01-14 Thread Simon Glass
Add a command that displays the PLLs and their current rate. Signed-off-by: Simon Glass --- arch/arm/mach-rockchip/board.c | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c index

[U-Boot] [PATCH 15/37] rockchip: video: Add a display driver for rockchip HDMI

2016-01-14 Thread Simon Glass
Some Rockchip SoCs support HDMI output. Add a display driver for this so that these displays can be used on supported boards. Unfortunately this driver is not fully functional. It cannot reliably read EDID information over HDMI. This seems to be due to the clocks being incorrect - the I2C bus

[U-Boot] [PATCH 29/37] rockchip: spl: Support full-speed CPU in SPL

2016-01-14 Thread Simon Glass
Add a feature which speeds up the CPU to full speed in SPL to minimise boot time. This is only supported for certain boards (at present only jerry). Signed-off-by: Simon Glass --- arch/arm/dts/rk3288-veyron.dtsi | 2 +

[U-Boot] [PATCH 13/37] rockchip: Rename the CRU_MODE_CON fields

2016-01-14 Thread Simon Glass
These should match the datasheet naming. Adjust them. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-rockchip/cru_rk3288.h | 58 - drivers/clk/clk_rk3288.c| 39 - 2 files changed, 38 insertions(+), 59

Re: [U-Boot] [PATCH 43/50] rockchip: pinctrl: Reduce the size for SPL

2016-01-14 Thread Simon Glass
Hi Eddie, On 14 January 2016 at 05:47, Eddie Cai wrote: > Hi Simon > > I think the best way to reduce SPL size is to jump back to boot rom. > Which don't require eMMC, SD card driver in SPL any more. Even clock > and pinctrl driver is not required. All we need is DDR

[U-Boot] [PATCH 34/37] rockchip: rock2: Bring in device tree files from Linux

2016-01-14 Thread Simon Glass
Bring in the current device tree files for rock2 from linux/next commit 719d6c1. Hopefully this is the latest one. Signed-off-by: Simon Glass --- arch/arm/dts/rk3288-rock2-som.dtsi | 278 +++ arch/arm/dts/rk3288-rock2-square.dts | 180

[U-Boot] [PATCH 22/37] rockchip: sdram: Tidy up a few comments

2016-01-14 Thread Simon Glass
Fix spaces in two comments in this file. Signed-off-by: Simon Glass --- arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c

[U-Boot] [PATCH 21/37] rockchip: config: Enable the 'gpio' command

2016-01-14 Thread Simon Glass
Now that we have a pretty good GPIO driver, enable the 'gpio' command on all rockchip boards. Signed-off-by: Simon Glass --- include/configs/rk3288_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h

[U-Boot] [PATCH 16/37] rockchip: video: Add a display driver for rockchip eDP

2016-01-14 Thread Simon Glass
Some Rockchip SoCs support embedded DisplayPort output. Add a display driver for this so that these displays can be used on supported boards. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-rockchip/edp_rk3288.h | 636 + drivers/video/rockchip/Makefile

[U-Boot] [PATCH 17/37] rockchip: video: Add a video-output driver

2016-01-14 Thread Simon Glass
Some rockchip SoCs include video output (VOP). Add a driver to support this. It can output via a display driver (UCLASS_DISPLAY) and currently HDMI and eDP are supported. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-rockchip/vop_rk3288.h | 349

[U-Boot] [PATCH 36/37] rockchip: Add support for Raxda Rock 2

2016-01-14 Thread Simon Glass
This board includes an RK3288 SoC on a SOM. It can be mounted on a base-board which provides a wide range of peripherals. So far this is verified to boot to a prompt from a microSD card. The serial console works as well as HDMI. Thanks to Tom Cubie for sending me a board. Signed-off-by: Simon

[U-Boot] [PATCH 30/37] rockchip: jerry: Add support for timing SPI flash speed

2016-01-14 Thread Simon Glass
Add the 'time' and 'sf test' commands so that we can test SPI flash performance. Signed-off-by: Simon Glass --- include/configs/chromebook_jerry.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/chromebook_jerry.h b/include/configs/chromebook_jerry.h

[U-Boot] [PATCH 26/37] rockchip: jerry: Fix the SDRAM timing

2016-01-14 Thread Simon Glass
There is a minor error in the SDRAM timing. It does not seem to affect anything so far. Fix it just in case. Signed-off-by: Simon Glass --- arch/arm/dts/rk3288-veyron.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3288-veyron.dtsi

Re: [U-Boot] [PATCH] powerpc/83xx: fix build failure

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 11:00:01PM +0800, Bin Meng wrote: > Hi Shengzhou, > > On Thu, Jan 14, 2016 at 6:45 PM, Shengzhou Liu > wrote: > > Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, > > which has been defined in fsl_ddr_sdram.h > > I don't see

Re: [U-Boot] [PATCH 6/9] ARM: zynq: Clean DTSI coding style

2016-01-14 Thread Sören Brinkmann
On Thu, 2016-01-14 at 02:44PM +0100, Michal Simek wrote: > From: Michal Simek > > Fix minor indentation problems. > > Signed-off-by: Michal Simek > Signed-off-by: Michal Simek Reviewed-by: Sören Brinkmann

Re: [U-Boot] [v2] mmc: fsl_esdhc: fix mmc read/write error on T4080

2016-01-14 Thread york sun
On 01/08/2016 04:23 PM, Andy Fleming wrote: > On Thu, Jan 7, 2016 at 2:50 AM, Yangbo Lu wrote: >> Fill the right command type when using CMD12 to stop data transfer. >> >> Signed-off-by: Yangbo Lu >> --- >> Changes for v2: >> - Removed fix for T4160

Re: [U-Boot] [PATCH] At start of autoboot check, flush any pending RX bytes

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 11:48:07AM -0600, Robert Nelson wrote: > On Thu, Jan 14, 2016 at 11:31 AM, Tom Rini wrote: > > > On Mon, Jan 11, 2016 at 09:59:18AM -0700, Simon Glass wrote: > > > Hi Craig, > > > > > > On 20 December 2015 at 19:07, Craig McQueen > > >

Re: [U-Boot] [PATCH] At start of autoboot check, flush any pending RX bytes

2016-01-14 Thread Robert Nelson
On Thu, Jan 14, 2016 at 11:51 AM, Tom Rini wrote: > On Thu, Jan 14, 2016 at 11:48:07AM -0600, Robert Nelson wrote: > > On Thu, Jan 14, 2016 at 11:31 AM, Tom Rini wrote: > > > > > On Mon, Jan 11, 2016 at 09:59:18AM -0700, Simon Glass wrote: > > > > Hi

Re: [U-Boot] [PATCH 06/11] imx: imx-common: introduce boot auxiliary core

2016-01-14 Thread Stefan Agner
On 2016-01-14 09:15, Tom Rini wrote: > On Wed, Jan 13, 2016 at 12:45:05PM -0800, Stefan Agner wrote: >> Hi, >> >> I would like to keep the discussion going and shed some light on the >> image format introduced here, see below... >> >> On 2016-01-07 00:38, Peng Fan wrote: >> > Hi Stefan, >> > On

Re: [U-Boot] [PATCH] ARM: Disable "DISCARD" for secure section if CONFIG_ARMV7_SECURE_BASE isn't defined

2016-01-14 Thread Tom Rini
On Mon, Jan 11, 2016 at 02:51:39AM +, Dongsheng Wang wrote: > Hi Tom, > > Sorry for my late reply, and thanks for your reply. > > How about the following comments, following your suggestion I remove some > redundant comments? > > If my understanding is wrong, please correct me, thanks: >

Re: [U-Boot] [PATCH] At start of autoboot check, flush any pending RX bytes

2016-01-14 Thread Tom Rini
On Mon, Jan 11, 2016 at 09:59:18AM -0700, Simon Glass wrote: > Hi Craig, > > On 20 December 2015 at 19:07, Craig McQueen > wrote: > > This is to avoid the boot sequence halting due to initial "junk" > > received on serial input. > > > > Signed-off-by: Craig McQueen

Re: [U-Boot] [PATCH] At start of autoboot check, flush any pending RX bytes

2016-01-14 Thread Robert Nelson
On Thu, Jan 14, 2016 at 11:31 AM, Tom Rini wrote: > On Mon, Jan 11, 2016 at 09:59:18AM -0700, Simon Glass wrote: > > Hi Craig, > > > > On 20 December 2015 at 19:07, Craig McQueen > > wrote: > > > This is to avoid the boot sequence halting due to

[U-Boot] [PATCH 1/3] vsprintf.c: Always enable CONFIG_SYS_VSNPRINTF

2016-01-14 Thread Tom Rini
Enabling this function always removes some class of string saftey issues. The size change here in general is about 400 bytes and this seems a reasonable trade-off. Cc: Peng Fan Cc: Peter Robinson Cc: Fabio Estevam Cc: Adrian

[U-Boot] [PATCH 2/3] axm/taurus: Enable tiny printf in SPL

2016-01-14 Thread Tom Rini
Both of these boards are very close to their limit and with some toolchains such as gcc 5.x are too large. Switch to tiny printf to reclaim some size. Signed-off-by: Tom Rini --- configs/axm_defconfig| 1 + configs/taurus_defconfig | 1 + 2 files changed, 2

[U-Boot] [PATCH 3/3] gunzip.c: Only include gzwrite on CONFIG_CMD_UNZIP

2016-01-14 Thread Tom Rini
Only when we have CONFIG_CMD_UNZIP enabled do we have the 'gzwrite' command. While this command should be separated from CONFIG_CMD_UNZIP we should also only include the write portion of the gz code in that case as well. Signed-off-by: Tom Rini --- lib/gunzip.c | 2 ++ 1

Re: [U-Boot] [PATCH] At start of autoboot check, flush any pending RX bytes

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 11:56:29AM -0600, Robert Nelson wrote: > On Thu, Jan 14, 2016 at 11:51 AM, Tom Rini wrote: > > > On Thu, Jan 14, 2016 at 11:48:07AM -0600, Robert Nelson wrote: > > > On Thu, Jan 14, 2016 at 11:31 AM, Tom Rini wrote: > > > > > > >

Re: [U-Boot] Please pull u-boot-marvell/master

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 02:28:20PM +0100, Stefan Roese wrote: > Hi Tom, > > please pull all the pending Marvell patches, mostly Armada > XP and 38x related. > > Thanks, > Stefan > > The following changes since commit d29892ba854f40980b84f86566cd0c2308c66afe: > > part_dos.c: Don't wrap to

Re: [U-Boot] [PATCH 06/11] imx: imx-common: introduce boot auxiliary core

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 09:54:24AM -0800, Stefan Agner wrote: > On 2016-01-14 09:15, Tom Rini wrote: > > On Wed, Jan 13, 2016 at 12:45:05PM -0800, Stefan Agner wrote: > >> Hi, > >> > >> I would like to keep the discussion going and shed some light on the > >> image format introduced here, see

Re: [U-Boot] [PATCH] mmc: fsl_esdhc: increase data transaction timeout to 500ms

2016-01-14 Thread york sun
On 12/29/2015 10:27 PM, Yangbo Lu wrote: > The MMC spec says "It is strongly recommended for hosts to implement > more than 500ms timeout value even if the card indicates the 250ms > maximum busy length." Even the previous value of 300ms is known to > be insufficient for some cards. So, increase

Re: [U-Boot] [U-Boot, PATCH 1/1] mmc: emmc and hw partitions partition table id bugfix.

2016-01-14 Thread Tom Rini
On Mon, Jan 11, 2016 at 01:39:07PM +, Erik Tideman wrote: > On bootup the emmc's hw partition is always set to 0 and the partition > table is read from it. When switching to another hw partition the > partition table's id is not updated but instead the old one from > hw partition 0 is

Re: [U-Boot] [PATCH 6/9] ARM: zynq: Clean DTSI coding style

2016-01-14 Thread Moritz Fischer
On Thu, Jan 14, 2016 at 7:48 AM, Sören Brinkmann wrote: > On Thu, 2016-01-14 at 02:44PM +0100, Michal Simek wrote: >> From: Michal Simek >> >> Fix minor indentation problems. >> >> Signed-off-by: Michal Simek >> Signed-off-by:

Re: [U-Boot] [v2] mmc: fsl_esdhc: fix mmc read/write error on T4080

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 05:51:32PM +, york sun wrote: > On 01/08/2016 04:23 PM, Andy Fleming wrote: > > On Thu, Jan 7, 2016 at 2:50 AM, Yangbo Lu wrote: > >> Fill the right command type when using CMD12 to stop data transfer. > >> > >> Signed-off-by: Yangbo Lu

Re: [U-Boot] [PATCH 7/8] serial: lpuart: Add driver model serial support

2016-01-14 Thread Bhuvanchandra DV
On 01/14/2016 07:54 AM, Bin Meng wrote: Hi Stefan, On Thu, Jan 14, 2016 at 3:20 AM, Stefan Agner wrote: On 2016-01-13 00:19, Bin Meng wrote: +Simon Hi Bhuvan, On Wed, Jan 13, 2016 at 4:07 PM, Bhuvanchandra DV wrote: Hi Bin, On 01/13/2016

Re: [U-Boot] [PATCH v3 11/14] board: add SDHCI support for PIC32MZDASK board.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:26 PM, Tom Rini wrote: > On Tue, Jan 12, 2016 at 03:48:26PM +0530, Purna Chandra Mandal wrote: > >> Enable MMC, SDHCI, FAT FS, EXT4 FS support for PIC32MZ[DA] StarterKit. >> Also add custom scripts, rules to boot Linux from microSD card. >> >> Signed-off-by: Purna Chandra Mandal

[U-Boot] [PATCH v4 2/2] usb: eth: add Realtek RTL8152B/RTL8153 DRIVER

2016-01-14 Thread Ted Chen
This patch adds driver support for the Realtek RTL8152B/RTL8153 USB network adapters. Signed-off-by: Ted Chen [swarren, fixed a few compiler warnings] [swarren, with permission, converted license header to SPDX] [swarren, removed printf() spew during probe()] Signed-off-by: Stephen Warren ---

Re: [U-Boot] [PATCH v2 7/9] serial: lpuart: Add driver model serial support

2016-01-14 Thread Bhuvanchandra DV
On 01/14/2016 09:09 AM, Bin Meng wrote: This adds driver model support to lpuart serial driver. Tested on Toradex Colibri VF50/VF61 h/w with legacy and DT, works fine as expected. Signed-off-by: Bin Meng Acked-by: Bhuvanchandra DV also

Re: [U-Boot] [PATCH v3 09/14] board: Add Microchip PIC32MZ[DA]-Starter-Kit board.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:33 PM, Daniel Schwierzeck wrote: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: >> This adds support for Microchip PIC32MZ[DA] StarterKit board >> based on a PIC32MZ[DA] family of microcontroller. >> >> Signed-off-by: Purna Chandra Mandal

[U-Boot] [GIT PULL] Microblaze changes

2016-01-14 Thread Michal Simek
Hi Tom, here are microblaze patches for moving stuff to DM. This is the patch series which we postpone to next release. Buildman doesn't show any problems for mb, zynq_zc702 and zynqmp. Thanks, Michal The following changes since commit d29892ba854f40980b84f86566cd0c2308c66afe: part_dos.c:

Re: [U-Boot] [PATCH 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-14 Thread Masahiro Yamada
Hi Simon, > @@ -12,6 +12,8 @@ > #include > #include > > +DECLARE_GLOBAL_DATA_PTR; > + > ulong clk_get_rate(struct udevice *dev) > { > struct clk_ops *ops = clk_get_ops(dev); > @@ -62,6 +64,32 @@ int clk_get_id(struct udevice *dev, int args_count, > uint32_t *args) >

Re: [U-Boot] [PATCH v3 05/14] drivers: gpio: add driver for Microchip PIC32 GPIO controller.

2016-01-14 Thread Purna Chandra Mandal
On 01/14/2016 01:40 AM, Simon Glass wrote: > Hi Puma, > > On 12 January 2016 at 03:18, Purna Chandra Mandal > wrote: >> In PIC32 GPIO controller is part of PIC32 pin controller. >> PIC32 has ten independently programmable ports and each with multiple pins. >> Each of

Re: [U-Boot] [PATCH v3 13/14] drivers: net: Add ethernet driver for Microchip PIC32.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 09:07 PM, Daniel Schwierzeck wrote: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: >> This driver implements MAC and MII layer of the ethernet controller. >> Network data transfer is handled by controller internal DMA engine. >> Ethernet controller is

Re: [U-Boot] [PATCH v3 13/14] drivers: net: Add ethernet driver for Microchip PIC32.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:26 PM, Tom Rini wrote: > On Tue, Jan 12, 2016 at 03:48:28PM +0530, Purna Chandra Mandal wrote: > >> This driver implements MAC and MII layer of the ethernet controller. >> Network data transfer is handled by controller internal DMA engine. >> Ethernet controller is configurable

Re: [U-Boot] [PATCH v3 10/14] drivers: mmc: add driver for Microchip PIC32 SDHCI controller.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:45 PM, Daniel Schwierzeck wrote: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: >> From: Andrei Pistirica >> >> This driver implements platform specific glue and fixups for >> PIC32 internal SDHCI controller. >> >>

Re: [U-Boot] [PATCH 2/2] clk: change the type of return value to long

2016-01-14 Thread Masahiro Yamada
2016-01-14 5:10 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 12 January 2016 at 00:40, Masahiro Yamada > wrote: >> The comments in include/clk.h state "or -ve error code" for these >> functions, and actually the functions return negative error

[U-Boot] [PATCH 1/2] i2c: mvtwsi: Fix mvtwsi not working on sun6i and newer sunxi SoCs

2016-01-14 Thread Hans de Goede
On sun6i and newer IFLG is a write-clear bit which is cleared by writing 1, rather then a normal r/w bit which is cleared by writing 0. Signed-off-by: Hans de Goede --- drivers/i2c/mvtwsi.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH 2/2] sunxi: Add support for the I2C controller which is part of the PRCM

2016-01-14 Thread Hans de Goede
From: Jelle van der Waa Signed-off-by: Jelle van der Waa [hdego...@redhat.com: Minor cleanups] Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/clock_sun6i.c | 10 ++ arch/arm/cpu/armv7/sunxi/prcm.c | 12

Re: [U-Boot] [PATCH] MAINTAINERS: Update Marvell custodianship

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 05:05:11AM +0100, Stefan Roese wrote: > Add myself as custodian for the Marvell git repository. Additionally, > add the mach-mvebu directory to the list of files / directories. And > add Armada XP & Armada 38x to the title (not only kirkwood). > > Signed-off-by: Stefan

Re: [U-Boot] Pull request: u-boot-net

2016-01-14 Thread Tom Rini
On Wed, Jan 13, 2016 at 02:58:41PM -0600, Joe Hershberger wrote: > Hi Tom, > > On Thu, Jan 7, 2016 at 10:29 AM, Tom Rini wrote: > > On Thu, Jan 07, 2016 at 10:49:51AM +0800, Bin Meng wrote: > >> On Tue, Jan 5, 2016 at 9:18 PM, Tom Rini wrote: > >> > On

Re: [U-Boot] lpc32xx: devkit3250: update board configuration file

2016-01-14 Thread Tom Rini
On Sat, Dec 19, 2015 at 11:41:23PM +0200, Vladimir Zapolskiy wrote: > The change updates DevKit3250 board powerd by NXP LPC3250 SoC: > * due to increased resulting U-boot image size give more space to > store loaded and relocated versions, > * add DMA support, which is used by NAND SLC driver,

Re: [U-Boot] [U-Boot, V2] common: cli_simple: use strlcpy instead of strcpy

2016-01-14 Thread Tom Rini
On Sun, Jan 10, 2016 at 01:01:22PM +0800, Peng Fan wrote: > Report Coverity log: > Destination buffer too small (STRING_OVERFLOW) > string_overflow: You might overrun the 1024 byte destination string > lastcommand by writing 1025 bytes from console_buffer > > Signed-off-by: Peng Fan

Re: [U-Boot] [U-Boot,v2,resend] cmd_boot: Add a poweroff command

2016-01-14 Thread Tom Rini
On Wed, Jan 13, 2016 at 07:31:17PM +0100, Hans de Goede wrote: > From: Michael van Slingerland > > Add a 'poweroff' command to boot commands, this only gets enabled if the > board Kconfig does a "select CMD_POWEROFF". > > Signed-off-by: Michael van Slingerland

Re: [U-Boot] common: env_flags: fix loop condition when using env_flags_varaccess_mask

2016-01-14 Thread Tom Rini
On Tue, Jan 12, 2016 at 05:23:12PM +0800, Peng Fan wrote: > From: Peng Fan > > We should use ARRAY_SIZE, but not sizeof. The size of > env_flags_varaccess_mask is 16bytes, but we only need 4 loops. > If using 16 as the end condition, we may access memory that > not belong to

Re: [U-Boot] [GIT PULL] Microblaze changes

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 09:51:32AM +0100, Michal Simek wrote: > Hi Tom, > > here are microblaze patches for moving stuff to DM. This is the patch > series which we postpone to next release. Buildman doesn't show any > problems for mb, zynq_zc702 and zynqmp. It breaks xilinx-ppc440-generic at

Re: [U-Boot] [U-Boot, 2/3] ti_armv7_common.h: Add CONFIG_CMD_EXT4_WRITE

2016-01-14 Thread Tom Rini
On Thu, Dec 10, 2015 at 04:46:02PM -0500, Tom Rini wrote: > Given that with config_distro_defaults.h we always have ext4 read > support, add in write support. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, 3/3] omap4_panda: Convert to config_distro_bootcmd.h

2016-01-14 Thread Tom Rini
On Thu, Dec 10, 2015 at 04:46:03PM -0500, Tom Rini wrote: > Based on the am335x_evm conversion, switch to config_distro_bootcmd for > mmc and pxe. Tested with Fedora 23. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] test/fs: error case fixes/enhancements

2016-01-14 Thread Tom Rini
On Mon, Dec 14, 2015 at 03:01:15PM -0700, Stephen Warren wrote: > From: Stephen Warren > > - Use "mkdir -p" to avoid errors when intermediate directories are > missing. > - Fall back to "dd" when "fallocate" fails. For example, fallocate isn't > supported on ext4. > -

[U-Boot] Please pull u-boot-marvell/master

2016-01-14 Thread Stefan Roese
Hi Tom, please pull all the pending Marvell patches, mostly Armada XP and 38x related. Thanks, Stefan The following changes since commit d29892ba854f40980b84f86566cd0c2308c66afe: part_dos.c: Don't wrap to negative after 2G sectors (2016-01-13 16:33:20 -0500) are available in the git

[U-Boot] [PATCH] powerpc/83xx: fix build failure

2016-01-14 Thread Shengzhou Liu
Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, which has been defined in fsl_ddr_sdram.h Signed-off-by: Shengzhou Liu --- include/mpc83xx.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/mpc83xx.h b/include/mpc83xx.h index a6d721a..b5a0bbf

Re: [U-Boot] [PATCH] MAINTAINERS: Update Marvell custodianship

2016-01-14 Thread Prafulla Wadaskar
Acked-by: Prafulla Wadaskar Original Message- From: Luka Perkov [mailto:luka.per...@sartura.hr] Sent: Thursday, January 14, 2016 3:55 PM To: Stefan Roese Cc: u-boot@lists.denx.de; Prafulla Wadaskar; Tom Rini Subject: Re: [PATCH] MAINTAINERS: Update Marvell

Re: [U-Boot] [PATCH] MAINTAINERS: Update Marvell custodianship

2016-01-14 Thread Luka Perkov
On Thu, Jan 14, 2016 at 05:05:11AM +0100, Stefan Roese wrote: > Add myself as custodian for the Marvell git repository. Additionally, > add the mach-mvebu directory to the list of files / directories. And > add Armada XP & Armada 38x to the title (not only kirkwood). Acked-by: Luka Perkov

Re: [U-Boot] [PATCH] MAINTAINERS: Update Marvell custodianship

2016-01-14 Thread Stefan Roese
On 14.01.2016 14:14, Tom Rini wrote: On Thu, Jan 14, 2016 at 05:05:11AM +0100, Stefan Roese wrote: Add myself as custodian for the Marvell git repository. Additionally, add the mach-mvebu directory to the list of files / directories. And add Armada XP & Armada 38x to the title (not only

Re: [U-Boot] [GIT PULL] SPL_DM_SEQ_ALIAS changes

2016-01-14 Thread Tom Rini
On Wed, Jan 13, 2016 at 07:47:11PM +0100, Michal Simek wrote: > Hi Tom, > > please pull these 4 patches to your tree. Socfpga changes were Acked-by > Marek and mvebu by Stefan. > > Thanks, > Michal > > The following changes since commit fa85e826c16b9ce1ad302a57e9c4b24db0d8b930: > > Prepare

Re: [U-Boot] [U-Boot, v7, 1/2] Fix board init code to respect the C runtime environment

2016-01-14 Thread Tom Rini
On Wed, Nov 25, 2015 at 05:56:32PM +0100, Albert ARIBAUD wrote: > board_init_f_mem() alters the C runtime environment's > stack it is actually already using. This is not a valid > behaviour within a C runtime environment. > > Split board_init_f_mem into C functions which do not alter > their own

Re: [U-Boot] hash.c: Conditionally compile hash_command, static hash_show

2016-01-14 Thread Tom Rini
On Tue, Jan 05, 2016 at 08:50:01AM -0500, Tom Rini wrote: > The function hash_show is now only called by hash_command, so mark it as > static (and drop from hash.h). We only call hash_command when any of > CONFIG_CMD_CRC32, CONFIG_CMD_SHA1SUM or CONFIG_CMD_HASH are set. Since > hash.c is linked

Re: [U-Boot] [U-Boot, v2, 1/3] serial: lpc32xx hsuart: port driver to driver model

2016-01-14 Thread Tom Rini
On Sat, Dec 19, 2015 at 11:29:24PM +0200, Vladimir Zapolskiy wrote: > The change ports NXP LPC32xx 14-clock UART device driver to driver > model. > > Signed-off-by: Vladimir Zapolskiy > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2, 3/3] arm: lpc32xx: switch SPL builds to driver model

2016-01-14 Thread Tom Rini
On Sat, Dec 19, 2015 at 11:29:26PM +0200, Vladimir Zapolskiy wrote: > For NXP LPC32xx boards the change enables SPL_DM option, this allows > to use any driver model UART driver in SPL images, hence a restriction > on HSUART in SPL image is removed and well as definitions for non-DM > NS16550

Re: [U-Boot] net: lpc32xx: fix ignored MDIO busy wait status on read

2016-01-14 Thread Tom Rini
On Sun, Dec 27, 2015 at 05:12:24AM +0200, Vladimir Zapolskiy wrote: > The change fixes PHY write operation, which incorrectly waits for > released busy state before issuing a write operation, this breaks > sequential write/read operation logic, because read operation > starts immediately on

Re: [U-Boot] [U-Boot,2/2] sniper: Mux configuration cleanup

2016-01-14 Thread Tom Rini
On Wed, Dec 23, 2015 at 11:28:30AM +0100, Paul Kocialkowski wrote: > This cleans up the mux configuration a bit, setting mmc clock signals to input > enabled and specifying pull-down (0) when pull is not used. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master,

Re: [U-Boot] [U-Boot, 1/2] sniper: Various boot-related env settings, devicetree support

2016-01-14 Thread Tom Rini
On Wed, Dec 23, 2015 at 11:28:29AM +0100, Paul Kocialkowski wrote: > This adds various env settings for more flexible boot possibilities, including > devicetree support and distro defaults config. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2, 2/3] arm: lpc32xx: switch serial console to driver model

2016-01-14 Thread Tom Rini
On Sat, Dec 19, 2015 at 11:29:25PM +0200, Vladimir Zapolskiy wrote: > On NXP LPC32xx platform for non-SPL builds the change adds > standard (NS16550) and high-speed UARTs to driver model. > Due to specific of DM NS16550 device description UART clock can not be > got in runtime and by default it

Re: [U-Boot] [PATCH v3 03/14] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 11:34:27AM +0530, Purna Chandra Mandal wrote: > On 01/13/2016 08:25 PM, Tom Rini wrote: > > > On Tue, Jan 12, 2016 at 03:48:18PM +0530, Purna Chandra Mandal wrote: > > > >> PIC32 clock module consists of multiple oscillators, PLLs, mutiplexers > >> and dividers capable of

Re: [U-Boot] [U-Boot,2/3] mmc: store hwpart in the block device

2016-01-14 Thread Tom Rini
On Mon, Dec 07, 2015 at 11:38:49AM -0700, Stephen Warren wrote: > From: Stephen Warren > > This will allow us to have multiple block device structs each referring > to the same eMMC device, yet different HW partitions. > > For now, there is still a single block device per

Re: [U-Boot] [U-Boot, 1/3] block: pass block dev not num to read/write/erase()

2016-01-14 Thread Tom Rini
On Mon, Dec 07, 2015 at 11:38:48AM -0700, Stephen Warren wrote: > From: Stephen Warren > > This will allow the implementation to make use of data in the block_dev > structure beyond the base device number. This will be useful so that eMMC > block devices can encompass the HW

Re: [U-Boot] [U-Boot,1/3] am335x_evm.h: unsed CONFIG_BOOTDELAY

2016-01-14 Thread Tom Rini
On Thu, Dec 10, 2015 at 04:46:01PM -0500, Tom Rini wrote: > Now that ti_armv7_common.h uses config_distro_defaults.h we don't need > to include it again and then undef CONFIG_BOOTDELAY > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] Re-enable setexpr on Raspberry Pi

2016-01-14 Thread Tom Rini
On Sun, Nov 29, 2015 at 07:30:42PM +0100, Marco Schuster wrote: > This patch re-enables the setexpr command, I don't really understand > why it got excluded in the first place. > > setexpr can be used e.g. to implement failed-boot-counters and > failovers to rescue firmware. > > >

Re: [U-Boot] [U-Boot, v7, 2/2] arm: move gd handling outside of C code

2016-01-14 Thread Tom Rini
On Wed, Nov 25, 2015 at 05:56:33PM +0100, Albert ARIBAUD wrote: > As of gcc 5.2.1 for Thumb-1, it is not possible any > more to assign gd from C code, as gd is mapped to r9, > and r9 may now be saved in the prolog sequence, and > restored in the epilog sequence, of any C functions. > > Therefore

Re: [U-Boot] [U-Boot,3/3] ums: support multiple LUNs at once

2016-01-14 Thread Tom Rini
On Mon, Dec 07, 2015 at 11:38:50AM -0700, Stephen Warren wrote: > From: Stephen Warren > > Extend the ums command to accept a list of block devices. Each of these > will be exported as a separate LUN. An example use-case would be: > > ums 0 mmc 0,0.1,0.2 > > ... which

Re: [U-Boot] ext4_common.c: Clean up failure cases in alloc_triple_indirect_block

2016-01-14 Thread Tom Rini
On Thu, Dec 10, 2015 at 04:42:21PM -0500, Tom Rini wrote: > As noted by Coverity, when we have an error in > alloc_triple_indirect_block we will leak ti_pbuff_start_addr as it's not > being freed. Further inspection here shows that we could also leak > ti_cbuff_start_addr in one corner case so

[U-Boot] [PATCH 2/2] mmc: zynq_sdhci: Added qurik to disable high speed

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Add quirk to disable high speed incase the high speed was broken.This solves the issue where the the controller is used in High Speed Mode and the the hold time requirement for the JEDEC/MMC 4.41 specification is NOT met. This

[U-Boot] [PATCH 3/9] ARM: zynq: Define sys prompt for all Zynq boards

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Define CONFIG_SYS_PROMPT for all Zynq boards It was removed by: "kconfig: add config option for shell prompt" (sha1: 181bd9dc61d2da88b78f1c1138a685dae39354d6) Signed-off-by: Siva Durga Prasad Paladugu

[U-Boot] [PATCH 1/9] ARM: zynq: Remove memory division by 2 for ECC case

2016-01-14 Thread Michal Simek
For ECC case u-boot divided memory by 2 because one u-boot could be used for both cases when ECC is off or on. Remove this division and make sure that dts file contain the correct memory size when ECC is enabled. Signed-off-by: Michal Simek ---

[U-Boot] [PATCH 06/23] ARM64: zynqmp: Correct the watchdog timer interrupt number

2016-01-14 Thread Michal Simek
From: Punnaiah Choudary Kalluri Corrected the watchdog timer interrupt number. Origin value was for CSUPMU watchdog. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Michal Simek ---

[U-Boot] [PATCH 09/23] ARM64: zynqmp: Add support for SD1 boot mode

2016-01-14 Thread Michal Simek
SD1 boot mode is using different bootmode values. Add support for this mode used on DC1. Signed-off-by: Michal Simek --- arch/arm/include/asm/arch-zynqmp/hardware.h | 3 ++- board/xilinx/zynqmp/zynqmp.c| 6 ++ 2 files changed, 8 insertions(+), 1

[U-Boot] [PATCH 07/23] ARM64: zynqmp: DT: Fix UART compatible string

2016-01-14 Thread Michal Simek
From: Soren Brinkmann ZynqMP has r1p12 not r1p8. r1p12 contains break detection support. Signed-off-by: Soren Brinkmann Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH 08/23] ARM64: zynqmp: Modify the SD and QSPI bootmode values

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Modify the SD bootmode value to 0x3 as per latest spec. Also add new boot mode QSPI 32 bit boot mode Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek ---

[U-Boot] [PATCH 16/23] ARM64: zynqmp: Setup correct COUNTER_FREQUENCY for silicon

2016-01-14 Thread Michal Simek
When U-Boot runs from EL3 system timer is setup based on this macro. Software default freq for silicon is 100MHz but enable opton to rewrite it. Emulation platform is using 4MHz. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h| 4 +++-

[U-Boot] [PATCH 23/23] ARM64: zynqmp: Define auto negotiation timeout

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Define auto negotiation timeout as 20secs the default 4secs might not be sufficient always and hence defined for worst case. It is observed that autoneg takes moretime if connected to outside network and hence increase it to

[U-Boot] [PATCH 2/2] powerpc/SECURE_BOOT: Add PAMU driver

2016-01-14 Thread Aneesh Bansal
PAMU driver basic support for usage in Secure Boot. In secure boot PAMU is not in bypass mode. Hence to use any peripheral (SEC Job ring in our case), PAMU has to be configured. The Header file pamu.h and few functions in driver have been derived from Freescale Libos. Signed-off-by: Ruchika

[U-Boot] [PATCH] ls2-2085ardb: Correct the model name of ls2085ardb

2016-01-14 Thread Ashish Kumar
From: Ashish Kumar Signed-off-by: Ashish Kumar --- arch/arm/dts/fsl-ls2080a-rdb.dts |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/dts/fsl-ls2080a-rdb.dts b/arch/arm/dts/fsl-ls2080a-rdb.dts index

[U-Boot] [PATCH] ls2-2085ardb: Correct the model name of ls2085ardb

2016-01-14 Thread y
From: Ashish Kumar Signed-off-by: Ashish Kumar --- arch/arm/dts/fsl-ls2080a-rdb.dts |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/dts/fsl-ls2080a-rdb.dts b/arch/arm/dts/fsl-ls2080a-rdb.dts index

Re: [U-Boot] [PATCH v3 13/14] drivers: net: Add ethernet driver for Microchip PIC32.

2016-01-14 Thread Daniel Schwierzeck
Am Donnerstag, den 14.01.2016, 15:35 +0530 schrieb Purna Chandra Mandal: > On 01/13/2016 09:07 PM, Daniel Schwierzeck wrote: > > > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra > > Mandal: > > > This driver implements MAC and MII layer of the ethernet > > > controller. > > >

[U-Boot] [PATCH] net: phy: ti: Enable automatic crossover mode

2016-01-14 Thread Michal Simek
Enable automatic crossover cable detection. Signed-off-by: Michal Simek --- drivers/net/phy/ti.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/phy/ti.c b/drivers/net/phy/ti.c index 541a57f98028..c3912d52f320 100644 --- a/drivers/net/phy/ti.c +++

[U-Boot] [PATCH] sdhci: zynq: Remove hardcoded value zero as min frequency

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Remove hardcoded value zero as min frequency and use config option CONFIG_ZYNQ_SDHCI_MIN_FREQ defined in board config Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek

  1   2   3   4   >