Re: [U-Boot] [PATCH v7] dm: at91: Add driver model support for the spi driver

2016-08-17 Thread Wenyou.Yang
Hi Andreas, > -Original Message- > From: Andreas Bießmann [mailto:andr...@biessmann.org] > Sent: 2016年8月16日 5:15 > To: Wenyou Yang ; U-Boot Mailing List b...@lists.denx.de> > Cc: Simon Glass ; Jagan Teki > Subject: Re: [PATCH

Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer before use it

2016-08-17 Thread Wenyou.Yang
Hi Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: 2016年8月18日 11:46 > To: Wenyou Yang - A41535 ; > wenyou.y...@atmel.com > Cc: u-boot@lists.denx.de; swar...@nvidia.com; michal.si...@xilinx.com > Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer before use it

2016-08-17 Thread Wenyou.Yang
HI Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: 2016年8月17日 23:59 > To: Wenyou Yang > Cc: U-Boot Mailing List ; Stephen Warren > ; Michal Simek >

Re: [U-Boot] [PATCH 1/5] efi_loader: Allow boards to implement get_time and reset_system

2016-08-17 Thread Alexander Graf
> Am 18.08.2016 um 05:44 schrieb Simon Glass : > > Hi Alex, > >> On 16 August 2016 at 13:08, Alexander Graf wrote: >> EFI allows an OS to leverage firmware drivers while the OS is running. In the >> generic code we so far had to stub those implementations

Re: [U-Boot] [PATCH] Makefile: Remove tags file on mrproper

2016-08-17 Thread Vignesh R
On Wednesday 17 August 2016 06:19 PM, Tom Rini wrote: > On Wed, Aug 17, 2016 at 10:51:52AM +0530, Vignesh R wrote: >> >> On Monday 01 August 2016 09:53 PM, Tom Rini wrote: >>> On Mon, Aug 01, 2016 at 02:41:08PM +0530, Vignesh R wrote: >>> make tags creates a symbolic link called tags to

Re: [U-Boot] [PATCH] test/py: match prompt only at line boundaries

2016-08-17 Thread Heiko Schocher
Hello Stephen, Am 17.08.2016 um 03:58 schrieb Stephen Warren: This prevents capture of command output from terminating early on boards that use a simple prompt (e.g. "=> ") that appears in the middle of command output (e.g. crc32's "... ==> 2fa737e0"). Reported-by: Tom Rini

[U-Boot] [PATCH RESEND] Makefile: Remove tags file on mrproper

2016-08-17 Thread Vignesh R
make tags creates a symbolic link called tags to ctags. Remove this file on make mrproper or make distclean. Signed-off-by: Vignesh R Reviewed-by: Tom Rini --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile

Re: [U-Boot] [PATCH 5/5] efi_loader: Add generic PSCI RTS

2016-08-17 Thread Alexander Graf
> Am 18.08.2016 um 05:44 schrieb Simon Glass : > >> On 16 August 2016 at 13:08, Alexander Graf wrote: >> Now that we have generic PSCI reset and shutdown support in place, we can >> advertise those as EFI Run Time Services, allowing efi applications and >> OSs

Re: [U-Boot] [PATCH 4/5] arm: Provide common PSCI based reset handler

2016-08-17 Thread Alexander Graf
> Am 18.08.2016 um 05:44 schrieb Simon Glass : > > Hi Alex, > >> On 16 August 2016 at 13:08, Alexander Graf wrote: >> Most armv8 systems have PSCI support enabled in EL3, either through >> ARM Trusted Firmware or other firmware. >> >> On these systems, we do

Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer before use it

2016-08-17 Thread Stephen Warren
On 08/17/2016 09:53 PM, wenyou.y...@microchip.com wrote: Hi Stephen, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: 2016年8月18日 11:46 To: Wenyou Yang - A41535 ; wenyou.y...@atmel.com Cc: u-boot@lists.denx.de; swar...@nvidia.com;

Re: [U-Boot] [PATCH 2/5] mmc: initialize mmc_cmd with 0

2016-08-17 Thread Simon Glass
Hi Peng, On 12 August 2016 at 19:41, Peng Fan wrote: > Hi Simon, > On Fri, Aug 12, 2016 at 11:20:25AM -0600, Simon Glass wrote: >>Hi Peng, >> >>On 11 August 2016 at 05:00, Peng Fan wrote: >>> Using {0} to initialize mmc_cmd, before filling the

Re: [U-Boot] [PATCH v4 5/8] smbios: Generate type 4 on non-x86 systems

2016-08-17 Thread Simon Glass
Hi Alex, On 17 August 2016 at 04:29, Alexander Graf wrote: > The type 4 table generation code is very x86 centric today. Refactor things > out into the device model cpu class to allow the tables to get generated for > other architectures as well. > > Signed-off-by: Alexander Graf

Re: [U-Boot] [PATCH 7/7] config: evb-rk3399: enable fixed regulator

2016-08-17 Thread Simon Glass
On 17 August 2016 at 01:43, Kever Yang wrote: > This patch enable fixed regulator driver for rk3399 evb. > > Signed-off-by: Kever Yang > --- > > configs/evb-rk3399_defconfig | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Simon Glass

Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer before use it

2016-08-17 Thread Stephen Warren
On 08/17/2016 06:30 PM, wenyou.y...@microchip.com wrote: HI Stephen, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: 2016年8月17日 23:59 To: Wenyou Yang Cc: U-Boot Mailing List ; Stephen Warren

Re: [U-Boot] [PATCH 6/7] board: evb-rk3399: enable usb 2.0 host vbus power on board_init

2016-08-17 Thread Simon Glass
Hi Kever, On 17 August 2016 at 01:43, Kever Yang wrote: > rk3399 using one gpio control signal for two usb 2.0 host port, > it's better to enable the power in board file instead of in usb driver. > > Signed-off-by: Kever Yang > --- > >

Re: [U-Boot] [PATCH 5/7] dts: rk3399-evb: add regulator-fixed for usb host vbus

2016-08-17 Thread Simon Glass
On 17 August 2016 at 01:43, Kever Yang wrote: > rk3399 evb using one gpio to enable 5V output for both USB 2.0 > host port, let's use fixed regulator for them. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3399-evb.dts | 6 ++ >

Re: [U-Boot] [PATCH 4/7] dts: rk3399: add dwc3_typec node for rk3399

2016-08-17 Thread Simon Glass
On 17 August 2016 at 01:43, Kever Yang wrote: > From: MengDongyang > > rk3399 has two dwc3 controller for type-C port, add the dts node > and enable them. > > Signed-off-by: MengDongyang > Signed-off-by: Kever

Re: [U-Boot] [PATCH 3/7] config: rk3399: add usb related configs

2016-08-17 Thread Simon Glass
On 17 August 2016 at 01:43, Kever Yang wrote: > From: MengDongyang > > This patch to enable configs for usb module > - xhci > - ehci > - usb storage > - usb net > > Signed-off-by: MengDongyang > Signed-off-by:

Re: [U-Boot] [PATCH 3/5] arm: Add PSCI shutdown function

2016-08-17 Thread Simon Glass
On 16 August 2016 at 13:08, Alexander Graf wrote: > Using PSCI you can not only reset the system, you can also shut it down! > This patch exposes a function to do exactly that to whatever code wants > to make use of it. > > Signed-off-by: Alexander Graf > --- >

Re: [U-Boot] [PATCH 3/6] arm, at91: add icache support

2016-08-17 Thread Simon Glass
On 17 August 2016 at 01:13, Heiko Schocher wrote: > add at least icache support for at91 based boards. > This speeds up NOR flash access on an at91sam9g15 > based board from 15.2 seconds reading 8 MiB from > a SPI NOR flash to 5.7 seconds. > > Signed-off-by: Heiko Schocher

Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer before use it

2016-08-17 Thread Simon Glass
Hi, On 17 August 2016 at 09:59, Stephen Warren wrote: > On 08/17/2016 01:05 AM, Wenyou Yang wrote: >> >> Add check ops pointer before use it. Otherwise, it will cause >> the runtime error for the clk devices without ops callback. > > > Other uclasses like reset, power

Re: [U-Boot] [PATCH 2/7] rockchip: select DM_USB for rockchip SoC

2016-08-17 Thread Simon Glass
On 17 August 2016 at 01:43, Kever Yang wrote: > From: MengDongyang > > Select DM_USB to compatible with USB DM driver model. > > Signed-off-by: MengDongyang > Signed-off-by: Kever Yang

Re: [U-Boot] [PATCH 2/5] arm: Disable HVC PSCI calls by default

2016-08-17 Thread Simon Glass
On 16 August 2016 at 13:08, Alexander Graf wrote: > All systems that are running on armv8 are running bare metal with firmware > that implements PSCI running in EL3. That means we don't really need to expose > the hypercall variants of them. > > This patch leaves the code in, but

Re: [U-Boot] [PATCH 1/5] efi_loader: Allow boards to implement get_time and reset_system

2016-08-17 Thread Simon Glass
Hi Alex, On 16 August 2016 at 13:08, Alexander Graf wrote: > EFI allows an OS to leverage firmware drivers while the OS is running. In the > generic code we so far had to stub those implementations out, because we would > need board specific knowledge about MMIO setups for it. > >

Re: [U-Boot] [PATCH 4/5] arm: Provide common PSCI based reset handler

2016-08-17 Thread Simon Glass
Hi Alex, On 16 August 2016 at 13:08, Alexander Graf wrote: > Most armv8 systems have PSCI support enabled in EL3, either through > ARM Trusted Firmware or other firmware. > > On these systems, we do not need to implement system reset manually, > but can instead rely on higher

Re: [U-Boot] [PATCH 5/5] efi_loader: Add generic PSCI RTS

2016-08-17 Thread Simon Glass
On 16 August 2016 at 13:08, Alexander Graf wrote: > Now that we have generic PSCI reset and shutdown support in place, we can > advertise those as EFI Run Time Services, allowing efi applications and > OSs to reset and shut down systems. > > Signed-off-by: Alexander Graf

Re: [U-Boot] [PATCH 3/4] pinctrl: add driver for meson-gxbb pin controller

2016-08-17 Thread Simon Glass
On 16 August 2016 at 03:49, Beniamino Galvani wrote: > Add a pin controller driver for Meson GXBB adapted from Linux kernel. > > Signed-off-by: Beniamino Galvani > --- > drivers/pinctrl/Kconfig| 1 + > drivers/pinctrl/Makefile

Re: [U-Boot] [PATCH 4/4] meson: odroid-c2: enable Ethernet support through the device tree

2016-08-17 Thread Simon Glass
On 16 August 2016 at 03:49, Beniamino Galvani wrote: > Remove the device definition from board file, update the driver with > the new compatible property and update config with necessary options. > > Signed-off-by: Beniamino Galvani > --- >

Re: [U-Boot] [PATCH 1/4] pinctrl: generic: scan for "pins" and "groups" properties in sub-nodes

2016-08-17 Thread Simon Glass
On 16 August 2016 at 03:49, Beniamino Galvani wrote: > In cases where the pins and groups definitions are in a sub-node, as: > > uart_a { > mux { > groups = "uart_tx_a", "uart_rx_a"; > function =

Re: [U-Boot] buildman error

2016-08-17 Thread Simon Glass
Hi Bin, On 15 August 2016 at 07:57, Bin Meng wrote: > Hi Simon, > > When building u-boot-spi/next, I got lots of error messages like below > after cloning, however the build seems to be not affected (ie: build > is running and the summary statistics is updating on the shell)

Re: [U-Boot] [PATCH 2/4] arm: dts: update DTS files for meson-gxbb and odroid-c2

2016-08-17 Thread Simon Glass
On 16 August 2016 at 03:49, Beniamino Galvani wrote: > Import DTS files and dt-bindings includes from Linux 4.8-rc1. > > Signed-off-by: Beniamino Galvani > --- > arch/arm/dts/meson-gxbb-odroidc2.dts | 19 ++ > arch/arm/dts/meson-gxbb.dtsi

Re: [U-Boot] [PATCH v2] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-08-17 Thread Simon Glass
Hi, On 15 August 2016 at 23:03, Heiko Schocher wrote: > Hello Simon, Stefan, > > > Am 16.08.2016 um 06:50 schrieb Simon Glass: >> >> Hi Stefan, >> >> On 15 August 2016 at 04:02, Stefan Roese wrote: >>> >>> Hi Simon, >>> >>> >>> On 10.08.2016 04:59, Simon Glass wrote:

Re: [U-Boot] [PATCH 2/4] board: evb-rk3399: add api to support dwc3 gadget

2016-08-17 Thread Simon Glass
Hi, On 16 August 2016 at 04:03, Kever Yang wrote: > This patch add board_usb_init() and interrupt callback > for dwc3 gadget. > > Signed-off-by: Kever Yang > --- > > board/rockchip/evb_rk3399/evb-rk3399.c | 22 ++ > 1

Re: [U-Boot] [PATCH v3 1/8] x86: Move table csum into separate header

2016-08-17 Thread Simon Glass
Hi Alex, On 17 August 2016 at 00:27, Alexander Graf wrote: > >> On 17 Aug 2016, at 06:15, Simon Glass wrote: >> >> Hi Alex, >> >> On 16 August 2016 at 02:55, Alexander Graf wrote: >>> We need the checksum function without all the other table

Re: [U-Boot] [PATCH 1/4] rk3399: add a empty "sys_proto.h" header file

2016-08-17 Thread Simon Glass
On 16 August 2016 at 04:03, Kever Yang wrote: > driver/usb/dwc3/gadget.c need a "sys_proto.h" header file, add a > empty one to make compile success. > > Signed-off-by: Kever Yang > --- > > arch/arm/include/asm/arch-rockchip/sys_proto.h | 10

[U-Boot] [PATCH 1/2] tools/env: return with error if redundant environments have unequal size

2016-08-17 Thread Andreas Fenkart
For double buffering to work, the target buffer must always be big enough to hold all data. This can only be ensured if buffers are of equal size, otherwise one must be smaller and we risk data loss when copying from the bigger to the smaller buffer. Reviewed-by: Simon Glass

[U-Boot] [PATCH 2/2] tools/env: soften warning about erase block alignment

2016-08-17 Thread Andreas Fenkart
addon 183923d3e MMC/SATA have no erase blocks, only blocks. Hence the warning about erase block alignment might be confusing in such environment. Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH 0/2] tools/env: minor fixes plus resend

2016-08-17 Thread Andreas Fenkart
The redundant environment patch was already submitted once, but not applied due to a merge conflict. The second patch is an addon to 183923d3e as suggested by Stefan Agner Andreas Fenkart (2): tools/env: return with error if redundant environments have unequal size tools/env: soften

Re: [U-Boot] UMS - maintain connection

2016-08-17 Thread John Tobias
Hi Łukasz Majewski, I got it working. I may submit a fix soon. Regards, John On Mon, Aug 15, 2016 at 6:17 AM, Lukasz Majewski wrote: > Hi John Tobias, > >> Hello All, >> >> I am using ums (USB Mass Storage) in u-boot to expose the storage of >> my device into my host

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

2016-08-17 Thread Lukasz Majewski
Hi Tom, > On Wed, Aug 17, 2016 at 06:17:44PM +0200, Lukasz Majewski wrote: > > Hi Tom, > > > > > On Wed, Aug 17, 2016 at 04:55:52PM +0200, Lukasz Majewski wrote: > > > > Hi Tom, > > > > > > > > > On Wed, Aug 17, 2016 at 11:56:59AM +0200, Lukasz Majewski > > > > > wrote: > > > > > > Hi Heiko,

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

2016-08-17 Thread Tom Rini
On Wed, Aug 17, 2016 at 06:17:44PM +0200, Lukasz Majewski wrote: > Hi Tom, > > > On Wed, Aug 17, 2016 at 04:55:52PM +0200, Lukasz Majewski wrote: > > > Hi Tom, > > > > > > > On Wed, Aug 17, 2016 at 11:56:59AM +0200, Lukasz Majewski wrote: > > > > > Hi Heiko, Ravi, > > > > > > > > > > > Hello B,

Re: [U-Boot] [U-Boot,v3] mmc: add mmc partconf read capability

2016-08-17 Thread Angelo Dureghello
Hi Jaehoon, On 04/08/2016 07:09, Jaehoon Chung wrote: Hi Angelo, On 04/15/2016 03:51 AM, Angelo Dureghello wrote: This patch allows to read back the EXT_CSD[179] partition_config register, just specifying the dev param: U-Boot> mmc partconf 0 EXT_CSD[179], PARTITION_CONFIG register:

[U-Boot] [PATCH 1/3] pico-imx6ul: Directly write to register LDOGCTL

2016-08-17 Thread Fabio Estevam
Register LDOGCTL contains only bit 0 as a valid bit, so there is no need to do a read-modify-write operation. Simplify the code by writing directly to this register. Signed-off-by: Fabio Estevam --- board/technexion/pico-imx6ul/pico-imx6ul.c | 4 +--- 1 file changed, 1

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

2016-08-17 Thread Lukasz Majewski
Hi Tom, > On Wed, Aug 17, 2016 at 04:55:52PM +0200, Lukasz Majewski wrote: > > Hi Tom, > > > > > On Wed, Aug 17, 2016 at 11:56:59AM +0200, Lukasz Majewski wrote: > > > > Hi Heiko, Ravi, > > > > > > > > > Hello B, Ravi, > > > > > > > > > > Am 17.08.2016 um 09:40 schrieb B, Ravi: > > > > > > Hi

Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer before use it

2016-08-17 Thread Stephen Warren
On 08/17/2016 01:05 AM, Wenyou Yang wrote: Add check ops pointer before use it. Otherwise, it will cause the runtime error for the clk devices without ops callback. Other uclasses like reset, power domain, and mailbox don't do this. All drivers must have an ops pointer, or they can't be

Re: [U-Boot] [PATCH 2/2] fs/fat: Optimizes memory size with single global variable instead of 3

2016-08-17 Thread Stephen Warren
On 08/17/2016 09:04 AM, Tom Rini wrote: On Mon, Aug 15, 2016 at 10:08:37AM -0600, Stephen Warren wrote: On 08/13/2016 04:57 PM, Benoît Thébaudeau wrote: Hi, On Tue, Aug 2, 2016 at 9:35 PM, Benoît Thébaudeau wrote: On Tue, Aug 2, 2016 at 8:53 PM, Stephen

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

2016-08-17 Thread Tom Rini
On Wed, Aug 17, 2016 at 04:55:52PM +0200, Lukasz Majewski wrote: > Hi Tom, > > > On Wed, Aug 17, 2016 at 11:56:59AM +0200, Lukasz Majewski wrote: > > > Hi Heiko, Ravi, > > > > > > > Hello B, Ravi, > > > > > > > > Am 17.08.2016 um 09:40 schrieb B, Ravi: > > > > > Hi Heiko > > > > > > > > >

Re: [U-Boot] [PATCH 2/2] fs/fat: Optimizes memory size with single global variable instead of 3

2016-08-17 Thread Tom Rini
On Mon, Aug 15, 2016 at 10:08:37AM -0600, Stephen Warren wrote: > On 08/13/2016 04:57 PM, Benoît Thébaudeau wrote: > >Hi, > > > >On Tue, Aug 2, 2016 at 9:35 PM, Benoît Thébaudeau > > wrote: > >>On Tue, Aug 2, 2016 at 8:53 PM, Stephen Warren

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

2016-08-17 Thread Lukasz Majewski
Hi Tom, > On Wed, Aug 17, 2016 at 11:56:59AM +0200, Lukasz Majewski wrote: > > Hi Heiko, Ravi, > > > > > Hello B, Ravi, > > > > > > Am 17.08.2016 um 09:40 schrieb B, Ravi: > > > > Hi Heiko > > > > > > > > > > is that for master or next ? > > > > > > > >>> This patch _was_ supposed to

Re: [U-Boot] [PATCH] test/py: match prompt only at line boundaries

2016-08-17 Thread Tom Rini
On Tue, Aug 16, 2016 at 07:58:59PM -0600, Stephen Warren wrote: > This prevents capture of command output from terminating early on boards > that use a simple prompt (e.g. "=> ") that appears in the middle of > command output (e.g. crc32's "... ==> 2fa737e0"). > > Reported-by: Tom Rini

[U-Boot] [PATCH 2/3] mx7dsabresd: Directly write to register LDOGCTL

2016-08-17 Thread Fabio Estevam
Register LDOGCTL contains only bit 0 as a valid bit, so there is no need to do a read-modify-write operation. Simplify the code by writing directly to this register. Signed-off-by: Fabio Estevam --- board/freescale/mx7dsabresd/mx7dsabresd.c | 4 +--- 1 file changed, 1

Re: [U-Boot] building u-boot x86 with device tree disabled , still refers to device tree function

2016-08-17 Thread Ding, ChiX
Hi Bin Thanks for the reply. I'm building for Intel Harrisonville board with Denverton chipset. Cheers, Chi -Original Message- From: Bin Meng [mailto:bmeng...@gmail.com] Sent: Friday, August 12, 2016 5:12 AM To: Ding, ChiX ; Simon Glass Cc:

[U-Boot] Bug in CRC32 (maybe a overflow effect)

2016-08-17 Thread Charles-Antoine Couret
Hello, My company works with nVidia Tegra K1 boards and we use a dedicated U-Boot to flash images into eMMC. So, before flashing images, we checked CRC32 for each part of the image (u-boot, kernel and rootfs). For U-boot and Kernel, any issues. For rootfs, below 60 Mio it is good in general,

Re: [U-Boot] building u-boot x86 with device tree disabled , still refers to device tree function

2016-08-17 Thread Ding, ChiX
Hi Simon We have an older version u-boot code that is built without device tree. It works fine as coreboot payload on the target board with Denverton chipset. With the current u-boot code from git://git.denx.de/u-boot.git, I run coreboot-x86_defconfig, then make menuconfig, and by default

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

2016-08-17 Thread Tom Rini
On Wed, Aug 17, 2016 at 11:56:59AM +0200, Lukasz Majewski wrote: > Hi Heiko, Ravi, > > > Hello B, Ravi, > > > > Am 17.08.2016 um 09:40 schrieb B, Ravi: > > > Hi Heiko > > > > > > > is that for master or next ? > > > > > >>> This patch _was_ supposed to go to "master" > > > > > Was

Re: [U-Boot] [PATCH] Makefile: Remove tags file on mrproper

2016-08-17 Thread Tom Rini
On Wed, Aug 17, 2016 at 10:51:52AM +0530, Vignesh R wrote: > > On Monday 01 August 2016 09:53 PM, Tom Rini wrote: > > On Mon, Aug 01, 2016 at 02:41:08PM +0530, Vignesh R wrote: > > > >> make tags creates a symbolic link called tags to ctags. Remove this file > >> on make mrproper or make

Re: [U-Boot] [U-Boot, v4, 01/13] cmd: fdt: Narrow the check for fdt addr

2016-08-17 Thread Tom Rini
On Wed, Aug 17, 2016 at 11:31:18AM +0900, Jaehoon Chung wrote: > On 08/16/2016 10:55 AM, Tom Rini wrote: > > On Tue, Aug 16, 2016 at 10:52:04AM +0900, Jaehoon Chung wrote: > >> Hi, > >> > >> On 07/05/2016 05:26 PM, Maxime Ripard wrote: > >>> The current code only checks if the fdt subcommand is

[U-Boot] [PATCH 3/3] mx7dsabresd: Directly write to register LDOGCTL

2016-08-17 Thread Fabio Estevam
Register LDOGCTL contains only bit 0 as a valid bit, so there is no need to do a read-modify-write operation. Simplify the code by writing directly to this register. Signed-off-by: Fabio Estevam --- board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 4 +--- 1 file

[U-Boot] [PATCH v3 3/3] mpc85xx: powerpc: usb: Update the list of Socs afftected by erratum A006261

2016-08-17 Thread y
From: Sriram Dash Apply the erratum A006261 for the following Socs: P2041 rev 2.0, P2040 rev 2.0, P5040 rev 2.0, 2.1 Do not apply erratum A006261 for the following Socs: T4160, T4080, T1040, T1042, T1020, T1022, T2080, T2081 Erratum A006261 is applicable for the following

[U-Boot] [PATCH v3 1/3] mpc85xx: powerpc: usb: Modified the erratum A006261 according to endianness

2016-08-17 Thread y
From: Sriram Dash Modifies erratum implementation due to the fact that P3041, P5020, and P5040 are all big endian for the USB PHY registers, but they were specified little endian. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat

[U-Boot] [PATCH v3 2/3] mpc85xx: powerpc: usb: Enable Usb phy initialisation settings for P1010

2016-08-17 Thread y
From: Sriram Dash CONFIG_SYS_FSL_USB1_PHY_ENABLE is set and the USB Phy offset are set to enable the initial setting of Usb Phy for P1010. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v3: - Modify the

[U-Boot] [PATCH v3 0/3] Modifies the erratum A006261 according to endianness

2016-08-17 Thread y
From: Sriram Dash Modifies erratum A006261 implementation due to the fact that P3041, P5020, and P5040 are all big endian for the USB PHY registers, but they were specified little endian. Enables the Phy init settings for P1010 Soc. Also, applies the erratum for P2041 rev

Re: [U-Boot] Boot failure with a AT91RM9200 based custom board

2016-08-17 Thread Andreas Bießmann
Hi Peter, On 2016-08-17 11:31, Peter Kardos wrote: On Mon, Aug 15, 2016 at 10:43 PM, Andreas Bießmann wrote: Dear Peter, On 12.08.16 02:24, Peter Kardos wrote: RAM Configuration: Bank #0: 2000 64 MiB DRAM: 64 MiB initcall: 1000b424 New Stack Pointer is:

[U-Boot] [PATCH 2/2] ARM: OMAP4+: vcores: Remove duplicated code

2016-08-17 Thread Lokesh Vutla
There is no reason to duplicate code for DRA7xx platforms as there can be Rail grouping. The maximum voltage detection algorithm can still be run on other platforms with no Rail grouping and does not harm as it gives the same result. Signed-off-by: Lokesh Vutla ---

[U-Boot] [PATCH 1/2] ARM: OMAP5+: vcores: Drop unnecessary #ifndefs

2016-08-17 Thread Lokesh Vutla
gpio_en field is introduced to detect if pmic is controlled by GPIO. Make this field 0 on all TPS659* pmics available on DRA7/OMAP5 based platforms and remove the #ifndefs. Reviewed-by: Keerthy Signed-off-by: Lokesh Vutla ---

[U-Boot] [PATCH 0/2] ARM: OMAP4+: vcores: Make scale_vcores common

2016-08-17 Thread Lokesh Vutla
This series removes the unnecessary #ifdes and make the scale_vcores code common to all OMAP4+ platforms. Build tested on all omaps using buildman. Boot tested on: DRA72-evm, DRA74-evm, AM57xx-evm, OMAP5-uevm, Lokesh Vutla (2): ARM: OMAP5+: vcores: Drop unnecessary #ifndefs ARM: OMAP4+:

[U-Boot] [PATCH v4 5/8] smbios: Generate type 4 on non-x86 systems

2016-08-17 Thread Alexander Graf
The type 4 table generation code is very x86 centric today. Refactor things out into the device model cpu class to allow the tables to get generated for other architectures as well. Signed-off-by: Alexander Graf --- v3 -> v4: - Use device model v4 -> v5: -

Re: [U-Boot] [PATCH v4 5/8] smbios: Generate type 4 on non-x86 systems

2016-08-17 Thread Alexander Graf
> On 17 Aug 2016, at 11:20, Bin Meng wrote: > > Hi Alex, > > On Wed, Aug 17, 2016 at 4:31 PM, Alexander Graf wrote: >> The type 4 table generation code is very x86 centric today. Refactor things >> out into the device model cpu class to allow the tables to

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

2016-08-17 Thread Lukasz Majewski
Hi Heiko, Ravi, > Hello B, Ravi, > > Am 17.08.2016 um 09:40 schrieb B, Ravi: > > Hi Heiko > > > > is that for master or next ? > > > >>> This patch _was_ supposed to go to "master" > > > Was this build tested ? > > > >>> Unfortunately, not so thoroughly as I thought. > > > >>>

Re: [U-Boot] [PATCH v4 5/8] smbios: Generate type 4 on non-x86 systems

2016-08-17 Thread Bin Meng
Hi Alex, On Wed, Aug 17, 2016 at 4:31 PM, Alexander Graf wrote: > The type 4 table generation code is very x86 centric today. Refactor things > out into the device model cpu class to allow the tables to get generated for > other architectures as well. > > Signed-off-by: Alexander

Re: [U-Boot] [PATCH 1/7] usb: xhci-rockchip: add rockchip dwc3 controller driver

2016-08-17 Thread Kever Yang
Hi Marek, On 08/17/2016 04:13 PM, Marek Vasut wrote: On 08/17/2016 09:42 AM, Kever Yang wrote: From: MengDongyang This patch add support for rockchip dwc3 controller, which corresponding to the two type-C port on rk3399 evb. Only support usb2.0 currently for we

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

2016-08-17 Thread B, Ravi
+is not an integer constant + struct usb_device_descriptor __aligned(CONFIG_SYS_CACHELINE_SIZE) desc; + ^ +make[3]: *** [spl/common/dfu.o] Error 1 +make[2]: *** [spl/common] Error 2 >>> +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2 >>

[U-Boot] [PATCH v4 5/8] smbios: Generate type 4 on non-x86 systems

2016-08-17 Thread Alexander Graf
The type 4 table generation code is very x86 centric today. Refactor things out into the device model cpu class to allow the tables to get generated for other architectures as well. Signed-off-by: Alexander Graf --- v3 -> v4: - Use device model ---

Re: [U-Boot] [PATCH 1/7] usb: xhci-rockchip: add rockchip dwc3 controller driver

2016-08-17 Thread Marek Vasut
On 08/17/2016 09:42 AM, Kever Yang wrote: > From: MengDongyang > > This patch add support for rockchip dwc3 controller, which corresponding > to the two type-C port on rk3399 evb. > Only support usb2.0 currently for we have not enable the usb3.0 phy > driver and

Re: [U-Boot] [PATCH 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2016-08-17 Thread Marek Vasut
On 08/17/2016 04:06 AM, Kever Yang wrote: > Hi Marek, > > On 08/17/2016 09:39 AM, Marek Vasut wrote: >> On 08/17/2016 03:31 AM, Kever Yang wrote: >>> Hi Marek, >> Hi, >> >>> On 08/16/2016 09:18 PM, Marek Vasut wrote: On 08/16/2016 12:03 PM, Kever Yang wrote: > The dwc3 controller is

[U-Boot] [PATCH v2] drivers: usb: fsl-dt-fixup: Fix the dt for multiple USB nodes in single traversal of device tree

2016-08-17 Thread Sriram Dash
For FSL USB node fixup, the dt is walked multiple times for fixing erratum and phy type. This patch walks the tree and fixes the node till no more USB nodes are left. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat ---

Re: [U-Boot] [PATCH v3 0/3] Modifies the erratum A006261 according to endianness

2016-08-17 Thread Marek Vasut
On 08/17/2016 08:17 AM, Sriram Dash wrote: > Modifies erratum A006261 implementation due to the fact that P3041, > P5020, and P5040 are all big endian for the USB PHY registers, but > they were specified little endian. > Enables the Phy init settings for P1010 Soc. > Also, applies the erratum for

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

2016-08-17 Thread Heiko Schocher
Hello B, Ravi, Am 17.08.2016 um 09:40 schrieb B, Ravi: Hi Heiko is that for master or next ? This patch _was_ supposed to go to "master" Was this build tested ? Unfortunately, not so thoroughly as I thought. Moving dfu code to SPL causes following error on some boards:

[U-Boot] [PATCH 7/7] config: evb-rk3399: enable fixed regulator

2016-08-17 Thread Kever Yang
This patch enable fixed regulator driver for rk3399 evb. Signed-off-by: Kever Yang --- configs/evb-rk3399_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index 378111f..9a6d422 100644 ---

[U-Boot] [PATCH 5/7] dts: rk3399-evb: add regulator-fixed for usb host vbus

2016-08-17 Thread Kever Yang
rk3399 evb using one gpio to enable 5V output for both USB 2.0 host port, let's use fixed regulator for them. Signed-off-by: Kever Yang --- arch/arm/dts/rk3399-evb.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3399-evb.dts

[U-Boot] [PATCH 6/7] board: evb-rk3399: enable usb 2.0 host vbus power on board_init

2016-08-17 Thread Kever Yang
rk3399 using one gpio control signal for two usb 2.0 host port, it's better to enable the power in board file instead of in usb driver. Signed-off-by: Kever Yang --- board/rockchip/evb_rk3399/evb-rk3399.c | 16 +++- 1 file changed, 15 insertions(+), 1

[U-Boot] [PATCH 2/7] rockchip: select DM_USB for rockchip SoC

2016-08-17 Thread Kever Yang
From: MengDongyang Select DM_USB to compatible with USB DM driver model. Signed-off-by: MengDongyang Signed-off-by: Kever Yang --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 1/7] usb: xhci-rockchip: add rockchip dwc3 controller driver

2016-08-17 Thread Kever Yang
From: MengDongyang This patch add support for rockchip dwc3 controller, which corresponding to the two type-C port on rk3399 evb. Only support usb2.0 currently for we have not enable the usb3.0 phy driver and PD(fusb302) driver. Signed-off-by: MengDongyang

[U-Boot] [PATCH 0/7] rk3399: enable host controllers

2016-08-17 Thread Kever Yang
rk3399 evb has two typec port(dwc3 controller) which support dual role device with separate GPIO for vbus control and two USB 2.0 host port (generic EHCI controller) with one GPIO for vbus control. This patch set enable all these host controllers and have test with usb disk and usb ethernet

[U-Boot] [PATCH 3/7] config: rk3399: add usb related configs

2016-08-17 Thread Kever Yang
From: MengDongyang This patch to enable configs for usb module - xhci - ehci - usb storage - usb net Signed-off-by: MengDongyang Signed-off-by: Kever Yang --- configs/evb-rk3399_defconfig| 7 +++

[U-Boot] [PATCH 4/7] dts: rk3399: add dwc3_typec node for rk3399

2016-08-17 Thread Kever Yang
From: MengDongyang rk3399 has two dwc3 controller for type-C port, add the dts node and enable them. Signed-off-by: MengDongyang Signed-off-by: Kever Yang --- arch/arm/dts/rk3399-evb.dts | 8

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

2016-08-17 Thread B, Ravi
Hi Heiko >>> >>> is that for master or next ? >>This patch _was_ supposed to go to "master" >>> Was this build tested ? >>Unfortunately, not so thoroughly as I thought. >>Moving dfu code to SPL causes following error on some boards: >> arm: + smartweb >>+In file included from

[U-Boot] [PATCH] sf: fix sf probe

2016-08-17 Thread Wenyou Yang
From: Cyrille Pitchen This patch fixes the "sf probe" command. The very first SPI flash probe passes, for instance when u-boot tries to read its environment settings from a (Q)SPI memory but next "sf probe" commands fail because the flash memory node is unbound from

[U-Boot] [PATCH 4/6] arm, at91: add some missing fields in PIO struct

2016-08-17 Thread Heiko Schocher
add missing u32 io_delay; /* 0x110 I/O delay register */ u32 io_driver1; /* 0x114 I/O driver register 1 */ u32 io_driver2; /* 0x118 I/O driver register 2 */ fields in struct at91_port. Signed-off-by: Heiko Schocher ---

[U-Boot] [PATCH 1/6] arm: at91: mpddrc: add missing MPDDRC_MD defines

2016-08-17 Thread Heiko Schocher
add missing MPDDRC_MD defines Signed-off-by: Heiko Schocher --- arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-at91/include/mach/atmel_mpddrc.h b/arch/arm/mach-at91/include/mach/atmel_mpddrc.h index

[U-Boot] [PATCH 6/6] [RFC] at91: SPL clock fix for AT91SAM9G15 based boards.

2016-08-17 Thread Heiko Schocher
on a at91sam9g15 basd board I need another MOR register init as common for at91 based boards. Changes: - set AT91_PMC_MOR_KEY to 0x37, without this writting has no effect to tthis register. - AT91_PMC_MOR_OSCOUNT to 0 - set AT91_PMC_MOR_MOSCEN and AT91_PMC_MOR_MOSCSEL Signed-off-by: Heiko

[U-Boot] [PATCH 0/6] at91: at91sam9g15 improvements

2016-08-17 Thread Heiko Schocher
This series add some missing things for an at91sam9g15 board, which gets not mainlined, but there are common fixes, which are posted with this patchserie. 2 important things: - enable icache for AT91 based boards speeds up them a lot, for example reading 8MiB from an SPI NOR flash into RAM

[U-Boot] [PATCH 3/6] arm, at91: add icache support

2016-08-17 Thread Heiko Schocher
add at least icache support for at91 based boards. This speeds up NOR flash access on an at91sam9g15 based board from 15.2 seconds reading 8 MiB from a SPI NOR flash to 5.7 seconds. Signed-off-by: Heiko Schocher --- removed the dcache enable in the gurnard board. Comment says that

[U-Boot] [PATCH 2/6] ARM: at91: clock: correct PRES offset for at91sam9x5

2016-08-17 Thread Heiko Schocher
on at91sam9x5 PRES offset is 4 in the PMC master clock register. Signed-off-by: Heiko Schocher --- arch/arm/mach-at91/arm926ejs/clock.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-at91/arm926ejs/clock.c b/arch/arm/mach-at91/arm926ejs/clock.c index

[U-Boot] [PATCH 5/6] at91: add function to set IO drive

2016-08-17 Thread Heiko Schocher
add new function to set I/O drive. Signed-off-by: Heiko Schocher --- arch/arm/mach-at91/include/mach/at91_pio.h | 5 + arch/arm/mach-at91/include/mach/gpio.h | 2 ++ drivers/gpio/at91_gpio.c | 29 + 3 files changed, 36

[U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer before use it

2016-08-17 Thread Wenyou Yang
Add check ops pointer before use it. Otherwise, it will cause the runtime error for the clk devices without ops callback. Signed-off-by: Wenyou Yang --- drivers/clk/clk-uclass.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

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

2016-08-17 Thread B, Ravi
Hi Lukasz, Marek >> >> is that for master or next ? >This patch _was_ supposed to go to "master" >> Was this build tested ? >Unfortunately, not so thoroughly as I thought. >Moving dfu code to SPL causes following error on some boards: > arm: + smartweb >+In file included from

[U-Boot] [PATCH v3 3/3] mpc85xx: powerpc: usb: Update the list of Socs afftected by erratum A006261

2016-08-17 Thread Sriram Dash
Apply the erratum A006261 for the following Socs: P2041 rev 2.0, P2040 rev 2.0, P5040 rev 2.0, 2.1 Do not apply erratum A006261 for the following Socs: T4160, T4080, T1040, T1042, T1020, T1022, T2080, T2081 Erratum A006261 is applicable for the following Socs: P1010(1.0, 2.0), P2041(1.0, 1.1,

[U-Boot] [PATCH v3 1/3] mpc85xx: powerpc: usb: Modified the erratum A006261 according to endianness

2016-08-17 Thread Sriram Dash
Modifies erratum implementation due to the fact that P3041, P5020, and P5040 are all big endian for the USB PHY registers, but they were specified little endian. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v3: - Modify the

Re: [U-Boot] [PATCH v3 1/8] x86: Move table csum into separate header

2016-08-17 Thread Alexander Graf
> On 17 Aug 2016, at 06:15, Simon Glass wrote: > > Hi Alex, > > On 16 August 2016 at 02:55, Alexander Graf wrote: >> We need the checksum function without all the other table functionality >> soon, so let's split it out into its own header file. >> >>

  1   2   >