Re: [U-Boot] [PATCH 2/3] crypto/fsl - change starting entropy delay value

2015-07-22 Thread Ruchika Gupta
Acked-by: Ruchika Guptaruchika.gu...@freescale.com -Original Message- From: Sun York-R58495 Sent: Sunday, July 19, 2015 3:43 AM To: Gupta Ruchika-R66431 Subject: Re: [PATCH 2/3] crypto/fsl - change starting entropy delay value Ruchika, Please comment/ack this patch and others

Re: [U-Boot] [PATCH 3/3] crypto/fsl: clean-up - use fdt_setprop_u32 helper

2015-07-22 Thread Ruchika Gupta
Acked-by: Ruchika Guptaruchika.gu...@freescale.com -Original Message- From: Sun York-R58495 Sent: Sunday, July 19, 2015 3:44 AM To: Gupta Ruchika-R66431 Subject: Re: [PATCH 3/3] crypto/fsl: clean-up - use fdt_setprop_u32 helper Ruchika, Please comment/ack. York On

Re: [U-Boot] [PATCH V2 4/6] ARM: Tegra210: Add support to common Tegra source/config files

2015-07-22 Thread Stephen Warren
On 07/20/2015 01:50 PM, Tom Warren wrote: Derived from Tegra124, modified as appropriate during T210 board bringup. Cleaned up debug statements to conserve string space, too. diff --git a/include/fdtdec.h b/include/fdtdec.h + COMPAT_NVIDIA_TEGRA210_SDMMC, /* Tegra210 SDMMC

Re: [U-Boot] [PATCH V2 5/6] P2571: dts: Add DT files for Tegra210/P2571 board

2015-07-22 Thread Stephen Warren
On 07/20/2015 01:50 PM, Tom Warren wrote: Based on T124 Venice2. SDMMC1 is SD-card slot. arch/arm/dts/{tegra124.dtsi = tegra210.dtsi} | 153 - There's also a lot of stuff in that file that isn't used in U-Boot or isn't validated yet (audio, SPI?, PWM, I2C?,

Re: [U-Boot] [PATCH 3/3] crypto/fsl - enable raw data instead of von Neumann data

2015-07-22 Thread Ruchika Gupta
Acked-by: Ruchika Guptaruchika.gu...@freescale.com -Original Message- From: Sun York-R58495 Sent: Sunday, July 19, 2015 3:43 AM To: Gupta Ruchika-R66431 Subject: Re: [PATCH 3/3] crypto/fsl - enable raw data instead of von Neumann data Ruchika, Please comment/ack. York On

Re: [U-Boot] [PATCH v2 00/14] Devres (Managed Device Resource) for U-Boot

2015-07-22 Thread Masahiro Yamada
Hi Simon, 2015-07-20 23:16 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 20 July 2015 at 00:21, Masahiro Yamada yamada.masah...@socionext.com wrote: Hi Simon, Albert. 2015-07-18 23:37 GMT+09:00 Simon Glass s...@chromium.org: +Hans Hi, On 13 July 2015 at 11:16, Albert

[U-Boot] [PATCH v3 0/7] dcache support for Raspberry Pi 1

2015-07-22 Thread Alexander Stein
This patchset enables dcache support for Raspberry Pi 1. First the cache support code for arm1136 and 1176 was merged. CONFIG_SYS_CACHELINE_SIZE is defined as 32 bytes which is used as alignment for mailbox buffer allocations. Then rpi mailbox code has now dcache flush for writing the mailbox

[U-Boot] [PATCH v3 6/7] dwc2: Add dcache support

2015-07-22 Thread Alexander Stein
This adds dcache support for dwc2. The DMA buffers must be DMA aligned and is flushed for outgoing transactions before starting transfer. For ingoing transactions it is invalidated after the transfer has finished. Signed-off-by: Alexander Stein alexander...@web.de --- drivers/usb/host/dwc2.c |

[U-Boot] [PATCH v3 4/7] ARM: bcm283x: Allocate all mailbox buffers cacheline aligned

2015-07-22 Thread Alexander Stein
The mailbox buffer is required to be at least 16 bytes aligned, but for cache invalidation and/or flush it needs to be cacheline aligned. Use ALLOC_CACHE_ALIGN_BUFFER for all mailbox buffer allocations. Signed-off-by: Alexander Stein alexander...@web.de --- Changes in v3: * Use

Re: [U-Boot] [PATCH 15/19] ARM: zynq: DT: Get rid of ps-clk-frequency

2015-07-22 Thread Sören Brinkmann
On Wed, 2015-07-22 at 05:38PM +0200, Michal Simek wrote: ps-clk-frequency is platform specific setting and shouldn't be the part of DTSI. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Sync with mainline. --- arch/arm/dts/zynq-7000.dtsi | 1 - 1 file changed, 1 deletion(-)

[U-Boot] [PATCH] ARM AM43XX: make boot-params available to U-Boot, save to env

2015-07-22 Thread Holleis, Edgar
This patch makes the Boot Parameter Structure of AM43XX available to U-Boot. The feature is already available for OMAP3 and OMAP4, but not AM43XX. It also adds the value of the boot device to the U-Boot environment. Signed-off-by: Edgar Holleis edgar.holl...@zuehlke.com ---

[U-Boot] [PATCH v3 5/7] arm/mach-bcm283x/mbox: Flush and invalidate dcache when using fw mailbox

2015-07-22 Thread Alexander Stein
When using dcache the setup data for the mailbox must be actually written into memory before calling into firmware. Thus flush and invalidate the memory. Signed-off-by: Alexander Stein alexander...@web.de --- Changes in v3: * Use ARCH_DMA_MINALIGN instead of fixed 32 * Adjust comment in header

[U-Boot] [PATCH v3 7/7] arm/rpi: Enable dcache

2015-07-22 Thread Alexander Stein
Now that mailbox driver supports cache flush and invalidation, we can enable dcache. Signed-off-by: Alexander Stein alexander...@web.de --- include/configs/rpi-common.h | 1 - include/configs/rpi_2.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v3 2/7] arm1136/arm1176: Merge cache handling code

2015-07-22 Thread Alexander Stein
As both cores are similar merge the cache handling code for both CPUs to arm11 directory. Signed-off-by: Alexander Stein alexander...@web.de --- arch/arm/cpu/arm11/Makefile | 8 +++ arch/arm/cpu/arm11/cpu.c | 150 ++ arch/arm/cpu/arm1136/Makefile

[U-Boot] [PATCH v3 1/7] arm1136: Remove dead code

2015-07-22 Thread Alexander Stein
Apparently lcd_panel_disable is not defined anywhere, so no config for an arm1136 board would have set CONFIG_LCD. Remove the unused code. Signed-off-by: Alexander Stein alexander...@web.de --- arch/arm/cpu/arm1136/cpu.c | 10 -- 1 file changed, 10 deletions(-) diff --git

Re: [U-Boot] [PATCH 1/3] crypto/fsl - disable RNG oscillator maximum frequency check

2015-07-22 Thread Ruchika Gupta
Acked-by: Ruchika Guptaruchika.gu...@freescale.com -Original Message- From: Sun York-R58495 Sent: Sunday, July 19, 2015 3:43 AM To: Gupta Ruchika-R66431 Subject: Re: [PATCH 1/3] crypto/fsl - disable RNG oscillator maximum frequency check Ruchika, Please comment/ack this patch

Re: [U-Boot] [PATCH V2 2/6] Tegra: Rework KConfig options to allow 64-bit builds (T210)

2015-07-22 Thread Stephen Warren
On 07/20/2015 01:50 PM, Tom Warren wrote: Moved Tegra config options to mach-tegra/Kconfig so that both 32-bit and 64-bit builds can co-exist for Tegra SoCs. T210 will be 64-bit only (no SPL) and will requires a 32-bit AVP/BPMP loader. diff --git a/arch/arm/mach-tegra/Kconfig

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

2015-07-22 Thread Simon Glass
Hi Tom, This contains Hans's USB fixes and changes, some preliminary patches for Masahiro's devres stuff and various new uclasses mostly aimed at Rockchip support. There is also the driver model device tree SPL support, USB Ethernet work, PMIC improvements to auto-set regulators and some changes

Re: [U-Boot] [PATCH V2 0/6] Tegra210/P2571 initial support

2015-07-22 Thread Stephen Warren
On 07/20/2015 01:50 PM, Tom Warren wrote: This patch series adds support for the Tegra210 SoC and the P2571 board. Most of the T210 info is identical to T124 at this point, so I just cloned Venice2/Jetson-TK1 board files and T124 header/SoC code. Pinmux is the major area of difference at this

Re: [U-Boot] [PATCH 2/3] crypto/fsl: fix snooping for write transactions

2015-07-22 Thread Ruchika Gupta
Acked-by: Ruchika Guptaruchika.gu...@freescale.com -Original Message- From: Sun York-R58495 Sent: Sunday, July 19, 2015 3:44 AM To: Gupta Ruchika-R66431 Subject: Re: [PATCH 2/3] crypto/fsl: fix snooping for write transactions Ruchika, Please comment/ack. York On

Re: [U-Boot] [PATCH V2 3/6] ARM: Tegra210: Add SoC code/include files for T210

2015-07-22 Thread Stephen Warren
On 07/20/2015 01:50 PM, Tom Warren wrote: All based off of Tegra124. As a Tegra210 board is brought up, these may change a bit to match the HW more closely, but probably 90% of this is identical to T124. Note that since T210 is a 64-bit build, it has no SPL component, and hence no cpu.c for

Re: [U-Boot] [PATCH V2 6/6] T210: Add support for 64-bit T210-based P2571 board

2015-07-22 Thread Stephen Warren
On 07/20/2015 01:50 PM, Tom Warren wrote: Based on Venice2, incorporates Stephen Warren's latest P2571 pinmux table. With Thierry Reding's 64-bit build fixes, this will build and and boot in 64-bit on my P2571 (when used with a 32-bit AVP loader). diff --git a/include/configs/venice2.h

[U-Boot] [PATCH v3 3/7] ARM: bcm283x: Define CONFIG_SYS_CACHELINE_SIZE

2015-07-22 Thread Alexander Stein
The cacheline is always 32 bytes for arm1176 CPUs, so define it at board config level for cache handling code. Signed-off-by: Alexander Stein alexander...@web.de --- include/configs/rpi-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/rpi-common.h

Re: [U-Boot] [PATCH V2 2/6] Tegra: Rework KConfig options to allow 64-bit builds (T210)

2015-07-22 Thread Tom Warren
Stephen, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, July 22, 2015 10:40 AM To: Tom Warren Cc: u-boot@lists.denx.de; Thierry Reding; Stephen Warren; tomcwarren3...@gmail.com Subject: Re: [U-Boot] [PATCH V2 2/6] Tegra: Rework KConfig

Re: [U-Boot] [PATCH V2 0/6] Tegra210/P2571 initial support

2015-07-22 Thread Stephen Warren
On 07/20/2015 01:50 PM, Tom Warren wrote: This patch series adds support for the Tegra210 SoC and the P2571 board. Most of the T210 info is identical to T124 at this point, so I just cloned Venice2/Jetson-TK1 board files and T124 header/SoC code. Pinmux is the major area of difference at this

Re: [U-Boot] [PATCH] RFC: dm: Add pointer checking for allocated data

2015-07-22 Thread Joe Hershberger
Hi Simon, On Wed, Jul 22, 2015 at 9:31 AM, Simon Glass s...@chromium.org wrote: +Masahiro and Albert Hi Joe, On 15 July 2015 at 11:41, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Simon, On Thu, Jul 9, 2015 at 9:15 AM, Simon Glass s...@chromium.org wrote: With driver model drivers

Re: [U-Boot] [PATCH V2 5/6] P2571: dts: Add DT files for Tegra210/P2571 board

2015-07-22 Thread Stephen Warren
On 07/20/2015 01:50 PM, Tom Warren wrote: Based on T124 Venice2. SDMMC1 is SD-card slot. I would expect the SoC DT file to be part of the previous patch which adds Tegra210 support. I would expect the P2571 file to be part of the next patch which adds P2571 board support. diff --git

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2015-07-22 Thread Marek Vasut
On Monday, July 20, 2015 at 11:51:36 AM, Lukasz Majewski wrote: The following changes since commit 8c4735c56b93019916e391cc3542cea14763d9fb: [2/1839] drivers: usb: fsl: Remove LS102XA immap inclusion (2015-06-26 16:33:56 +0200) are available in the git repository at:

[U-Boot] [PATCH v3 4/7] x86: Allow cpu-x86 driver to be probed for UP

2015-07-22 Thread Bin Meng
Currently cpu-x86 driver is probed only for SMP. We add the same support for UP when there is only one cpu node in the deive tree. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v3: - Remove the call to device_probe() - Add a comment to explain why return value is not checked

[U-Boot] [PATCH v3 2/7] x86: mpspec: Move writing ISA interrupt entry after PCI

2015-07-22 Thread Bin Meng
On some platforms the I/O APIC interrupt pin#0-15 may be connected to platform pci devices' interrupt pin. In such cases the legacy ISA IRQ is not available so we should not write ISA interrupt entry if it is already occupied. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass

[U-Boot] [PATCH v3 0/7] x86: Add MP table support to QEMU

2015-07-22 Thread Bin Meng
This patch series mainly add MP support to QEMU as well as some other necessary fixes for x86. Verified by booting Linux kernel on QEMU i440FX and Q35, and make sure I/O APIC interrupt is being used by the kernel with the help of MP table provided by U-Boot. This series is the prerequisite for

[U-Boot] [PATCH v3 3/7] x86: qemu: Enable I/O APIC chip select on PIIX3

2015-07-22 Thread Bin Meng
The PIIX3 chipset does not integrate an I/O APIC, instead it supports connecting to an external I/O APIC which needs to be enabled manually. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None arch/x86/cpu/qemu/pci.c

[U-Boot] [PATCH v3 7/7] x86: Reserve PCIe ECAM address range in the E820 table

2015-07-22 Thread Bin Meng
We should mark PCIe ECAM address range in the E820 table as reserved otherwise kernel will not attempt to use ECAM. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: - New patch to reserve PCIe ECAM address range in the

[U-Boot] [PATCH v3 6/7] x86: qemu: Turn on PCIe ECAM address range decoding on Q35

2015-07-22 Thread Bin Meng
Turn on PCIe ECAM address range decoding on Q35. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None arch/x86/cpu/qemu/pci.c | 4 arch/x86/include/asm/arch-qemu/qemu.h | 4 2 files changed, 8

[U-Boot] [PATCH v3 5/7] x86: qemu: Enable writing MP table

2015-07-22 Thread Bin Meng
Enable writing MP table for QEMU boads (i440fx and q35). Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: - Drop QEMU mp_init patch - Change /cpus node to include just one cpu arch/x86/cpu/qemu/pci.c | 34

[U-Boot] [PATCH v3 1/7] x86: mpspec: Allow platform to determine how PIRQ is connected to I/O APIC

2015-07-22 Thread Bin Meng
Currently during writing MP table I/O interrupt assignment entry, we assume the PIRQ is directly mapped to I/O APIC INTPIN#16-23, which however is not always the case on some platforms. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v3: None

[U-Boot] [PATCH 01/12] usb: USB_ARCH_HAS_HCD Kconfig option removal

2015-07-22 Thread Paul Kocialkowski
The USB_ARCH_HAS_HCD currently serves no purpose and adds some confusion to the required Kconfig options that are required to have USB support. Dropping it makes things easier and doesn't break anything, since it was unused anyways. Signed-off-by: Paul Kocialkowski cont...@paulk.fr ---

[U-Boot] [PATCH 02/12] usb: Generic USB Kconfig option, that fits both host and gadget

2015-07-22 Thread Paul Kocialkowski
There is no particular reason why the USB Kconfig option should be specific to host mode. In prevision of adding MUSB host and gadget to Kconfig, this moves the title and help message of the USB Kconfig option to a more generic format. Signed-off-by: Paul Kocialkowski cont...@paulk.fr ---

Re: [U-Boot] [PATCH 05/18] dm: pci: Add support for PCI driver matching

2015-07-22 Thread Bin Meng
Hi Simon, On Wed, Jul 22, 2015 at 6:00 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 21 July 2015 at 10:12, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Jul 7, 2015 at 6:47 AM, Simon Glass s...@chromium.org wrote: At present all PCI devices must be present in the device tree

Re: [U-Boot] [PATCHv4 0/3] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-07-22 Thread Dinh Nguyen
On 7/20/15 2:40 PM, Marek Vasut wrote: On Monday, July 20, 2015 at 09:31:39 PM, Dinh Nguyen wrote: [...] Hi, yeah, I have some insane amount of cleanup patches and fixes already. I will post them once I'm done. What I am sorely missing is the UniPHY register interface documentation, it

[U-Boot] [PATCH 03/12] usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB

2015-07-22 Thread Paul Kocialkowski
USB-related options are usually prefixed with CONFIG_USB and platform-specific adaptation for the MUSB controller already have a CONFIG_USB_MUSB prefix, so this switches all MUSB-related options to a CONFIG_USB_MUSB prefix, for consistency. Signed-off-by: Paul Kocialkowski cont...@paulk.fr ---

[U-Boot] [PATCH 06/12] usb: USB_MUSB_SUNXI move to musb-new Kconfig

2015-07-22 Thread Paul Kocialkowski
Now that the musb-new driver has a Kconfig, we can move Kconfig options to enable controllers to it, so that it's easier in e.g. menuconfig. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- board/sunxi/Kconfig | 9 - drivers/usb/musb-new/Kconfig | 14 ++ 2

[U-Boot] [PATCH 05/12] usb: USB comments in Kconfig for better separation

2015-07-22 Thread Paul Kocialkowski
Adding comments to the usb Kconfig allows for a better separation and more readability in generated configs and in menuconfig. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- drivers/usb/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/Kconfig

Re: [U-Boot] [PATCH v2] usb: CONFIG_USB_FASTBOOT prefix replacement for consistency

2015-07-22 Thread Paul Kocialkowski
Le lundi 20 juillet 2015 à 14:57 +0200, Lukasz Majewski a écrit : Hi Paul, FASTBOOT is defined both by CONFIG_USB_FUNCTION_FASTBOOT AND CONFIG_CMD_FASTBOOT, so it doesn't make much sense to have a CONFIG_USB_FASTBOOT prefix for fastboot-specific options, especially given that other

Re: [U-Boot] [PATCHv4 0/3] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-07-22 Thread Marek Vasut
On Wednesday, July 22, 2015 at 10:27:10 AM, Dinh Nguyen wrote: On 7/20/15 2:40 PM, Marek Vasut wrote: On Monday, July 20, 2015 at 09:31:39 PM, Dinh Nguyen wrote: [...] Hi, yeah, I have some insane amount of cleanup patches and fixes already. I will post them once I'm done. What I

Re: [U-Boot] USB and unbinding

2015-07-22 Thread Hans de Goede
Hi, On 22-07-15 05:48, Simon Glass wrote: Hi Hans, On 21 July 2015 at 13:52, Hans de Goede hdego...@redhat.com wrote: Hi, On 07/20/2015 05:49 PM, Simon Glass wrote: Hi Hans, On 20 July 2015 at 09:31, Hans de Goede hdego...@redhat.com wrote: Hi, On 20-07-15 04:23, Simon Glass wrote:

[U-Boot] [PATCH 11/12] musb: sunxi: Force EP0 on re-enable

2015-07-22 Thread Paul Kocialkowski
From: Maxime Ripard maxime.rip...@free-electrons.com Currently, the second use of a gadget will fail, while the first one works. Forcing the EP0 at every enable fix this issue. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/usb/musb-new/sunxi.c | 3 +++ 1 file

[U-Boot] [PATCH 09/12] sunxi: Kconfig defaults for USB

2015-07-22 Thread Paul Kocialkowski
USB_STORAGE and USB_KEYBOARD should only be selected when either USB_EHCI_HCD or USB_MUSB_HOST is set. In addition, the musb controller should automatically be selected when either USB_MUSB_HOST or USB_MUSB_GADGET is selected, not the other way round. Signed-off-by: Paul Kocialkowski

[U-Boot] [PATCH 07/12] usb: USB_KEYBOARD move to usb Kconfig

2015-07-22 Thread Paul Kocialkowski
The USB_KEYBOARD Kconfig is not specific to sunxi, so we can move it to the common USB Kconfig. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- board/sunxi/Kconfig | 5 - drivers/usb/Kconfig | 6 ++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/board/sunxi/Kconfig

[U-Boot] [PATCH 08/12] sunxi: USB EHCI Kconfig option instead of config define

2015-07-22 Thread Paul Kocialkowski
This makes sunxi boards use the USB_EHCI_HCD Kconfig option instead of defining USB_EHCI as a config define. This allows for more flexibility in enabling the controller and handling other Kconfig that may depend on USB EHCI. Signed-off-by: Paul Kocialkowski cont...@paulk.fr ---

[U-Boot] [PATCH 04/12] usb: musb-new: Kconfig support for USB_MUSB_HOST and USB_MUSB_GADGET

2015-07-22 Thread Paul Kocialkowski
Having MUSB_HOST and MUSB_GADGET in Kconfig allows more flexibility with regard to what Kconfig options to enable, such as USB_STORAGE or USB_KEYBOARD. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- drivers/usb/Kconfig | 2 ++ drivers/usb/musb-new/Kconfig | 14 ++ 2

[U-Boot] [PATCH 10/12] sunxi: config update to stick with Kconfig changes

2015-07-22 Thread Paul Kocialkowski
Now that some things were updated in Kconfig, they should be reflected on the sunxi-common config too. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- include/configs/sunxi-common.h | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/configs/sunxi-common.h

[U-Boot] [PATCH 12/12] sunxi: MUSB gadget config provisions, with fastboot and USB mass storage support

2015-07-22 Thread Paul Kocialkowski
This adds some config options to the sunxi-common config to enable the USB download gadget and the fastboot and USB mass storage functions. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- include/configs/sunxi-common.h | 30 ++ 1 file changed, 30 insertions(+)

Re: [U-Boot] [PATCH v2 1/3] sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support

2015-07-22 Thread Piotr Zierhoffer
Hi Boris, thanks for your review. I have applied most of your comments, but I have few remarks and questions. 2015-07-20 18:13 GMT+02:00 Boris Brezillon boris.brezil...@free-electrons.com: + page = real_addr / CONFIG_SYS_NAND_BLOCK_SIZE; + column = real_addr %

Re: [U-Boot] [PATCH 12/12] sunxi: MUSB gadget config provisions, with fastboot and USB mass storage support

2015-07-22 Thread Hans de Goede
Hi, On 22-07-15 10:45, Paul Kocialkowski wrote: This adds some config options to the sunxi-common config to enable the USB download gadget and the fastboot and USB mass storage functions. Signed-off-by: Paul Kocialkowski cont...@paulk.fr Acked-by: Hans de Goede hdego...@redhat.com Regards,

Re: [U-Boot] [PATCH 11/12] musb: sunxi: Force EP0 on re-enable

2015-07-22 Thread Hans de Goede
Hi, On 22-07-15 10:45, Paul Kocialkowski wrote: From: Maxime Ripard maxime.rip...@free-electrons.com Currently, the second use of a gadget will fail, while the first one works. Forcing the EP0 at every enable fix this issue. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com

Re: [U-Boot] [PATCH 08/12] sunxi: USB EHCI Kconfig option instead of config define

2015-07-22 Thread Hans de Goede
Hi, On 22-07-15 10:45, Paul Kocialkowski wrote: This makes sunxi boards use the USB_EHCI_HCD Kconfig option instead of defining USB_EHCI as a config define. This allows for more flexibility in enabling the controller and handling other Kconfig that may depend on USB EHCI. Signed-off-by: Paul

Re: [U-Boot] [PATCH 09/12] sunxi: Kconfig defaults for USB

2015-07-22 Thread Hans de Goede
Hi, On 22-07-15 10:45, Paul Kocialkowski wrote: USB_STORAGE and USB_KEYBOARD should only be selected when either USB_EHCI_HCD or USB_MUSB_HOST is set. In addition, the musb controller should automatically be selected when either USB_MUSB_HOST or USB_MUSB_GADGET is selected, not the other way

Re: [U-Boot] [PATCH 06/12] usb: USB_MUSB_SUNXI move to musb-new Kconfig

2015-07-22 Thread Hans de Goede
Hi, On 22-07-15 10:45, Paul Kocialkowski wrote: Now that the musb-new driver has a Kconfig, we can move Kconfig options to enable controllers to it, so that it's easier in e.g. menuconfig. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- board/sunxi/Kconfig | 9 -

[U-Boot] [PATCH v3] patman: add distutils based installer

2015-07-22 Thread Chris Packham
To make it easier to use patman on other projects add a distutils style installer. Now patman can be installed with cd u-boot/tools/patman python setup.py install There are also the usual distutils options for creating source/binary distributions of patman. Tested-by: Simon Glass

Re: [U-Boot] [PATCH 07/12] usb: USB_KEYBOARD move to usb Kconfig

2015-07-22 Thread Hans de Goede
Hi, On 22-07-15 10:45, Paul Kocialkowski wrote: The USB_KEYBOARD Kconfig is not specific to sunxi, so we can move it to the common USB Kconfig. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- board/sunxi/Kconfig | 5 - drivers/usb/Kconfig | 6 ++ 2 files changed, 6

Re: [U-Boot] [PATCH 10/12] sunxi: config update to stick with Kconfig changes

2015-07-22 Thread Hans de Goede
Hi, On 22-07-15 10:45, Paul Kocialkowski wrote: Now that some things were updated in Kconfig, they should be reflected on the sunxi-common config too. Signed-off-by: Paul Kocialkowski cont...@paulk.fr Ack. Regards, Hans --- include/configs/sunxi-common.h | 8 +++- 1 file changed,

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

2015-07-22 Thread Andrew Bradford
Hi Simon, On 07/21 14:17, Simon Glass wrote: Hi Andrew, On 10 July 2015 at 12:24, Andrew Bradford and...@bradfordembedded.com wrote: Hi Simon, On 07/10 06:53, Simon Glass wrote: Hi, On 8 July 2015 at 05:30, Andrew Bradford and...@bradfordembedded.com wrote: Hi Bin, On

Re: [U-Boot] [PATCH] keystone2: add high memory test

2015-07-22 Thread Vitaly Andrianov
On 07/21/2015 05:28 PM, Tom Rini wrote: On Wed, Jul 08, 2015 at 11:51:39AM -0400, Vitaly Andrianov wrote: Keystone2 SOC physical DDR3 address range is outside the first 4GB and cannot be entirely accessible without MMU enabled. Only first 2GB of the physical memory have 32-bits aliased

Re: [U-Boot] [PATCH v3 4/7] x86: Allow cpu-x86 driver to be probed for UP

2015-07-22 Thread Simon Glass
On 22 July 2015 at 02:21, Bin Meng bmeng...@gmail.com wrote: Currently cpu-x86 driver is probed only for SMP. We add the same support for UP when there is only one cpu node in the deive tree. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v3: - Remove the call to device_probe()

Re: [U-Boot] [PATCH v2 1/3] sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support

2015-07-22 Thread Piotr Zierhoffer
Hello 2015-07-22 13:53 GMT+02:00 Boris Brezillon boris.brezil...@free-electrons.com: I'd suggest removing the comment and making the following options configurable, with the default values as provided, in Kconfig: CONFIG_NAND_PAGE_SIZE 0x2000 CONFIG_NAND_ECC_PAGE_SIZE 0x400

[U-Boot] [PATCH] spi: zynq_spi: Simplify debug macro

2015-07-22 Thread Michal Simek
Trivial fix. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/spi/zynq_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/zynq_spi.c b/drivers/spi/zynq_spi.c index c5c3e1044fda..45ed7d94a93f 100644 --- a/drivers/spi/zynq_spi.c +++

[U-Boot] [PATCH] zynq: Fix typo in Makefile about custom ps7_init file

2015-07-22 Thread Michal Simek
Trivial fix. Signed-off-by: Michal Simek michal.si...@xilinx.com --- board/xilinx/zynq/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/xilinx/zynq/Makefile b/board/xilinx/zynq/Makefile index 20522fba5097..fd5d6fe950c7 100644 --- a/board/xilinx/zynq/Makefile

[U-Boot] [PATCH] zynqmp: mp: Simplify set_r5_start handling

2015-07-22 Thread Michal Simek
Pass directly boot_addr which is LOVEC (0) or HIVEC (0x). No reason to use magic values 0 and 1. Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/cpu/armv8/zynqmp/mp.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git

[U-Boot] [PATCH] usb: ehci-marvell: Drop wrl accessor function

2015-07-22 Thread Stefan Roese
This patch removes the wrl accessor function from the Marvell EHCI driver by replacing it with the writel function. Signed-off-by: Stefan Roese s...@denx.de Cc: Marek Vasut ma...@denx.de --- drivers/usb/host/ehci-marvell.c | 26 -- 1 file changed, 12 insertions(+), 14

Re: [U-Boot] [PATCH] usb: ehci-marvell: Drop wrl accessor function

2015-07-22 Thread Marek Vasut
On Wednesday, July 22, 2015 at 10:01:30 AM, Stefan Roese wrote: This patch removes the wrl accessor function from the Marvell EHCI driver by replacing it with the writel function. Signed-off-by: Stefan Roese s...@denx.de Cc: Marek Vasut ma...@denx.de Applied, thanks! Best regards, Marek

Re: [U-Boot] [PATCH v2 1/3] sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support

2015-07-22 Thread Boris Brezillon
Hi Piotr, On Wed, 22 Jul 2015 13:27:37 +0200 Piotr Zierhoffer pzierhof...@antmicro.com wrote: Hi Boris, thanks for your review. I have applied most of your comments, but I have few remarks and questions. 2015-07-20 18:13 GMT+02:00 Boris Brezillon boris.brezil...@free-electrons.com: +

Re: [U-Boot] [PATCHv4 0/3] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-07-22 Thread Dinh Nguyen
On 7/22/15 4:00 AM, Marek Vasut wrote: On Wednesday, July 22, 2015 at 10:27:10 AM, Dinh Nguyen wrote: On 7/20/15 2:40 PM, Marek Vasut wrote: On Monday, July 20, 2015 at 09:31:39 PM, Dinh Nguyen wrote: [...] Hi, yeah, I have some insane amount of cleanup patches and fixes already. I will

Re: [U-Boot] [PATCHv4 0/3] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-07-22 Thread Marek Vasut
On Wednesday, July 22, 2015 at 02:57:49 PM, Dinh Nguyen wrote: On 7/22/15 4:00 AM, Marek Vasut wrote: On Wednesday, July 22, 2015 at 10:27:10 AM, Dinh Nguyen wrote: On 7/20/15 2:40 PM, Marek Vasut wrote: On Monday, July 20, 2015 at 09:31:39 PM, Dinh Nguyen wrote: [...] Hi, yeah,

Re: [U-Boot] [PATCH V2 0/6] Tegra210/P2571 initial support

2015-07-22 Thread Tom Warren
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, July 22, 2015 1:35 PM To: Tom Warren Cc: u-boot@lists.denx.de; Thierry Reding; Stephen Warren; tomcwarren3...@gmail.com Subject: Re: [U-Boot] [PATCH V2 0/6] Tegra210/P2571 initial support On

[U-Boot] [PATCH 15/15][v3] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-07-22 Thread Adrian Alonso
* Add i.MX7D SABRESD target board support with enabled modules: UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX. Build target: mx7dsabresd_config Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Fugang Duan b38...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com

[U-Boot] [PATCH 14/15][v3] imx: imx7d: add imx-common cpu support for imx7d

2015-07-22 Thread Adrian Alonso
* Add imx-common cpu support for imx7d SoC * Update reset_cause for imx7d * Enable watchdog driver built for imx7d Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend arch/arm/Makefile|

[U-Boot] [PATCH 13/15][v3] imx: imx7d: add timer support for imx7d

2015-07-22 Thread Adrian Alonso
* Add timer support for imx7d SoC Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend arch/arm/imx-common/timer.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 12/15][v3] imx: imx7d: add hab secure boot support

2015-07-22 Thread Adrian Alonso
* HAB secure boot support - get_hab_status: checks if secure boot is enabled or not - authenticate_image: verifies image properly signed based on CSF entry * Uboot command for hab authenticate - hab_auth_img: authenticate image via HAB - hab_status: display HAB status Signed-off-by:

[U-Boot] [PATCH] arm64: Handle arbitrary CONFIG_SYS_MALLOC_F_LEN values

2015-07-22 Thread Stephen Warren
From: Thierry Reding tred...@nvidia.com The encoding of the sub instruction used to handle CONFIG_SYS_MALLOC_F_LEN can only accept certain values, and the set of acceptable values differs between the AArch32 and AArch64 instructions sets. The default value of CONFIG_SYS_MALLOC_F_LEN works with

Re: [U-Boot] [PATCH 04/48] elf: Add a few definitions for 64-bit relocation

2015-07-22 Thread Bin Meng
Hi Simon, On Wed, Jul 22, 2015 at 11:48 PM, Simon Glass s...@chromium.org wrote: Provide the types necessary to relocate 64-bit images. Signed-off-by: Simon Glass s...@chromium.org --- include/elf.h | 26 ++ 1 file changed, 26 insertions(+) diff --git

Re: [U-Boot] [PATCH 00/55] dm: exynos: Driver model improvements leading to spring support

2015-07-22 Thread Simon Glass
Hi Minkyu,, On 21 July 2015 at 22:52, Minkyu Kang mk7.k...@samsung.com wrote: On 20/07/15 23:19, Simon Glass wrote: Hi Minkyu, On 2 July 2015 at 18:15, Simon Glass s...@chromium.org wrote: This series adds a number of fixes and improvements to driver model as well as two new uclasses (video

Re: [U-Boot] [PATCH v3] patman: add distutils based installer

2015-07-22 Thread Simon Glass
Hi Chris, On 22 July 2015 at 03:21, Chris Packham judge.pack...@gmail.com wrote: To make it easier to use patman on other projects add a distutils style installer. Now patman can be installed with cd u-boot/tools/patman python setup.py install There are also the usual distutils options

Re: [U-Boot] [PATCH 02/48] dm: core: Check for empty list in uclass_find_device()

2015-07-22 Thread Bin Meng
On Wed, Jul 22, 2015 at 11:48 PM, Simon Glass s...@chromium.org wrote: This function needs to check the list has entries before traversing it. Fix this bug. Signed-off-by: Simon Glass s...@chromium.org --- drivers/core/uclass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 04/15][v3] imx: iomux-v3: add imx7d support for iomuxc

2015-07-22 Thread Adrian Alonso
* Add imx7d support for iomux controller * imx7d has two iomux controllers iomuxc (0x3033000) and iomuxc-lpsr (0x302C) each conroller provides control and mux mode pad registers but shares iomuxc input select register with iomuxc-lpsr IOMUX_CONFIG_LPSR flag is used to properly set daisy

Re: [U-Boot] [PATCH 12/18] dm: usb: Adjust the USB_DEVICE() macro naming

2015-07-22 Thread Simon Glass
On 6 July 2015 at 17:20, Marek Vasut ma...@denx.de wrote: On Tuesday, July 07, 2015 at 12:47:51 AM, Simon Glass wrote: In Linux USB_DEVICE() is used to declare a USB device by vendor/device ID. We should follow the same convention in U-Boot. Rename the existing USB_DEVICE() macro to

Re: [U-Boot] [PATCH 01/48] Support removing default assembler flags

2015-07-22 Thread Bin Meng
On Wed, Jul 22, 2015 at 11:48 PM, Simon Glass s...@chromium.org wrote: The CFLAGS_REMOVE_file feature allows default C compiler flags to be removed for particular files. Add the same feature for assembler, using AFLAGS_REMOVE_file. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH 03/48] dm: serial: Correct logic in serial_find_console_or_panic()

2015-07-22 Thread Bin Meng
On Wed, Jul 22, 2015 at 11:48 PM, Simon Glass s...@chromium.org wrote: In a final attempt to find a console UART this function uses the first first available serial device. However the check for a valid device is inverted. This code is only executed when there is in fact no serial UART, but

Re: [U-Boot] [PATCH 08/48] x86: Add various minor tidy-ups to the 32-bit startup code

2015-07-22 Thread Bin Meng
On Wed, Jul 22, 2015 at 11:49 PM, Simon Glass s...@chromium.org wrote: Fix a typo, improve some comments and add a little more detail in some cases. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/cpu/start.S | 46 ++ 1 file changed,

Re: [U-Boot] [PATCHv4 0/3] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-07-22 Thread Dinh Nguyen
On 7/22/15 8:01 AM, Marek Vasut wrote: On Wednesday, July 22, 2015 at 02:57:49 PM, Dinh Nguyen wrote: On 7/22/15 4:00 AM, Marek Vasut wrote: On Wednesday, July 22, 2015 at 10:27:10 AM, Dinh Nguyen wrote: On 7/20/15 2:40 PM, Marek Vasut wrote: On Monday, July 20, 2015 at 09:31:39 PM, Dinh

Re: [U-Boot] [PATCH 11/48] x86: Drop unused copy_fdt_to_ram()

2015-07-22 Thread Bin Meng
On Wed, Jul 22, 2015 at 11:49 PM, Simon Glass s...@chromium.org wrote: This is now handled by generic U-Boot code so we do not need an x86 version. It is no-longer called, so remove it. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/include/asm/relocate.h | 1 -

Re: [U-Boot] [PATCH 13/48] x86: Add some missing global_data declarations in files that use gd

2015-07-22 Thread Bin Meng
On Wed, Jul 22, 2015 at 11:49 PM, Simon Glass s...@chromium.org wrote: Some files use global_data but don't declare it. Fix this. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/cpu/mp_init.c | 2 ++ arch/x86/lib/bootm.c | 2 ++ arch/x86/lib/fsp/fsp_common.c |

Re: [U-Boot] [PATCH 14/48] x86: Tidy up a few minor issues with interrupts

2015-07-22 Thread Bin Meng
On Wed, Jul 22, 2015 at 11:49 PM, Simon Glass s...@chromium.org wrote: Fix a typo, remove an unused field and make sure to use existing #define constants instead of open-coded values. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/cpu/interrupts.c | 9 - 1 file changed,

Re: [U-Boot] [PATCH 15/48] pci: Use debug() instead of DEBUGF() in pci_auto.c

2015-07-22 Thread Bin Meng
On Wed, Jul 22, 2015 at 11:49 PM, Simon Glass s...@chromium.org wrote: This file does not need its own way of doing debug(). Clean it up to use the new way. Signed-off-by: Simon Glass s...@chromium.org --- drivers/pci/pci_auto.c | 48 +++- 1

Re: [U-Boot] [PATCH 02/15][v3] imx: usb: ehci-mx7 add usb driver for i.MX7D

2015-07-22 Thread Marek Vasut
On Thursday, July 23, 2015 at 12:24:22 AM, Adrian Alonso wrote: * Add support for usb driver for i.MX7D SoC Please drop this asterisk, it's pointless. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com Signed-off-by: Peng Fan peng@freescale.com

Re: [U-Boot] [PATCH v3] patman: add distutils based installer

2015-07-22 Thread Masahiro Yamada
2015-07-23 11:10 GMT+09:00 Simon Glass s...@chromium.org: Hi Chris, On 22 July 2015 at 03:21, Chris Packham judge.pack...@gmail.com wrote: To make it easier to use patman on other projects add a distutils style installer. Now patman can be installed with cd u-boot/tools/patman python

Re: [U-Boot] [PATCH 05/48] Add a way to skip relocation

2015-07-22 Thread Bin Meng
Hi Simon, On Wed, Jul 22, 2015 at 11:48 PM, Simon Glass s...@chromium.org wrote: When running U-Boot as an EFI application we cannot relocate since we do not have relocation information. U-Boot has already been relocated to a suitable address. Add a global_data flag to control skipping

Re: [U-Boot] [PATCH 06/48] Allow objcopy to work without filling gaps with 0xff

2015-07-22 Thread Bin Meng
On Wed, Jul 22, 2015 at 11:48 PM, Simon Glass s...@chromium.org wrote: This is currently done for all targets, since 0xff is the default erased value for most flash devices. In some cases this is not what we want (e.g. for EFI images) so provide a command to do a vanilla objcopy.

Re: [U-Boot] [PATCH 07/48] Bring in __aligned_u64 and friends to linux/types.h

2015-07-22 Thread Bin Meng
Hi Simon, On Wed, Jul 22, 2015 at 11:48 PM, Simon Glass s...@chromium.org wrote: These will be used for efi.h both for U-Boot running as an EFI application and as a payload. They come from Linux 4.1. Signed-off-by: Simon Glass s...@chromium.org --- include/linux/types.h | 6 +- 1

Re: [U-Boot] [RFC PATCH 1/7] pinctrl: add pinctrl framework

2015-07-22 Thread Masahiro Yamada
Hi Simon, Sorry for being away from this a while. 2015-07-22 23:24 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 18 July 2015 at 08:37, Simon Glass s...@chromium.org wrote: Hi Masahiro, On 15 July 2015 at 02:16, Masahiro Yamada yamada.masah...@socionext.com wrote: Now, a

<    1   2   3   >