[U-Boot] [PATCH] mach-zynq/Kconfig: Make SYS_VENDOR configurable

2016-09-27 Thread Mike Looijmans
Add a string description for SYS_VENDOR to allow configuring boards from other vendors than just "xilinx". Signed-off-by: Mike Looijmans --- This patch is needed to support a set of Zynq and ZynqMP boards arch/arm/mach-zynq/Kconfig | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH v2] tools: mkimage: Add support for initialization table for Zynq and ZynqMP

2016-09-27 Thread Mike Looijmans
The Zynq/ZynqMP boot.bin file contains a region for register initialization data. Filling in proper values in this table can reduce boot time (e.g. about 50ms faster on QSPI boot) and also reduce the size of the SPL binary. The table is a simple text file with register+data on each line. Other

Re: [U-Boot] [PATCH 4/7] Convert CONFIG_SYS_FSL_ERRATUM_A010315 to Kconfig option

2016-09-27 Thread Z.Q. Hou
Tested-by: Hou Zhiqiang > -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: 2016年9月26日 23:09 > To: tr...@konsulko.com > Cc: s...@chromium.org; u-boot@lists.denx.de; york sun ; > Z.Q. Hou > Subject: [PATCH

Re: [U-Boot] [PATCH 5/5] check-config: allow to complete build even with ad-hoc CONFIG options

2016-09-27 Thread Masahiro Yamada
Hi Tom, Simon, 2016-09-28 2:44 GMT+09:00 Tom Rini : > On Mon, Sep 26, 2016 at 01:05:02PM +0900, Masahiro Yamada wrote: > >> Currently, the check-config.sh terminates the build when unknown >> ad-hoc options are detected. I think it is too much because we may >> want to patch

Re: [U-Boot] [PATCH 2/2] power: regulator: lp873x: Add regulator support

2016-09-27 Thread Keerthy
On Wednesday 28 September 2016 08:57 AM, Keerthy wrote: On Tuesday 27 September 2016 11:25 PM, Simon Glass wrote: Hi Keerthy, On 26 September 2016 at 21:45, Keerthy wrote: On Tuesday 27 September 2016 06:04 AM, Simon Glass wrote: Hi, On 26 September 2016 at 00:00,

Re: [U-Boot] [PATCH 2/3] ARM: keystone: rename clk_get_rate() to ks_clk_get_rate()

2016-09-27 Thread Masahiro Yamada
2016-09-26 20:45 GMT+09:00 Masahiro Yamada : > The KeyStone platform has its own clk_get_rate() but its prototype > is different from that of the common-clk (clk-uclass) framework. > > Prefix the KeyStone specific implementation with _ks in order to > avoid

[U-Boot] [PATCH v2 2/2] power: regulator: lp873x: Add regulator support

2016-09-27 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for lp873x family of PMICs. Signed-off-by: Keerthy --- Changes in v2: * Used pmic_reg_read/pmic_reg_write instead of direct i2c read/write calls. drivers/power/regulator/Kconfig| 8 +

[U-Boot] [PATCH v2 0/2] power: pmic: Add support for LP873X family of PMICs

2016-09-27 Thread Keerthy
The series adds support for LP873X family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Keerthy (2): power: pmic: lp873x: Add the base pmic support power: regulator: lp873x: Add regulator support drivers/power/pmic/Kconfig

[U-Boot] [PATCH v2 1/2] power: pmic: lp873x: Add the base pmic support

2016-09-27 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Signed-off-by: Keerthy --- Changes in v2: * Added pmic read/write functions. drivers/power/pmic/Kconfig | 7 drivers/power/pmic/Makefile | 1 + drivers/power/pmic/lp873x.c | 90

Re: [U-Boot] [PATCH v5 0/6] power: pmic: Add support for Palmas family of PMICs

2016-09-27 Thread Keerthy
Simon, On Wednesday 28 September 2016 09:57 AM, Keerthy wrote: The series adds support for Palmas family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Supports TPS659038, TPS65917, Palmas. Tested on TPS659038, TPS65917 using DRA7XX-EVM

[U-Boot] [PATCH v5 6/6] configs: am57xx_evm_defconfig: Enable CMD_REG option

2016-09-27 Thread Keerthy
Enable CMD_REG option. Signed-off-by: Keerthy --- configs/am57xx_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 6c60d9b..38424e6 100644 --- a/configs/am57xx_evm_defconfig +++

[U-Boot] [PATCH v5 2/6] power: pmic: Palmas: Add the base pmic support

2016-09-27 Thread Keerthy
Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write funtions to access pmic registers. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v5: * Added

[U-Boot] [PATCH v5 5/6] configs: am57xx_evm_defconfig: Enable PALMAS options

2016-09-27 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/am57xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 27ea472..6c60d9b

[U-Boot] [PATCH v5 4/6] configs: dra7xx_evm_defconfig: Enable PALMAS options

2016-09-27 Thread Keerthy
Enable palmas PMIC config options. Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/dra7xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index c74dc18..4af1b03

[U-Boot] [PATCH v5 3/6] power: regulator: palmas: Add regulator support

2016-09-27 Thread Keerthy
The driver provides regulator set/get voltage enable/disable functions for palmas family of PMICs. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v5: * Used pmic_reg_read pmic_reg_write functions

[U-Boot] [PATCH v5 0/6] power: pmic: Add support for Palmas family of PMICs

2016-09-27 Thread Keerthy
The series adds support for Palmas family of PMICs. Implements functions to configure regulators. Enable/Disable Get/Set voltages of regulators. Supports TPS659038, TPS65917, Palmas. Tested on TPS659038, TPS65917 using DRA7XX-EVM and AM57XX-EVM. Changes in v5: removed u8 i2c read/write

[U-Boot] [PATCH v5 1/6] power: regulator: Add ctrl_reg and volt_reg fields for pmic

2016-09-27 Thread Keerthy
The ctrl reg contains bit fields to enable and disable regulators, and volt_reg has the bit fields to configure the voltage values. The registers are frequently accessed hence make them part of dm_regulator_uclass_platdata structure. Signed-off-by: Keerthy Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v4 4/6] power: regulator: palmas: Add regulator support

2016-09-27 Thread Keerthy
Simon, On Monday 26 September 2016 10:05 AM, Keerthy wrote: The driver provides regulator set/get voltage enable/disable functions for palmas family of PMICs. Signed-off-by: Keerthy Reviewed-by: Simon Glass Reviewed-by: Tom Rini ---

Re: [U-Boot] [PATCH 2/2] power: regulator: lp873x: Add regulator support

2016-09-27 Thread Keerthy
On Tuesday 27 September 2016 11:25 PM, Simon Glass wrote: Hi Keerthy, On 26 September 2016 at 21:45, Keerthy wrote: On Tuesday 27 September 2016 06:04 AM, Simon Glass wrote: Hi, On 26 September 2016 at 00:00, Keerthy wrote: The driver provides

[U-Boot] [PATCH] imx: imx6ul: disable POR_B internal pull up

2016-09-27 Thread Peng Fan
>From TO1.1, SNVS adds internal pull up control for POR_B, the register filed is GPBIT[1:0], after system boot up, it can be set to 2b'01 to disable internal pull up. It can save about 30uA power in SNVS mode. Signed-off-by: Peng Fan Cc: Stefano Babic ---

Re: [U-Boot] [PATCH v2 11/12] RFC: Use binman for a sunxi board

2016-09-27 Thread Tom Rini
On Sun, Sep 25, 2016 at 03:52:27PM -0600, Simon Glass wrote: > Add an example usage of binman for a sunxi board. This involves adding the > image definition to the device tree and using it in the Makefile. > > This is for example only. > > Signed-off-by: Simon Glass > --- >

Re: [U-Boot] [PATCH V2 6/8] imx: mx6ullevk: support plugin

2016-09-27 Thread Tom Rini
On Wed, Sep 28, 2016 at 09:31:23AM +0800, Peng Fan wrote: > Hi Tom, > On Tue, Sep 27, 2016 at 08:46:32PM -0400, Tom Rini wrote: > >On Tue, Sep 27, 2016 at 05:23:25PM +0800, Peng Fan wrote: > > > >> Add plugin code for mx6ullevk. > >> Define CONFIG_USE_PLUGIN in include/configs/mx6ullevk.h to use

Re: [U-Boot] [PATCH v2 29/29] Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:17:25PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_SYS_STDIO_DEREGISTER > > This option should never be enabled in SPL, so use > CONFIG_IS_ENABLED(SYS_STDIO_DEREGISTER) when checking the option. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 28/29] Convert CONFIG_USB_KEYBOARD to Kconfig

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:17:24PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_USB_KEYBOARD > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 16/29] Convert CONFIG_VGA_AS_SINGLE_DEVICE to Kconfig

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:17:12PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_VGA_AS_SINGLE_DEVICE > > Once we migrate to driver model for video, we should be able to drop this > option. > > Signed-off-by: Simon Glass Reviewed-by: Tom

Re: [U-Boot] [PATCH v2 22/27] spl: Convert spl_board_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:12PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. Update existing users. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc

Re: [U-Boot] [PATCH v2 27/29] Convert CONFIG_SYS_CONSOLE_INFO_QUIET to Kconfig

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:17:23PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_SYS_CONSOLE_INFO_QUIET > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 04/29] Convert CONFIG_SYS_CONSOLE_IS_IN_ENV et al to Kconfig

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:17:00PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_SYS_CONSOLE_IS_IN_ENV >CONFIG_CONSOLE_MUX > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Make CONSOLE_MUX default y if DM_VIDEO || VIDEO || LCD

Re: [U-Boot] [PATCH v2 03/29] Convert CONSOLE_PRE_CONSOLE_BUFFER options to Kconfig

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:16:59PM -0600, Simon Glass wrote: > Move these option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 08/29] Convert CONFIG_CFB_CONSOLE to Kconfig

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:17:04PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CFB_CONSOLE > > Signed-off-by: Simon Glass [snip] > diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig > index bc246c5..33d85e7 100644 > ---

Re: [U-Boot] [PATCH v2 02/29] Convert SILENT_CONSOLE options to Kconfig

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:16:58PM -0600, Simon Glass wrote: > Move these option to Kconfig and tidy up existing uses. > > The Power PC boards don't have a suitable common element: the common header > files don't appear to line up with the Kconfig files as far as I can tell. > This results in a

Re: [U-Boot] [PATCH v2 20/27] spi: Move freescale-specific code into a private header

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:10PM -0600, Simon Glass wrote: > At present there are two SPI functions only used by freescale which are > defined in the spi_flash.h header. One function name matches an existing > generic SPL function. > > Move these into a private header to avoid confusion. > >

Re: [U-Boot] [PATCH v2 21/27] spl: Convert spl_net_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:11PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. We need two variants - one for BOOT_DEVICE_CPGMAC and one for > BOOT_DEVICE_USBETH. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 17/27] spl: Convert spl_sata_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:07PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v2 19/27] spl: Convert spl_spi_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:09PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. Also set up the sunxi function. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom

Re: [U-Boot] [PATCH v2 15/27] spl: Convert spl_ymodem_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:05PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v2 16/27] spl: Convert spl_usb_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:06PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v2 14/27] spl: Convert spl_nor_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:04PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v2 11/27] spl: Convert spl_ubi_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:01PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v2 13/27] spl: Convert spl_onenand_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:03PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v2 10/27] spl: Convert spl_mmc_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:00PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v2 12/27] spl: Convert spl_nand_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:20:02PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v2 09/27] spl: Convert spl_ram_load_image() to use linker list

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:59PM -0600, Simon Glass wrote: > Add a linker list declaration for this method and remove the explicit > switch() code. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH v2 08/27] spl: Add a way to declare an SPL image loader

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:58PM -0600, Simon Glass wrote: > Add a linker list macro which can be used to declare an SPL image loader. > Update spl_load_image() to search available loaders for the correct one. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v2 07/27] spl: Convert boot_device into a struct

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:57PM -0600, Simon Glass wrote: > At present some spl_xxx_load_image() functions take a parameter and some > don't. Of those that do, most take an integer but one takes a string. > > Convert this parameter into a struct so that we can pass all functions the > same

Re: [U-Boot] [PATCH v2 06/27] spl: Kconfig: Move SPL_DISPLAY_PRINT to Kconfig

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:56PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. Also add a function > comment to the header file. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc

Re: [U-Boot] [PATCH] imx-common: enlarge mux width to 4

2016-09-27 Thread Peng Fan
Hi Stefano, Ping.. I did not see this patch in patchwork (:- Thanks, Peng. On Sun, Sep 18, 2016 at 04:28:28PM +0800, van.free...@gmail.com wrote: >From: Peng Fan > >For i.MX6, the mux width is 4, not 3. So enlarge the width. >IOMUX_CONFIG_LPSR is changed from 0x8 to 0x20 to

Re: [U-Boot] [PATCH V2 6/8] imx: mx6ullevk: support plugin

2016-09-27 Thread Peng Fan
Hi Tom, On Tue, Sep 27, 2016 at 08:46:32PM -0400, Tom Rini wrote: >On Tue, Sep 27, 2016 at 05:23:25PM +0800, Peng Fan wrote: > >> Add plugin code for mx6ullevk. >> Define CONFIG_USE_PLUGIN in include/configs/mx6ullevk.h to use plugin code. > >This isn't the correct thing to say now that it's in

Re: [U-Boot] [PATCH v2 4/8] x86: Tidy up selection of building the EFI stub

2016-09-27 Thread Bin Meng
Hi Simon, On Wed, Sep 28, 2016 at 1:55 AM, Simon Glass wrote: > Hi Bin, > > On 26 September 2016 at 20:44, Bin Meng wrote: >> Hi Simon, >> >> On Tue, Sep 27, 2016 at 8:35 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 26 September 2016

Re: [U-Boot] [PATCH V2 3/8] imx: mx7: Add plugin support

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:23:22PM +0800, Peng Fan wrote: > Add mx7_plugin.S which calls boot rom setup function, generate the second ivt, > and jump back to boot rom. > > Signed-off-by: Peng Fan > Signed-off-by: Ye Li > Cc: Stefano Babic

Re: [U-Boot] [PATCH V2 1/8] tools: imximage: add plugin support

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:23:20PM +0800, Peng Fan wrote: > Add plugin support for imximage. > > Define CONFIG_USE_IMXIMG_PLUGIN in defconfig to enable using plugin. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Eric Nelson > Cc:

Re: [U-Boot] [PATCH V2 6/8] imx: mx6ullevk: support plugin

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:23:25PM +0800, Peng Fan wrote: > Add plugin code for mx6ullevk. > Define CONFIG_USE_PLUGIN in include/configs/mx6ullevk.h to use plugin code. This isn't the correct thing to say now that it's in Kconfig. > > Signed-off-by: Peng Fan > Cc: Stefano

Re: [U-Boot] [PATCH V2 2/8] imx: mx6: Add plugin support

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:23:21PM +0800, Peng Fan wrote: > Add mx6_plugin.S which calls boot rom setup function, generate the second ivt, > and jump back to boot rom. > > Signed-off-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Utkarsh Gupta

Re: [U-Boot] [PATCH V2 5/8] imx-common: compile plugin code

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:23:24PM +0800, Peng Fan wrote: > If CONFIG_USE_IMXIMG_PLUGIN is selected, plugin.bin will be > generated under board/$(BOARDDIR)/. > > Signed-off-by: Peng Fan > Cc: Stefano Babic Reviewed-by: Tom Rini -- Tom

Re: [U-Boot] [PATCH V2 4/8] imx-common: inctroude USE_IMXIMG_PLUGIN Kconfig

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:23:23PM +0800, Peng Fan wrote: > Introduce USE_IMXIMG_PLUGIN Kconfig > > Signed-off-by: Peng Fan > Cc: Stefano Babic Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-09-27 Thread york sun
On 08/22/2016 06:54 AM, Marek Vasut wrote: > On 08/22/2016 02:25 PM, Sriram Dash wrote: >> This is required for better performance, and performs below tuning: >> 1. Enable burst length set, and define it as 4/8/16. >> 2. Set burst request limit to 16 requests. >> >> Signed-off-by: Rajesh Bhagat

[U-Boot] ccache and buildman

2016-09-27 Thread york sun
Simon, I read through the document but didn't figure out how to use ccache with buildman. Is it even possible? York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] cros_ec: Honor the google,remote-bus dt property

2016-09-27 Thread Moritz Fischer
Boards where ECs that use a I2C port != 0 specify this in the devicetree file via the google,remote-bus property. Previously this was ignored and hardcoded to port 0. Signed-off-by: Moritz Fischer Cc: Simon Glass Cc: Heiko Schocher Cc:

Re: [U-Boot] [PATCH 15/23] gpio: eg20t: Add driver for Intel EG20T GPIO controllers

2016-09-27 Thread Simon Glass
Hi Paul, On 27 September 2016 at 02:21, Paul Burton wrote: > On Monday, 26 September 2016 18:35:32 BST Simon Glass wrote: > >> > +enum { > >> > + REG_IEN = 0x00, > >> > + REG_ISTATUS = 0x04, > >> > + REG_IDISP = 0x08, > >> > + REG_ICLR = 0x0c, > >> > + REG_IMASK = 0x10, >

Re: [U-Boot] ccache and buildman

2016-09-27 Thread Simon Glass
Hi York, On 27 September 2016 at 14:42, york sun wrote: > Simon, > > I read through the document but didn't figure out how to use ccache with > buildman. Is it even possible? I'm not sure - you could try it if you like. If you figure it out, it would be a good addition to the

Re: [U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-09-27 Thread Marek Vasut
On 09/27/2016 10:30 PM, york sun wrote: > On 08/22/2016 06:54 AM, Marek Vasut wrote: >> On 08/22/2016 02:25 PM, Sriram Dash wrote: >>> This is required for better performance, and performs below tuning: >>> 1. Enable burst length set, and define it as 4/8/16. >>> 2. Set burst request limit to 16

Re: [U-Boot] [PATCH v4] drivers: usb: xhci-fsl: Implement Erratum A-010151 for FSL USB3 controller

2016-09-27 Thread Marek Vasut
On 09/27/2016 10:29 PM, york sun wrote: > On 09/25/2016 12:52 PM, Marek Vasut wrote: >> On 09/23/2016 09:27 AM, Sriram Dash wrote: >>> Currently the controller by default enables the Receive Detect feature in P3 >>> mode in USB 3.0 PHY. However, USB 3.0 PHY does not reliably support receive >>>

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

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 06:27:45PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull this one small ppc4xx change. > > Thanks, > Stefan > > The following changes since commit cbe7706ab8aab06c18edaa9b120371f9c8012728: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2016-09-26 17:10:56

Re: [U-Boot] ti_armv7_common.h: Adjust malloc pool size in all cases.

2016-09-27 Thread Tom Rini
On Mon, Sep 19, 2016 at 01:05:34PM -0400, Tom Rini wrote: > Previously we had been adjusting CONFIG_SYS_MALLOC_LEN based on if > CONFIG_DFU_MMC has been set or not. However, for quite some time this > has not been the case as we often include > prior to setting CONFIG_DFU_MMC so we would always

Re: [U-Boot] [PATCH] usb:gadget: Disallow DFU in SPL for now

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 10:42:00AM -0400, Tom Rini wrote: > Previously, DFU was not built in for SPL and often disabled via the board > config.h file, in the SPL build. By moving DFU to Kconfig we now need to > move this logic to the Makefile to continue to allow boards to fit within > their SPL

Re: [U-Boot] dfu: Migrate to Kconfig

2016-09-27 Thread Tom Rini
On Mon, Sep 19, 2016 at 01:31:30PM -0400, Tom Rini wrote: > Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for > CMD_DFU (as we must have the DFU command enabled to do anything DFU). > Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add > options for all of

Re: [U-Boot] Pull request, u-boot-tegra/master

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 09:16:22AM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks! > > All Tegra builds are OK, and Stephen's automated test system reports that > all tests pass. > > The following changes since commit

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

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:33:20PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the 2nd batch of Marvell MVEBU related patches. This > time the new ARM64 Armada 37xx and Armada 7k/8k support. > > Thanks, > Stefan > > > The following changes since commit

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

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 08:34:50AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-ubi.git master > > The following changes since commit cbe7706ab8aab06c18edaa9b120371f9c8012728: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2016-09-26 17:10:56 -0400) > > are available

Re: [U-Boot] [PATCH v2 5/8] arm: efi: Add a hello world test program

2016-09-27 Thread Tom Rini
On Mon, Sep 26, 2016 at 09:36:19AM +0200, Alexander Graf wrote: > > > On 25.09.16 23:27, Simon Glass wrote: > > It is useful to have a basic sanity check for EFI loader support. Add a > > 'bootefi hello' command which loads HelloWord.efi and runs it under U-Boot. > > > > Signed-off-by: Simon

Re: [U-Boot] [PATCH v4] drivers: usb: xhci-fsl: Implement Erratum A-010151 for FSL USB3 controller

2016-09-27 Thread york sun
On 09/25/2016 12:52 PM, Marek Vasut wrote: > On 09/23/2016 09:27 AM, Sriram Dash wrote: >> Currently the controller by default enables the Receive Detect feature in P3 >> mode in USB 3.0 PHY. However, USB 3.0 PHY does not reliably support receive >> detection in P3 mode. >> Enabling the USB3

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 06:24:09PM +, york sun wrote: > On 09/27/2016 10:51 AM, Tom Rini wrote: > > On Tue, Sep 27, 2016 at 05:39:55PM +, york sun wrote: > >> Guys, > >> > >> I want to discuss to rearrange the current CONFIG_* macros used by > >> Freescale Layerscape SoCs. We have been

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread york sun
On 09/27/2016 10:55 AM, Simon Glass wrote: > Hi York, > > On 27 September 2016 at 11:39, york sun wrote: >> Guys, >> >> I want to discuss to rearrange the current CONFIG_* macros used by >> Freescale Layerscape SoCs. We have been encouraged to use CONFIG_SYS_* >> macros to

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread york sun
On 09/27/2016 10:51 AM, Tom Rini wrote: > On Tue, Sep 27, 2016 at 05:39:55PM +, york sun wrote: >> Guys, >> >> I want to discuss to rearrange the current CONFIG_* macros used by >> Freescale Layerscape SoCs. We have been encouraged to use CONFIG_SYS_* >> macros to define hardware setting, and

Re: [U-Boot] [PATCH] clk: rk3399: fix rockchip_get_cru

2016-09-27 Thread Simon Glass
On 27 September 2016 at 01:48, Jacob Chen wrote: > clk_rk3399 is driver name, not device name > > Signed-off-by: Jacob Chen > --- > > drivers/clk/rockchip/clk_rk3399.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Acked-by:

Re: [U-Boot] [PATCH v3 1/7] clk: clk-uclass: Assign clk->dev before call .of_xlate

2016-09-27 Thread Simon Glass
On 26 September 2016 at 21:00, Wenyou Yang wrote: > In order to make clk->dev available in ops->of_xlate() to get the > clock ID from the 'reg' property of the clock node, assign the > clk->dev before calling ops->of_xlate(). > > Signed-off-by: Wenyou Yang

Re: [U-Boot] [PATCH] arm: Add return value argument to longjmp

2016-09-27 Thread Simon Glass
On 27 September 2016 at 01:30, Alexander Graf wrote: > The normal longjmp command allows for a caller to pass the return value > of the setjmp() invocation. This patch adds that semantic to the arm > implementation of it and adjusts the efi_loader call respectively. > >

Re: [U-Boot] [PATCH 2/2] power: regulator: lp873x: Add regulator support

2016-09-27 Thread Simon Glass
Hi Keerthy, On 26 September 2016 at 21:45, Keerthy wrote: > > > On Tuesday 27 September 2016 06:04 AM, Simon Glass wrote: >> >> Hi, >> >> On 26 September 2016 at 00:00, Keerthy wrote: >>> >>> The driver provides regulator set/get voltage >>> enable/disable

Re: [U-Boot] [PATCH v2 08/10] dtoc: Use items() to iterate over dictionaries in python 3.x

2016-09-27 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > In python 3.x the iteritems() method has been removed from dictionaries, > and the items() method does effectively the same thing. On python 2.x > using items() is a little less efficient since it involves copying data, >

Re: [U-Boot] [PATCH v2 4/8] x86: Tidy up selection of building the EFI stub

2016-09-27 Thread Simon Glass
Hi Bin, On 26 September 2016 at 20:44, Bin Meng wrote: > Hi Simon, > > On Tue, Sep 27, 2016 at 8:35 AM, Simon Glass wrote: >> Hi Bin, >> >> On 26 September 2016 at 02:50, Bin Meng wrote: >>> Hi Simon, >>> >>> On Mon, Sep 26, 2016 at

Re: [U-Boot] [PATCH v2 07/10] patman: Fix doctest StringIO import for python 3.x

2016-09-27 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > In python 3.x StringIO is no longer a module, and the class can instead > be found in the io module. Adjust the code in the doctest input to > account for both. > > Signed-off-by: Paul Burton > >

Re: [U-Boot] [PATCH 0/9] Python 3.x support for patman & dtoc

2016-09-27 Thread Simon Glass
Hi Paul, On 27 September 2016 at 09:07, Paul Burton wrote: > On Monday, 26 September 2016 18:33:19 BST Simon Glass wrote: >> Hi Paul, >> >> On 26 September 2016 at 08:30, Paul Burton wrote: >> > This series makes patman & dtoc run on python 3.x,

Re: [U-Boot] [PATCH v2 06/10] patman: Use items() to iterate over dictionaries

2016-09-27 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > In python 3.x the iteritems() method has been removed from dictionaries, > and the items() method does effectively the same thing. On python 2.x > using items() is a little less efficient since it involves copying data, >

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread Simon Glass
Hi York, On 27 September 2016 at 11:39, york sun wrote: > Guys, > > I want to discuss to rearrange the current CONFIG_* macros used by > Freescale Layerscape SoCs. We have been encouraged to use CONFIG_SYS_* > macros to define hardware setting, and other CONFIG_* macros for

[U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread york sun
Guys, I want to discuss to rearrange the current CONFIG_* macros used by Freescale Layerscape SoCs. We have been encouraged to use CONFIG_SYS_* macros to define hardware setting, and other CONFIG_* macros for user setting. Clearly this has changed. Kconfig options are used for most user

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:39:55PM +, york sun wrote: > Guys, > > I want to discuss to rearrange the current CONFIG_* macros used by > Freescale Layerscape SoCs. We have been encouraged to use CONFIG_SYS_* > macros to define hardware setting, and other CONFIG_* macros for user > setting.

Re: [U-Boot] [PATCH 1/3] ARM: keystone: remove declaration of unused functions

2016-09-27 Thread Tom Rini
On Mon, Sep 26, 2016 at 08:45:25PM +0900, Masahiro Yamada wrote: > These two functions are neither defined nor referenced. > > Signed-off-by: Masahiro Yamada Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 3/3] Revert "ns16650: Make sure we have CONFIG_CLK set before using infrastructure"

2016-09-27 Thread Tom Rini
On Mon, Sep 26, 2016 at 08:45:27PM +0900, Masahiro Yamada wrote: > This reverts commit 82f5279b0cd99a9163d34cfe926d0316d9dc0d37. > > The build failure of k2*evm boards was fixed in a different way by > the previous commit. It is nasty to patch generic drivers around > with #ifdef CONFIG_CLK

Re: [U-Boot] [PATCH 2/3] ARM: keystone: rename clk_get_rate() to ks_clk_get_rate()

2016-09-27 Thread Tom Rini
On Mon, Sep 26, 2016 at 08:45:26PM +0900, Masahiro Yamada wrote: > The KeyStone platform has its own clk_get_rate() but its prototype > is different from that of the common-clk (clk-uclass) framework. > > Prefix the KeyStone specific implementation with _ks in order to > avoid name-space

Re: [U-Boot] [PATCH 5/5] check-config: allow to complete build even with ad-hoc CONFIG options

2016-09-27 Thread Tom Rini
On Mon, Sep 26, 2016 at 01:05:02PM +0900, Masahiro Yamada wrote: > Currently, the check-config.sh terminates the build when unknown > ad-hoc options are detected. I think it is too much because we may > want to patch config headers locally in a build/deployment project. I'm not yet convinced

Re: [U-Boot] [PATCH 4/6] ARMv8: Setup PSCI memory and dt

2016-09-27 Thread york sun
On 09/27/2016 02:29 AM, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > Newly add ARMv8 PSCI needs to be initialized, be copied or reserved in right > place, this patch does all the setup steps. > > Signed-off-by: Hongbo Zhang > --- >

Re: [U-Boot] [PATCH 2/2] board: ti: dra7xx: complex definitions should be protected with parentheses

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 01:01:42PM +0530, Mugunthan V N wrote: > As a standard practice complex definitions should be protected > with parentheses, as it might fail when used in a complex if > statements. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 1/2] ARM: dts: dra72: add rev C evm support

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 01:01:41PM +0530, Mugunthan V N wrote: > Add DTS support for dra72 evm Rev C which has the following > changes > * Two ethernet ports now instead of the single one in rev B. > * DP83867 ethernet phy instead of DP838865. > > Cc: Vignesh R > Signed-off-by:

Re: [U-Boot] [PATCH] spl: saveenv: adding saveenv support in SPL

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 12:15:08PM +0530, Ravi Babu wrote: > By default saveenv option is not supported for SPL. This patch > enable the support for save environment variable for SPL build. > > Enable save environment support in SPL after setenv. By default > the saveenv option is not provided

Re: [U-Boot] [PATCH 0/6] Add ARMv8 PSCI framework

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:29:00PM +0800, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > This patch set introduces ARMv8 PSCI framework, all the PSCI functions are > implemented a default dummy one, it is up to each platform to implement their > own specific ones. >

Re: [U-Boot] U-Boot DFU test and Ctrl+C

2016-09-27 Thread Stephen Warren
On 09/27/2016 09:46 AM, Tom Rini wrote: Hey guys, As I use the DFU tests more and more, I keep hitting what I'm pretty sure is a false failure in the tests. Sometimes the tests fail at: u_boot_console.wait_for('Ctrl+C to exit ...') and the last bit of the console log is: Starting

Re: [U-Boot] [PATCH v2] common/xyzModem.c: Fix delay timeout calculation

2016-09-27 Thread Andrew F. Davis
On 09/23/2016 02:57 PM, Tom Rini wrote: > On Tue, Sep 20, 2016 at 10:39:49AM -0500, Andrew F. Davis wrote: > >> When waiting for input in CYGACC_COMM_IF_GETC_TIMEOUT we delay 2 >> seconds by incrementing and checking a counter variable every 20 >> uSeconds. The overhead in the loop calling tstc()

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

2016-09-27 Thread Stefan Roese
Hi Tom, please pull this one small ppc4xx change. Thanks, Stefan The following changes since commit cbe7706ab8aab06c18edaa9b120371f9c8012728: Merge git://git.denx.de/u-boot-fsl-qoriq (2016-09-26 17:10:56 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH] CPCI4052: Remove CONFIG_AUTO_COMPLETE and custom baud rate table

2016-09-27 Thread Stefan Roese
On 20.08.2016 23:52, Tom Rini wrote: This board is getting close to or exceeding the size limit again, remove CONFIG_AUTO_COMPLETE to save space and while in here switch to the default and slightly less complete default baudrate table. Cc: Matthias Fuchs

[U-Boot] Pull request, u-boot-tegra/master

2016-09-27 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All Tegra builds are OK, and Stephen's automated test system reports that all tests pass. The following changes since commit cbe7706ab8aab06c18edaa9b120371f9c8012728: Merge git://git.denx.de/u-boot-fsl-qoriq (2016-09-26

  1   2   >