Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi Marek, On Thu, Aug 6, 2015 at 11:28 AM, Marek Vasut ma...@denx.de wrote: You want to avoid this CONFIG_SYS_SPL_MALLOC_* stuff, as it increases the SPL size by 3kiB compared to MALLOC_F . Also, MALLOC_F needs just the base address of the malloc area to work (see my email). Thanks, I

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi Simon, On Thu, Aug 6, 2015 at 4:31 PM, Simon Glass s...@chromium.org wrote: Please check the README about the SPL flow. From what I can see malloc() is not available before board_init_r() in SPL. However, if you add a call to spl_init() from your board_init_f(), then early malloc would

Re: [U-Boot] [PATCH] dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port

2015-08-06 Thread Hans de Goede
Hi, On 06-08-15 18:10, Simon Glass wrote: hi Hans, On 1 August 2015 at 10:05, Simon Glass s...@chromium.org wrote: Hi Hans, On 25 July 2015 at 03:58, Hans de Goede hdego...@redhat.com wrote: Currently the serial code assumes that there is always at least one serial port (and panics /

[U-Boot] [PATCH] imx: usb: ehci-mx6: wait_for_bit to check reg status

2015-08-06 Thread Adrian Alonso
Add wait_for_bit to check reg bit status and replace unbounded loops to check usb command status Signed-off-by: Adrian Alonso aalo...@freescale.com --- Patch depends on the following patch set: imx: usb: ehci-mx6: add usb support for imx7d soc imx: usb: ehci-mx6: document board specific functions

Re: [U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-06 Thread LEMIEUX, SYLVAIN
-Original Message- From: Vladimir Zapolskiy [mailto:v...@mleia.com] Sent: 6-Aug-15 2:43 PM Hi Sylvain, On 06.08.2015 16:50, LEMIEUX, SYLVAIN wrote: Hi Vladimir, Thanks for the feedback; Marek, Vladimir, there is a question below; I will wait for feedback before

[U-Boot] [PATCH v3] x86: baytrail: Configure FSP UPD from device tree

2015-08-06 Thread Andrew Bradford
From: Andrew Bradford andrew.bradf...@kodakalaris.com Allow for configuration of FSP UPD from the device tree which will override any settings which the FSP was built with itself. Modify the MinnowMax and BayleyBay boards to transfer sensible UPD settings from the Intel FSPv4 Gold release to the

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

2015-08-06 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! ./MAKEALL -s tegra is OK (all 32-bit builds), and ./MAKEALL -a aarch64 is OK (includes p2571, P2371 and E220). The following changes since commit a5325cd5e91f77a2214e80198ae31c1d8b7e7c3c: configs: Remove CONFIG_SERIAL_MULTI

[U-Boot] [PATCH 1/2] sunxi: Fix gmac not working on the Colombus board

2015-08-06 Thread Hans de Goede
The phy is using a RGMII interface, which we need to specify in our board-config, and the dts needs a gmac section (the dts changes have also been submitted to the kernel). Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/dts/sun6i-a31-colombus.dts | 12

Re: [U-Boot] [PATCH] fdt: add new fdt address parsing functions

2015-08-06 Thread Stephen Warren
On 08/06/2015 03:31 PM, Stephen Warren wrote: fdtdec_get_addr_size() hard-codes the number of cells used to represent an address or size in DT. This is incorrect in many cases depending on the DT binding for a particular node or property (e.g. it is incorrect for the reg property). In most

Re: [U-Boot] [PATCH v3 25/25] rockchip: Add a simple README

2015-08-06 Thread Christoph Fritz
Hi Simon On Tue, 2015-06-23 at 17:29 -0600, Simon Glass wrote: +Future work +=== + +Immediate priorities are: + +- MMC support (in U-Boot itself) +- GPIO (driver exists but is lightly tested) +- I2C (driver exists but is non-functional) +- USB host +- USB device +- PMIC and

Re: [U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL

2015-08-06 Thread Piotr Zierhoffer
Hello 2015-08-02 14:56 GMT+02:00 Hans de Goede hdego...@redhat.com: Hi, On 01-08-15 21:22, Scott Wood wrote: On Sat, 2015-08-01 at 14:30 +0200, Boris Brezillon wrote: Hi Hans, On Sat, 1 Aug 2015 14:15:53 +0200 Hans de Goede hdego...@redhat.com wrote: Hi, On 23-07-15 14:33, Piotr

[U-Boot] [PATCH 1/3][v3] imx: usb: ehci-mx6: reg accessor cleanups

2015-08-06 Thread Adrian Alonso
Cleanup read/write register access, use clr/set bits_le32 Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: usb: ehci-mx6: add usb support for imx7d soc Changes for V3: Resend drivers/usb/host/ehci-mx6.c | 51

[U-Boot] [PATCH 2/3][v3] imx: usb: ehci-mx6: document board specific functions

2015-08-06 Thread Adrian Alonso
Document target board specific functions board_ehci_hcd_init - override usb phy mode board_ehci_hcd_init - set usb vbus voltage board_ehci_power - enables/disables usb vbus voltage Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: usb: ehci-mx6: add

[U-Boot] [PATCH 3/3][v3] imx: usb: ehci-mx6: add usb support for imx7d soc

2015-08-06 Thread Adrian Alonso
Extend ehci-mx6 usb driver to support imx7d usb Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Add usb_power_config and usb_phy_mode for usb otg id detection for imx7d Changes for V3: Fix identation for usbnc_regs struct drivers/usb/host/Makefile | 1 +

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 07:03:24 PM, Stefano Babic wrote: Hi Marek, On 06/08/2015 16:28, Marek Vasut wrote: On Thursday, August 06, 2015 at 04:14:34 PM, Fabio Estevam wrote: Hi Stefano and Marek, Thanks for the suggestions. On Thu, Aug 6, 2015 at 10:38 AM, Stefano Babic

Re: [U-Boot] [PATCH 01/13][v4] power: pmic: add pfuze3000 support

2015-08-06 Thread Przemyslaw Marczak
Hello Peng, On 08/06/2015 09:47 AM, Peng Fan wrote: Hello Przemyslaw, On Thu, Aug 06, 2015 at 10:22:11AM +0200, Przemyslaw Marczak wrote: Hello Adrian, On 07/31/2015 12:35 AM, Adrian Alonso wrote: * Add pmic pfuze3000 support, implement power_pfuze3000_init to be used in power_init_board

[U-Boot] [PATCH v2 1/3] common: Display =4GiB memory bank size

2015-08-06 Thread Bin Meng
bd-bi_dram[] has both start address and size defined as 32-bit, which is not the case on some platforms where =4GiB memory bank is used. Change them to support such memory banks. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v2: - Drop patches which are already applied - Change

Re: [U-Boot] [PATCH 01/13][v4] power: pmic: add pfuze3000 support

2015-08-06 Thread Przemyslaw Marczak
Hello Adrian, On 07/31/2015 12:35 AM, Adrian Alonso wrote: * Add pmic pfuze3000 support, implement power_pfuze3000_init to be used in power_init_board callback function. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: -

[U-Boot] [PATCH] x86: baytrail: Add all IDE/SATA PCI device IDs

2015-08-06 Thread Bin Meng
The BayTrail SoC has 4 different PCI devices IDs regarding to IDE and AHCI. Add these IDs in pci_ids.h and also add the other SATA ID in the Bayley Bay and MinnowMax board configuration header. Signed-off-by: Bin Meng bmeng...@gmail.com --- include/configs/bayleybay.h | 3 ++-

Re: [U-Boot] GCC 5.2 issue on imx28

2015-08-06 Thread Jörg Krause
On Mi, 2015-08-05 at 20:23 +0100, Måns Rullgård wrote: Jörg Krause joerg.krause@embedded.rocks writes: Dear Måns Rullgård, Otavio Salvador, On Di, 2015-07-28 at 14:39 +0100, Måns Rullgård wrote: Otavio Salvador otavio.salva...@ossystems.com.br writes: [snip] There are two

Re: [U-Boot] [PATCH] imx: mx6 move TARGET_xx Kconfig option to mx6 specific Kconfig file

2015-08-06 Thread Soeren Moch
On 08/06/15 07:43, Peng Fan wrote: Move TARGET_xx Kconfig option based on mx6 to arch/arm/cpu/armv7/mx6/Kconfig. Add enable CONFIG_ARCH_MX6 for boards based on mx6. Then we can choose target boards using make ARCH=arm menuconfig with ARCH_MX6 defined. If using original way, we have no chance to

Re: [U-Boot] [PATCH 01/13][v4] power: pmic: add pfuze3000 support

2015-08-06 Thread Przemyslaw Marczak
Hello Adrian, On 07/31/2015 12:35 AM, Adrian Alonso wrote: * Add pmic pfuze3000 support, implement power_pfuze3000_init to be used in power_init_board callback function. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: -

[U-Boot] [PATCH] sunxi: display: Fix composite video out on sun5i

2015-08-06 Thread Hans de Goede
The tv-encoder on sun5i is slightly different compared to the one on sun4i/sun7i. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 5 + arch/arm/include/asm/arch-sunxi/display.h | 12 +++- drivers/video/sunxi_display.c

[U-Boot] [PATCH 1/2] sunxi: dts: Sync with kernel

2015-08-06 Thread Hans de Goede
Sync the sunxi dts files with the changes queued up for kernel-4.3 in mripard's sunxi/dt-for-4.3 branch. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/dts/Makefile | 1 + arch/arm/dts/{sun8i-a23.dtsi = axp152.dtsi} | 29 +-

[U-Boot] [PATCH 2/2] sunxi: Add support for the Auxtek-T003 HDMI stick

2015-08-06 Thread Hans de Goede
The Auxtek-T003 HDMI stick is an A10s based HDMI stick with USB wifi, and composite video out support. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun5i-a10s-auxtek-t003.dts | 145

Re: [U-Boot] GCC 5.2 issue on imx28

2015-08-06 Thread Måns Rullgård
Jörg Krause joerg.krause@embedded.rocks writes: On Mi, 2015-08-05 at 20:23 +0100, Måns Rullgård wrote: Jörg Krause joerg.krause@embedded.rocks writes: Dear Måns Rullgård, Otavio Salvador, On Di, 2015-07-28 at 14:39 +0100, Måns Rullgård wrote: Otavio Salvador

[U-Boot] [PATCH] arm: armv8 correct value passed to __asm_dcache_all

2015-08-06 Thread Peng Fan
From source code comments: x0: 0 flush invalidate, 1 invalidate only Current value 0x can make invalidate work, since we only judge whether input value is 0 or not, see following code: tbz w1, #0, 1f dc isw, x9 b 2f 1: dc cisw, x9 /* clean invalidate

Re: [U-Boot] [PATCH V2 5/6] power: regulator: add pfuze100 support

2015-08-06 Thread Peng Fan
On Tue, Aug 04, 2015 at 09:14:17PM +0800, Peng Fan wrote: On Tue, Aug 04, 2015 at 07:21:05AM -0600, Simon Glass wrote: Hi, On 4 August 2015 at 07:10, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Peng, On 08/04/2015 07:32 AM, Peng Fan wrote: 1. Add new regulator driver pfuze100.

[U-Boot] [PATCH] fdt: add new fdt address parsing functions

2015-08-06 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com fdtdec_get_addr_size() hard-codes the number of cells used to represent an address or size in DT. This is incorrect in many cases depending on the DT binding for a particular node or property (e.g. it is incorrect for the reg property). In most cases, DT

Re: [U-Boot] [PATCH] imx: mx6 move TARGET_xx Kconfig option to mx6 specific Kconfig file

2015-08-06 Thread Peng Fan
On Thu, Aug 06, 2015 at 11:34:16AM +0200, Soeren Moch wrote: On 08/06/15 07:43, Peng Fan wrote: Move TARGET_xx Kconfig option based on mx6 to arch/arm/cpu/armv7/mx6/Kconfig. Add enable CONFIG_ARCH_MX6 for boards based on mx6. Then we can choose target boards using make ARCH=arm menuconfig with

Re: [U-Boot] [PATCH 08/15] x86: Re-order efi-x86_defconfig

2015-08-06 Thread Simon Glass
Hi Bin, On 28 July 2015 at 01:48, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass s...@chromium.org wrote: Use savedefconfig to get this file into the correct order. Signed-off-by: Simon Glass s...@chromium.org --- Since efi series is not

Re: [U-Boot] [V4 1/2] sf: Add clear flag status register operation on Micron chips

2015-08-06 Thread Hou Zhiqiang
Hi Jagan, Do you have any feedback? -Original Message- From: Zhiqiang Hou [mailto:b48...@freescale.com] Sent: 2015年7月23日 17:54 To: u-boot@lists.denx.de; jt...@openedev.com Cc: Sun York-R58495; Hu Mingkai-B21284; Hou Zhiqiang-B48286; Hu Mingkai- B21284 Subject: [V4 1/2] sf: Add

Re: [U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Simon Glass
Hi Marek, On 6 August 2015 at 20:58, Marek Vasut ma...@denx.de wrote: On Friday, August 07, 2015 at 04:54:42 AM, Simon Glass wrote: Hi Marek, Hi Simon, On 6 August 2015 at 20:51, Marek Vasut ma...@denx.de wrote: On Friday, August 07, 2015 at 04:16:28 AM, Simon Glass wrote: Some SoCs

Re: [U-Boot] [PATCH] patman: Don't run patman when it is imported as a module

2015-08-06 Thread Simon Glass
On 30 July 2015 at 23:34, Chris Packham judge.pack...@gmail.com wrote: Hi Simon, On Fri, Jul 31, 2015 at 7:47 AM, Simon Glass s...@chromium.org wrote: Commit 488d19c (patman: add distutils based installer) has the side effect of making patman run twice with each invocation. Fix this by

Re: [U-Boot] [PATCH v4 1/3] mmc: dw_mmc: Avoid using printf() for errors

2015-08-06 Thread Jaehoon Chung
Acked-by: Jaehoon Chung jh80.ch...@samsung.com Best Regards, Jaehoon Chung On 08/07/2015 11:16 AM, Simon Glass wrote: The dw_mmc driver uses printf() in various places. These bloat the code and cause problems for SPL. Use debug() where possible and try to return a useful error code instead.

Re: [U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Marek Vasut
On Friday, August 07, 2015 at 04:16:28 AM, Simon Glass wrote: Some SoCs want to adjust the input clock to the DWMMC block as a way of controlling the MMC bus clock. Update the get_mmc_clk() method to support this. Signed-off-by: Simon Glass s...@chromium.org Hi Simon, --- Changes in

Re: [U-Boot] CONFIG_DM_ETH USB_ETHER_ASIX Reception Issue on Tegra

2015-08-06 Thread Simon Glass
Hi Marcel, On 4 August 2015 at 01:33, Marcel Ziswiler mar...@ziswiler.com wrote: On Tue, 2015-08-04 at 01:10 +0200, Marek Vasut wrote: This trims down the scope quite considerably. Does the controller with with CONFIG_DM_ETH enabled if you plug in a USB stick instead of an ethernet ? Yes,

Re: [U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Simon Glass
Hi Marek, On 6 August 2015 at 20:51, Marek Vasut ma...@denx.de wrote: On Friday, August 07, 2015 at 04:16:28 AM, Simon Glass wrote: Some SoCs want to adjust the input clock to the DWMMC block as a way of controlling the MMC bus clock. Update the get_mmc_clk() method to support this.

Re: [U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Marek Vasut
On Friday, August 07, 2015 at 05:00:24 AM, Simon Glass wrote: Hi Marek, Hi Simon, On 6 August 2015 at 20:58, Marek Vasut ma...@denx.de wrote: On Friday, August 07, 2015 at 04:54:42 AM, Simon Glass wrote: Hi Marek, Hi Simon, On 6 August 2015 at 20:51, Marek Vasut ma...@denx.de

Re: [U-Boot] [PATCH v4 3/3] mmc: Calculate dwmmc FIFO threshold size if not provided

2015-08-06 Thread Jaehoon Chung
Hi, Could you fix the prefix of subject with dw_mmc? :) Anyway..looks good to me. Acked-by: Jaehoon Chung jh80.ch...@samsung.com Best Regards, Jaehoon Chung On 08/07/2015 11:16 AM, Simon Glass wrote: We can calculate this. Add code to do this if it is not provided. Signed-off-by: Simon

[U-Boot] [PATCH] armv8: ls2085a: Add support of CONFIG_CMD_GREPENV

2015-08-06 Thread Prabhakar Kushwaha
Enable CONFIG_CMD_GREPENV to allow search in env variables Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- include/configs/ls2085a_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h index 5afee55..b75395a

Re: [U-Boot] [PATCH 05/15] dm: pci: Add a way to iterate through all PCI devices

2015-08-06 Thread Simon Glass
Hi Bin, On 28 July 2015 at 01:48, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass s...@chromium.org wrote: These functions allow iteration through all PCI devices including bridges. The children of each PCI bus are returned in turn. This can be

Re: [U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Marek Vasut
On Friday, August 07, 2015 at 04:54:42 AM, Simon Glass wrote: Hi Marek, Hi Simon, On 6 August 2015 at 20:51, Marek Vasut ma...@denx.de wrote: On Friday, August 07, 2015 at 04:16:28 AM, Simon Glass wrote: Some SoCs want to adjust the input clock to the DWMMC block as a way of controlling

Re: [U-Boot] [PATCH 2/4] net: fec: do not access reserved register for i.MX6UL

2015-08-06 Thread Peng Fan
Hi Stefano, On Thu, Aug 06, 2015 at 03:54:22PM +0200, Stefano Babic wrote: Hi Peng, On 06/08/2015 06:41, Peng Fan wrote: Hi Nikolay, On Wed, Aug 05, 2015 at 05:31:27PM +0300, Nikolay Dimitrov wrote: Hi Peng, On 08/03/2015 01:06 PM, Peng Fan wrote: The MIB RAM and FIFO receive start

[U-Boot] [PATCH v1 0/2] Rename DDR4 target names

2015-08-06 Thread York Sun
Freescale T1 series supports both DDR3 and DDR4. We have boards for each type of memory. To make the naming consistence and easy to understand, use _DDR4 instead of _D4 for the names. The same applies to Layerscape LS1 series, which already has _ddr4 in the name. LS2 series doesn't support DDR3,

[U-Boot] [PATCH v1 1/2] armv8/ls2085a_emu: Drop DDR3 emulation target

2015-08-06 Thread York Sun
The emulator with DDR3 model was used during model bringup. DDR4 controllers are used with ls2085a. Drop the DDR4 target defconfig and enable DDR4 in ls2085a_emu_defconfig. Signed-off-by: York Sun york...@freescale.com --- board/freescale/ls2085a/MAINTAINERS |1 -

[U-Boot] [PATCH v1 2/2] powerpc/defconfig: Rename defconfig file for DDR4 targets

2015-08-06 Thread York Sun
Previously the DDR4 targets were named with _D4. Rename them with _DDR4 for consistency. Signed-off-by: York Sun york...@freescale.com --- board/freescale/t102xqds/MAINTAINERS |4 ++-- board/freescale/t1040qds/MAINTAINERS |2 +-

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

2015-08-06 Thread Simon Glass
Hi Tom, This includes some driver model support for devres (managed device resource framework), I2C multiplexers, some PMIC framework improvements and USB Ethernet additions. It also includes support for spring (Exynos5-based Chromebook) as requested by Minkyu (Samsung maintainer). The

Re: [U-Boot] [PATCH 04/21] TI PHY: Add support to control 2nd USB PHY in DRA7xx/AM57xx

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 06:15:54 PM, Kishon Vijay Abraham I wrote: Added support to power on/power off the second USB PHY present in DRA7xx and AM57xx. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut

Re: [U-Boot] [PATCH 02/21] usb: gadget: ether: Perform board initialization from ethernet gadget driver

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 06:15:52 PM, Kishon Vijay Abraham I wrote: Ethernet gadget driver can be used both by both SPL and u-boot. Since usb_eth_init() is the entry point for ethernet gadget driver, perform board initialization there. Also perform the cleanup in usb_eth_halt.

Re: [U-Boot] [PATCH 1/3][v3] imx: usb: ehci-mx6: reg accessor cleanups

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 10:43:15 PM, Adrian Alonso wrote: Cleanup read/write register access, use clr/set bits_le32 Signed-off-by: Adrian Alonso aalo...@freescale.com Applied all to u-boot-usb/master, thanks! Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH 01/21] usb: dwc3: dwc3-omap: Use the clear register inorder to clear the interrupts

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 06:15:51 PM, Kishon Vijay Abraham I wrote: Writing 0x00 to the USBOTGSS_IRQENABLE_SET_MISC and USBOTGSS_IRQENABLE_SET_0 doesn't disable the interrupts. Used USBOTGSS_IRQENABLE_CLR_MISC and USBOTGSS_IRQENABLE_CLR_0 instead. Signed-off-by: Kishon Vijay Abraham I

Re: [U-Boot] [PATCH 15/21] usb: host: xhci-omap: invoke board_usb_cleanup in xhci_hcd_stop

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 06:16:05 PM, Kishon Vijay Abraham I wrote: xhci omap driver has board_usb_init in xhci_hcd_init but doesn't have the corresponding cleanup function in xhci_hcd_stop. Fix it here by invoking board_usb_cleanup() in xhci_hcd_stop(). Signed-off-by: Kishon Vijay

Re: [U-Boot] [PATCH] imx: usb: ehci-mx6: wait_for_bit to check reg status

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 10:46:03 PM, Adrian Alonso wrote: Add wait_for_bit to check reg bit status and replace unbounded loops to check usb command status Signed-off-by: Adrian Alonso aalo...@freescale.com Applied to u-boot-usb/master, thanks! Best regards, Marek Vasut

Re: [U-Boot] [PATCH v3 25/25] rockchip: Add a simple README

2015-08-06 Thread Simon Glass
Hi Christoph, On 6 August 2015 at 09:35, Christoph Fritz chf.fr...@googlemail.com wrote: Hi Simon On Tue, 2015-06-23 at 17:29 -0600, Simon Glass wrote: +Future work +=== + +Immediate priorities are: + +- MMC support (in U-Boot itself) +- GPIO (driver exists but is lightly

[U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Simon Glass
Some SoCs want to adjust the input clock to the DWMMC block as a way of controlling the MMC bus clock. Update the get_mmc_clk() method to support this. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Update commit message to indicate this patch is for the dw_mmc driver

[U-Boot] [PATCH v4 3/3] mmc: Calculate dwmmc FIFO threshold size if not provided

2015-08-06 Thread Simon Glass
We can calculate this. Add code to do this if it is not provided. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: None drivers/mmc/dw_mmc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index

[U-Boot] [PATCH v4 1/3] mmc: dw_mmc: Avoid using printf() for errors

2015-08-06 Thread Simon Glass
The dw_mmc driver uses printf() in various places. These bloat the code and cause problems for SPL. Use debug() where possible and try to return a useful error code instead. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Update commit message to indicate this patch is for the

Re: [U-Boot] [PATCH v3] x86: baytrail: Configure FSP UPD from device tree

2015-08-06 Thread Bin Meng
Hi Andrew, On Fri, Aug 7, 2015 at 4:08 AM, Andrew Bradford and...@bradfordembedded.com wrote: From: Andrew Bradford andrew.bradf...@kodakalaris.com Allow for configuration of FSP UPD from the device tree which will override any settings which the FSP was built with itself. Modify the

Re: [U-Boot] [PATCH v2 00/15] Add macros to ease our life with independent CONFIGs between U-Boot and SPL

2015-08-06 Thread Scott Wood
On Mon, 2015-08-03 at 07:59 -0600, Simon Glass wrote: Hi, On 1 August 2015 at 07:14, Masahiro Yamada yamada.masah...@socionext.com wrote: I hope this series will make our life easier. I agree. This seems like a clever solution to the problem. As you probably saw on the other

Re: [U-Boot] [PATCH] Revert fdt: Fix fdtdec_get_addr_size() for 64-bit

2015-08-06 Thread Michal Suchanek
Hello, On 6 August 2015 at 01:45, Simon Glass s...@chromium.org wrote: Hi Stephen, On 5 August 2015 at 12:22, Stephen Warren swar...@wwwdotorg.org wrote: On 08/04/2015 10:08 PM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 12:20, Stephen Warren swar...@wwwdotorg.org wrote: On

[U-Boot] [PATCH 2/2] sunxi: display: Disable HDMI support on A13 based tablets

2015-08-06 Thread Hans de Goede
The sun5i die has a hdmi encoder onboard, but the A13 package does not route this to the outside, disable hdmi support on A13 based boards. Signed-off-by: Hans de Goede hdego...@redhat.com --- configs/Ampe_A76_defconfig | 1 + configs/TZX-Q8-713B7_defconfig | 1 + configs/UTOO_P66_defconfig

[U-Boot] [PATCH 1/2] sunxi: display: Enable composite video support on more boards

2015-08-06 Thread Hans de Goede
Enable composite video support on all boards which have a composite video out connector (either cinch or jack). Signed-off-by: Hans de Goede hdego...@redhat.com --- configs/Bananapi_defconfig | 1 + configs/Bananapro_defconfig | 1 + configs/Mele_A1000_defconfig| 1 +

[U-Boot] [PATCH v1] arm: omap5: Add AMP boot support for OMAP5

2015-08-06 Thread Bharat Gohil
This command uses AMP boot mode to boot the omap5 device. it is used to run two different software on each dedicated core without using hypervisor. A typical example is: Core0 uses Linux or Android and Core1 uses QNX or baremetal app. It is also used for benchmarking the hypervisor performance

[U-Boot] [PATCH v1] arm: omap5: Add AMP boot support for OMAP5

2015-08-06 Thread Bharat Gohil
This command uses AMP boot mode to boot the omap5 device. it is used to run two different software on each dedicated core without using hypervisor. A typical example is: Core0 uses Linux or Android and Core1 uses QNX or baremetal app. It is also used for benchmarking the hypervisor performance

Re: [U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-06 Thread Vladimir Zapolskiy
Hi Sylvain, On 06.08.2015 16:50, LEMIEUX, SYLVAIN wrote: Hi Vladimir, Thanks for the feedback; Marek, Vladimir, there is a question below; I will wait for feedback before sending an updated version of the patch. Sylvain -Original Message- From: Vladimir Zapolskiy

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Stefano Babic
Hi Marek, On 06/08/2015 16:28, Marek Vasut wrote: On Thursday, August 06, 2015 at 04:14:34 PM, Fabio Estevam wrote: Hi Stefano and Marek, Thanks for the suggestions. On Thu, Aug 6, 2015 at 10:38 AM, Stefano Babic sba...@denx.de wrote: There is the possibility to set a malloc area inside

Re: [U-Boot] [PATCH v5 5/5] usb: lpc32xx: add host USB driver

2015-08-06 Thread LEMIEUX, SYLVAIN
Hi Vladimir, See comment below. -Original Message- From: Vladimir Zapolskiy [mailto:v...@mleia.com] Hi Sylvain, On 05.08.2015 21:31, slemieux.t...@gmail.com wrote: From: Sylvain Lemieux slemi...@tycoint.com Incorporate USB driver from legacy LPCLinux NXP BSP. The files

Re: [U-Boot] [PATCH V4 1/2] ARM: tegra: Add e2220-1170 board

2015-08-06 Thread Stephen Warren
On 08/05/2015 03:22 PM, Tom Warren wrote: Both of these applied to u-boot-tegra/next. PTAL. I'll issue a PR for this (and the other 11 outstanding Tegra patches from you, me and Alex) when I get a green light. Echoing what I said on chat for the purposes of the mailing list archive: The

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
On Thu, Aug 6, 2015 at 2:03 PM, Stefano Babic sba...@denx.de wrote: This is in RAM, of course. Increasing the size by 3KiB is not IMHO for i.MX6 a problem, there is enough space in IRAM. But what is surprising is that Fabio gets a Null pointer by malloc(). Yes, so I did a simpler patch that

Re: [U-Boot] [PATCH] Revert fdt: Fix fdtdec_get_addr_size() for 64-bit

2015-08-06 Thread Stephen Warren
On 08/06/2015 01:09 AM, Michal Suchanek wrote: Hello, On 6 August 2015 at 01:45, Simon Glass s...@chromium.org wrote: Hi Stephen, On 5 August 2015 at 12:22, Stephen Warren swar...@wwwdotorg.org wrote: On 08/04/2015 10:08 PM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 12:20,

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Simon Glass
Hi, On 6 August 2015 at 12:24, Fabio Estevam feste...@gmail.com wrote: On Thu, Aug 6, 2015 at 2:03 PM, Stefano Babic sba...@denx.de wrote: This is in RAM, of course. Increasing the size by 3KiB is not IMHO for i.MX6 a problem, there is enough space in IRAM. But what is surprising is that

Re: [U-Boot] Wrong release date for v2015.10 on the denx.de

2015-08-06 Thread Anatolij Gustschin
Hi Bin, On Thu, 6 Aug 2015 10:56:11 +0800 Bin Meng bmeng...@gmail.com wrote: Hi Wolfgang, By checking http://www.denx.de/wiki/U-Boot/ReleaseCycle, it says: Release v2015.10 is scheduled in 66 days — on Aug 12, 2015. This Aug 12 date is wrong. Could you please fix it? Thanks for

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
On Thu, Aug 6, 2015 at 3:24 PM, Fabio Estevam feste...@gmail.com wrote: On Thu, Aug 6, 2015 at 2:03 PM, Stefano Babic sba...@denx.de wrote: This is in RAM, of course. Increasing the size by 3KiB is not IMHO for i.MX6 a problem, there is enough space in IRAM. But what is surprising is that

[U-Boot] [PATCH 2/2] sunxi: gpio: Add support for the gpio banks which are part of the R-io cluster

2015-08-06 Thread Hans de Goede
sun6i and later have a couple of io-blocks which are shared between the main CPU core and the R cpu which is small embedded cpu which can be active while the main system is suspended. These gpio banks sit at a different mmio address then the normal banks, and have a separate devicetree node and

Re: [U-Boot] [PATCH] Revert fdt: Fix fdtdec_get_addr_size() for 64-bit

2015-08-06 Thread Stephen Warren
On 08/05/2015 05:45 PM, Simon Glass wrote: Hi Stephen, On 5 August 2015 at 12:22, Stephen Warren swar...@wwwdotorg.org wrote: On 08/04/2015 10:08 PM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 12:20, Stephen Warren swar...@wwwdotorg.org wrote: On 08/03/2015 09:52 AM, Simon Glass

Re: [U-Boot] [PATCH v5 5/5] usb: lpc32xx: add host USB driver

2015-08-06 Thread Vladimir Zapolskiy
Hi Sylvain, On 06.08.2015 21:01, LEMIEUX, SYLVAIN wrote: Hi Vladimir, See comment below. -Original Message- From: Vladimir Zapolskiy [mailto:v...@mleia.com] Hi Sylvain, On 05.08.2015 21:31, slemieux.t...@gmail.com wrote: From: Sylvain Lemieux slemi...@tycoint.com

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 03:25:22 PM, Fabio Estevam wrote: Hi, I am trying to use spi_flash_probe() inside SPL on a custom mx6 board. The idea is to read some parameters from the SPI NOR flash and configure the DDR accordingly. This is similar to what gw_ventana_spl.c does, but

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Stefano Babic
Hi Fabio, On 06/08/2015 15:25, Fabio Estevam wrote: Hi, I am trying to use spi_flash_probe() inside SPL on a custom mx6 board. The idea is to read some parameters from the SPI NOR flash and configure the DDR accordingly. This is similar to what gw_ventana_spl.c does, but it reads from

Re: [U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-06 Thread LEMIEUX, SYLVAIN
Hi Vladimir, Thanks for the feedback; Marek, Vladimir, there is a question below; I will wait for feedback before sending an updated version of the patch. Sylvain -Original Message- From: Vladimir Zapolskiy [mailto:v...@mleia.com] Hi Sylvain, On 05.08.2015 21:31,

Re: [U-Boot] [PATCH] x86: WIP: Enable D0 stepping microcode for MinnowMax

2015-08-06 Thread Simon Glass
Hi, On 29 June 2015 at 11:57, Simon Glass s...@chromium.org wrote: Hi Andrew, On 29 June 2015 at 08:36, Andrew Bradford and...@bradfordembedded.com wrote: Hi Simon, On 06/07 18:58, Simon Glass wrote: Hi Bin, On 5 June 2015 at 19:30, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 04:14:34 PM, Fabio Estevam wrote: Hi Stefano and Marek, Thanks for the suggestions. On Thu, Aug 6, 2015 at 10:38 AM, Stefano Babic sba...@denx.de wrote: There is the possibility to set a malloc area inside SPL: CONFIG_SYS_SPL_MALLOC_START

Re: [U-Boot] [PATCH 2/4] net: fec: do not access reserved register for i.MX6UL

2015-08-06 Thread Stefano Babic
Hi Peng, On 06/08/2015 06:41, Peng Fan wrote: Hi Nikolay, On Wed, Aug 05, 2015 at 05:31:27PM +0300, Nikolay Dimitrov wrote: Hi Peng, On 08/03/2015 01:06 PM, Peng Fan wrote: The MIB RAM and FIFO receive start register does not exist on i.MX6UL. Accessing these register will cause enet not

[U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi, I am trying to use spi_flash_probe() inside SPL on a custom mx6 board. The idea is to read some parameters from the SPI NOR flash and configure the DDR accordingly. This is similar to what gw_ventana_spl.c does, but it reads from i2c eeprom instead of SPI NOR. Here are the changes just to

Re: [U-Boot] [PATCH V3] kconfig: add config option for shell prompt

2015-08-06 Thread Nikita Kiryanov
Cc Masahiro Yamada with correct email ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi Stefano and Marek, Thanks for the suggestions. On Thu, Aug 6, 2015 at 10:38 AM, Stefano Babic sba...@denx.de wrote: There is the possibility to set a malloc area inside SPL: CONFIG_SYS_SPL_MALLOC_START CONFIG_SYS_SPL_MALLOC_SIZE you do not need a lot of space, and you can try to put it

[U-Boot] [PATCH] arm: mvebu/armada100: dram.c: Remove CONFIG_SYS_BOARD_DRAM_INIT

2015-08-06 Thread Stefan Roese
CONFIG_SYS_BOARD_DRAM_INIT is not defined anywhere. So lets get rid of all references here. Signed-off-by: Stefan Roese s...@denx.de Cc: Luka Perkov luka.per...@sartura.hr --- arch/arm/cpu/arm926ejs/armada100/dram.c | 2 -- arch/arm/mach-mvebu/dram.c | 2 -- 2 files changed, 4

[U-Boot] [PATCH v3] common: Display =4GiB memory bank size

2015-08-06 Thread Bin Meng
bd-bi_dram[] has both start address and size defined as 32-bit, which is not the case on some platforms where =4GiB memory bank is used. Change them to support such memory banks. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v3: - Use %llx to print the dram start address Changes in

Re: [U-Boot] [PATCH v2 1/3] common: Display =4GiB memory bank size

2015-08-06 Thread Bin Meng
On Thu, Aug 6, 2015 at 4:23 PM, Bin Meng bmeng...@gmail.com wrote: bd-bi_dram[] has both start address and size defined as 32-bit, which is not the case on some platforms where =4GiB memory bank is used. Change them to support such memory banks. Signed-off-by: Bin Meng bmeng...@gmail.com

Re: [U-Boot] [PATCH] board: Xilinx: zynqmp: Define checkboard() function

2015-08-06 Thread Michal Simek
On 08/04/2015 09:31 AM, Siva Durga Prasad Paladugu wrote: Define checkboard() function for zynqMP Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com --- board/xilinx/zynqmp/zynqmp.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH] imx: mx6ul_14x14_evk discard redefined CONFIG_MX6

2015-08-06 Thread Stefano Babic
Hi Peng, On 06/08/2015 07:42, Peng Fan wrote: Discard CONFIG_MX6 in mx6ul_14x14_evk.h, since it is already defined in mx6_common.h. Tested on mx6ul_14x14_evk board. Signed-off-by: Peng Fan peng@freescale.com Cc: Fabio Estevam fabio.este...@freescale.com Cc: Stefano Babic

Re: [U-Boot] [PATCH 1/5] x86: Remove init_gd() function

2015-08-06 Thread Bin Meng
On Mon, Aug 3, 2015 at 8:10 AM, Simon Glass s...@chromium.org wrote: This is declared but no-longer exists. Drop it. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/include/asm/u-boot-x86.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/include/asm/u-boot-x86.h

Re: [U-Boot] [PATCH 4/5] x86: Move the GDT into global_data

2015-08-06 Thread Bin Meng
On Mon, Aug 3, 2015 at 8:10 AM, Simon Glass s...@chromium.org wrote: Rather than keeping track of the Global Descriptor Table in its own memory we may as well put it in global_data with everything else. As a first step, stop using the separately allocated GDT. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-08-06 Thread Alexandre Courbot
On 08/05/2015 08:24 AM, Tom Warren wrote: Alex/Andreas, -Original Message- From: Tom Warren Sent: Tuesday, August 04, 2015 8:41 AM To: 'Andreas Färber'; u-boot@lists.denx.de Cc: Alex Courbot; linux-te...@vger.kernel.org; gnu...@gmail.com; Stephen Warren; Guillaume Gardet Subject: RE:

Re: [U-Boot] [PATCH 2/4] net: fec: do not access reserved register for i.MX6UL

2015-08-06 Thread Nikolay Dimitrov
Hi Peng, On 08/06/2015 07:41 AM, Peng Fan wrote: Hi Nikolay, On Wed, Aug 05, 2015 at 05:31:27PM +0300, Nikolay Dimitrov wrote: Hi Peng, On 08/03/2015 01:06 PM, Peng Fan wrote: The MIB RAM and FIFO receive start register does not exist on i.MX6UL. Accessing these register will cause enet not

Re: [U-Boot] [PATCH] imx: mx6 move TARGET_xx Kconfig option to mx6 specific Kconfig file

2015-08-06 Thread Stefano Babic
Hi Peng, On 06/08/2015 07:43, Peng Fan wrote: Move TARGET_xx Kconfig option based on mx6 to arch/arm/cpu/armv7/mx6/Kconfig. Add enable CONFIG_ARCH_MX6 for boards based on mx6. Then we can choose target boards using make ARCH=arm menuconfig with ARCH_MX6 defined. If using original way, we

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Nishanth Menon
On 08/06/2015 10:04 AM, Tom Rini wrote: On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: This allows us to do basic math in hush shell. For example: U-Boot# r1=10 U-Boot# r2=20 U-Boot# setexpr.l r3 $r1 + $r2 U-Boot# echo $r3 30 Reported-by: Vitaly Andrianov vita...@ti.com

[U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Nishanth Menon
This allows us to do basic math in hush shell. For example: U-Boot# r1=10 U-Boot# r2=20 U-Boot# setexpr.l r3 $r1 + $r2 U-Boot# echo $r3 30 Reported-by: Vitaly Andrianov vita...@ti.com Suggested-by: Tom Rini tr...@ti.com Signed-off-by: Nishanth Menon n...@ti.com ---

Re: [U-Boot] [PATCH] x86: WIP: Enable D0 stepping microcode for MinnowMax

2015-08-06 Thread Bin Meng
Hi Simon, On Thu, Aug 6, 2015 at 10:02 PM, Simon Glass s...@chromium.org wrote: Hi, On 29 June 2015 at 11:57, Simon Glass s...@chromium.org wrote: Hi Andrew, On 29 June 2015 at 08:36, Andrew Bradford and...@bradfordembedded.com wrote: Hi Simon, On 06/07 18:58, Simon Glass wrote: Hi

Re: [U-Boot] [PATCH] x86: WIP: Enable D0 stepping microcode for MinnowMax

2015-08-06 Thread Andrew Bradford
Hi Simon, On 08/06 08:02, Simon Glass wrote: Hi, On 29 June 2015 at 11:57, Simon Glass s...@chromium.org wrote: Hi Andrew, On 29 June 2015 at 08:36, Andrew Bradford and...@bradfordembedded.com wrote: Hi Simon, On 06/07 18:58, Simon Glass wrote: Hi Bin, On 5 June 2015 at

  1   2   >