Re: [U-Boot] [PATCH V1] Add support of ls1021a-iot

2016-10-28 Thread Feng Li
Hi York/Alison, I have already sent patch to upstream at 10/13/2016. And the u-boot have too many changes now. Do you means that I will git the latest u-boot and repatch/ review/upstream it again ? > -Original Message- > From: Alison Wang > Sent: Thursday, October 27, 2016 3:43 PM > To:

[U-Boot] [PATCH 2/2][v2] armv8: ls1046aqds: add lpuart support

2016-10-28 Thread shh.xie
From: Shaohui Xie LPUART0 is used by default, and it's using platform clock. Signed-off-by: Shaohui Xie --- changes in v2: 1. dropped CONFIG_LPUART_CLK. 2. uses CONFIG_SYS_FSL_DDR4 in defconfig. arch/arm/dts/Makefile | 1 + arch/arm/dts/fsl-ls1046a-qds-lpuart.dts | 16 +

[U-Boot] [PATCH 1/2][v2] lpuart: add a get_lpuart_clk function

2016-10-28 Thread shh.xie
From: Shaohui Xie It's not always true that LPUART clock is CONFIG_SYS_CLK_FREQ, this patch provides a weak function get_lpuart_clk, so that the clock can be ovreride on a specific board which uses different clock for LPUART. Signed-off-by: Shaohui Xie --- changes in v2: none. drivers/serial/

Re: [U-Boot] [PATCH 01/11] sunxi: DRAM initialisation for sun9i

2016-10-28 Thread Jagan Teki
On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: > From: Philipp Tomsich > > This adds DRAM initialisation code for sun9i, which calculates the > appropriate timings based on timing information for the supplied > DDR3 bin and the clock speeds used. > > With this DRAM setup, we have verified D

Re: [U-Boot] [PATCH v3 2/2] image: Protect against overflow in unknown_msg()

2016-10-28 Thread Tom Rini
On Thu, Oct 27, 2016 at 08:18:39PM -0600, Simon Glass wrote: > Coverity complains that this can overflow. If we later increase the size > of one of the strings in the table, it could happen. > > Adjust the code to protect against this. > > Signed-off-by: Simon Glass > Reported-by: Coverity (CID:

Re: [U-Boot] [Resend RFC PATCH 1/2] armv8: Fix dcache disable function

2016-10-28 Thread york sun
On 10/26/2016 02:02 PM, york@nxp.com wrote: > > I came back from my testing and I have more questions than answers. > > For _this_ patch, I proposed to flush cache before disabling them, > noting once the dcache is disabled, the staled data in dirty cache is > not visible to the core. My argume

Re: [U-Boot] [PATCH v3 2/2] image: Protect against overflow in unknown_msg()

2016-10-28 Thread Simon Glass
Hi Tom, On 28 October 2016 at 11:59, Tom Rini wrote: > On Thu, Oct 27, 2016 at 08:18:39PM -0600, Simon Glass wrote: >> Coverity complains that this can overflow. If we later increase the size >> of one of the strings in the table, it could happen. >> >> Adjust the code to protect against this. >>

Re: [U-Boot] [PATCH v3 2/2] image: Protect against overflow in unknown_msg()

2016-10-28 Thread Tom Rini
On Fri, Oct 28, 2016 at 12:41:05PM -0700, Simon Glass wrote: > Hi Tom, > > On 28 October 2016 at 11:59, Tom Rini wrote: > > On Thu, Oct 27, 2016 at 08:18:39PM -0600, Simon Glass wrote: > >> Coverity complains that this can overflow. If we later increase the size > >> of one of the strings in the

[U-Boot] [PATCH 2/4] serial: pxa: integrate optional driver model handling

2016-10-28 Thread Marcel Ziswiler
Optional driver model handling integration. Signed-off-by: Marcel Ziswiler --- drivers/serial/serial_pxa.c | 181 ++ include/dm/platform_data/serial_pxa.h | 56 +++ 2 files changed, 174 insertions(+), 63 deletions(-) create mode 100644 include

[U-Boot] [PATCH 4/4] colibri_pxa270: transition to driver model for serial

2016-10-28 Thread Marcel Ziswiler
Add serial platform data to board file. Enable driver model for PXA serial driver. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri_pxa270/colibri_pxa270.c | 18 -- configs/colibri_pxa270_defconfig | 2 ++ include/configs/colibri_pxa270.h | 2

[U-Boot] [PATCH 0/4] serial: pxa: kconfig and optional driver model integration

2016-10-28 Thread Marcel Ziswiler
This series integrates both Kconfig as well as optional driver model support for the PXA serial driver. As I do not have any of the other hardware available for testing for now I only transitioned the Colibri PXA270 to actually make use of DM_SERIAL. As space on this mostly NOR based hardware is r

[U-Boot] [PATCH 3/4] colibri_pxa270: drop lzma support for space reason

2016-10-28 Thread Marcel Ziswiler
As the upcoming driver model integration takes up some more precious flash space first make sure to drop expensive LZMA support. Signed-off-by: Marcel Ziswiler --- include/configs/colibri_pxa270.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/colibri_pxa270.h b/include/conf

[U-Boot] [PATCH 1/4] serial: pxa: use kconfig for serial configuration

2016-10-28 Thread Marcel Ziswiler
Migrate the PXA serial driver to be configured via Kconfig. Signed-off-by: Marcel Ziswiler --- configs/colibri_pxa270_defconfig | 1 + configs/h2200_defconfig | 1 + configs/zipitz2_defconfig| 1 + drivers/serial/Kconfig | 6 ++ include/configs/colibri_pxa270.h |

Re: [U-Boot] [PATCH 2/4] serial: pxa: integrate optional driver model handling

2016-10-28 Thread Marek Vasut
On 10/28/2016 10:50 PM, Marcel Ziswiler wrote: > Optional driver model handling integration. > > Signed-off-by: Marcel Ziswiler > --- > > drivers/serial/serial_pxa.c | 181 > ++ > include/dm/platform_data/serial_pxa.h | 56 +++ > 2 files chang

Re: [U-Boot] [U-Boot, v11] dm: at91: Add driver model support for the spi driver

2016-10-28 Thread Andreas Bießmann
Hi Jagan, On 28.10.16 20:07, Jagan Teki wrote: > On Fri, Oct 28, 2016 at 10:19 PM, Andreas Bießmann > wrote: >> Dear Wenyou Yang, >> >> Wenyou Yang writes: >>> Add driver model support while retaining the existing legacy code. >>> This allows the driver to support boards that have converted to >

Re: [U-Boot] [Resend RFC PATCH 1/2] armv8: Fix dcache disable function

2016-10-28 Thread york sun
On 10/28/2016 11:32 AM, Stephen Warren wrote: > On 10/28/2016 12:17 PM, york sun wrote: >> On 10/28/2016 10:57 AM, Stephen Warren wrote: >>> On 10/28/2016 11:38 AM, york sun wrote: On 10/26/2016 02:02 PM, york@nxp.com wrote: > > I came back from my testing and I have more questions

Re: [U-Boot] [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-28 Thread Chen-Yu Tsai
On Sat, Oct 29, 2016 at 1:30 AM, Hans de Goede wrote: > Hi Chen-Yu, > > On 28-10-16 12:21, Chen-Yu Tsai wrote: >> >> Hi everyone, >> >> This series adds full SPL with DRAM initialization for sun9i (A80). >> The bulk of the work was done by the people at Theobroma Systems. >> Their work can be foun

[U-Boot] [PATCH] cmd: crosec: Move crosec_decode_region helper to cmd/cros_ec.c

2016-10-28 Thread Moritz Fischer
The cros_ec_decode_region() function is only used in combination with the crosec cmds. Move the function to the correct place. Signed-off-by: Moritz Fischer Cc: Simon Glass Cc: Masahiro Yamada Cc: u-boot@lists.denx.de --- cmd/cros_ec.c | 16 drivers/misc/cros_ec.c | 1

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

2016-10-28 Thread Tom Rini
On Fri, Oct 28, 2016 at 11:47:18AM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could you these patches on u-boot/master? > > The following changes since commit b03380805b5a184b7017dc428a53c8e1e9c9f99c: > > i2c: designware: Avoid overwriting the cmd_data register (2016-10-24 > 18:15:47 +0200)

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

2016-10-28 Thread Tom Rini
On Fri, Oct 28, 2016 at 04:44:35PM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > There are two major patchsets in this PR: > > - plugin support from Peng > - Jagan's support for Engicam i.CoreM6 , with several > move to Kconfig. > > > The following chan

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

2016-10-28 Thread Tom Rini
On Fri, Oct 28, 2016 at 07:05:42PM +0200, Andreas Bießmann wrote: > Hi Tom, > > please pull the following changes into u-boot/master for 2016.11. > > One of the patches introduce a build warning (-Wunused-function) which is > removed with the following patch. This is due to introducing the new f

<    1   2