Re: [U-Boot] [PATCHv2] net: zynq_gem: Do not return -ENOSYS on success

2017-04-05 Thread Michal Simek
On 3.4.2017 16:18, Olliver Schinagl wrote: > The .read_rom_hwaddr net_ops hook does not check the return value, which > is why it was never caught that we are currently returning 0 if the > read_rom_hwaddr function return -ENOSYS and -ENOSYS otherwise. > > In this case we can simplify this by

[U-Boot] [PATCH] nxp/ls2088ardb: Add QSPI-boot support

2017-04-05 Thread Priyanka Jain
Signed-off-by: Priyanka Jain Signed-off-by: Suresh Gupta --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig |1 + arch/arm/dts/fsl-ls2080a-rdb.dts | 22 +++ board/freescale/ls2080ardb/ls2080ardb.c | 23 +++-

Re: [U-Boot] [PATCH] usb: dwc3: gadget: make cache-maintenance on event buffers more robust

2017-04-05 Thread Felipe Balbi
Hi, Marek Vasut writes: >> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c >> index b2c7eb1..f58c7ba 100644 >> --- a/drivers/usb/dwc3/core.c >> +++ b/drivers/usb/dwc3/core.c >> @@ -125,6 +125,8 @@ static struct dwc3_event_buffer >>

Re: [U-Boot] [EXT] Re: [PATCH 1/7] scsi: move base, max_lun and max_id to uclass plat data

2017-04-05 Thread Ken Ma
Hi Simon Please see my inline reply, thanks a lot! -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: 2017年4月1日 12:22 To: Ken Ma Cc: U-Boot Mailing List; Stefan Roese; Michal Simek Subject: [EXT] Re: [PATCH 1/7] scsi: move base, max_lun and

Re: [U-Boot] [PATCH] usb: dwc3: gadget: make cache-maintenance on event buffers more robust

2017-04-05 Thread Felipe Balbi
Hi, Marek Vasut writes: Merely using dma_alloc_coherent does not ensure that there is no stale data left in the caches for the allocated DMA buffer (i.e. that the affected cacheline may still be dirty). The original code was doing the following (on

Re: [U-Boot] [PATCH] usb: dwc3: gadget: make cache-maintenance on event buffers more robust

2017-04-05 Thread Dr. Philipp Tomsich
Felipe, > On 05 Apr 2017, at 10:18, Felipe Balbi wrote: > >>> Good point on the “long”, especially as I just copied this from other >>> occurences and it’s consistently wrong throughout DWC3 in U-Boot: >> >> Hrm, I thought the driver was ported over from Linux,

Re: [U-Boot] [PATCH 0/7] Enable MIPI dsi display for rk3399

2017-04-05 Thread Kever Yang
Hi Eric, 1. Please use full name in you signature; 2. add commit message for all your commits; 3. add 'rockchip' and module name for all your patches. 4. 'From: ' in not need for patch from yourself. Thanks, - Kever On 04/01/2017 10:42 PM, eric@rock-chips.com wrote: From: "eric.gao"

Re: [U-Boot] [PATCH v3] spl: add support to booting with ATF

2017-04-05 Thread Dan Handley
Hi > -Original Message- > From: Masahiro Yamada [mailto:yamada.masah...@socionext.com] > Sent: 05 April 2017 06:36 > > 2017-04-05 14:05 GMT+09:00 Kever Yang : > > SPL is considered as BL2 in ATF terminology, it needs to load other > > parts of ATF binary like

Re: [U-Boot] [EXT] Re: [PATCH 3/7] scsi: call children devices' probe functions automatically

2017-04-05 Thread Ken Ma
Hi Simon Please see my inline reply, thanks a lot! Yours, Ken -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: 2017年4月1日 12:22 To: Ken Ma Cc: U-Boot Mailing List; Stefan Roese; Michal Simek Subject: [EXT] Re: [PATCH 3/7] scsi: call

[U-Boot] [PATCH] armv8: ls2080a: Add serdes2 protocol 0x51 support

2017-04-05 Thread Santan Kumar
Signed-off-by: Santan Kumar Signed-off-by: Priyanka Jain --- arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls2080a_serdes.c

Re: [U-Boot] [EXT] Re: [PATCH 7/7] scsi: dts: a3700: add scsi node

2017-04-05 Thread Ken Ma
Hi Stefan, Hi Simon Please see my inline reply, thanks! Yours, Ken -Original Message- From: Stefan Roese [mailto:s...@denx.de] Sent: 2017年4月3日 14:14 To: Simon Glass; Ken Ma Cc: u-boot@lists.denx.de; Michal Simek; Kostya Porotchkin; Hua Jing; Wilson Ding Subject: Re: [EXT] Re: [PATCH

[U-Boot] [PATCH v4 03/19] arm: socfpga: Restructure system manager

2017-04-05 Thread Ley Foon Tan
Restructure system manager in the preparation to support A10. No functional change. Change uint32_t to u32. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 5 +- .../arm/mach-socfpga/include/mach/system_manager.h | 128

[U-Boot] [PATCH v4 08/19] arm: socfpga: Add system manager for Arria 10

2017-04-05 Thread Ley Foon Tan
Add system manager register struct and macros for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- .../arm/mach-socfpga/include/mach/system_manager.h | 74 +--- .../include/mach/system_manager_arria10.h

[U-Boot] [PATCH v4 16/19] arm: socfpga: Convert Altera DDR SDRAM driver to use Kconfig

2017-04-05 Thread Ley Foon Tan
Convert Altera DDR SDRAM driver to use Kconfig method. Enable ALTERA_SDRAM by default if it is on Gen5 target. Arria 10 will have different driver. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Kconfig|

[U-Boot] [PATCH v4 11/19] arm: socfpga: Add pinmux for Arria 10

2017-04-05 Thread Ley Foon Tan
Add pinmux support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/include/mach/pinmux.h | 15 + arch/arm/mach-socfpga/pinmux_arria10.c

[U-Boot] [PATCH v4 17/19] arm: socfpga: Add config and defconfig for Arria 10

2017-04-05 Thread Ley Foon Tan
Add config and defconfig for the Arria10 and update socfpga_common.h. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- configs/socfpga_arria10_defconfig | 28 ++ include/configs/socfpga_arria10_socdk.h | 66

Re: [U-Boot] usb: dwc2: invalidate the dcache before starting the DMA

2017-04-05 Thread Marek Vasut
On 04/05/2017 04:21 AM, Simon Glass wrote: > Hi, > > On 4 April 2017 at 19:26, Kever Yang wrote: >> Hi Eddie, >> >> >> We should only need to do only one time cache operation for a buffer >> >> ready to do DMA transfer, so you need to remove another cache

Re: [U-Boot] [PATCH] usb: dwc3: gadget: make cache-maintenance on event buffers more robust

2017-04-05 Thread Felipe Balbi
Hi, "Dr. Philipp Tomsich" writes: Good point on the “long”, especially as I just copied this from other occurences and it’s consistently wrong throughout DWC3 in U-Boot: >>> >>> Hrm, I thought the driver was ported over from Linux, so is this

[U-Boot] [PATCH v4 01/19] arm: socfpga: Restructure clock manager driver

2017-04-05 Thread Ley Foon Tan
Restructure clock manager driver in the preparation to support A10. Move the Gen5 specific code to _gen5 files. - Change all uint32_t to u32 and change to use macro BIT(n) for bit shift. - Check return value from wait_for_bit(). So change return type to int for cm_write_with_phase() and

[U-Boot] [PATCH v4 00/19] Add Intel Arria 10 SoC support

2017-04-05 Thread Ley Foon Tan
This is the 4th version of patchset to adds support for Intel Arria 10 SoC. This version mainly resolved comments from Marek and Dinh in [v3]. Only patch #01, #14 and #16 have changes in this revision. This is initial patchset enables the basic support for Arria 10 and other features will come

[U-Boot] [PATCH v4 13/19] arm: dts: Add dts and dtsi for Arria 10

2017-04-05 Thread Ley Foon Tan
Device tree files for Arria 10 Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_arria10.dtsi | 859 +

[U-Boot] [PATCH v4 12/19] fdt: Add compatible strings for Arria 10

2017-04-05 Thread Ley Foon Tan
Add compatible strings for Intel Arria 10 SoCFPGA device. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- include/fdtdec.h | 8 lib/fdtdec.c | 8 2 files changed, 16 insertions(+) diff --git

[U-Boot] [PATCH v4 14/19] arm: socfpga: Add SPL support for Arria 10

2017-04-05 Thread Ley Foon Tan
Add SPL support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/spl.c | 74 ++--- 1 file changed, 69 insertions(+), 5 deletions(-) diff --git

Re: [U-Boot] [PATCH v2 3/3] tools: kwbimage fix build with OpenSSL 1.1.x

2017-04-05 Thread Mario Six
Hi Jelle, On Tue, Apr 4, 2017 at 11:59 PM, Jelle van der Waa wrote: > @@ -22,6 +22,25 @@ > #include > #include > #include > + You also need #include here (in rsa-sign.c as well). > +#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER) > +void

[U-Boot] [PATCH v4 18/19] arm: socfpga: Add board files for the Arria10

2017-04-05 Thread Ley Foon Tan
Add support for the Arria10 SoCDK. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- board/altera/arria10-socdk/Kconfig | 18 ++ board/altera/arria10-socdk/Makefile | 7 +++

Re: [U-Boot] [PATCH v2 1/3] rsa: Fix build with OpenSSL 1.1.x

2017-04-05 Thread Mario Six
Hi Jelle, On Tue, Apr 4, 2017 at 11:59 PM, Jelle van der Waa wrote: > @@ -20,6 +20,19 @@ > #define HAVE_ERR_REMOVE_THREAD_STATE > #endif > > +#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER) > +void RSA_get0_key(const RSA *r, > +

Re: [U-Boot] [PATCHv2] net: zynq_gem: Do not return -ENOSYS on success

2017-04-05 Thread Olliver Schinagl
Not yet, i rebased against u-boot-net/master. As it is it is a bug however so we should just put the fix in for now. On April 5, 2017 8:29:22 AM CEST, Michal Simek wrote: >On 3.4.2017 16:18, Olliver Schinagl wrote: >> The .read_rom_hwaddr net_ops hook does not check the

Re: [U-Boot] [PATCHv2] net: zynq_gem: Do not return -ENOSYS on success

2017-04-05 Thread Michal Simek
On 4.4.2017 19:53, Joe Hershberger wrote: > On Mon, Apr 3, 2017 at 9:18 AM, Olliver Schinagl wrote: >> >> The .read_rom_hwaddr net_ops hook does not check the return value, which >> is why it was never caught that we are currently returning 0 if the >> read_rom_hwaddr function

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

2017-04-05 Thread Simon Glass
Hi Tom, This deals with closing down devices which have used DMA. he following changes since commit 11db152246607868f0e74db958947fbf79f28119: Prepare v2017.05-rc1 (2017-04-04 17:53:24 -0400) are available in the git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes

[U-Boot] [PATCH v4 04/19] arm: socfpga: Restructure misc driver

2017-04-05 Thread Ley Foon Tan
Restructure misc driver in the preparation to support A10. Move the Gen5 specific code to gen5 file. Change all uint32_t_to u32 and check return value from socfpga_bridges_reset. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile| 2 +-

[U-Boot] [PATCH v4 02/19] arm: socfpga: Restructure reset manager driver

2017-04-05 Thread Ley Foon Tan
Restructure reset manager driver in the preparation to support A10. Move the Gen5 specific code to gen5 files. Change socfpga_per_reset() return type to int. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 2 +-

[U-Boot] [PATCH v4 05/19] arm: socfpga: Add A10 macros

2017-04-05 Thread Ley Foon Tan
Add i2c, timer and other A10 macros. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/base_addr_a10.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/include/mach/base_addr_a10.h

[U-Boot] [PATCH v4 07/19] arm: socfpga: Add clock driver for Arria 10

2017-04-05 Thread Ley Foon Tan
Add clock driver support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile |3 +- arch/arm/mach-socfpga/clock_manager.c | 10 +

[U-Boot] [PATCH v4 06/19] arm: socfpga: Add reset driver support for Arria 10

2017-04-05 Thread Ley Foon Tan
Add reset driver support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 2 + arch/arm/mach-socfpga/include/mach/reset_manager.h | 2 +

[U-Boot] [PATCH v4 09/19] arm: socfpga: Add sdram header file for Arria 10

2017-04-05 Thread Ley Foon Tan
Add sdram header file for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/sdram_arria10.h | 380 + 1 file changed, 380 insertions(+) create mode 100644

[U-Boot] [PATCH v4 10/19] arm: socfpga: Add misc support for Arria 10

2017-04-05 Thread Ley Foon Tan
Add misc support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile| 1 + arch/arm/mach-socfpga/include/mach/misc.h | 6 + arch/arm/mach-socfpga/misc_arria10.c | 258

[U-Boot] [PATCH v4 19/19] arm: socfpga: Enable build for Arria 10

2017-04-05 Thread Ley Foon Tan
Update Kconfig and Makefile to enable Arria 10. Clean up Makefile and sorting *.o alphanumerically. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Kconfig | 10 + arch/arm/mach-socfpga/Makefile | 46

[U-Boot] [PATCH v4 15/19] drivers: fpga: Add compile switch for Gen5 only registers

2017-04-05 Thread Ley Foon Tan
These registers only available for Gen5 device, exclude them from Arria 10 build. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- drivers/fpga/socfpga.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [U-Boot] usb: dwc2: invalidate the dcache before starting the DMA

2017-04-05 Thread Simon Glass
Hi Marek, On 5 April 2017 at 03:35, Marek Vasut wrote: > On 04/05/2017 04:21 AM, Simon Glass wrote: >> Hi, >> >> On 4 April 2017 at 19:26, Kever Yang wrote: >>> Hi Eddie, >>> >>> >>> We should only need to do only one time cache operation for a

Re: [U-Boot] [PATCH 5/6] cmd: led: add DM-based implementation

2017-04-05 Thread Ziping Chen
2017-04-01 12:22 GMT+08:00 Simon Glass : > Hi, > > On 27 March 2017 at 08:38, wrote: > > From: Ziping Chen > > > > Currently the "led" command only supports the old API without DM. > > > > Add DM-based implementation of this

Re: [U-Boot] usb: dwc2: invalidate the dcache before starting the DMA

2017-04-05 Thread Marek Vasut
On 04/05/2017 12:08 PM, Simon Glass wrote: > Hi Marek, > > On 5 April 2017 at 03:35, Marek Vasut wrote: >> On 04/05/2017 04:21 AM, Simon Glass wrote: >>> Hi, >>> >>> On 4 April 2017 at 19:26, Kever Yang wrote: Hi Eddie, We should

Re: [U-Boot] [PATCH 0/3] imx: bootaux elf firmware support

2017-04-05 Thread Lukasz Majewski
Hi Stefan, > On 2017-04-04 01:23, Lukasz Majewski wrote: > > Hi Stefan, > > > >> Hi Lukasz, > >> > >> On 2017-04-03 04:20, Lukasz Majewski wrote: > >> > Hi Stefan, > >> > > >> > Thanks for your patch. Please allow me to share some ideas for > >> > improvements. > >> > > >> >> From: Stefan Agner

[U-Boot] [PATCH v2 4/5] arm64: a8k: dts: Add support for NAND devices on A8K platform

2017-04-05 Thread kostap
From: Konstantin Porotchkin Add NAND to CP master device tree. Add armada-7040-db-nand device tree for the board configured with NAND boot device. Add comment about boot device ID to armada-7040-db DTS. Signed-off-by: Konstantin Porotchkin Cc: Stefan

Re: [U-Boot] [PATCH 2/2] Add support for Turing Computer i.MX6x Evaluation Board

2017-04-05 Thread Otavio Salvador
On Tue, Apr 4, 2017 at 4:32 PM, Mauricio Cirelli wrote: > > Turing Computer is a designer and manufacturer of ARM-based > System on Modules, specialized on i.MX SoCs from Freescale/NXP. > This patch adds support for their Evaluation Board running i.MX6 > Solo, Dual

Re: [U-Boot] [PATCH 1/3] ARM: socfpga: Reduce the DFU buffer size

2017-04-05 Thread Marek Vasut
On 04/05/2017 01:42 PM, Marek Vasut wrote: > There is no point in having such gargantuan buffer, it only requires > huge malloc area. Reduce the DFU buffer size. > > Signed-off-by: Marek Vasut Applied all three. > --- > include/configs/socfpga_common.h | 2 +- > 1 file changed,

Re: [U-Boot] [PATCH] usb: dwc3: gadget: make cache-maintenance on event buffers more robust

2017-04-05 Thread Marek Vasut
On 04/05/2017 10:18 AM, Felipe Balbi wrote: > > Hi, > > Marek Vasut writes: > Merely using dma_alloc_coherent does not ensure that there is no stale > data left in the caches for the allocated DMA buffer (i.e. that the > affected cacheline may still be dirty). >

Re: [U-Boot] [PATCH v4 00/17] arm: rpi: Enable USB, Ethernet, MMC, Video driver model on Raspberry Pi

2017-04-05 Thread Tom Rini
On Fri, Mar 31, 2017 at 10:34:35PM -0600, Simon Glass wrote: > Hi Tom, > > On 31 March 2017 at 22:19, Simon Glass wrote: > > Hi Tom, > > > > On 6 February 2017 at 08:32, Simon Glass wrote: > >> > >> Hi Tom, > >> > >> On 23 January 2017 at 10:22, Tom Rini

[U-Boot] Pull request: u-boot-sunix/master

2017-04-05 Thread Jagan Teki
Hi Tom, Please take this PR. thanks! Jagan. The following changes since commit 11db152246607868f0e74db958947fbf79f28119: Prepare v2017.05-rc1 (2017-04-04 17:53:24 -0400) are available in the git repository at: git://git.denx.de/u-boot-sunxi.git master for you to fetch changes up to

Re: [U-Boot] [PATCH 1/6] led: add get_status support for DM LED support

2017-04-05 Thread Ziping Chen
2017-04-01 12:23 GMT+08:00 Simon Glass : > Hi, > > On 27 March 2017 at 08:38, wrote: > > From: Ziping Chen > > > > Sometimes we need to read back the status of a LED. > > > > Add a led_get_status function for DM LED support,

Re: [U-Boot] [PATCH] lib: div64: sync with Linux

2017-04-05 Thread Tom Rini
On Tue, Mar 28, 2017 at 05:05:09PM +0800, Peng Fan wrote: > Sync with Linux commit ad0376eb1483b ("Merge tag 'edac_for_4.11_2'"). > > Signed-off-by: Peng Fan > Cc: Tom Rini > --- > include/linux/math64.h | 172 >

Re: [U-Boot] [PATCH v2 14/18] sunxi: Pine64: defconfig: enable SPL FIT support

2017-04-05 Thread Tom Rini
On Wed, Mar 29, 2017 at 12:17:31PM +0100, Andre Przywara wrote: > Hi, > > On 29/03/17 07:57, Maxime Ripard wrote: > > On Tue, Mar 28, 2017 at 01:45:22AM +0100, Andre Przywara wrote: > >> The Pine64 (and all other 64-bit Allwinner boards) need to load an > >> ARM Trusted Firmware image beside the

Re: [U-Boot] [PATCH v2 14/18] sunxi: Pine64: defconfig: enable SPL FIT support

2017-04-05 Thread Dr. Philipp Tomsich
> On 29/03/17 07:57, Maxime Ripard wrote: >> On Tue, Mar 28, 2017 at 01:45:22AM +0100, Andre Przywara wrote: >>> The Pine64 (and all other 64-bit Allwinner boards) need to load an >>> ARM Trusted Firmware image beside the actual U-Boot proper. >>> This can now be easily achieved by using the just

Re: [U-Boot] [PATCH v4 04/19] arm: socfpga: Restructure misc driver

2017-04-05 Thread Marek Vasut
On 04/05/2017 11:32 AM, Ley Foon Tan wrote: > Restructure misc driver in the preparation to support A10. > Move the Gen5 specific code to gen5 file. > > Change all uint32_t_to u32 and check return value from > socfpga_bridges_reset. > > Signed-off-by: Ley Foon Tan [...]

Re: [U-Boot] [PATCH] usb: dwc3: gadget: make cache-maintenance on event buffers more robust

2017-04-05 Thread Marek Vasut
On 04/05/2017 12:57 PM, Dr. Philipp Tomsich wrote: > >> On 05 Apr 2017, at 12:25, Marek Vasut wrote: >> >> On 04/04/2017 10:26 PM, Dr. Philipp Tomsich wrote: >>> On 04 Apr 2017, at 22:09, Marek Vasut wrote: > The DWC3 flush expands to a

Re: [U-Boot] [PATCH] ARM: socfpga: Rename MCVEVK

2017-04-05 Thread Marek Vasut
On 04/05/2017 01:32 PM, Marek Vasut wrote: > The board is now manufactured by Aries Embedded GmbH , rename it. > > Signed-off-by: Marek Vasut Applied, thanks. -- Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v4 10/19] arm: socfpga: Add misc support for Arria 10

2017-04-05 Thread Marek Vasut
On 04/05/2017 11:32 AM, Ley Foon Tan wrote: > Add misc support for Arria 10. > > Signed-off-by: Tien Fong Chee > Signed-off-by: Ley Foon Tan [...] > +static int find_peripheral_uart(const void *blob, > + int child, const char *node_name) >

Re: [U-Boot] [PATCH v4 12/19] fdt: Add compatible strings for Arria 10

2017-04-05 Thread Marek Vasut
On 04/05/2017 11:32 AM, Ley Foon Tan wrote: > Add compatible strings for Intel Arria 10 SoCFPGA device. > > Signed-off-by: Tien Fong Chee > Signed-off-by: Ley Foon Tan > --- Applied. -- Best regards, Marek Vasut

Re: [U-Boot] [EXT] Re: [PATCH 7/7] scsi: dts: a3700: add scsi node

2017-04-05 Thread Stefan Roese
Hi Ken, On 05.04.2017 11:29, Ken Ma wrote: Hi Stefan, Hi Simon Please see my inline reply, thanks! Yours, Ken -Original Message- From: Stefan Roese [mailto:s...@denx.de] Sent: 2017年4月3日 14:14 To: Simon Glass; Ken Ma Cc: u-boot@lists.denx.de; Michal Simek; Kostya Porotchkin; Hua Jing;

[U-Boot] [PATCH] mx6sxsabreauto: Remove legacy CONFIG_PCA953X

2017-04-05 Thread Tom Rini
When this board was switched to using more DM drivers we didn't disable the legacy PCA953X driver. This in turn learn to a build time warning about implicit functions as i2c.h would not say anything about 'i2c_read' nor 'i2c_write'. But this was not a fatal error as none of the legacy driver

Re: [U-Boot] [PATCH v4 16/19] arm: socfpga: Convert Altera DDR SDRAM driver to use Kconfig

2017-04-05 Thread Marek Vasut
On 04/05/2017 11:32 AM, Ley Foon Tan wrote: > Convert Altera DDR SDRAM driver to use Kconfig method. > Enable ALTERA_SDRAM by default if it is on Gen5 target. > Arria 10 will have different driver. > > Signed-off-by: Tien Fong Chee > Signed-off-by: Ley Foon Tan

Re: [U-Boot] usb: dwc2: invalidate the dcache before starting the DMA

2017-04-05 Thread Simon Glass
+Tom Hi Marek, On 5 April 2017 at 04:21, Marek Vasut wrote: > On 04/05/2017 12:08 PM, Simon Glass wrote: >> Hi Marek, >> >> On 5 April 2017 at 03:35, Marek Vasut wrote: >>> On 04/05/2017 04:21 AM, Simon Glass wrote: Hi, On 4 April 2017 at 19:26,

[U-Boot] [PATCH v2 5/5] arm64: mvebu: a8k: Add NAND configuration parameters

2017-04-05 Thread kostap
From: Konstantin Porotchkin Add NAND configuration parameters to A8K shared config file. Add defconfig for db-88f7040 board with boot from NAND setup. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman

Re: [U-Boot] usb: dwc2: invalidate the dcache before starting the DMA

2017-04-05 Thread Simon Glass
Hi Marek, On 5 April 2017 at 19:32, Marek Vasut wrote: > On 04/06/2017 03:24 AM, Simon Glass wrote: >> Hi Marek, >> >> On 5 April 2017 at 15:34, Marek Vasut wrote: >>> On 04/05/2017 05:03 PM, Simon Glass wrote: +Tom Hi Marek, On 5 April

Re: [U-Boot] [PATCH v2 28/29] ARM: i.MX6: sabresd: Update README

2017-04-05 Thread Jagan Teki
On Thu, Apr 6, 2017 at 7:37 AM, Peng Fan wrote: > On Mon, Apr 03, 2017 at 07:23:35PM +0530, Jagan Teki wrote: >>From: Jagan Teki >> >>Since all SabreSD boards support SPL and devicetree >>update README on respective image name changes >>while

[U-Boot] [PATCH v2] Add 16-bit single register pin controller support

2017-04-05 Thread James Balean
Enables the pinctrl-single driver to support 16-bit registers. Only 32-bit registers were supported previously. Reduced width registers are required for some platforms, such as OMAP. Signed-off-by: James Balean Cc: Felix Brack Cc: Simon Glass

Re: [U-Boot] [PATCH v2 28/29] ARM: i.MX6: sabresd: Update README

2017-04-05 Thread Peng Fan
On Mon, Apr 03, 2017 at 07:23:35PM +0530, Jagan Teki wrote: >From: Jagan Teki > >Since all SabreSD boards support SPL and devicetree >update README on respective image name changes >while loading the SD card. SPL is not supported by NXP software releases, so I would

Re: [U-Boot] [PATCH v4 10/19] arm: socfpga: Add misc support for Arria 10

2017-04-05 Thread Ley Foon Tan
On Wed, Apr 5, 2017 at 6:40 PM, Marek Vasut wrote: > On 04/05/2017 11:32 AM, Ley Foon Tan wrote: >> Add misc support for Arria 10. >> >> Signed-off-by: Tien Fong Chee >> Signed-off-by: Ley Foon Tan > > [...] > >> +static int

[U-Boot] [PATH V3] usb: dwc2: invalidate the dcache before starting the DMA

2017-04-05 Thread Eddie Cai
We should invalidate the dcache before starting the DMA. In case there are any dirty lines from the DMA buffer in the cache, subsequent cache-line replacements may corrupt the buffer in memory while the DMA is still going on. Cache-line replacement can happen if the CPU tries to bring some other

Re: [U-Boot] [PATCH 5/7] Add mipi display support for rk3399 && rk3288

2017-04-05 Thread Simon Glass
Hi Eric, On 1 April 2017 at 08:42, wrote: > From: "eric.gao" > > Signed-off-by: eric.gao > --- > > arch/arm/dts/rk3399-evb.dts | 33 ++ > arch/arm/dts/rk3399.dtsi | 72

Re: [U-Boot] [PATCH 6/7] Enable print log file to lcd

2017-04-05 Thread Simon Glass
On 1 April 2017 at 08:42, wrote: > From: "eric.gao" > > Signed-off-by: eric.gao > --- > > configs/evb-rk3399_defconfig| 1 + > include/configs/rk3399_common.h | 5 - > 2 files changed, 5 insertions(+), 1

Re: [U-Boot] [PATCH v3 2/2] x86: Introduce minimal PMU driver for Intel MID platforms

2017-04-05 Thread Simon Glass
Hi Andy, On 1 April 2017 at 07:21, Andy Shevchenko wrote: > This simple PMU driver allows to tyrn power on and off for selected > devices. In particularly Intel Tangier needs to power on SDHCI > controllers in order to access to them during board

Re: [U-Boot] [PATCH 7/7] crash when scroll screen

2017-04-05 Thread Simon Glass
Hi Eric, On 1 April 2017 at 08:42, wrote: > From: "eric.gao" > > After enable log printing to lcd,when the screen start scroll,the > system crash.And the log is shown as bellow. > > "Synchronous Abort" handler, esr 0x9645 > "Synchronous

Re: [U-Boot] [PATCH v4 04/19] arm: socfpga: Restructure misc driver

2017-04-05 Thread Ley Foon Tan
On Wed, Apr 5, 2017 at 6:39 PM, Marek Vasut wrote: > On 04/05/2017 11:32 AM, Ley Foon Tan wrote: >> Restructure misc driver in the preparation to support A10. >> Move the Gen5 specific code to gen5 file. >> >> Change all uint32_t_to u32 and check return value from >>

Re: [U-Boot] FIT image for falcon boot

2017-04-05 Thread Simon Glass
Hi York, On 31 March 2017 at 22:49, york sun wrote: > On 03/31/2017 09:21 PM, Simon Glass wrote: >> Hi York, >> >> On 23 March 2017 at 20:06, york sun wrote: >>> Simon, >>> >>> I made it work. A patch set will be sent later (much later) after I >>> clean up

Re: [U-Boot] rockchip: tinker: configs: Add USB, PXE, DHCP to the default boot targets

2017-04-05 Thread Simon Glass
On 1 April 2017 at 00:46, Eddie Cai wrote: > tinker board support ethernet and usb host, so enable USB, PXE and DHCP > support. > > Signed-off-by: Eddie Cai > --- > include/configs/tinker_rk3288.h | 5 - > 1 file changed, 4

Re: [U-Boot] [PATCH 3/7] Enable RK808 for rk3399 evb

2017-04-05 Thread Simon Glass
On 1 April 2017 at 08:42, wrote: > From: "eric.gao" > > Signed-off-by: eric.gao > --- > > arch/arm/dts/rk3399-evb.dts | 108 > +++ > configs/evb-rk3399_defconfig | 5 ++ > 2

Re: [U-Boot] [PATCH v2 07/29] ARM: i.MX6QP: sabresd: Add initial devicetree support

2017-04-05 Thread Peng Fan
On Mon, Apr 03, 2017 at 07:23:14PM +0530, Jagan Teki wrote: >From: Jagan Teki > >Add initial dts support for i.MX6 Quad Plus Sabresd board. > >Boot from MMC: >- >U-Boot SPL 2017.03-33690-ga80e4f6-dirty (Mar 30 2017 - 00:40:29) >Trying to boot from MMC1 >

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-04-05 Thread Simon Glass
Hi Andy, On 1 April 2017 at 07:11, Andy Shevchenko wrote: > On Fri, 2017-03-31 at 22:24 -0600, Simon Glass wrote: >> Hi Andy, >> >> On 20 March 2017 at 06:51, Andy Shevchenko >> wrote: >> > On Sun, 2017-03-19 at 20:30 -0600,

Re: [U-Boot] [PATCH v3] rockchip: rk3399: spl: add UART0 support for SPL

2017-04-05 Thread Simon Glass
Hi Philipp, On 1 April 2017 at 04:59, Philipp Tomsich wrote: > The RK3399-Q7 ("Puma") SoM exposes UART0 as the Qseven UART (i.e. the > serial line available via standardised pins on the edge connector and > available on a RS232 connector). > > To support

Re: [U-Boot] [PATCH 1/7] system halt when we enable bucks of PMIC rk808

2017-04-05 Thread Simon Glass
On 1 April 2017 at 08:42, wrote: > From: "eric.gao" > > if we enable PMIC rk808,the system will halt at very early stage > ,log is shown as bellow. > > INFO:plat_rockchip_pmu_init(1211): pd status 3e > INFO:BL31: Initializing runtime

Re: [U-Boot] [PATCH v3 1/2] x86: Add SCU IPC driver for Intel MID platforms

2017-04-05 Thread Simon Glass
Hi Andy, On 1 April 2017 at 07:21, Andy Shevchenko wrote: > From: Felipe Balbi > > Intel MID platforms have few microcontrollers inside SoC, one of them > is so called System Controller Unit (SCU). > > Here is the driver to

Re: [U-Boot] rockchip: Add USB to the default boot targets

2017-04-05 Thread Simon Glass
On 1 April 2017 at 00:49, Eddie Cai wrote: > Now that most rockchip SoC based board have usb host support, enable > USB boot targets by default. > > Signed-off-by: Eddie Cai > --- > include/configs/rockchip-common.h | 1 + > 1 file changed,

Re: [U-Boot] [PATCH v2 07/29] ARM: i.MX6QP: sabresd: Add initial devicetree support

2017-04-05 Thread Jagan Teki
On Thu, Apr 6, 2017 at 7:29 AM, Peng Fan wrote: > On Mon, Apr 03, 2017 at 07:23:14PM +0530, Jagan Teki wrote: >>From: Jagan Teki >> >>Add initial dts support for i.MX6 Quad Plus Sabresd board. >> >>Boot from MMC: >>- >>U-Boot SPL

Re: [U-Boot] [PATCH] Add 8 and 16-bit single register pin controller support

2017-04-05 Thread James Balean
Hi All, Thank you for your responses. I will submit a new version of the patch with your suggestions following this. On 1 April 2017 at 15:22, Simon Glass wrote: > Can you explain in your commit message why we want this? Will do. I will be seeking to add TI OMAP device tree

Re: [U-Boot] [U-Boot, 03/16] board_f: Rename initdram() to dram_init()

2017-04-05 Thread Simon Glass
Hi Tom, On 5 April 2017 at 14:36, Tom Rini wrote: > On Fri, Mar 31, 2017 at 08:40:26AM -0600, Simon Glass wrote: > >> This allows us to use the same DRAM init function on all archs. >> >> Signed-off-by: Simon Glass >> Reviewed-by: Stefan Roese

Re: [U-Boot] [PATCH v2] usb: dwc3: gadget: make cache-maintenance on event buffers more robust

2017-04-05 Thread Marek Vasut
On 04/05/2017 10:25 PM, Philipp Tomsich wrote: > Merely using dma_alloc_coherent does not ensure that there is no stale > data left in the caches for the allocated DMA buffer (i.e. that the > affected cacheline may still be dirty). > > The original code was doing the following (on AArch64, which

Re: [U-Boot] usb: dwc2: invalidate the dcache before starting the DMA

2017-04-05 Thread Marek Vasut
On 04/05/2017 05:03 PM, Simon Glass wrote: > +Tom > > Hi Marek, > > On 5 April 2017 at 04:21, Marek Vasut wrote: >> On 04/05/2017 12:08 PM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 5 April 2017 at 03:35, Marek Vasut wrote: On 04/05/2017 04:21 AM, Simon

Re: [U-Boot] [PATH V2] usb: dwc2: invalidate the dcache before starting the DMA

2017-04-05 Thread Marek Vasut
On 04/06/2017 04:03 AM, Eddie Cai wrote: > We should invalidate the dcache before starting the DMA. In case there are > any dirty lines from the DMA buffer in the cache, subsequent cache-line > replacements may corrupt the buffer in memory while the DMA is still going on. > Cache-line replacement

[U-Boot] [PATCH v1 0/4] env tools fixes

2017-04-05 Thread Stefano Babic
This series addresses some issues when the environment tools are used as library and linked to an external program. Stefano Babic (4): Rename aes.h to uboot_aes.h env: split fw_env.h in public and private parts env: add a version number to check API env: fix memory leak in fw_env

Re: [U-Boot] [PATCH 1/3] config: am335x_evm: detect Black Wireless using BWA

2017-04-05 Thread Robert Nelson
On Wed, Apr 5, 2017 at 11:14 AM, Peter Robinson wrote: > "On Thu, Mar 30, 2017 at 8:29 PM, Robert Nelson > wrote: >> BeagleBone Black Wireless is clone of the BeagleBone Black (BBB) with >> the Ethernet replaced by a TI wl1835 wireless module. >>

Re: [U-Boot] [PATCH] armv8: ls2080a: Add serdes2 protocol 0x51 support

2017-04-05 Thread Santan Kumar
> -Original Message- > From: york sun > Sent: Wednesday, April 5, 2017 9:13 PM > To: Santan Kumar ; u-boot@lists.denx.de > Cc: Priyanka Jain > Subject: Re: [PATCH] armv8: ls2080a: Add serdes2 protocol 0x51 support > > On 04/05/2017 02:01 AM,

Re: [U-Boot] [PATCH] armv8: ls2080a: Add serdes2 protocol 0x51 support

2017-04-05 Thread york sun
On 04/05/2017 08:47 AM, Santan Kumar wrote: > >> >> Santan, >> >> Does this patch replace another one with subject "armv8: ls2081a: Add >> serdes2 protocol 0x51 support"? It changes the same file the same way. >> For future update, you are required to put version number and change log to >> it. >>

Re: [U-Boot] [PATCH 1/2] ARM: mxs: Rename M28EVK

2017-04-05 Thread Stefano Babic
On 05/04/2017 13:31, Marek Vasut wrote: > The board is now manufactured by Aries Embedded GmbH , rename it. > > Signed-off-by: Marek Vasut > --- > arch/arm/Kconfig | 2 +- > board/{denx => aries}/m28evk/Kconfig | 2 +- > board/{denx =>

Re: [U-Boot] [PATCH 2/2] ARM: mx5: Rename M53EVK

2017-04-05 Thread Stefano Babic
On 05/04/2017 13:31, Marek Vasut wrote: > The board is now manufactured by Aries Embedded GmbH , rename it. > > Signed-off-by: Marek Vasut > --- > arch/arm/Kconfig | 2 +- > board/{denx => aries}/m53evk/Kconfig | 2 +- > board/{denx =>

Re: [U-Boot] [PATCH] libfdt: fix build with Python 3

2017-04-05 Thread Stefano Babic
Hi Stefan, On 04/04/2017 20:44, Stefan Agner wrote: > On 2017-04-04 01:53, Stefano Babic wrote: >> Hi Stefan, >> >> On 03/04/2017 23:02, Stefan Agner wrote: >> >>> But then, I don't expect that "/usr/bin/env python" is looking at >>> PYTHON. >>> >>> As far as I understand env, it just looks up

Re: [U-Boot] [PATCH] mx6sxsabreauto: Remove legacy CONFIG_PCA953X

2017-04-05 Thread Stefano Babic
On 05/04/2017 16:46, Tom Rini wrote: > When this board was switched to using more DM drivers we didn't disable > the legacy PCA953X driver. This in turn learn to a build time warning > about implicit functions as i2c.h would not say anything about > 'i2c_read' nor 'i2c_write'. But this was not a

Re: [U-Boot] [PATCH 1/3] config: am335x_evm: detect Black Wireless using BWA

2017-04-05 Thread Peter Robinson
"On Thu, Mar 30, 2017 at 8:29 PM, Robert Nelson wrote: > BeagleBone Black Wireless is clone of the BeagleBone Black (BBB) with > the Ethernet replaced by a TI wl1835 wireless module. > > This board can be indentified by the BWAx value after A335BNLT (BBB) > in the at24

[U-Boot] [PATCH v1 3/4] env: add a version number to check API

2017-04-05 Thread Stefano Babic
Changes in the environment library are difficult to tracked by programs using the library. Add simply an API version number that must be increased each time when the API is changed. This can be detected and a program can work with different versions of the library. Signed-off-by: Stefano Babic

Re: [U-Boot] [PATCH v3] fdt: allow address translation in case of SPL_OF_TRANSLATE

2017-04-05 Thread Vikas Manocha
Hi Simon, On 04/04/2017 08:27 PM, Simon Glass wrote: > Hi Vikas, > > On 4 April 2017 at 15:59, Vikas Manocha wrote: >> Address translation is not working at present even if SPL_OF_TRANSLATE is >> enabled which makes this configuration useless. This patch enables address >>

[U-Boot] [PATCH] tools: allow to override python

2017-04-05 Thread Stefano Babic
Not force to use python from PATH. Issue was noted when building with Yocto, because python from the distro is always taken instead of python-native built during Yocto process. Signed-off-by: Stefano Babic CC: Simon Glass --- Makefile | 2 +-

  1   2   3   >