[U-Boot] OF_PLATDATA questions on rk3399 platfrom

2017-05-08 Thread Ziyuan
hi simon, I need to achieve emmc_phy physical address in driver, so that I can configure phy in different scenarios (phy register address should be 0xff77f780). see below: sdhci: sdhci@fe33 { phys = <&emmc_phy>; phy-names = "phy_arasan"; }; grf: syscon@ff7700

[U-Boot] [PATCH V2 1/4] mmc: fsl_esdhc: introduce vs18_enable for 1.8V fix I/O

2017-05-08 Thread Peng Fan
When using eMMC with 1.8V I/O, the VSELECT bit need to be set in the USDHC controller when init. This patch adds a parameter "vs18_enable" in fsl_esdhc_cfg structure and priv data, so each controller can have different settings. We could not use CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT, it has problem

[U-Boot] [PATCH V2 2/4] dm: mmc: fsl_esdhc: handle vqmmc supply

2017-05-08 Thread Peng Fan
Handle vqmmc supply. Some boards have a fixed I/O voltage at 1.8V for emmc, so the usdhc also needs to be configured as 1.8V by setting VSELECT bit. The vs18_enable is the one that used to checking whether setting VSELECT or not in the driver. So if vqmmc supply is 1.8V, set vs18_enable, the driver

[U-Boot] [PATCH V2 3/4] imx: warp: use vs18_enable

2017-05-08 Thread Peng Fan
Use vs18_enable, and drop CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT. Signed-off-by: Peng Fan Cc: Otavio Salvador Cc: Stefano Babic Cc: Jaehoon Chung --- V2: None board/warp/warp.c | 2 +- include/configs/warp.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/board/warp/wa

[U-Boot] [PATCH V2 4/4] mmc: fsl_esdhc: drop CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT

2017-05-08 Thread Peng Fan
CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT is not the correct method to set I/O to 1.8. To boards that does not support vqmmc-supply, use vs18_enable in fsl_esdhc_cfg. If regulator is supported, use fixed 1.8V regulator for vqmmc-supply. Signed-off-by: Peng Fan Cc: Jaehoon Chung Cc: York Sun Cc: Stefan

Re: [U-Boot] [PATCH 1/2] WIP: Disable SCSI on x86

2017-05-08 Thread Bin Meng
Hi Simon, On Mon, Apr 10, 2017 at 8:38 AM, Simon Glass wrote: > This is not to be applied. It is needed to test using CONFIG_DM_MMC on x86 > since SCSI is broken with this setup. > > Signed-off-by: Simon Glass > --- When you said "SCSI is broken with this setup", did you mean GP# exception when

Re: [U-Boot] [PATCH 1/5 v2] dm: device_remove: Don't return in device_chld_remove() upon error

2017-05-08 Thread Stefan Roese
Hi Simon, On 04.05.2017 18:50, Simon Glass wrote: ... the current implementation to exit the loop over all children upon error and not remove the remaining children is wrong IMO. All devices should at least be tried to get removed, even if one fails to get removed. This is what this patch mak

[U-Boot] [PATCHv2 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings

2017-05-08 Thread Jorge Ramirez-Ortiz
pulled from linux-next tag 20170505 Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/hi3798cv200-poplar.dts | 162 + arch/arm/dts/hi3798cv200.dtsi | 411 include/dt-bindings/clock/histb-clock.h | 66 + include/dt-bindings/reset/t

[U-Boot] [PATCHv2 2/5] ARM64: dts: poplar: add usb-ehci node

2017-05-08 Thread Jorge Ramirez-Ortiz
--- arch/arm/dts/hi3798cv200-poplar.dts | 5 + arch/arm/dts/hi3798cv200.dtsi | 6 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/dts/hi3798cv200-poplar.dts b/arch/arm/dts/hi3798cv200-poplar.dts index b914287..998472a 100644 --- a/arch/arm/dts/hi3798cv200-poplar.dts +++

[U-Boot] [PATCHv2 3/5] ARM64: dts: poplar: add clock frequency to the console node

2017-05-08 Thread Jorge Ramirez-Ortiz
--- arch/arm/dts/hi3798cv200.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/hi3798cv200.dtsi b/arch/arm/dts/hi3798cv200.dtsi index 275282c..377303f 100644 --- a/arch/arm/dts/hi3798cv200.dtsi +++ b/arch/arm/dts/hi3798cv200.dtsi @@ -116,6 +116,7 @@ comp

[U-Boot] [PATCHv2 5/5] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Jorge Ramirez-Ortiz
This port adds support for: 1) Serial 2) eMMC 3) USB It has been tested with ARM TRUSTED FIRMWARE running u-boot as the BL33 executable [see board's README] eMMC has been tested for reading and booting the loader[1] and linux kernels as well as saving the u-boot environmen

[U-Boot] [PATCHv2 4/5] driver: mmc: update debug info

2017-05-08 Thread Jorge Ramirez-Ortiz
This driver is used in another board; remove board information from the driver debug log. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/mmc/hi6220_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c index fdaf1e4

Re: [U-Boot] [PATCH 2/5] driver: usb: add EHCI driver for hi3787cv200 SoC

2017-05-08 Thread Jorge Ramirez
On 05/07/2017 02:34 PM, Marek Vasut wrote: On 05/07/2017 12:56 PM, Jorge Ramirez wrote: On 05/06/2017 01:05 AM, Marek Vasut wrote: On 05/05/2017 07:55 PM, Jorge Ramirez wrote: On 05/05/2017 05:34 PM, Marek Vasut wrote: On 05/05/2017 04:32 PM, Tom Rini wrote: On Thu, May 04, 2017 at 03:47:07P

Re: [U-Boot] [PATCHv2 5/5] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Jorge Ramirez
On 05/08/2017 10:56 AM, Jorge Ramirez-Ortiz wrote: +static inline void usb2_phy_write(u32 val) +{ + writel(val, PERI_CTRL_USB0); + clrsetbits_le32(PERI_CTRL_USB0, BIT(21), BIT(20) | BIT(22)); Just noticed that the write below is unnecessary will remove this inline function and fix i

Re: [U-Boot] [v2, 01/13] phy: marvell: Replace PHY_TYPE_KR with PHY_TYPE_SFI

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Stefan Roese Use correct naming as done in the latest Marvell U-Boot version as well. Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Bo

Re: [U-Boot] [v2, 02/13] phy: marvell: cp110: add support for end point configuration

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Stefan Roese The serdes was always configured in root complex mode. this patch add new entry in device tree (per serdes) which indicates whether the serdes is in end point mode. if so, it skips the root complex configuration. Signed-off-by: H

Re: [U-Boot] [v2, 03/13] phy: marvell: cp110: update utmi phy connection type

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Stefan Roese UTMI_PHY_TO_USB_HOST was used in USB3 UTMI dts node only, but there will be USB2 UTMI dts node for some SoCs that have got USB2 controller, so rename TO_USB_HOST to TO_USB3_HOST to distinguish TO_USB2_HOST in later on patches. Si

Re: [U-Boot] [v2, 04/13] phy: marvell: add IGNORE COMPHY type

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Stefan Roese This type tells u-boot to preserve the COMPHY settings as is it is usefull in situations where the COMPHY was initialized by earlier firmware. Note that IGNORE is different from UNCONNECTED since setting UNCONNECTED type will disc

Re: [U-Boot] [v2, 06/13] fix: phy: marvell: cp110: sata: update analog parameters according to latest ETP

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Igal Liberman Add SATA analog parameters initialization values according to latest ETP. Signed-off-by: Konstantin Porotchkin Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman Reviewed-by: Stefan Roese Thanks, Stefan

Re: [U-Boot] [v2, 07/13] fix: phy: marvell: cp110: update comphy selector option

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Stefan Roese Align PHY selectors register with Armada-CP-110 functional SPEC update all relevant device trees with this change. Signed-off-by: Hanna Hawa Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman Reviewed-by: Stefan Roese

Re: [U-Boot] [v2, 05/13] fix: phy: marvell: cp110: fix the KR/SFI line 4 selector

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Stefan Roese This patch fixes the following: 1. KR/SFI on lane #4 mux selector is 0x2 and not 0x1 2. Comment typo Signed-off-by: Rabeeh Khoury Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman Reviewed-by: Stefan Roese Thanks, S

Re: [U-Boot] [v2, 08/13] phy: marvell: cp110: add 5G XFI mode

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Igal Liberman This patch adds the option to configure a comphy to 5G XFI mode. In order to configure the comphy to 5G XFI, update the comphy node in the device-tree: phy2 { phy-type = ; phy-speed = ;

Re: [U-Boot] [v2, 09/13] fix: phy: marvell: cp110: fix comphy lane 4 selection options

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Stefan Roese The comphy configuration is incorrect. Set the correct values for SGMII. In addition, remove xaui from the comment as it is not supported. Signed-off-by: Yoav Gvili Signed-off-by: Stefan Roese Signed-off-by: Igal Liberman R

Re: [U-Boot] [v2, 13/13] fix: phy: marvell: cp110: pcie: update analog parameters according to latest ETP

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Igal Liberman Add PCIE analog parameters initialization values according to latest ETP. Signed-off-by: Igal Liberman Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@list

Re: [U-Boot] [v2, 12/13] fix: phy: marvell: cp110: rename comphy_index to cp_index

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Igal Liberman No functional change. The variable name "comphy_index" is misleading, it represents cp index and not comphy index. Signed-off-by: Igal Liberman Reviewed-by: Stefan Roese Thanks, Stefan __

Re: [U-Boot] [v2, 10/13] phy: marvell: print comphy status even when it's disconnected

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Stefan Roese since now the COMPHY can also be ignored, we must know the state of the COMPHY. we cannot assume anymore that a missing COMPHY is unconnected. Signed-off-by: Yehuda Yitschak Signed-off-by: Stefan Roese Signed-off-by: Igal Liber

Re: [U-Boot] [PATCH] ARM: mvebu: switch db-88f6820-amc to DM for i2c

2017-05-08 Thread Stefan Roese
On 02.05.2017 10:35, Chris Packham wrote: Move existing configuration from header file to defconfig or dts as appropriate. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de https://l

Re: [U-Boot] [v2, 11/13] fix: phy: marvell: cp110: sfi: update analog parameters according to latest ETP

2017-05-08 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Igal Liberman Add SFI analog parameters initialization values according to latest ETP. Signed-off-by: Igal Liberman Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH] fix: mvebu_ comphy: Update COMPHY sequence number

2017-05-08 Thread Stefan Roese
On 19.04.2017 12:37, kos...@marvell.com wrote: From: Konstantin Porotchkin Use local static counter for maintaining the COMPHY chip-ID upon its initialization. The dev->seq originally used as the COMPHY chip-ID depends on the device tree scan order and produces wrong results that breaks the def

Re: [U-Boot] [PATCH v2 1/3] arm64: mvebu: Trigger PCI devices scan at early init stage

2017-05-08 Thread Stefan Roese
On 05.04.2017 16:42, kos...@marvell.com wrote: From: Konstantin Porotchkin Add PCIe initialization at early init stage. This operation has a side effect of detecting all PCIe plug-in cards, so the operator is not obligated to issue "pci enum" command though CLI for this purpose. Signed-off-by:

Re: [U-Boot] [PATCH 1/2] arm: change tbu/l type to unsigned int

2017-05-08 Thread Peng Fan
Hi Tom, Will you pick up this patch set? Thanks, Peng. On Thu, Apr 20, 2017 at 09:10:30AM +0800, Peng Fan wrote: >Change tbu/l type to unsigned int. > >Signed-off-by: Peng Fan >Cc: Simon Glass >Cc: Tom Rini >--- > arch/arm/include/asm/global_data.h | 4 ++-- > 1 file changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH v2 2/5] arm64: mvebu: a8k: Add support for NAND clock get

2017-05-08 Thread Stefan Roese
On 05.04.2017 17:22, kos...@marvell.com wrote: From: Konstantin Porotchkin Implement mvebu_get_nand_clock call for A8K family. This function is used by PXA3XX NAND driver. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai Reviewed-by: Stefan Roese

Re: [U-Boot] [PATCH v2 5/5] arm64: mvebu: a8k: Add NAND configuration parameters

2017-05-08 Thread Stefan Roese
On 05.04.2017 17:22, kos...@marvell.com wrote: From: Konstantin Porotchkin Add NAND configuration parameters to A8K shared config file. Add defconfig for db-88f7040 board with boot from NAND setup. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai R

Re: [U-Boot] [PATCH v2 4/5] arm64: a8k: dts: Add support for NAND devices on A8K platform

2017-05-08 Thread Stefan Roese
On 05.04.2017 17:22, kos...@marvell.com wrote: From: Konstantin Porotchkin Add NAND to CP master device tree. Add armada-7040-db-nand device tree for the board configured with NAND boot device. Add comment about boot device ID to armada-7040-db DTS. Signed-off-by: Konstantin Porotchkin Cc: St

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

2017-05-08 Thread Marek Vasut
On 05/08/2017 06:17 AM, Chee, Tien Fong wrote: > On Jum, 2017-05-05 at 13:09 +0200, Marek Vasut wrote: >> On 05/05/2017 12:26 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Remove unused passing parameter of socfpga_bridges_reset function >>> in >>> SoCFPGA Arria10. >> So

Re: [U-Boot] [PATCH 2/7] arm: socfpga: Convert FPGA configuration to Kconfig method.

2017-05-08 Thread Marek Vasut
On 05/08/2017 05:02 AM, Chee, Tien Fong wrote: > On Jum, 2017-05-05 at 13:11 +0200, Marek Vasut wrote: >> On 05/05/2017 12:26 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Convert Macro #define configuration to Kconfig method. All FPGA >>> devices >>> enable configuratio

Re: [U-Boot] [PATCH 2/5] driver: usb: add EHCI driver for hi3787cv200 SoC

2017-05-08 Thread Marek Vasut
On 05/08/2017 11:15 AM, Jorge Ramirez wrote: > On 05/07/2017 02:34 PM, Marek Vasut wrote: >> On 05/07/2017 12:56 PM, Jorge Ramirez wrote: >>> On 05/06/2017 01:05 AM, Marek Vasut wrote: On 05/05/2017 07:55 PM, Jorge Ramirez wrote: > On 05/05/2017 05:34 PM, Marek Vasut wrote: >> On 05/05

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

2017-05-08 Thread Marek Vasut
On 05/08/2017 06:39 AM, Chee, Tien Fong wrote: > On Jum, 2017-05-05 at 13:13 +0200, Marek Vasut wrote: >> On 05/05/2017 12:26 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Move FPGA driver which is Gen5 specific code into Gen5 files. >>> No functional change. >> It's a d

Re: [U-Boot] [PATCH 3/5] arm64: mvebu: Fix the bubt comamnd NAND device support

2017-05-08 Thread Stefan Roese
On 28.03.2017 17:16, kos...@marvell.com wrote: From: Konstantin Porotchkin Fix the NAND structures in bubt command according to latest changes in MTD API. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai Reviewed-by: Stefan Roese Thanks, Stefan _

Re: [U-Boot] [PATCH 1/5] fix: nand: pxa3xx: Remove hardcode values from the driver

2017-05-08 Thread Stefan Roese
On 28.03.2017 17:16, kos...@marvell.com wrote: From: Konstantin Porotchkin Obtain NAND controller setup parameters from the device tree instead of using hardcoded values. Signed-off-by: Konstantin Porotchkin Cc: Scott Wood Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai Reviewed-by:

Re: [U-Boot] [PATCH v4 0/7] am57xx: cl-som-am57x: fix usb

2017-05-08 Thread Igor Grinberg
On 05/05/17 17:17, Tom Rini wrote: > On Thu, May 04, 2017 at 10:05:22AM +0300, Igor Grinberg wrote: >> Hi Tom, Marek, >> >> On 04/25/17 22:27, Marek Vasut wrote: >>> On 04/25/2017 03:09 AM, Tom Rini wrote: On Sun, Apr 23, 2017 at 11:18:04AM +0300, Uri Mashiach wrote: > Hello Tom, > >>>

[U-Boot] [PATCH] rockchip: Add basic support for phyCORE-RK3288 SoM based carrier board

2017-05-08 Thread Wadim Egorov
The phyCORE-RK3288 is a SoM (System on Module) containing a RK3288 SoC. The module can be connected to different carrier boards. It can be also equipped with different RAM, SPI flash and eMMC variants. The Rapid Development Kit option is using the following setup: - 1 GB DDR3 RAM (2 Banks) - 1

Re: [U-Boot] [PATCH v4 15/20] sunxi: defconfig: add supported DT list for Pine64

2017-05-08 Thread Andre Przywara
Hi, On 05/05/17 20:55, Jagan Teki wrote: > On Wed, Apr 26, 2017 at 6:02 AM, Andre Przywara > wrote: >> When a board uses a FIT image to load U-Boot proper, it requires a list >> of supported device trees to be supplied in CONFIG_OF_LIST, from which it >> chooses the right one at runtime. >> For

Re: [U-Boot] [PATCH 1/2] arm: change tbu/l type to unsigned int

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 05:58:06PM +0800, Peng Fan wrote: > Hi Tom, > > Will you pick up this patch set? Yes, but can you v2 it with details of why in the commit messages? Thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailin

Re: [U-Boot] [PATCHv2 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 10:56:37AM +0200, Jorge Ramirez-Ortiz wrote: > pulled from linux-next tag 20170505 OK, but linux-next isn't stable. Do you know if for example this is expected to be pulled in for v4.12? Thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCHv2 4/5] driver: mmc: update debug info

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 10:56:40AM +0200, Jorge Ramirez-Ortiz wrote: > This driver is used in another board; remove board information from > the driver debug log. > > Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCHv2 5/5] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 10:56:41AM +0200, Jorge Ramirez-Ortiz wrote: > This port adds support for: > 1) Serial > 2) eMMC > 3) USB [snip] > diff --git a/include/configs/poplar.h b/include/configs/poplar.h > new file mode 100644 > index 000..fb0ca19 > --- /dev/null > +++

[U-Boot] [ANN] U-Boot v2017.05 is released

2017-05-08 Thread Tom Rini
Hey all, I've released v2017.05 and it's now live on git and FTP and ACD (along with PGP sig file). As I've previously warned, we've now dropped Blackfin, SPARC and OpenRISC architecture support. They can be brought back by a new, active maintainer. I think things are overall continuing to move

[U-Boot] Patchset v3 Poplar 96Boards EE

2017-05-08 Thread Jorge Ramirez-Ortiz
[PATCHv3 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings [PATCHv3 2/5] ARM64: dts: poplar: add usb-ehci node [PATCHv3 3/5] ARM64: dts: poplar: add clock frequency to the console [PATCHv3 4/5] driver: mmc: update debug info [PATCHv3 5/5] ARM64: poplar: hi3798cv200: u-boot support for P

[U-Boot] [PATCHv3 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings

2017-05-08 Thread Jorge Ramirez-Ortiz
pulled from linux-next tag 20170505 Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/hi3798cv200-poplar.dts | 162 + arch/arm/dts/hi3798cv200.dtsi | 411 include/dt-bindings/clock/histb-clock.h | 66 + include/dt-bindings/reset/t

[U-Boot] [PATCHv3 2/5] ARM64: dts: poplar: add usb-ehci node

2017-05-08 Thread Jorge Ramirez-Ortiz
--- arch/arm/dts/hi3798cv200-poplar.dts | 5 + arch/arm/dts/hi3798cv200.dtsi | 6 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/dts/hi3798cv200-poplar.dts b/arch/arm/dts/hi3798cv200-poplar.dts index b914287..998472a 100644 --- a/arch/arm/dts/hi3798cv200-poplar.dts +++

[U-Boot] [PATCHv3 3/5] ARM64: dts: poplar: add clock frequency to the console node

2017-05-08 Thread Jorge Ramirez-Ortiz
--- arch/arm/dts/hi3798cv200.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/hi3798cv200.dtsi b/arch/arm/dts/hi3798cv200.dtsi index 275282c..377303f 100644 --- a/arch/arm/dts/hi3798cv200.dtsi +++ b/arch/arm/dts/hi3798cv200.dtsi @@ -116,6 +116,7 @@ comp

[U-Boot] [PATCHv3 4/5] driver: mmc: update debug info

2017-05-08 Thread Jorge Ramirez-Ortiz
This driver is used in another board; remove board information from the driver debug log. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/mmc/hi6220_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c index fdaf1e4

Re: [U-Boot] [PATCHv2 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings

2017-05-08 Thread Jorge Ramirez
On 05/08/2017 03:58 PM, Tom Rini wrote: On Mon, May 08, 2017 at 10:56:37AM +0200, Jorge Ramirez-Ortiz wrote: pulled from linux-next tag 20170505 OK, but linux-next isn't stable. Do you know if for example this is expected to be pulled in for v4.12? Thanks! yes, that is my understanding. Bu

[U-Boot] [PATCHv3 5/5] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Jorge Ramirez-Ortiz
This port adds support for: 1) Serial 2) eMMC 3) USB It has been tested with ARM TRUSTED FIRMWARE running u-boot as the BL33 executable [see board's README] eMMC has been tested for reading and booting the loader[1] and linux kernels as well as saving the u-boot environmen

Re: [U-Boot] [PATCHv3 4/5] driver: mmc: update debug info

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 05:16:00PM +0200, Jorge Ramirez-Ortiz wrote: > This driver is used in another board; remove board information from > the driver debug log. > > Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] Patchset v3 Poplar 96Boards EE

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 05:15:56PM +0200, Jorge Ramirez-Ortiz wrote: > [PATCHv3 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings > [PATCHv3 2/5] ARM64: dts: poplar: add usb-ehci node > [PATCHv3 3/5] ARM64: dts: poplar: add clock frequency to the console So, let me try differently. W

Re: [U-Boot] [PATCHv2 5/5] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Jorge Ramirez
On 05/08/2017 04:07 PM, Tom Rini wrote: + +#define CONFIG_NETMASK 255.255.255.0 +#define CONFIG_SERVERIP192.168.1.4 +#define CONFIG_GATEWAYIP 192.168.1.1 NAK. We really should be dropping these entirely I believe. Th

Re: [U-Boot] [PATCHv3 5/5] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 05:16:01PM +0200, Jorge Ramirez-Ortiz wrote: > This port adds support for: > 1) Serial > 2) eMMC > 3) USB > > It has been tested with ARM TRUSTED FIRMWARE running u-boot as the > BL33 executable [see board's README] > > eMMC has been tested for rea

[U-Boot] [PATCH] drivers: net: cpsw: abort init() on aneg timeout

2017-05-08 Thread Sekhar Nori
Abort CPSW driver init when auto-negotiation of link times out. Currently, the code ignores return status of phy_startup(), and goes ahead with network operation (like DHCP) even though the link may be down. Instead, abort init process if link is down or if there is another error, so phy_startup()

Re: [U-Boot] Patchset v3 Poplar 96Boards EE

2017-05-08 Thread Jorge Ramirez
On 05/08/2017 05:20 PM, Tom Rini wrote: On Mon, May 08, 2017 at 05:15:56PM +0200, Jorge Ramirez-Ortiz wrote: [PATCHv3 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings [PATCHv3 2/5] ARM64: dts: poplar: add usb-ehci node [PATCHv3 3/5] ARM64: dts: poplar: add clock frequency to the co

Re: [U-Boot] [PATCH] drivers: net: cpsw: abort init() on aneg timeout

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 08:49:56PM +0530, Sekhar Nori wrote: > Abort CPSW driver init when auto-negotiation of link > times out. Currently, the code ignores return status > of phy_startup(), and goes ahead with network operation > (like DHCP) even though the link may be down. > > Instead, abort i

Re: [U-Boot] Patchset v3 Poplar 96Boards EE

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 05:24:52PM +0200, Jorge Ramirez wrote: > On 05/08/2017 05:20 PM, Tom Rini wrote: > >On Mon, May 08, 2017 at 05:15:56PM +0200, Jorge Ramirez-Ortiz wrote: > > > >>[PATCHv3 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings > >>[PATCHv3 2/5] ARM64: dts: poplar: add u

[U-Boot] Pull request: u-boot-sunxi/master

2017-05-08 Thread Jagan Teki
Hi Tom, Please take this PR. thanks! Jagan. The following changes since commit e8f86a026125ff2b2d6bd6eac73d2542852aab84: sunxi: fix the default value of CONS_INDEX on non-A23/A33 SUN8I (2017-04-25 11:44:21 +0200) are available in the git repository at: git://git.denx.de/u-boot-sunxi.git

[U-Boot] Pull request: u-boot-spi/next

2017-05-08 Thread Jagan Teki
Hi Tom, Please take this PR. thanks! Jagan. The following changes since commit ac6991fb5fc1a694b29f4ebd5e07baebf818d7cc: zynq: spi: Honour the activation / deactivation delay (2017-05-03 11:03:04 +0530) are available in the git repository at: git://git.denx.de/u-boot-spi.git next for yo

[U-Boot] [PATCH] pico-imx7d: Add initial support

2017-05-08 Thread Vanessa Maegima
Add the initial support for pico-imx7d board based on Wig Cheng's source code. Add support for eMMC, USB gadget, I2C, PMIC and Ethernet. For more information about this board, please visit: http://www.technexion.org/products/pico/pico-som/pico-imx7-emmc Signed-off-by: Vanessa Maegima --- arch/

[U-Boot] Patchset v4 Poplar 96Boards EE

2017-05-08 Thread Jorge Ramirez-Ortiz
[PATCHv4 1/3] ARM64: dts: hi3798cv200-poplar: add device tree bindings [PATCHv4 2/3] driver: mmc: update debug info [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar The following changes with respect to v3: - Remove modifications to the linux kernel device tree - Introduce boar

[U-Boot] [PATCHv4 1/3] ARM64: dts: hi3798cv200-poplar: add device tree bindings

2017-05-08 Thread Jorge Ramirez-Ortiz
pulled from linux-next tag 20170505 Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/hi3798cv200-poplar.dts | 162 + arch/arm/dts/hi3798cv200.dtsi | 411 include/dt-bindings/clock/histb-clock.h | 66 + include/dt-bindings/reset/t

[U-Boot] [PATCHv4 2/3] driver: mmc: update debug info

2017-05-08 Thread Jorge Ramirez-Ortiz
This driver is used in another board; remove board information from the driver debug log. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/mmc/hi6220_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c index fdaf1e4

[U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Jorge Ramirez-Ortiz
This port adds support for: 1) Serial 2) eMMC 3) USB It has been tested with ARM TRUSTED FIRMWARE running u-boot as the BL33 executable [see board's README] eMMC has been tested for reading and booting the loader[1] and linux kernels as well as saving the u-boot environmen

Re: [U-Boot] [PATCH V3 1/4] usb: rockchip: add the rockusb gadget

2017-05-08 Thread Simon Glass
Hi Eddie, On 2 May 2017 at 02:47, Eddie Cai wrote: > > Hi Simon > > 2017-04-30 11:49 GMT+08:00 Simon Glass : > > Hi Eddie, > > > > On 28 April 2017 at 18:41, Eddie Cai wrote: > >> this patch implement rockusb protocol on the device side. this is based on > >> USB > >> download gadget infrastruc

Re: [U-Boot] [PATCH 1/1] tools: conditionally disable python libfdt wrapper

2017-05-08 Thread Simon Glass
Hi Matt, On 1 May 2017 at 21:43, Matt Weber wrote: > Not all host systems want the default swig to be > used when building the tools. Allow for the > disabling of the wrapper to enable cross-compiling > of the tools on a host system with swig. > > Signed-off-by: Matthew Weber > --- > > I'm open

Re: [U-Boot] [PATCH v3 00/13] STiH410-B2260: add reset, usb and fastboot support

2017-05-08 Thread Simon Glass
+Tom Hi Patrice, On 28 April 2017 at 01:19, Patrice CHOTARD wrote: > Hi Simon > > On 04/27/2017 05:45 PM, Simon Glass wrote: >> Hi Patrice, >> >> On 27 April 2017 at 05:30, Patrice CHOTARD wrote: >>> >>> Hi >>> >>> It's just a gentle reminder as this series is present on mailing list >>> since

Re: [U-Boot] [PATCH] rockchip: rk3368: Set fdtfile

2017-05-08 Thread Simon Glass
Hi Andreas, On 1 May 2017 at 11:48, Andreas Färber wrote: > Am 01.05.2017 um 19:41 schrieb Andreas Färber: >> diff --git a/configs/geekbox_defconfig b/configs/geekbox_defconfig >> index f5783100c0..5e4d5f03a4 100644 >> --- a/configs/geekbox_defconfig >> +++ b/configs/geekbox_defconfig >> @@ -4,6

Re: [U-Boot] [PATCH v3 04/13] dm: usb: Add a uclass for USB PHY

2017-05-08 Thread Simon Glass
Hi Patrice, On 28 March 2017 at 10:03, wrote: > From: Patrice Chotard > > This is a basic implementation of USB PHY which > define a standard API that link USB PHY client to > USB PHY driver controller. > > Signed-off-by: Patrice Chotard > --- > > v3: _ this patch intoduce new USB PHY ucla

Re: [U-Boot] [PATCH] pico-imx7d: Add initial support

2017-05-08 Thread Fabio Estevam
Hi Vanessa, On Mon, May 8, 2017 at 1:17 PM, Vanessa Maegima wrote: > Add the initial support for pico-imx7d board based on Wig Cheng's > source code. > > Add support for eMMC, USB gadget, I2C, PMIC and Ethernet. > > For more information about this board, please visit: > http://www.technexion.org/

Re: [U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 06:36:43PM +0200, Jorge Ramirez-Ortiz wrote: > This port adds support for: > 1) Serial > 2) eMMC > 3) USB [snip] > arch/arm/dts/hi3798cv200.dtsi | 3 + > arch/arm/dts/poplar-uboot.dtsi | 24 +++ [snip] > di

[U-Boot] [PATCH 1/1] env: correct sign for error code

2017-05-08 Thread Heinrich Schuchardt
Error codes should be negative. Signed-off-by: Heinrich Schuchardt --- common/env_attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/env_attr.c b/common/env_attr.c index 5bfe5e3a89..386219087b 100644 --- a/common/env_attr.c +++ b/common/env_attr.c @@ -153,7 +153,7

[U-Boot] [PATCH 1/1] env: avoid possible NULL pointer access

2017-05-08 Thread Heinrich Schuchardt
env_attr_lookup call env_attr_walk with callback = regex_callback. In env_attr_walk attributes = strchr(entry_cpy, ENV_ATTR_SEP) will return NULL if ENV_ATTR_SEP is not found. In the aftermath regex_callback may call strlen(attributes) with a NULL value which will lead to a failure. The problem

Re: [U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Jorge Ramirez
On 05/08/2017 07:29 PM, Tom Rini wrote: On Mon, May 08, 2017 at 06:36:43PM +0200, Jorge Ramirez-Ortiz wrote: This port adds support for: 1) Serial 2) eMMC 3) USB [snip] arch/arm/dts/hi3798cv200.dtsi | 3 + arch/arm/dts/poplar-uboot.dtsi

[U-Boot] [PATCH] pci: avoid memory leak

2017-05-08 Thread Heinrich Schuchardt
strdup uses malloc to allocate memory for str. If we cannot bind to the generic driver we should release the memory. The problem was indicated by clang scan-build. Signed-off-by: Heinrich Schuchardt --- drivers/pci/pci-uclass.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pci

[U-Boot] [PATCH 1/1] lib/slre: remove superfluous assignment

2017-05-08 Thread Heinrich Schuchardt
The value assigned to saved_offset is never used. The problem was indicated by clang scan-build. Signed-off-by: Heinrich Schuchardt --- lib/slre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/slre.c b/lib/slre.c index f90749f8ed..e26d344865 100644 --- a/lib/slre.c +++

[U-Boot] [PATCH 1/1] net/arp: remove superfluous assignments

2017-05-08 Thread Heinrich Schuchardt
The value of variable pkt is never used. The problem was indicated by clang scan-build. Signed-off-by: Heinrich Schuchardt --- net/arp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/arp.c b/net/arp.c index 824d2e9393..f3ceff9ed8 100644 --- a/net/arp.c +++ b/net/arp.c @@ -125,7 +125

[U-Boot] [PATCH v3 0/2] Fix build with OpenSSL 1.1.x

2017-05-08 Thread Jelle van der Waa
Sorry for the delay, this is the third series of the fix the build with OpenSSL 1.1.x while keeping compatibility with older OpenSSL versions. v3 fixes: - Add missing include - Loading the parameter e into key_n - #ifdef more deprecated functions which OpenSSL now handles internally. For some rea

[U-Boot] [PATCH v3 1/2] rsa: Fix build with OpenSSL 1.1.x

2017-05-08 Thread Jelle van der Waa
The rsa_st struct has been made opaque in 1.1.x, add forward compatible code to access the n, e, d members of rsa_struct. EVP_MD_CTX_cleanup has been removed in 1.1.x and EVP_MD_CTX_reset should be called to reinitialise an already created structure. --- lib/rsa/rsa-sign.c | 44 ++

[U-Boot] [PATCH v3 2/2] tools: kwbimage fix build with OpenSSL 1.1.x

2017-05-08 Thread Jelle van der Waa
The rsa_st struct has been made opaque in 1.1.x, add forward compatible code to access the n, e, d members of rsa_struct. EVP_MD_CTX_cleanup has been removed in 1.1.x and EVP_MD_CTX_reset should be called to reinitialise an already created structure. Signed-off-by: Jelle van der Waa --- tools/k

Re: [U-Boot] [U-Boot, v4, 1/7] arm: dra7xx: move CONFIG_DRA7XX to Kconfig

2017-05-08 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:35PM +0200, Uri Mashiach wrote: > The symbol CONFIG_DRA7XX is needed for Kconfig conditions. > > Cc: Lokesh Vutla > Signed-off-by: Uri Mashiach > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v4, 2/7] arm: usb: dra7xx: xHCI registers based on USB port index

2017-05-08 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:36PM +0200, Uri Mashiach wrote: > Modify the determination of the base address of xHCI registers of DRA7XX > targets. > Before the commit: by the target. > After the commit: by the USB port index. > > Cc: Lokesh Vutla > Cc: Marek Vasut > Cc: Roger Quadros > Signed

Re: [U-Boot] [U-Boot, v4, 3/7] usb: host: xhci-omap: fix double weak board_usb_init functions

2017-05-08 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:37PM +0200, Uri Mashiach wrote: > A weak version of the function board_usb_init is implemented in: > common/usb.c > drivers/usb/host/xhci-omap.c > > To fix the double implementations: > * Convert the board_usb_init function in drivers/usb/host/xhci-omap.c > normal

Re: [U-Boot] [U-Boot, v4, 4/7] arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks

2017-05-08 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:38PM +0200, Uri Mashiach wrote: > Invoke enable_usb_clocks during board_usb_init and disable_usb_clocks > during board_usb_exit to enable and disable clocks respectively. > > Modifications: > * Enable USB clocks in the OMAP version of the function > board_usb_init.

Re: [U-Boot] [U-Boot, v4, 7/7] arm: am57xx: cl-som-am57x: enable USB commands

2017-05-08 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:41PM +0200, Uri Mashiach wrote: > Add CONFIG_CMD_USB to the defconfig file. > > Signed-off-by: Uri Mashiach > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v4, 5/7] arm: am57xx: cl-som-am57x: fix USB scan

2017-05-08 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:39PM +0200, Uri Mashiach wrote: > USB bus scan attempt: Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u

Re: [U-Boot] [U-Boot, v4, 6/7] arm: am57xx: cl-som-am57x: enable USB storage

2017-05-08 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:40PM +0200, Uri Mashiach wrote: > Add CONFIG_USB_STORAGE to the defconfig file. > > Signed-off-by: Uri Mashiach > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v4, 05/18] stm32f7: use driver model for sdram initialization

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:54PM -0700, Vikas Manocha wrote: > As driver model takes care of pin control configuraion, this patch also > removes the sdram/fmc pin configuration. > > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO Applied to u-boot/master, thanks! -- Tom signature.a

Re: [U-Boot] [U-Boot,7/7] igep003x: Add netboot support

2017-05-08 Thread Tom Rini
On Sat, Apr 01, 2017 at 05:19:43PM +0200, Ladislav Michl wrote: > From: Pau Pajuelo > > netboot allows to boot an external image using TFTP and NFS protocols > > Signed-off-by: Pau Pajuelo > Signed-off-by: Ladislav Michl > Tested-by: Pau Pajuelo Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,2/7] ARM: am33xx: define BOOT_DEVICE_ONENAND

2017-05-08 Thread Tom Rini
On Sat, Apr 01, 2017 at 05:15:04PM +0200, Ladislav Michl wrote: > am33xx does not support OneNAND, but we need this define anyway > to let UBI SPL code compile. > > Signed-off-by: Ladislav Michl > Tested-by: Pau Pajuelo Applied to u-boot/master, thanks! -- Tom signature.asc Description: Di

Re: [U-Boot] [U-Boot,4/7] igep0033: Rename to igep003x

2017-05-08 Thread Tom Rini
On Sat, Apr 01, 2017 at 05:17:16PM +0200, Ladislav Michl wrote: > Rename igep0033 to igep003x as IGEP SMARC AM335x module (igep0034) > can use the same source files. > > Signed-off-by: Ladislav Michl > Tested-by: Pau Pajuelo Applied to u-boot/master, thanks! -- Tom signature.asc Descriptio

Re: [U-Boot] [U-Boot, v4, 17/18] stm32f7: add support for stm32f769 disco board

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:03:06PM -0700, Vikas Manocha wrote: > This board support stm32f7 family device stm32f769-I with 2MB internal Flash & > 512KB RAM. > STM32F769 lines offer the performance of the Cortex-M7 core (with double > precision floating point unit) running up to 216 MHz. > > To co

Re: [U-Boot] [U-Boot, v4, 01/18] stm32f7: use clock driver to enable qspi controller clock

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:50PM -0700, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.

Re: [U-Boot] spl: make image arg or fdt blob address reconfigurable

2017-05-08 Thread Tom Rini
On Fri, Apr 07, 2017 at 03:38:13PM -0700, Vikas Manocha wrote: > At present fdt blob or argument address being passed to kernel is fixed at > compile time using macro CONFIG_SYS_SPL_ARGS_ADDR. FDT blob from > different media like nand, nor flash are copied to the address pointed > by the macro. >

  1   2   >