Re: [U-Boot] [PATCH] mtd: spi: sf_dataflash: Add print message while erase error

2017-08-08 Thread Jagan Teki
On Thu, Aug 3, 2017 at 8:54 PM, Simon Glass wrote: > On 20 July 2017 at 23:26, Wenyou Yang wrote: >> Add the print message to tell us why the erase operation doesn't work. >> >> Signed-off-by: Wenyou Yang >> --- >> >> drivers/mtd/spi/sf_dataflash.c | 10 -- >> 1 file changed, 8 insertio

Re: [U-Boot] [PATCH v0 21/20] efi_loader: hack for archs that cannot do unaligned accesses

2017-08-08 Thread Ard Biesheuvel
On 8 August 2017 at 07:52, Alexander Graf wrote: > > >> Am 07.08.2017 um 23:18 schrieb Rob Clark : >> >> On Mon, Aug 7, 2017 at 5:14 PM, Mark Kettenis >> wrote: From: Alexander Graf Date: Mon, 7 Aug 2017 21:19:37 +0100 > On 05.08.17 21:31, Rob Clark wrote: >> On Sat, Aug

[U-Boot] [PATCH 1/5] imx: mx6: soc: fix mx6sll settings

2017-08-08 Thread Peng Fan
There is not LDO_SOC/PU/ARM/MMDC1 on i.MX6SLL, also no need to gate/ungate all PFDs to make PFD working. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- arch/arm/mach-imx/mx6/soc.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-i

[U-Boot] [PATCH 2/5] imx: mx6qp add AQoS setting for IPU

2017-08-08 Thread Peng Fan
Bypass QoS for IPU and increase bankwidth threshold for PRE to get better performance for video. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- arch/arm/include/asm/arch-mx6/imx-regs.h | 47 arch/arm/mach-imx/mx6/clock.c| 37 +++

[U-Boot] [PATCH 3/5] imx: mx6qp: Adjust AQos settings for peripherals

2017-08-08 Thread Peng Fan
To resolve USB camera bandwidth issue, the patch sets recommended AQoS setting from IC team value for peripheral and only on imx6qp. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- arch/arm/mach-imx/mx6/soc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch

[U-Boot] [PATCH 5/5] imx: mx6sl: simplify code using setbits_le32

2017-08-08 Thread Peng Fan
Simplify code by removing set_preclk_from_osc with directly setbits_le32. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- arch/arm/mach-imx/mx6/soc.c | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/ma

[U-Boot] [PATCH 4/5] imx: mx6sx: select OSC as uart's clk parent

2017-08-08 Thread Peng Fan
As M4 is sourcing UART clk from OSC, to make UART work when M4 is enabled, need to select OSC as clk parent, 24M OSC is enough for debug UART in uboot. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- arch/arm/mach-imx/mx6/soc.c | 4 1 file changed, 4 insertions(+) diff --

Re: [U-Boot] [PATCH] config: ls1012aqds: Add USB EHCI support for ls1012aqds

2017-08-08 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of > yinbo@nxp.com > Sent: Thursday, July 27, 2017 3:19 PM > To: u-boot@lists.denx.de > Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS > ; Mihai Emilian Bantea ; > Horia Geantă ; Marc Zy

Re: [U-Boot] [PATCH] x86: Remove dead ISA related codes

2017-08-08 Thread Bin Meng
On Sun, Aug 6, 2017 at 1:16 PM, Simon Glass wrote: > On 3 August 2017 at 23:52, Bin Meng wrote: >> Neither new design uses ISA bus, nor does any U-Boot codes use these >> codes. Remove them. >> >> Signed-off-by: Bin Meng >> --- >> >> arch/x86/include/asm/io.h | 74 >> +-

Re: [U-Boot] [PATCH 1/3] ARM: i.MX6: exclude the ARM errata from i.MX6 UP system

2017-08-08 Thread Stefano Babic
Hi Peng, On 08/08/2017 07:34, Peng Fan wrote: > The ARM errata 751472, 794072, 761320 only applied > to the following configuration: > > This erratum affects configurations with either: > - One processor if the ACP is present > - Two or more processors > Apart that I agree that such as work-aro

Re: [U-Boot] [PATCH 1/3] ARM: i.MX6: exclude the ARM errata from i.MX6 UP system

2017-08-08 Thread Peng Fan
> -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Tuesday, August 08, 2017 4:50 PM > To: Peng Fan ; sba...@denx.de > Cc: van.free...@gmail.com; u-boot@lists.denx.de; Fabio Estevam > > Subject: Re: [PATCH 1/3] ARM: i.MX6: exclude the ARM errata from i.MX6 UP > sys

Re: [U-Boot] [PATCH 2/3] arm: Implement workaround for Cortex-A9 errata 845369

2017-08-08 Thread Stefano Babic
On 08/08/2017 07:34, Peng Fan wrote: > Under very rare timing circumstances, transitioning into streaming > mode might create a data corruption. Present on Two or more processors > or 1 core with ACP, all revisions. This erratum can be worked round > by setting bit[22] of the undocumented Diagnosti

Re: [U-Boot] [PATCH 3/3] imx: mx6: select ARM_ERRATA_845369

2017-08-08 Thread Stefano Babic
On 08/08/2017 07:34, Peng Fan wrote: > Select ARM_ERRATA_845369 for i.MX6DQ/DL/QP. > > Signed-off-by: Peng Fan > --- > arch/arm/mach-imx/mx6/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/mach-imx/mx6/Kconfig b/arch/arm/mach-imx/mx6/Kconfig > index 2be67e1..4eed100 10

Re: [U-Boot] [PATCH 1/6 v3] x86: dfi: Add option to select different config headers for baseboards

2017-08-08 Thread Stefan Roese
Hi Bin, On 06.08.2017 11:17, Bin Meng wrote: On Sun, Aug 6, 2017 at 1:13 PM, Stefan Roese wrote: Hi Bin, On 06.08.2017 02:48, Bin Meng wrote: On Sun, Aug 6, 2017 at 12:49 AM, Stefan Roese wrote: This patch adds the infrastructure to define different config headers with different configu

[U-Boot] [PATCH v2 0/5] Add flash to fpga intermediate driver

2017-08-08 Thread tien . fong . chee
From: Tien Fong Chee This patchset adding intermediate driver called cff driver to support all the FPGA program operations between FPGA manager and flash. This version mainly resolved comments from Marek in [v1]. This series is working on top of u-boot.git - http://git.denx.de/?p=u-boot.git;a=sum

[U-Boot] [PATCH v2 1/5] arm: socfpga: Make spl_boot_device accessible to U-boot

2017-08-08 Thread tien . fong . chee
From: Tien Fong Chee This function is required in both SPL and U-boot such as checking boot device type, which is required for locating flash where U-boot image, and FPGA design are stored. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/misc.c | 30 ++ arch

[U-Boot] [PATCH v2 2/5] arm: socfpga: Add checking function on FPGA setting in FDT

2017-08-08 Thread tien . fong . chee
From: Tien Fong Chee Function for checking FPGA early release setting which is defined by user in FDT chosen section. This function would be used by later driver in decision applying appropriate FPGA configuration in early release or full FPGA booting mode. Signed-off-by: Tien Fong Chee --- ar

[U-Boot] [PATCH v2 3/5] configs: Add FPGA loadfs config for Arria 10

2017-08-08 Thread tien . fong . chee
From: Tien Fong Chee This config allow FPGA design loaded from FAT fs to FPGA manager. Signed-off-by: Tien Fong Chee --- configs/socfpga_arria10_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/socfpga_arria10_defconfig b/configs/socfpga_arria10_defconfig index 53ab66f..d

Re: [U-Boot] [RFC PATCH 1/1] dm: core: add clocks node scan

2017-08-08 Thread Patrice CHOTARD
Hi Simon On 08/06/2017 07:16 AM, Simon Glass wrote: > Hi Patrice, > > On 31 July 2017 at 09:12, wrote: >> From: Patrice Chotard >> >> Currently, all fixed-clock declared in "clocks" node in device tree >> can be binded by clk_fixed_rate.c driver only if the "simple-bus" >> compatible string is

[U-Boot] [PATCH v2 5/5] arm: socfpga: Enable cff driver build

2017-08-08 Thread tien . fong . chee
From: Tien Fong Chee Enable cff driver build which is needed as intermediate driver for handling operation of FPGA program between feeding FPGA design from flash into FPGA manager. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/Makefile | 1 + 1 file changed, 1 insertion(+) diff --gi

Re: [U-Boot] [PATCH 1/2] sf: add support for GD25Q256

2017-08-08 Thread Andy Yan
Hi Jagan: 2017-08-07 16:44 GMT+08:00 Jagan Teki : > On Fri, Aug 4, 2017 at 3:03 PM, Andy Yan wrote: > > Add support for GD25Q256, a 32MiB SPI Nor > > flash from Gigadevice. > > > > Signed-off-by: Andy Yan > > --- > > > > drivers/mtd/spi/sf_internal.h | 1 + > > drivers/mtd/spi/spi_flash.c

[U-Boot] [PATCH v2 4/5] arm: socfpga: Add intermediate driver between flash and FPGA manager

2017-08-08 Thread tien . fong . chee
From: Tien Fong Chee Configuration flip-flop driver is mainly used for handling the FPGA program operation where the FPGA image loading from the flash into FPGA manager. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/cff.c | 582 +++ arch/arm/m

Re: [U-Boot] [PATCH v1 0/7] imx: add USB Serial Download Protocol (SDP) support

2017-08-08 Thread Stefano Babic
Hi Stefan, On 07/08/2017 20:06, Stefan Agner wrote: > Hi Eric, > > On 2017-08-06 08:19, Eric Nelson wrote: >> Hi Stefan, >> >> On 08/04/2017 04:38 PM, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> This series adds NXP's Serial Download Protocol (SDP) support via >>> USB for SPL/U-Boot. It a

Re: [U-Boot] [PATCH v0 21/20] efi_loader: hack for archs that cannot do unaligned accesses

2017-08-08 Thread Rob Clark
On Tue, Aug 8, 2017 at 2:52 AM, Alexander Graf wrote: > > >> Am 07.08.2017 um 23:18 schrieb Rob Clark : >> >> On Mon, Aug 7, 2017 at 5:14 PM, Mark Kettenis >> wrote: From: Alexander Graf Date: Mon, 7 Aug 2017 21:19:37 +0100 > On 05.08.17 21:31, Rob Clark wrote: >> On Sat,

Re: [U-Boot] [PATCH v2 2/5] arm: socfpga: Add checking function on FPGA setting in FDT

2017-08-08 Thread Marek Vasut
On 08/08/2017 11:12 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Function for checking FPGA early release setting which is defined > by user in FDT chosen section. This function would be used by > later driver in decision applying appropriate FPGA configuration in > early releas

Re: [U-Boot] [PATCH v2 4/5] arm: socfpga: Add intermediate driver between flash and FPGA manager

2017-08-08 Thread Marek Vasut
On 08/08/2017 11:12 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Configuration flip-flop driver is mainly used for handling the FPGA program > operation where the FPGA image loading from the flash into FPGA manager. I don't understand what this driver is for , sorry. Coding st

Re: [U-Boot] [PATCH v2 5/5] arm: socfpga: Enable cff driver build

2017-08-08 Thread Marek Vasut
On 08/08/2017 11:12 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Enable cff driver build which is needed as intermediate driver for handling > operation of FPGA program between feeding FPGA design from flash into FPGA > manager. > > Signed-off-by: Tien Fong Chee > --- > arch/

[U-Boot] [PATCH 2/6 v5] x86: conga: Add option to select different config headers for baseboards

2017-08-08 Thread Stefan Roese
This patch adds the infrastructure to define different config headers with different configurations and default environment for the baseboards that can now be selected via Kconfig. The new configuration for the theadorable-x86-conga-qa3-e3845 is also added. Also the new defconfig file for this new

[U-Boot] [PATCH 5/6 v5] x86: conga: theadorable-x86-conga-qa3-e3845_defconfig: Misc defconfig updates

2017-08-08 Thread Stefan Roese
- Disable debug UART - Enable more partition support Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- v5: - SPI NOR chips removed because of imply in board Kconfig configs/theadorable-x86-conga-qa3-e3845_defconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -

[U-Boot] [PATCH 3/6 v5] x86: theadorable-x86: Add header file for common defines and env

2017-08-08 Thread Stefan Roese
This patch adds the common header include file theadorable-x86-common.h for the theadorable-x86 targets to define all common options and the default environment. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- v5: - No change v3: - Rebased on latest master include/configs/theado

[U-Boot] [PATCH 4/6 v5] x86: conga: conga-qeval20-qa3-e3845_defconfig: Misc defconfig updates

2017-08-08 Thread Stefan Roese
- Enable ACPI resume support - Disable debug UART - Enable Spansion and Winbond SPI flash support - Move VGA BIOS binary address to enable bigger U-Boot images Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- v5: - Move VGA BIOS address - SPI NOR chips removed because of imply in bo

[U-Boot] [PATCH 6/6 v5] x86: Add defconfig for theadorable-x86-conga with PCIe x4 blobs

2017-08-08 Thread Stefan Roese
This defconfig uses the PCIe x4 binary blobs from the congatec BIOS. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- v5: - SPI NOR chips removed because of imply in board Kconfig board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS | 1 + ...eadorable-x86-conga-qa3-e3845-pcie-x4_d

[U-Boot] [PATCH 1/6 v5] x86: dfi: Add option to select different config headers for baseboards

2017-08-08 Thread Stefan Roese
This patch adds the infrastructure to define different config headers with different configurations and default environment for the baseboards that can now be selected via Kconfig. The new configuration for the theadorable-x86-dfi-bt700 is also added. Signed-off-by: Stefan Roese Cc: Simon Glass

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

2017-08-08 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/mx6qsabresd board. Signed-off-by: Peng Fan Cc: Jagan Teki cc: Stefano Babic --- drivers/spi/mxc_spi.c | 183 +- 1 file

Re: [U-Boot] [PATCH 1/6 v5] x86: dfi: Add option to select different config headers for baseboards

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: > This patch adds the infrastructure to define different config headers > with different configurations and default environment for the baseboards > that can now be selected via Kconfig. The new configuration for the > theadorable-x86-dfi-bt700 i

Re: [U-Boot] [PATCH 2/6 v5] x86: conga: Add option to select different config headers for baseboards

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: > This patch adds the infrastructure to define different config headers > with different configurations and default environment for the baseboards > that can now be selected via Kconfig. The new configuration for the > theadorable-x86-conga-qa3-e

Re: [U-Boot] [PATCH 3/6 v5] x86: theadorable-x86: Add header file for common defines and env

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: > This patch adds the common header include file theadorable-x86-common.h > for the theadorable-x86 targets to define all common options and the > default environment. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > --- > v5

Re: [U-Boot] [PATCH 6/6 v5] x86: Add defconfig for theadorable-x86-conga with PCIe x4 blobs

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: > This defconfig uses the PCIe x4 binary blobs from the congatec BIOS. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > --- > v5: > - SPI NOR chips removed because of imply in board Kconfig > > board/congatec/conga-qeval20-q

Re: [U-Boot] [PATCH 5/6 v5] x86: conga: theadorable-x86-conga-qa3-e3845_defconfig: Misc defconfig updates

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: > - Disable debug UART > - Enable more partition support > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > --- > v5: > - SPI NOR chips removed because of imply in board Kconfig > > configs/theadorable-x86-conga-qa3-e3845_defc

Re: [U-Boot] [PATCH 4/6 v5] x86: conga: conga-qeval20-qa3-e3845_defconfig: Misc defconfig updates

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: > - Enable ACPI resume support > - Disable debug UART > - Enable Spansion and Winbond SPI flash support > - Move VGA BIOS binary address to enable bigger U-Boot images > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > --- > v5

Re: [U-Boot] [PATCH v2 4/5] arm: socfpga: Add intermediate driver between flash and FPGA manager

2017-08-08 Thread Chee, Tien Fong
On Sel, 2017-08-08 at 11:32 +0200, Marek Vasut wrote: > On 08/08/2017 11:12 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Configuration flip-flop driver is mainly used for handling the FPGA > > program > > operation where the FPGA image loading from the flash into FPGA

Re: [U-Boot] [PATCH v2 4/5] arm: socfpga: Add intermediate driver between flash and FPGA manager

2017-08-08 Thread Marek Vasut
On 08/08/2017 12:06 PM, Chee, Tien Fong wrote: > On Sel, 2017-08-08 at 11:32 +0200, Marek Vasut wrote: >> On 08/08/2017 11:12 AM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Configuration flip-flop driver is mainly used for handling the FPGA >>> program >>> operation where

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

2017-08-08 Thread Lothar Waßmann
Hi, On Tue, 8 Aug 2017 18:00:01 +0800 Peng Fan wrote: > Add driver model support for mxc spi driver. > Most functions are restructured to be reused by DM and non-DM. > Tested on mx6slevk/mx6qsabresd board. > > Signed-off-by: Peng Fan > Cc: Jagan Teki > cc: Stefano Babic > --- > drivers/spi/m

Re: [U-Boot] [PATCH 2/6 v5] x86: conga: Add option to select different config headers for baseboards

2017-08-08 Thread Bin Meng
Hi Stefan, On Tue, Aug 8, 2017 at 6:06 PM, Bin Meng wrote: > On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: >> This patch adds the infrastructure to define different config headers >> with different configurations and default environment for the baseboards >> that can now be selected via Kc

Re: [U-Boot] [PATCH 2/6 v5] x86: conga: Add option to select different config headers for baseboards

2017-08-08 Thread Stefan Roese
Hi Bin, On 08.08.2017 12:29, Bin Meng wrote: On Tue, Aug 8, 2017 at 6:06 PM, Bin Meng wrote: On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: This patch adds the infrastructure to define different config headers with different configurations and default environment for the baseboards that

Re: [U-Boot] [PATCH v1 2/7] usb: gadget: add SDP driver

2017-08-08 Thread Lothar Waßmann
Hi, On Fri, 4 Aug 2017 16:38:08 -0700 Stefan Agner wrote: > From: Stefan Agner > > Add SDP (Serial Downloader Protocol) implementation for U-Boot. The > protocol is used in NXP SoC's boot ROM and allows to download program > images. Beside that, it can also be used to read/write registers and >

Re: [U-Boot] [PATCH v4] usb: kbd: don't fail with iomux

2017-08-08 Thread Bin Meng
Hi Rob, On Tue, Aug 8, 2017 at 3:51 AM, Rob Clark wrote: > stdin might not be set, which would cause iomux_doenv() to fail > therefore causing probe_usb_keyboard() to fail. Furthermore if we do > have iomux enabled, the sensible thing (in terms of user experience) > would be to simply add oursel

Re: [U-Boot] [PATCH v1 5/7] spl: add serial download protocol (SDP) support

2017-08-08 Thread Lothar Waßmann
Hi, On Fri, 4 Aug 2017 16:38:11 -0700 Stefan Agner wrote: > From: Stefan Agner > > Add USB serial download protocol support to SPL. If the SoC started > in recovery mode the SPL will immediately switch to SDP and wait for > further downloads/commands from the host side. > > Signed-off-by: Stef

Re: [U-Boot] [PATCH v4] usb: kbd: don't fail with iomux

2017-08-08 Thread Rob Clark
On Tue, Aug 8, 2017 at 6:42 AM, Bin Meng wrote: > Hi Rob, > > On Tue, Aug 8, 2017 at 3:51 AM, Rob Clark wrote: >> stdin might not be set, which would cause iomux_doenv() to fail >> therefore causing probe_usb_keyboard() to fail. Furthermore if we do >> have iomux enabled, the sensible thing (in

Re: [U-Boot] [PATCH v4] usb: kbd: don't fail with iomux

2017-08-08 Thread Bin Meng
Hi Rob, On Tue, Aug 8, 2017 at 6:48 PM, Rob Clark wrote: > On Tue, Aug 8, 2017 at 6:42 AM, Bin Meng wrote: >> Hi Rob, >> >> On Tue, Aug 8, 2017 at 3:51 AM, Rob Clark wrote: >>> stdin might not be set, which would cause iomux_doenv() to fail >>> therefore causing probe_usb_keyboard() to fail. F

[U-Boot] [PATCH] x86: acpi: Fix build error with certain configuration

2017-08-08 Thread Bin Meng
When CONFIG_EFI_PARTITION is not set, the following build error is seen in arch/x86/lib/acpi_s3.c: error: expected declaration specifiers or '...' before '*' token static void asmlinkage (*acpi_do_wakeup)(void *vector) = (void*)WAKEUP_BASE; This is actually caused by missing asmlinkage declar

Re: [U-Boot] [PATCH 2/6 v5] x86: conga: Add option to select different config headers for baseboards

2017-08-08 Thread Bin Meng
Hi Stefan, On Tue, Aug 8, 2017 at 6:37 PM, Stefan Roese wrote: > Hi Bin, > > > On 08.08.2017 12:29, Bin Meng wrote: >> >> On Tue, Aug 8, 2017 at 6:06 PM, Bin Meng wrote: >>> >>> On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: This patch adds the infrastructure to define different

Re: [U-Boot] [PATCH v0 21/20] efi_loader: hack for archs that cannot do unaligned accesses

2017-08-08 Thread Leif Lindholm
On Tue, Aug 08, 2017 at 09:11:14AM +0100, Ard Biesheuvel wrote: > On 8 August 2017 at 07:52, Alexander Graf wrote: > > > > > >> Am 07.08.2017 um 23:18 schrieb Rob Clark : > >> > >> On Mon, Aug 7, 2017 at 5:14 PM, Mark Kettenis > >> wrote: > From: Alexander Graf > Date: Mon, 7 Aug 2017

Re: [U-Boot] [PATCH] x86: acpi: Fix build error with certain configuration

2017-08-08 Thread Stefan Roese
On 08.08.2017 13:35, Bin Meng wrote: When CONFIG_EFI_PARTITION is not set, the following build error is seen in arch/x86/lib/acpi_s3.c: error: expected declaration specifiers or '...' before '*' token static void asmlinkage (*acpi_do_wakeup)(void *vector) = (void*)WAKEUP_BASE; This is act

Re: [U-Boot] [PATCH 2/6 v5] x86: conga: Add option to select different config headers for baseboards

2017-08-08 Thread Stefan Roese
Hi Bin, On 08.08.2017 13:32, Bin Meng wrote: Hi Stefan, On Tue, Aug 8, 2017 at 6:37 PM, Stefan Roese wrote: Hi Bin, On 08.08.2017 12:29, Bin Meng wrote: On Tue, Aug 8, 2017 at 6:06 PM, Bin Meng wrote: On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: This patch adds the infrastruc

Re: [U-Boot] [PATCH v0 21/20] efi_loader: hack for archs that cannot do unaligned accesses

2017-08-08 Thread Rob Clark
On Tue, Aug 8, 2017 at 7:32 AM, Leif Lindholm wrote: > On Tue, Aug 08, 2017 at 09:11:14AM +0100, Ard Biesheuvel wrote: >> On 8 August 2017 at 07:52, Alexander Graf wrote: >> > >> > >> >> Am 07.08.2017 um 23:18 schrieb Rob Clark : >> >> >> >> This is problematic around file nodes in the device pat

Re: [U-Boot] [PATCH 00/10] This patch set represent Marvell mvpp2 driver fixes

2017-08-08 Thread Stefan Roese
Hi Joe, On 11.07.2017 10:04, Stefan Roese wrote: On 21.06.2017 10:31, stef...@malvell.com wrote: From: Stefan Chulski Issues were found during internal QA phase. Stefan Chulski (10): net: mvpp2x: Add GPIO configuration support net: mvpp2x: fix phy connected to wrong mdio issue net:

Re: [U-Boot] [PATCH v1 0/7] imx: add USB Serial Download Protocol (SDP) support

2017-08-08 Thread Marcel Ziswiler
Hi Stefano On Tue, 2017-08-08 at 11:15 +0200, Stefano Babic wrote: > Hi Stefan, > > On 07/08/2017 20:06, Stefan Agner wrote: > > Hi Eric, > > > > On 2017-08-06 08:19, Eric Nelson wrote: > > > Hi Stefan, > > > > > > On 08/04/2017 04:38 PM, Stefan Agner wrote: > > > > From: Stefan Agner > > > >

Re: [U-Boot] [PATCH 1/1] arm: mvebu: avoid possible NULL dereference

2017-08-08 Thread Stefan Roese
On 30.07.2017 20:40, Heinrich Schuchardt wrote: It does not make sense to check if info is NULL after dereferencing it. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt --- arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c | 10 +- 1 file changed, 5 insert

Re: [U-Boot] [PATCH 1/1] arm: mvebu: remove self assignment

2017-08-08 Thread Stefan Roese
On 30.07.2017 21:51, Heinrich Schuchardt wrote: Assigning dev_num to itself is superfluous. Signed-off-by: Heinrich Schuchardt --- drivers/ddr/marvell/a38x/ddr3_training_centralization.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/ddr/marvell/a38x/ddr3_training_centralizatio

Re: [U-Boot] [PATCH 1/1] arm: mvebu: ddr3_debug: remove self assignments

2017-08-08 Thread Stefan Roese
On 30.07.2017 21:54, Heinrich Schuchardt wrote: Remove superfluous self assignements. Signed-off-by: Heinrich Schuchardt --- drivers/ddr/marvell/a38x/ddr3_debug.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/ddr/marvell/a38x/ddr3_debug.c b/drivers/ddr/marvell/a38x/ddr

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

2017-08-08 Thread Peng Fan
> -Original Message- > From: Lothar Waßmann [mailto:l...@karo-electronics.de] > Sent: Tuesday, August 08, 2017 6:20 PM > To: Peng Fan > Cc: ja...@openedev.com; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] spi: mxc_spi: support driver model > > Hi, > > On Tue, 8 Aug 2017 18:00:

Re: [U-Boot] [PATCH] mvebu: turris_omnia: Fix PEX vs SATA detection for board topology

2017-08-08 Thread Stefan Roese
On 04.08.2017 15:28, Marek Behún wrote: The I2C reading in the PEX vs SATA detection code often fails on the first try. Try three times, as the code for EEPROM reading does. Signed-off-by: Marek Behun --- board/CZ.NIC/turris_omnia/turris_omnia.c | 11 --- 1 file changed, 8 insertions

Re: [U-Boot] [PATCH v0 21/20] efi_loader: hack for archs that cannot do unaligned accesses

2017-08-08 Thread Mark Kettenis
> From: Rob Clark > Date: Mon, 7 Aug 2017 18:18:50 -0400 > > On Mon, Aug 7, 2017 at 5:14 PM, Mark Kettenis wrote: > >> From: Alexander Graf > >> Date: Mon, 7 Aug 2017 21:19:37 +0100 > >> > >> On 05.08.17 21:31, Rob Clark wrote: > >> > On Sat, Aug 5, 2017 at 4:05 PM, Heinrich Schuchardt > >> >

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

2017-08-08 Thread Stefan Roese
Hi Tom, please pull the following mvebu board fix from Marek. Thanks, Stefan The following changes since commit eaa90e5df2a4a1cb12fb73571978a9379242d0b5: common/env_embedded.c: rename PPCENV/PPCTEXT macros (2017-08-04 20:38:39 -0400) are available in the git repository at: git://www.den

Re: [U-Boot] [PATCH] mtd: cfi: Zap CFI_FLASH_SHIFT_WIDTH redefinition

2017-08-08 Thread Stefan Roese
On 21.07.2017 23:12, Marek Vasut wrote: This is defined twice in the same file, with the same value, likely because of some patch merge issue. Pick the uglier one and nuke it. Signed-off-by: Marek Vasut Cc: Tom Rini Applied to u-boot-cfi-flash/master. Thanks, Stefan

[U-Boot] Please pull u-boot-cfi-flash/master

2017-08-08 Thread Stefan Roese
Hi Tom, please pull the following small cleanup from Marek in the flash.h header. Thanks, Stefan The following changes since commit eaa90e5df2a4a1cb12fb73571978a9379242d0b5: common/env_embedded.c: rename PPCENV/PPCTEXT macros (2017-08-04 20:38:39 -0400) are available in the git repository

[U-Boot] [PATCH v2 0/2] dm: core: add clocks node scan

2017-08-08 Thread patrice.chotard
From: Patrice Chotard v2: _ implement this feature in dm_extended_scan_dt() which can be called from test/dm/test-main.c to insure that test scan DT clocks sub-nodes _ replace fdt_path_offset() by ofnode_path() _ update sandbox dedicated test Patrice Chot

[U-Boot] [PATCH v2 1/2] dm: core: add clocks node scan

2017-08-08 Thread patrice.chotard
From: Patrice Chotard Currently, all fixed-clock declared in "clocks" node in device tree can be binded by clk_fixed_rate.c driver only if each of them have the "simple-bus" compatible string. This constraint has been invoked here [1]. This patch offers a solution to avoid adding "simple-bus" co

[U-Boot] [PATCH v2 2/2] dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in dm_do_test

2017-08-08 Thread patrice.chotard
From: Patrice Chotard This allows to scan the DT including all "clocks" node's sub-nodes in which fixed-clock are defined. All fixed-clock should be defined inside a clocks node which collect all external oscillators. Until now, all clocks sub-nodes can't be binded except if the "simple-bus" comp

Re: [U-Boot] [PATCH v0 21/20] efi_loader: hack for archs that cannot do unaligned accesses

2017-08-08 Thread Leif Lindholm
On Tue, Aug 08, 2017 at 08:01:10AM -0400, Rob Clark wrote: > On Tue, Aug 8, 2017 at 7:32 AM, Leif Lindholm > wrote: > > On Tue, Aug 08, 2017 at 09:11:14AM +0100, Ard Biesheuvel wrote: > >> On 8 August 2017 at 07:52, Alexander Graf wrote: > >> >> Am 07.08.2017 um 23:18 schrieb Rob Clark : > >> >>

[U-Boot] [PATCH v2 1/6] configs: apalis-tk1: fix boot failure using ext4 rootfs

2017-08-08 Thread Marcel Ziswiler
From: Sanchayan Maity Trying to boot from an ext4 rootfs fails due to us defaulting to ext3. While the downstream T20/T30 L4T kernel has issues with ext4 later TK1 L4T should work just fine with it. Hence enable ext4 for sdboot and usbboot on TK1. Signed-off-by: Sanchayan Maity Acked-by: Marcel

[U-Boot] [PATCH v2 4/6] pci: tegra: introduce weak tegra_pcie_board_port_reset() function

2017-08-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Introduce a weak tegra_pcie_board_port_reset() function by default calling the existing tegra_pcie_port_reset() function. Additionally add a tegra_pcie_port_index_of_port() function to retrieve the specific PCIe port index if required. This allows overriding the PCIe port re

[U-Boot] [PATCH v2 5/6] power: as3722: add as3722_ldo_set_voltage signature to header file

2017-08-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Just like the already present as3722_sd_set_voltage() add the currently missing signature of the as3722_ldo_set_voltage() function to its header file. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v2: - Add Simon's reviewed-by. include/power/as

[U-Boot] [PATCH v2 6/6] apalis-tk1: fix pcie reset for reliable gigabit ethernet operation

2017-08-08 Thread Marcel Ziswiler
From: Marcel Ziswiler It turns out that the current PCIe reset implementation in the PCIe board init function is not quite working reliably due to PCIe reset timing violations. Fix this by overriding the tegra_pcie_board_port_reset() function. Also allow optionally bringing up the PCIe switch as

[U-Boot] [PATCH v2 2/6] apalis-tk1: add missing as3722 gpio0 configuration

2017-08-08 Thread Marcel Ziswiler
From: Marcel Ziswiler As the AS3722 GPIO0 is also a not connected on our Apalis TK1 module explicitly configure it to high-impedance as well. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v2: - Add Simon's reviewed-by. arch/arm/dts/tegra124-apalis.dts | 6 +++--- 1

[U-Boot] [PATCH v2 3/6] power: as3722: fix ldo_get/set_enable for ldo index bigger than 7

2017-08-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix ldo_get_enable() and ldo_set_enable() functions for LDOs with an index > 7. Turns out there are actually two separate AS3722_LDO_CONTROL registers AS3722_LDO_CONTROL0 and AS3722_LDO_CONTROL1. Actually make use of both. While at it also actually use the enable parameter o

[U-Boot] [PATCH v2 0/6] fix apalis-tk1 pcie gigabit ethernet operation

2017-08-08 Thread Marcel Ziswiler
This series addresses a gigabit Ethernet reliability issue as observed on Apalis TK1 related to a PCIe reset timing violation. This series depends on Simon's work available at u-boot-dm/master plus my previous series "move apalis t30/tk1, colibri t20/t30 to livetree". This series is available at

[U-Boot] [PATCH 3/3] apalis_t30: fix optional pcie port reset for reliable pcie operation

2017-08-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow optionally bringing up the Apalis type specific 4 lane PCIe port as well as the PCIe switch as found on the Apalis Evaluation board. In order to avoid violating the PCIe reset timing do this by overriding the tegra_pcie_board_port_reset() function. Note however that bo

[U-Boot] [PATCH 2/3] apalis_t30: fix pcie port 0 and 1 pin muxing

2017-08-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix optional Apalis type specific 4 lane PCIe port 0 and Apalis PCIe port 1 pin muxing. Signed-off-by: Marcel Ziswiler --- board/toradex/apalis_t30/pinmux-config-apalis_t30.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/board/toradex/a

[U-Boot] [PATCH 0/3] fix apalis_t30 optional pcie operation

2017-08-08 Thread Marcel Ziswiler
This series addresses a PCIe reliability issue as observed on Apalis T30 related to a PCIe reset timing violation. This series depends on Simon's work available at u-boot-dm/master plus my previous series "move apalis t30/tk1, colibri t20/t30 to livetree" and "fix apalis-tk1 pcie gigabit ethernet

[U-Boot] [PATCH 1/3] apalis_t30: describe pcie ports

2017-08-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Add some more comments describing the various PCIe ports available. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/tegra30-apalis.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/tegra30-apalis.dts b/arch/arm/dts/tegra30-apalis.dts index 0b84dae..

Re: [U-Boot] [PATCH 3/3] dm: core: Add livetree documentation

2017-08-08 Thread Łukasz Majewski
On 08/05/2017 11:45 PM, Simon Glass wrote: Add some documentation for the live device tree support in U-Boot. This was missing from the initial series. Signed-off-by: Simon Glass Suggested-by: Lukasz Majewski --- doc/driver-model/livetree.txt | 272 ++

Re: [U-Boot] [PATCH v0 21/20] efi_loader: hack for archs that cannot do unaligned accesses

2017-08-08 Thread Rob Clark
On Tue, Aug 8, 2017 at 8:26 AM, Mark Kettenis wrote: >> From: Rob Clark >> Date: Mon, 7 Aug 2017 18:18:50 -0400 >> >> On Mon, Aug 7, 2017 at 5:14 PM, Mark Kettenis >> wrote: >> >> From: Alexander Graf >> >> Date: Mon, 7 Aug 2017 21:19:37 +0100 >> >> >> >> For AArch64 things are different. Ther

[U-Boot] [PATCH v1] at91, smartweb: use SPL_SYS_MALLOC_F_LEN

2017-08-08 Thread Heiko Schocher
commit f1896c45cb2f: spl: make SPL and normal u-boot stage use independent SYS_MALLOC_F_LEN introduced independent SYS_MALLOC_F_LEN for SPL and U-Boot. Use it on the smartweb board, as above commit broke the smartweb board. Signed-off-by: Heiko Schocher --- configs/smartweb_defconfig | 1 + i

Re: [U-Boot] [PATCH 1/6 v5] x86: dfi: Add option to select different config headers for baseboards

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 6:06 PM, Bin Meng wrote: > On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: >> This patch adds the infrastructure to define different config headers >> with different configurations and default environment for the baseboards >> that can now be selected via Kconfig. The n

Re: [U-Boot] [PATCH] x86: acpi: Fix build error with certain configuration

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 7:44 PM, Stefan Roese wrote: > On 08.08.2017 13:35, Bin Meng wrote: >> >> When CONFIG_EFI_PARTITION is not set, the following build error is >> seen in arch/x86/lib/acpi_s3.c: >> >>error: expected declaration specifiers or '...' before '*' token >>static void asmlink

Re: [U-Boot] [PATCH 2/6 v5] x86: conga: Add option to select different config headers for baseboards

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 6:06 PM, Bin Meng wrote: > On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: >> This patch adds the infrastructure to define different config headers >> with different configurations and default environment for the baseboards >> that can now be selected via Kconfig. The n

Re: [U-Boot] [PATCH 3/6 v5] x86: theadorable-x86: Add header file for common defines and env

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 6:06 PM, Bin Meng wrote: > On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: >> This patch adds the common header include file theadorable-x86-common.h >> for the theadorable-x86 targets to define all common options and the >> default environment. >> >> Signed-off-by: Ste

Re: [U-Boot] [PATCH 4/6 v5] x86: conga: conga-qeval20-qa3-e3845_defconfig: Misc defconfig updates

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 6:06 PM, Bin Meng wrote: > On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: >> - Enable ACPI resume support >> - Disable debug UART >> - Enable Spansion and Winbond SPI flash support >> - Move VGA BIOS binary address to enable bigger U-Boot images >> >> Signed-off-by: St

Re: [U-Boot] [PATCH 5/6 v5] x86: conga: theadorable-x86-conga-qa3-e3845_defconfig: Misc defconfig updates

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 6:06 PM, Bin Meng wrote: > On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: >> - Disable debug UART >> - Enable more partition support >> >> Signed-off-by: Stefan Roese >> Cc: Simon Glass >> Cc: Bin Meng >> --- >> v5: >> - SPI NOR chips removed because of imply in boa

Re: [U-Boot] [PATCH 6/6 v5] x86: Add defconfig for theadorable-x86-conga with PCIe x4 blobs

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 6:06 PM, Bin Meng wrote: > On Tue, Aug 8, 2017 at 5:52 PM, Stefan Roese wrote: >> This defconfig uses the PCIe x4 binary blobs from the congatec BIOS. >> >> Signed-off-by: Stefan Roese >> Cc: Simon Glass >> Cc: Bin Meng >> --- >> v5: >> - SPI NOR chips removed because of

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

2017-08-08 Thread Bin Meng
Hi Tom, The following changes since commit eaa90e5df2a4a1cb12fb73571978a9379242d0b5: common/env_embedded.c: rename PPCENV/PPCTEXT macros (2017-08-04 20:38:39 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git for you to fetch changes up to 6a5691e297fc44a7c963b

Re: [U-Boot] [PATCH v0 21/20] efi_loader: hack for archs that cannot do unaligned accesses

2017-08-08 Thread Mark Kettenis
> From: Rob Clark > Date: Tue, 8 Aug 2017 08:54:26 -0400 > > On Tue, Aug 8, 2017 at 8:26 AM, Mark Kettenis wrote: > >> From: Rob Clark > >> Date: Mon, 7 Aug 2017 18:18:50 -0400 > >> > >> On Mon, Aug 7, 2017 at 5:14 PM, Mark Kettenis > >> wrote: > >> >> From: Alexander Graf > >> >> Date: Mon,

Re: [U-Boot] [PATCH] spi: add "jedec,spi-nor" to spi_flash_std_ids

2017-08-08 Thread Vignesh R
On Tuesday 08 August 2017 10:27 AM, Chris Packham wrote: > "jedec,spi-nor" is used by Linux for many boards with spi flash. In fact > according to the binding documentation this must be included for any SPI > NOR flash that can be identified by the JEDEC READ ID opcode (0x9F). > Make device trees

[U-Boot] [PATCH] scripts: setlocalversion: safely extract variables from auto.conf using awk

2017-08-08 Thread Philipp Tomsich
Moving SPL_LDSCRIPT to Kconfig triggered an unfortunate attempt of command substitution, as the sourced auto.conf may include $(ARCH) which tries to execute a command 'ARCH'. This showed up as a warning similar to the following: include/config/auto.conf: line 209: ARCH: command not found This ch

Re: [U-Boot] [U-Boot, v4, 60/66] rockchip: Kconfig: preset TPL_LDSCRIPT via Kconfig for the RK3368

2017-08-08 Thread Dr. Philipp Tomsich
Masahiro & Tom, the proposed fix is at https://patchwork.ozlabs.org/patch/799172/ Thanks, Phil. > On 07 Aug 2017, at 16:05, Tom Rini wrote: > > On Mon, Aug 07, 2017 at 10:48:12AM +0200, Dr. Philipp Tomsich wrote: >> +Tom >> >> Ok, so the problem is 'scripts/setlocalversion’, which doe

[U-Boot] [PATCH] OMAP3: omap3logic: Fix DDR Pin Mux

2017-08-08 Thread Adam Ford
The 512 MB DDR version of SOM's use CS0 and CS1. CS1 is not correctly setup in the pin muxing. This causes erratic behavior on suspend/resume This fix has been tested on both 256 and 512 MB DDR versions. Signed-off-by: Adam Ford diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicp

Re: [U-Boot] [PATCH v0 21/20] efi_loader: hack for archs that cannot do unaligned accesses

2017-08-08 Thread Rob Clark
On Tue, Aug 8, 2017 at 9:33 AM, Mark Kettenis wrote: >> From: Rob Clark >> Date: Tue, 8 Aug 2017 08:54:26 -0400 >> >> On Tue, Aug 8, 2017 at 8:26 AM, Mark Kettenis >> wrote: >> >> From: Rob Clark >> >> Date: Mon, 7 Aug 2017 18:18:50 -0400 >> >> >> >> On Mon, Aug 7, 2017 at 5:14 PM, Mark Ketten

Re: [U-Boot] [PATCH v0 21/20] efi_loader: hack for archs that cannot do unaligned accesses

2017-08-08 Thread Rob Clark
On Tue, Aug 8, 2017 at 10:03 AM, Rob Clark wrote: > I suppose special case handling in efi_load_image() wouldn't be too > bad. It won't fix every theoretical problem on armv7 without > unaligned access disabled. > s/disabled/enabled/ BR, -R ___ U-Boot

  1   2   >