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

2016-09-27 Thread Tom Rini
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 size limit (until gcc 6 is more widespread and unused strings will

Re: [U-Boot] [PATCHv2] scripts: Add script to extract default environment

2016-09-27 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On 16 September 2016 at 22:57, Lukasz Majewski > wrote: > > This script looks for env_common.o object file and extracts from it > > default u-boot environment, which is afterwards printed on standard > > output. > > > > Usage example: > >

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

2016-09-27 Thread shh.xie
From: Shaohui Xie LPUART0 is used by default, and it's using platform clock, if a different clock is preferred, user can define CONFIG_LPUART_CLK. Signed-off-by: Shaohui Xie --- arch/arm/dts/Makefile | 1 +

Re: [U-Boot] [PATCH 01/23] image: Use ram_top, not bi_memsize, in getenv_bootm_size

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 01:03:47PM +0200, Daniel Schwierzeck wrote: > +cc Simon and Tom > > 2016-09-26 20:28 GMT+02:00 Paul Burton : > > When determining the region of memory to allow for use by bootm, using > > bi_memstart & adding bi_memsize can cause problems if that

[U-Boot] [PATCH V2 8/8] imx: mx6ull_14x14_evk: add plugin defconfig

2016-09-27 Thread Peng Fan
Add defconfig file to use plugin code. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: New. The difference from mx6ull_14x14_evk_defconfig is CONFIG_USE_IMXIMG_PLUGIN added configs/mx6ull_14x14_evk_plugin_defconfig | 31 +++

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] 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] 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] [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] 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 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] [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

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

2016-09-27 Thread Peng Fan
Add plugin code for mx6ullevk. Define CONFIG_USE_PLUGIN in include/configs/mx6ullevk.h to use plugin code. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: Drop the makefile changes, because we have plugin supported in arch/arm/imx-common/Makefile.

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

2016-09-27 Thread Peng Fan
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 --- V2: None arch/arm/include/asm/arch-mx7/mx7_plugin.S | 111

Re: [U-Boot] [PATCH 19/23] boston: Setup memory ranges in FDT provided to Linux

2016-09-27 Thread Daniel Schwierzeck
2016-09-26 20:29 GMT+02:00 Paul Burton : > The boston memory map isn't suited to the simple "all memory starting > from 0" approach that the MIPS arch_fixup_fdt() implementation takes. > Instead we need to indicate the first 256MiB of DDR from 0 and the rest > from

Re: [U-Boot] [PATCH RESEND] phy: atheros: add support for RGMII_ID, RGMII_TXID and RGMII_RXID

2016-09-27 Thread Marek Vasut
On 05/26/2016 06:24 PM, Andrea Merello wrote: > This adds support for internal delay on RX and TX on RGMII interface for the > AR8035 phy. > > This is basically the same Linux driver do. Tested on a Zynq Zturn board (for > which u-boot support in is my tree; first patch waiting ML approval) > >

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

2016-09-27 Thread Peng Fan
Introduce USE_IMXIMG_PLUGIN Kconfig Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: New arch/arm/imx-common/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig index 1b7da5a..85eac57

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

2016-09-27 Thread Peng Fan
If CONFIG_USE_IMXIMG_PLUGIN is selected, plugin.bin will be generated under board/$(BOARDDIR)/. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: New. Make this common to all i.MX6/7, but not duplicated in board makefile. arch/arm/imx-common/Makefile | 29

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

2016-09-27 Thread Peng Fan
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 --- V2: None

[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

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

[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 ---

[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

[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 +

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

[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

[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(+)

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

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 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 ---

[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 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 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 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

[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

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 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 +++

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

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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] [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 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 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

[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 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] 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

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 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 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 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 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] 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

[U-Boot] [PATCH 2/6] ARMv8: Add secure sections for PSCI text and data

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang This patch adds secure_text, secure_data and secure_stack sections for ARMv8 to hold PSCI text and data, and it is based on the legacy implementation of ARMv7. Signed-off-by: Hongbo Zhang --- arch/arm/config.mk| 3 +-

[U-Boot] [PATCH 1/6] ARMv8: LS1043A: change macro CONFIG_ARMV8_PSCI definition

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang NXP/Freescale uses macro CONFIG_ARMV8_PSCI to enable their private PSCI implementation in PPA firmware, but this macro naming too generic, so this patch replaces it with a specic one CONFIG_FSL_PPA_ARMV8_PSCI. And this macro CONFIG_ARMV8_PSCI will be used

[U-Boot] x86: Booting Linux v4.7+ broken

2016-09-27 Thread Stefan Roese
Hi! I just tried to boot a recent Linux kernel on a BayTrail based x86 board and noticed that booting Linux kernel version v4.7+ does not work. git bisecting leads to this kernel commit changing the compressed image format: 974f221c: x86/boot: Move compressed kernel to the end of the

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

2016-09-27 Thread macro . wave . z
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. The first 1/6 patch is a prepare clean up for adding ARMv8 PSCI. Patches 2/6 to

[U-Boot] [PATCH 3/6] ARMv8: Add basic PSCI framework

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang This patch introduces a generic ARMv8 PSCI framework, with all functions returning a dummy ARM_PSCI_RET_NI (Not Implemented), then it is up to each platform to implement their own functions based on this framework. Signed-off-by: Hongbo Zhang

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

2016-09-27 Thread macro . wave . z
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 --- arch/arm/cpu/armv8/cpu-dt.c | 10 ++ arch/arm/cpu/armv8/cpu.c

[U-Boot] [PATCH 5/6] ARMv8: Enable SMC instruction

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang PSCI implementation needs the SMC instruction to be enabled. Following the legacy codes pattern, no bit macro definition and bit operation are used, only the immediate data used in line is changed. Signed-off-by: Hongbo Zhang ---

[U-Boot] [PATCH 6/6] ARMv8: LS1043A: Enable LS1043A default PSCI support

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang A most basic PSCI implementation with only one psci_version is added for LS1043A, this can verify the generic PSCI framework, and more platform specific implementation will be added later. Signed-off-by: Hongbo Zhang ---

[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] 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

[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

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

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

2016-09-27 Thread Paul Burton
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, which allows them to > > work without hacks on distributions where the python binary is

[U-Boot] [PATCH v2 10/10] dtoc: Make integer division python 3.x safe

2016-09-27 Thread Paul Burton
If we use the '/' operator then python 3.x will produce a float, and refuse to multiply the string sequence in Conv_name_to_c by it with: TypeError: can't multiply sequence by non-int of type 'float' Use the '//' operator instead to enforce that we want integer rather than floating point

[U-Boot] [PATCH v2 09/10] dtoc: Decode strings for struct.unpack on python 3.x

2016-09-27 Thread Paul Burton
On python 3.x struct.unpack will complain if we provide it with a string since it expects to operate on a bytes object. In order to satisfy this requirement, encode the string to a bytes object when running on python 3.x. Signed-off-by: Paul Burton Acked-by: Simon Glass

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

2016-09-27 Thread Stefan Roese
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 cbe7706ab8aab06c18edaa9b120371f9c8012728: Merge git://git.denx.de/u-boot-fsl-qoriq (2016-09-26 17:10:56 -0400)

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] [PATCH v2 01/10] patman: Replace tabs with spaces

2016-09-27 Thread Paul Burton
In preparation for running on python 3.x, which will refuse to run scripts which mix tabs & spaces for indentation, replace 2 tab characters present in series.py with spaces. Signed-off-by: Paul Burton Acked-by: Simon Glass --- Changes in v2: None

  1   2   >