Re: [U-Boot] [PATCH 3/5] fsl PPA: add support PPA image loading from NAND and SD

2017-03-03 Thread york sun
On 03/03/2017 05:45 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Signed-off-by: Hou Zhiqiang > --- > arch/arm/cpu/armv8/fsl-layerscape/ppa.c | 118 > +++- > 1 file changed, 117 insertions(+), 1 deletion(-) > >

Re: [U-Boot] [PATCH v3 01/11] armv8: Add global variable resv_ram

2017-03-03 Thread york sun
On 03/02/2017 08:53 PM, Simon Glass wrote: > Hi York, > > On 1 March 2017 at 12:32, York Sun wrote: >> Use gd->arch.resv_ram to track reserved memory allocation. >> >> Signed-off-by: York Sun >> --- >> >> Changes in v3: None >> Changes in v2: None >> >>

Re: [U-Boot] arm: cache: misaligned operation with fastboot

2017-03-03 Thread Gary Bisson
Hi Steve, On Fri, Mar 3, 2017 at 12:03 AM, Steve Rae wrote: > > Hi Gary, > > On Thu, Mar 2, 2017 at 3:12 AM, Lukasz Majewski wrote: >> >> Hi, >> >> > Hi Fabio, Lukasz, >> > >> > On Wed, Feb 15, 2017 at 02:24:40PM -0200, Fabio Estevam wrote: >> > > On Wed,

Re: [U-Boot] [PATCH 1/2] cmd: ubifs: Add a dependency on CMD_UBI

2017-03-03 Thread Heiko Schocher
Hello Maxime, Am 03.03.2017 um 15:32 schrieb Maxime Ripard: CMD_UBIFS can't compile without CMD_UBI enabled. Make sure we can't end up in that case. Signed-off-by: Maxime Ripard --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) Good catch! Thanks!

Re: [U-Boot] [PATCH 04/17] SPL: FIT: factor out spl_load_fit_image()

2017-03-03 Thread Andrew F. Davis
On 02/28/2017 08:25 PM, Andre Przywara wrote: > At the moment we load two images from a FIT image: the actual U-Boot > image and the DTB. Both times we have very similar code to deal with > alignment requirement the media we load from imposes upon us. > Factor out this code into a new function,

Re: [U-Boot] [PATCH 12/17] Makefile: add rules to generate SPL FIT images

2017-03-03 Thread Andrew F. Davis
On 02/28/2017 08:25 PM, Andre Przywara wrote: > Some platforms require more complex U-Boot images than we can easily > generate via the mkimage command line, for instance to load additional > image files. > Introduce a CONFIG_SPL_FIT_SOURCE and CONFIG_SPL_FIT_GENERATOR symbol, > which can either

[U-Boot] [PATCH 4/5] omap3: Migrate to using imply

2017-03-03 Thread Tom Rini
Move the default y options under arch/arm/mach-omap2/omap3/Kconfig to be using imply instead in arch/arm/Kconfig Signed-off-by: Tom Rini --- arch/arm/Kconfig | 11 +++ arch/arm/mach-omap2/omap3/Kconfig | 33 - 2 files

[U-Boot] [PATCH 5/5] omap4: Migrate to using imply

2017-03-03 Thread Tom Rini
Move the default y options under arch/arm/mach-omap2/omap4/Kconfig to be using imply instead in arch/arm/Kconfig Signed-off-by: Tom Rini --- arch/arm/Kconfig | 12 arch/arm/mach-omap2/omap4/Kconfig | 36 2

Re: [U-Boot] [PATCH 04/17] SPL: FIT: factor out spl_load_fit_image()

2017-03-03 Thread Franklin S Cooper Jr
On 03/03/2017 10:56 AM, Andrew F. Davis wrote: > On 02/28/2017 08:25 PM, Andre Przywara wrote: >> At the moment we load two images from a FIT image: the actual U-Boot >> image and the DTB. Both times we have very similar code to deal with >> alignment requirement the media we load from imposes

[U-Boot] [PATCH 1/5] kconfiglib.py: Kludge in 'imply' support

2017-03-03 Thread Tom Rini
Currently upstream does not yet understand the imply keyword. For what we use kconfiglib.py for today, this is OK. We only need to be able to evaluate in order to make boards.cfg and none of those choices will depend on how imply evaluates out. Signed-off-by: Tom Rini ---

[U-Boot] [PATCH] sunxi: Add maintainer of the NanoPi NEO Air

2017-03-03 Thread Jelle van der Waa
Add myself as maintainer of the NanoPi NEO Air board. Signed-off-by: Jelle van der Waa --- board/sunxi/MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index 2321b8b08f..5ad40ab2a2 100644 ---

[U-Boot] [PATCH 3/5] TI: Migrate board/ti/common/Kconfig to imply

2017-03-03 Thread Tom Rini
The option that we had set in board/ti/common/Kconfig as default y are best done with imply under the appropriate main Kconfig option instead. Signed-off-by: Tom Rini --- arch/arm/Kconfig | 13 + arch/arm/mach-omap2/am33xx/Kconfig | 36

[U-Boot] [PATCH 2/5] am335x_evm: Switch to using imply keyword

2017-03-03 Thread Tom Rini
These particular SPL options are part of what the ROM provides, but for compatibility with how we have previously used them, move them to being implied by the board being selected. Signed-off-by: Tom Rini --- arch/arm/mach-omap2/am33xx/Kconfig | 3 +++

[U-Boot] [PATCH 3/3] imx: mx6slevk: enable more DM drivers

2017-03-03 Thread Peng Fan
Enable more DM drivers. The imx I2C/MMC DM drivers needs DM_GPIO enabled. So needs to enable them together. DM FEC and SPI are not enabled, but they use gpio in board code. So use gpio_request first to request the gpio, because DM_GPIO is enabled. Signed-off-by: Peng Fan Cc:

[U-Boot] [PATCH 1/3] imx: mx6slevk: use SPI_BOOT

2017-03-03 Thread Peng Fan
Use SPI_BOOT instead of SYS_BOOT_SPINOR. Signed-off-by: Peng Fan Cc: Stefano Babic --- configs/mx6slevk_spinor_defconfig | 3 ++- include/configs/mx6slevk.h| 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH] spi: mxc_spi: support driver model

2017-03-03 Thread Peng Fan
Add driver model support for mxc spi driver. Most functions are restructured to be reused by DM and non-DM. Tested on mx6slevk board. Signed-off-by: Peng Fan Cc: Jagan Teki cc: Stefano Babic --- drivers/spi/mxc_spi.c | 185

[U-Boot] [ PATCH 2/2] net: move Broadcom SF2 driver to Kconfig

2017-03-03 Thread Steve Rae
From: Suji Velupillai move to Kconfig: CONFIG_BCM_SF2_ETH CONFIG_BCM_SF2_ETH_GMAC Also modified defconfigs of all platforms that use these configs. Signed-off-by: Suji Velupillai Tested-by: Suji Velupillai

[U-Boot] [ PATCH 1/2] net: fix cache misaligned issue in Broadcom SF2 driver

2017-03-03 Thread Steve Rae
From: Suji Velupillai Fixed cache misaligned issue in the net driver. The issue shows-up when a call to flush_dcache_range is made with unaligned memory. The memory must be aligned to ARCH_DMA_MINALIGN. Signed-off-by: Suji Velupillai

Re: [U-Boot] [ PATCH 1/2] net: fix cache misaligned issue in Broadcom SF2 driver

2017-03-03 Thread Steve Rae
On Fri, Mar 3, 2017 at 5:06 PM, Steve Rae wrote: > From: Suji Velupillai > > Fixed cache misaligned issue in the net driver. The issue shows-up when > a call to flush_dcache_range is made with unaligned memory. The memory > must be aligned

Re: [U-Boot] [PATCH v3] serial: Add serial driver for Intel MID

2017-03-03 Thread Kever Yang
Hi Andy, On 02/28/2017 08:04 PM, Andy Shevchenko wrote: Add a specific serial driver for Intel MID platforms. It has special fractional divider which can be programmed via UART_PS, UART_MUL, and UART_DIV registers. The UART clock is calculated as UART clock = XTAL * UART_MUL /

Re: [U-Boot] [PATCH v2 2/6] dm: core: Allow multiple drivers to bind for a single node

2017-03-03 Thread Dr. Philipp Tomsich
Hi Simon, > On 03 Mar 2017, at 05:52, Simon Glass wrote: > > Hi Philipp, > > On 22 February 2017 at 13:47, Philipp Tomsich > > wrote: >> Currently, driver binding stops once it encounters

Re: [U-Boot] [PATCH 02/17] SPL: FIT: refactor FDT loading

2017-03-03 Thread Andre Przywara
Hi Simon, On 03/03/17 04:53, Simon Glass wrote: > Hi Andre, > > On 28 February 2017 at 19:25, Andre Przywara wrote: >> Currently the SPL FIT loader uses the spl_fit_select_fdt() function to >> find the offset to the right DTB within the FIT image. >> For this it iterates

Re: [U-Boot] [PATCH] usb gadget: increase envstr size in cb_getvar

2017-03-03 Thread Nicolas le bayon
Hi, would it be possible to consider this patch please? Best Regards Nicolas 2016-09-21 10:43 GMT+02:00 Nicolas le bayon : > Hi, > > I propose you this patch in order to take into account strings larger than > actual size (32). I recently faced to

Re: [U-Boot] [PATCH] cmd: wdt: Add "wdt disable" command

2017-03-03 Thread Lukasz Majewski
Hi Tom, > On Fri, Mar 03, 2017 at 01:01:11AM +0100, Lukasz Majewski wrote: > > > Add support for "wdt disable" command necessary for disabling the > > watchdog timer. > > > > Signed-off-by: Lukasz Majewski > > --- > > cmd/Kconfig| 6 ++ > > cmd/Makefile | 2

Re: [U-Boot] [PATCH] do_smhload: fix return code

2017-03-03 Thread Linus Walleij
On Thu, Mar 2, 2017 at 6:45 PM, Ryan Harkin wrote: > do_smhload was using a ulong to store the return value from > smh_load_file. That returns an int, where -1 indicates an error. As a > ulong will never be negative, smh_load_file errors were not detected and > so_smhload

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

2017-03-03 Thread Andre Przywara
Hi, On 03/03/17 09:22, Maxime Ripard wrote: > On Thu, Mar 02, 2017 at 12:03:20AM +0800, Icenowy Zheng wrote: >> >> 2017年3月1日 23:51于 Maxime Ripard 写道: >>> >>> Hi Andre, >>> >>> On Wed, Mar 01, 2017 at 02:25:26AM +, Andre Przywara wrote: The Pine64 (and

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

2017-03-03 Thread Maxime Ripard
On Thu, Mar 02, 2017 at 12:03:20AM +0800, Icenowy Zheng wrote: > > 2017年3月1日 23:51于 Maxime Ripard 写道: > > > > Hi Andre, > > > > On Wed, Mar 01, 2017 at 02:25:26AM +, Andre Przywara wrote: > > > The Pine64 (and all other 64-bit Allwinner boards) need to load

[U-Boot] [PATCH 0/4] Add Intel Arria 10 SoC FPGA driver

2017-03-03 Thread Chee Tien Fong
From: Tien Fong Chee This patchset adds FPGA driver to Intel Arria 10 SoC. This series is working on top of [1] initial patchset which enables the basic support for Arria 10 and other features. [1]: https://www.mail-archive.com/u-boot@lists.denx.de/msg240053.html

[U-Boot] [PATCH 1/4] arm: socfpga: Removing unused passing parameter of socfpga_bridges_reset

2017-03-03 Thread Chee Tien Fong
From: Tien Fong Chee This patch removes the unused passing parameter of socfpga_bridges_reset function in Arria10. Signed-off-by: Tien Fong Chee Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ching Liang See

[U-Boot] [PATCH 4/4] arm: socfpga: Add FPGA driver support for Arria 10

2017-03-03 Thread Chee Tien Fong
From: Tien Fong Chee Add FPGA driver support for Arria 10. Signed-off-by: Tien Fong Chee Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ching Liang See Cc: Ley Foon

Re: [U-Boot] [PATCH] cmd: wdt: Add "wdt disable" command

2017-03-03 Thread Tom Rini
On Fri, Mar 03, 2017 at 09:46:37AM +0100, Lukasz Majewski wrote: > Hi Tom, > > > On Fri, Mar 03, 2017 at 01:01:11AM +0100, Lukasz Majewski wrote: > > > > > Add support for "wdt disable" command necessary for disabling the > > > watchdog timer. > > > > > > Signed-off-by: Lukasz Majewski

Re: [U-Boot] [PATCH] usb gadget: increase envstr size in cb_getvar

2017-03-03 Thread Lukasz Majewski
Hi Nicolas, +Marek on CC > Hi, > > would it be possible to consider this patch please? > > Best Regards > Nicolas > > 2016-09-21 10:43 GMT+02:00 Nicolas le bayon : > > > Hi, > > > > I propose you this patch in order to take into account strings > > larger than actual size

[U-Boot] [PATCH 2/4] arm: socfpga: Restructure FPGA driver in the preparation to support A10.

2017-03-03 Thread Chee Tien Fong
From: Tien Fong Chee Move the Gen5 specific code to gen5 files. No functional change. Signed-off-by: Tien Fong Chee Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ching Liang See Cc: Ley

[U-Boot] [PATCH 3/4] arm: socfpga: Add Arria10 FPGA manager program assembly driver

2017-03-03 Thread Chee Tien Fong
From: Tien Fong Chee This patch adding the Arria10 FPGA manager program assembly driver which can be used for feeding bitstream to configure FPGA. Signed-off-by: Tien Fong Chee Cc: Marek Vasut Cc: Dinh Nguyen

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-03-03 Thread Alexey Brodkin
Hi Marek, On Fri, 2017-03-03 at 00:57 +0100, Marek Vasut wrote: > On 03/01/2017 01:52 PM, Alexey Brodkin wrote: > > > > Hi Marek, > > > > On Fri, 2017-02-10 at 21:33 +0100, Marek Vasut wrote: > > > > > > On 02/10/2017 09:23 PM, Alexey Brodkin wrote: > > > > > > > > > > > > Current

[U-Boot] [PATCH 1/5] mtd: nand: add initialization flag

2017-03-03 Thread Zhiqiang Hou
From: Hou Zhiqiang Add initialization flag to avoid initializing NAND Flash multiple times, otherwise it will calculate a wrong total size. Signed-off-by: Hou Zhiqiang --- drivers/mtd/nand/nand.c | 10 ++ 1 file changed, 10 insertions(+)

[U-Boot] [PATCH 2/5] mtd: nand: remove nand size print from nand_init function

2017-03-03 Thread Zhiqiang Hou
From: Hou Zhiqiang Add nand_size() function to move the nand size print into initr_nand(). Remove nand size print from nand_init() to allow other function to call nand_init() without printing nand size. Signed-off-by: Hou Zhiqiang ---

[U-Boot] [PATCH 3/5] fsl PPA: add support PPA image loading from NAND and SD

2017-03-03 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- arch/arm/cpu/armv8/fsl-layerscape/ppa.c | 118 +++- 1 file changed, 117 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ppa.c

[U-Boot] [PATCH 4/5] Kconfig: fsl-ppa: support load PPA from eMMC/SD and NAND Flash

2017-03-03 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig

[U-Boot] [PATCH 5/5] fsl-layerscape/ls104xardb: enable PPA support for eMMC/SD and NAND boot

2017-03-03 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- configs/ls1043ardb_nand_defconfig | 1 + configs/ls1043ardb_sdcard_defconfig | 1 + configs/ls1046ardb_emmc_defconfig | 1 + configs/ls1046ardb_sdcard_defconfig | 1 + 4 files changed, 4

Re: [U-Boot] [PATCH v5 16/16] sunxi: Add support for the CHIP Pro

2017-03-03 Thread Tom Rini
On Fri, Mar 03, 2017 at 03:48:08PM +0100, Maxime Ripard wrote: > Hi Tom, > > On Wed, Mar 01, 2017 at 10:58:56AM -0500, Tom Rini wrote: > > On Mon, Feb 27, 2017 at 06:22:15PM +0100, Maxime Ripard wrote: > > > > > The CHIP Pro is a SoM that features the GR8 SIP, an AXP209, a BT/WiFi chip > > > and

[U-Boot] [PATCH 1/2] cmd: ubifs: Add a dependency on CMD_UBI

2017-03-03 Thread Maxime Ripard
CMD_UBIFS can't compile without CMD_UBI enabled. Make sure we can't end up in that case. Signed-off-by: Maxime Ripard --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 8e2a05de82ea..585a00c31f4e 100644 ---

[U-Boot] [PATCH 2/2] cmd: nand: Make the NAND options default to NAND_SUNXI

2017-03-03 Thread Maxime Ripard
If we depend on the ARCH_SUNXI configuration option, the boards that do not have NAND support enabled (with the associated options) will not compile anymore. Depend on the NAND driver configuration option to make sure that is not the case. Reported-by: Chen-Yu Tsai Signed-off-by:

Re: [U-Boot] [PATCH v5 16/16] sunxi: Add support for the CHIP Pro

2017-03-03 Thread Maxime Ripard
Hi Tom, On Wed, Mar 01, 2017 at 10:58:56AM -0500, Tom Rini wrote: > On Mon, Feb 27, 2017 at 06:22:15PM +0100, Maxime Ripard wrote: > > > The CHIP Pro is a SoM that features the GR8 SIP, an AXP209, a BT/WiFi chip > > and a 512MiB SLC NAND. > > > > This it's an SLC NAND, it doesn't suffer the

Re: [U-Boot] [PATCH 1/4] arm: socfpga: Removing unused passing parameter of socfpga_bridges_reset

2017-03-03 Thread Dinh Nguyen
On 03/03/2017 06:50 AM, Chee Tien Fong wrote: > From: Tien Fong Chee > > This patch removes the unused passing parameter of socfpga_bridges_reset > function in Arria10. > > Signed-off-by: Tien Fong Chee > Cc: Marek Vasut >

Re: [U-Boot] [PATCH v2 2/8] Revert "spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible"

2017-03-03 Thread Rush, Jason A.
Marek Vasut wrote: > On 03/01/2017 05:36 PM, Rush, Jason A. wrote: >> This reverts commit b63b46313ed29e9b0c36b3d6b9407f6eade40c8f. >> >> The Cadence QSPI device does not work with caching (introduced with >> the bounce buffer in this commit) on the Altera SoC platform. >> >> Signed-off-by: Jason

Re: [U-Boot] [PATCH v1] gpt: Fix uuid string format

2017-03-03 Thread Andy Shevchenko
On Fri, Mar 3, 2017 at 6:52 AM, Simon Glass wrote: > Hi Andy, > > On 27 February 2017 at 07:11, Andy Shevchenko > wrote: >> From: Vincent Tinelli >> >> Change GPT UUID string format from UUID to GUID per

Re: [U-Boot] [U-Boot, v4] armv8: spl: Call spl_relocate_stack_gd for ARMv8

2017-03-03 Thread Tom Rini
On Wed, Mar 01, 2017 at 09:04:15PM +0100, Philipp Tomsich wrote: > As part of the startup process for boards using the SPL, we need to > call spl_relocate_stack_gd. This is needed to set up malloc with its > DRAM buffer. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v2] net: macb: Fix ETH not found when clock not support

2017-03-03 Thread Tom Rini
On Tue, Feb 14, 2017 at 04:24:40PM +0800, Wenyou Yang wrote: > For the boards such as smartweb on which the clock driver isn't > supported, the ethernet fail to be found when booting up with > the below log. Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] armv5te: make 'ret lr' produce iinterworking 'bx lr'

2017-03-03 Thread Tom Rini
On Mon, Feb 27, 2017 at 08:19:07PM +0100, Albert ARIBAUD wrote: > Current ARM assembler helper for the 'return to caller' pseudo-instruction > turns 'ret lr' into 'mov pc, lr' for ARMv5TE. This causes the core to remain > in its current ARM state even when the routine doing the 'ret' was called >