[U-Boot] [PATCH v2 08/11] ARMv7: PSCI: ls102xa: check target CPU ID before further operations

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang The input parameter CPU ID needs to be validated before furher oprations such as CPU_ON, this patch introduces the function to do this. Signed-off-by: Wang Dongsheng Signed-off-by: Hongbo Zhang --- arch/arm/cpu/armv7/ls102xa/psci.S | 34 +- 1

[U-Boot] [PATCH v2 10/11] ARMv7: PSCI: ls102xa: add more PSCI v1.0 functions implemention

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang This patch implements PSCI functions for ls102xa SoC following PSCI v1.0, they are as the list: psci_version, psci_features, psci_cpu_suspend, psci_affinity_info, psci_system_reset, psci_system_off. Tested on LS1021aQDS, LS1021aTWR. Signed-off-by: Wang

[U-Boot] [PATCH v2 07/11] ARMv7: PSCI: add PSCI v1.0 functions skeleton

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang This patch adds all the PSCI v1.0 functions in to the common framework, with all the functions returning "not sopported" by default, as a common framework all the functions are added here, it is up to every platform developer to decide which version of PSCI and which functions

[U-Boot] [PATCH v2 09/11] ARMv7: PSCI: ls102xa: check ALREADY_ON or ON_PENDING for CPU_ON

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang For the robustness of codes, while powering on a CPU, it is better to check if the target CPU is already on or in the process of power on, if yes the power on routine shouldn't be executed further and should return with the corresponding status immediately. Signed-off-by: Hong

[U-Boot] [PATCH v2 06/11] ARMv7: PSCI: factor out reusable psci_cpu_on_common

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang There are codes for saving target PC and target context ID in each platform psci_cpu_on routines, these can be factored out as psci_cpu_on_common. Signed-off-by: Hongbo Zhang Signed-off-by: Wang Dongsheng --- arch/arm/cpu/armv7/ls102xa/psci.S | 12 +--- arch/arm

[U-Boot] [PATCH v2 05/11] ARMv7: PSCI: add codes to save context ID for CPU_ON

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang According to latest PSCI specification, the context ID is needed by CPU_ON. This patch saves context ID to the second lowest address of the stack (next to where target PC is saved), and restores it to r0 when needed while target CPU booting up. This patch in current format is

[U-Boot] [PATCH v2 02/11] ARM: PSCI: change PSCI related macros definition style

2016-04-07 Thread macro . wave . z
From: Wang Dongsheng Since we are already under the directory of arch/arm/, the prefix ARM_ for macros isn't so necessary, and with more PSCI interfaces being added later, there will be much more redundant ARM_ prefixes, what's more, there are no ARM_/arm_ prefixes for other PSCI variables and fu

[U-Boot] [PATCH v2 01/11] ARM: PSCI: change PSCI function IDs base and offsets

2016-04-07 Thread macro . wave . z
From: Wang Dongsheng According to PSCI specification v1.0, the PSCI functions should start from 0x8400 for SMC32, this patch changes this base value as well as other function offset values. Signed-off-by: Wang Dongsheng Signed-off-by: Hongbo Zhang --- arch/arm/include/asm/psci.h | 10

[U-Boot] [PATCH v2 04/11] ARMv7: PSCI: update the place of saving target PC

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang The legacy code reserves one word in each stack for saving target PC, but it isn't used, the target PC is still saved to where the stack top pointer points. This patch relocates the place for saving target PC to the lowest address of each stack, convinience is that we can save

[U-Boot] [PATCH v2 03/11] ARMv7: PSCI: update function psci_get_cpu_stack_top

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang There are issues of legacy fuction psci_get_cpu_stack_top: First, because the stack grows in descending address order, it is better the stack starts from page end or some similiar address, but currently the algorithm is based on address of page start, if so some stack starts a

[U-Boot] [PATCH v2 00/11] ARMv7: PSCI: add PSCI v1.0 support

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang This patch set contains two parts: ARMv7 PSCI common framework: fix some issues and add v1.0 support NXP (was Freescale) LS102XA: codes enhancement and add v1.0 implementation Changes since v1: - re-organize psci_cpu_on_common, this code should be called by each platform's psc

Re: [U-Boot] [u-boot] [PATCH] arm: sleep: Get the entry point of kernel from SPARE4 register

2016-04-07 Thread Scott Wood
On 04/07/2016 04:11 AM, Huan Wang wrote: > Hi, Scott, > >> On 04/05/2016 09:16 PM, Huan Wang wrote: >>> Hi, York and Scott, >>> On 04/05/2016 05:11 AM, Alison Wang wrote: > For LS1021A Secure Boot, SPARE2 register is used and modified by the > IBR. To avoid the conflict, SPARE4 is use

Re: [U-Boot] [PATCH] odroid: Update README with correct firmware link and XU4 support

2016-04-07 Thread Przemyslaw Marczak
Hello Shawn, On 04/08/2016 05:06 AM, Shawn Guo wrote: The firmware from link [1] only works with U-Boot image that is no bigger than 328KiB. Using it with the default mainline U-Boot today which is already around 500KiB is just not working. Correct the link to be hardkernel_1mb_uboot one [2],

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-07 Thread Stefan Roese
On 08.04.2016 01:51, George Broz wrote: Try with the attached patch (and probably with dcache off) >>> >>> The patch applied cleanly. The behavior is unchanged with both >>> dcache on and off. The "good" sticks still work, and "bad" sticks still >>> don't. >> >> OK. Then I should probably

Re: [U-Boot] [PATCH 12/16] ARM: zynq: Extend microzed board support

2016-04-07 Thread Nathan Rossi
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote: > Add missing DT nodes and enable USB. > > Signed-off-by: Michal Simek Reviewed-by: Nathan Rossi > --- > > arch/arm/dts/zynq-microzed.dts | 38 +- > configs/zynq_microzed_defconfig | 4 > include/co

Re: [U-Boot] [PATCH 09/16] ARM: zynq: Align spi and qspi node locations

2016-04-07 Thread Nathan Rossi
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote: > Keep nodes alphabelitally sorted. > > Signed-off-by: Michal Simek Reviewed-by: Nathan Rossi > --- > > arch/arm/dts/zynq-zc702.dts | 10 +- > arch/arm/dts/zynq-zc706.dts | 10 +- > arch/arm/dts/zynq-zc770-xm010.d

Re: [U-Boot] [PATCH 08/16] ARM: zynq: zc706: Add adv7511 on i2c bus

2016-04-07 Thread Nathan Rossi
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote: > From: Christian Kohn > > Add missing adv7511 and configure to match Base TRD. > > Signed-off-by: Christian Kohn > Signed-off-by: Michal Simek Reviewed-by: Nathan Rossi > --- > > arch/arm/dts/zynq-zc706.dts | 15 +++ > 1 file

[U-Boot] [PATCH] odroid: Update README with correct firmware link and XU4 support

2016-04-07 Thread Shawn Guo
The firmware from link [1] only works with U-Boot image that is no bigger than 328KiB. Using it with the default mainline U-Boot today which is already around 500KiB is just not working. Correct the link to be hardkernel_1mb_uboot one [2], so that users can get mainline U-Boot work out of box. W

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-07 Thread George Broz
On 7 April 2016 at 16:36, Marek Vasut wrote: > On 04/08/2016 01:31 AM, George Broz wrote: >> On 7 April 2016 at 13:39, Marek Vasut wrote: >>> On 04/07/2016 03:14 PM, George Broz wrote: On 6 April 2016 at 19:05, Marek Vasut wrote: > On 04/07/2016 03:42 AM, George Broz wrote: > >

[U-Boot] [PATCH] USB: g_dnl: Change device class

2016-04-07 Thread John Tobias
The USB Mass Storage (ums) works in Windows, Linux and OS X (EL Capitan). But, not in OS X (Yosemite). By applying the said patch, it extends the ums support. Signed-off-by: John Tobias --- drivers/usb/gadget/g_dnl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-07 Thread Marek Vasut
On 04/08/2016 01:31 AM, George Broz wrote: > On 7 April 2016 at 13:39, Marek Vasut wrote: >> On 04/07/2016 03:14 PM, George Broz wrote: >>> On 6 April 2016 at 19:05, Marek Vasut wrote: On 04/07/2016 03:42 AM, George Broz wrote: Hi, >>> U-Boot SPL 2016.03 (Apr 05 2016 - 17:

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-07 Thread George Broz
On 7 April 2016 at 13:39, Marek Vasut wrote: > On 04/07/2016 03:14 PM, George Broz wrote: >> On 6 April 2016 at 19:05, Marek Vasut wrote: >>> On 04/07/2016 03:42 AM, George Broz wrote: >>> >>> Hi, >>> >> U-Boot SPL 2016.03 (Apr 05 2016 - 17:57:23) >> drivers/ddr/altera/sequencer.c: Prepar

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Steve Rae
On Thu, Apr 7, 2016 at 4:11 PM, Sam Protsenko wrote: > On Fri, Apr 8, 2016 at 12:39 AM, Steve Rae wrote: > > > > > > On Thu, Apr 7, 2016 at 2:16 PM, Sam Protsenko < > semen.protse...@linaro.org> > > wrote: > >> > >> On Thu, Apr 7, 2016 at 8:07 PM, Steve Rae > wrote: > >> > Hi Sam, > >> > > >> >

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Sam Protsenko
On Fri, Apr 8, 2016 at 12:39 AM, Steve Rae wrote: > > > On Thu, Apr 7, 2016 at 2:16 PM, Sam Protsenko > wrote: >> >> On Thu, Apr 7, 2016 at 8:07 PM, Steve Rae wrote: >> > Hi Sam, >> > >> > On Thu, Apr 7, 2016 at 9:46 AM, Sam Protsenko >> > >> > wrote: >> >> >> >> On Thu, Apr 7, 2016 at 10:36 AM

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Steve Rae
On Thu, Apr 7, 2016 at 2:16 PM, Sam Protsenko wrote: > On Thu, Apr 7, 2016 at 8:07 PM, Steve Rae wrote: > > Hi Sam, > > > > On Thu, Apr 7, 2016 at 9:46 AM, Sam Protsenko < > semen.protse...@linaro.org> > > wrote: > >> > >> On Thu, Apr 7, 2016 at 10:36 AM, Lukasz Majewski < > l.majew...@samsung.c

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Sam Protsenko
On Thu, Apr 7, 2016 at 8:07 PM, Steve Rae wrote: > Hi Sam, > > On Thu, Apr 7, 2016 at 9:46 AM, Sam Protsenko > wrote: >> >> On Thu, Apr 7, 2016 at 10:36 AM, Lukasz Majewski >> wrote: >> > Hi Steve, >> > >> >> No -- I do not believe that this issue is caused by different fastboot >> >> (client) v

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-07 Thread Marek Vasut
On 04/07/2016 03:14 PM, George Broz wrote: > On 6 April 2016 at 19:05, Marek Vasut wrote: >> On 04/07/2016 03:42 AM, George Broz wrote: >> >> Hi, >> > U-Boot SPL 2016.03 (Apr 05 2016 - 17:57:23) > drivers/ddr/altera/sequencer.c: Preparing to start memory calibration > drivers/ddr/alter

[U-Boot] Potential memory corruption in drivers/net/sh_eth.c ?

2016-04-07 Thread Wolfgang Denk
Dear Nobuhiro, while tracking down a memory corruption bug in other code, I ran over these lines in drivers/net/sh_eth.c : ... 194 /* 195 * Allocate rx descriptors. They must be aligned to size of struct 196 * tx_desc_s. 197 */ 198 port_info->tx_desc_al

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Marek Vasut
On 04/07/2016 06:46 PM, Sam Protsenko wrote: > On Thu, Apr 7, 2016 at 10:36 AM, Lukasz Majewski > wrote: >> Hi Steve, >> >>> No -- I do not believe that this issue is caused by different fastboot >>> (client) versions (the executable that runs on the host computer - >>> Linux, Windows, Mac, etc.)

Re: [U-Boot] [PATCH] debug_uart: output CR along with LF

2016-04-07 Thread Tim Chick
Sorry for top posting. Not in the office at the moment. Yes, I call debug_uart_init() before I have SDRAM, in lowlevel_init(). I need the debug uart to help me debug lowlevel_init! Thanks, Tim -Original Message- From: Daniel Schwierzeck [mailto:daniel.schwierz...@gmail.com] Sent: 07 A

Re: [U-Boot] [PATCH] debug_uart: output CR along with LF

2016-04-07 Thread Tim Chick
Please see below: > > > Hi Tim, > > 2016-04-05 0:16 GMT+09:00 Tim Chick : >> Hi Masahiro, >> >> This patch breaks the debug_uart on my MIPS board. It means printascii now >> uses the stack, and my board does not have a stack when debug_uart_init is >> called. debug_uart_init calls printascii

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Steve Rae
Hi Sam, On Thu, Apr 7, 2016 at 9:46 AM, Sam Protsenko wrote: > On Thu, Apr 7, 2016 at 10:36 AM, Lukasz Majewski > wrote: > > Hi Steve, > > > >> No -- I do not believe that this issue is caused by different fastboot > >> (client) versions (the executable that runs on the host computer - > >> Lin

[U-Boot] [RFC PATCH] powerpc: Disable flush or invalidate dcache by range for some SoCs

2016-04-07 Thread York Sun
Commit ac337168a unified functions to flush and invalidate dcache by range. These two functions were no-op for SoCs other than 4xx and MPC86xx. Adding these functions seemed to be correct but introduced issues when the dcache is flushed. While the root cause is under investigation, disable these fu

[U-Boot] [PATCH 33/33] ARM64: zynqmp: Clean header after moving stuff to Kconfig

2016-04-07 Thread Michal Simek
Moving stuff to Kconfig by script is keep some empty lines or comment in the file. Remove them. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index a60325517

[U-Boot] [PATCH 31/33] ARM64: zynqmp: Add support for ZCU102 platform

2016-04-07 Thread Michal Simek
Add new board support. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 4 +- arch/arm/dts/zynqmp-clk.dtsi | 202 +++ arch/arm/dts/zynqmp-zcu102-revB.dts| 42 +++ arch/arm/dts/zynqmp-zcu102.dts | 630 + con

[U-Boot] [PATCH 32/33] ARM64: zynqmp: Add support for zc1751 with DC cards

2016-04-07 Thread Michal Simek
Support ZynqMP zc1751 with DC cards. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile| 5 +- arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 211 arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 236 +++ arch/arm/d

[U-Boot] [PATCH 30/33] ARM64: zynqmp: Make DDR detection code work on 32bit system

2016-04-07 Thread Michal Simek
Define u64 types to be usable on 32bit system because of 64bit address and size cells and 32bit shifts in the code. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/

[U-Boot] [PATCH 26/33] ARM64: zynqmp: Added OOB timing settings in zynqmp-ep108.dts

2016-04-07 Thread Michal Simek
From: Anurag Kumar Vulisha This patch adds the sata port phy OOB timing values in the sata device-tree node. Signed-off-by: Anurag Kumar Vulisha Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/zynqmp-ep10

[U-Boot] [PATCH 29/33] ARM64: zynqmp: Extend early malloc space to be able to run DM drivers

2016-04-07 Thread Michal Simek
DM drivers need more malloc space for early DM models allocation. Use 4k instead of 1k. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_ep_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_zynqmp_ep_defconfig b/configs/xilinx_zynqmp_ep_defconfig index c6e75d444

[U-Boot] [PATCH 28/33] ARM64: zynqmp: Do not setup DM_ETH/GPIO/MMC by default for all boards

2016-04-07 Thread Michal Simek
There are mini configurations which need to be fit to OCM that's why these options shouldn't be enabled by default. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 2 -- configs/xilinx_zynqmp_ep_defconfig | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 24/33] ARM64: zynqmp: Fix DWC3 binding with the kernel

2016-04-07 Thread Michal Simek
Use the same binding as is used in mainline Linux kernel. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 10 ++ arch/arm/dts/zynqmp.dtsi | 42 -- 2 files changed, 42 insertions(+), 10 deletions(-) diff --git a/arch/arm/dts/z

[U-Boot] [PATCH 27/33] ARM64: zynqmp: Add missing nand node for ep108

2016-04-07 Thread Michal Simek
From: Punnaiah Choudary Kalluri Add missing nand node for ep108. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108-clk.dtsi | 4 arch/arm/dts/zynqmp-ep108.dts | 31 +++ 2 files changed, 35 insertions(+)

[U-Boot] [PATCH 23/33] ARM64: zynqmp: Add serdes address space dp driver

2016-04-07 Thread Michal Simek
For run time serdes adjustment. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index e2f7b53858a3..324d71b98902 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/ar

[U-Boot] [PATCH 22/33] ARM64: zynqmp: Align register description

2016-04-07 Thread Michal Simek
Separate register space and put it on more lines. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index a1804b8da31d..e2f7b53858a3 100644 --- a/arch/arm/dts/zy

[U-Boot] [PATCH 25/33] ARM64: zynqmp: Use 64bit size cell format for memory node

2016-04-07 Thread Michal Simek
Enable option to support more then 4GB memories in single size block. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 2 +- arch/arm/dts/zynqmp.dtsi | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp-ep108.dts b/arch/arm/dts/zynqm

[U-Boot] [PATCH 21/33] ARM64: zynqmp: dp: Add default properties to zynqmp.dtsi

2016-04-07 Thread Michal Simek
From: Hyun Kwon Add some default properties to zynqmp.dtsi. Signed-off-by: Hyun Kwon Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 5001ccc8d8f0..a1804b8da31d 100644 ---

[U-Boot] [PATCH 20/33] ARM64: zynqmp: Use correct addresses in node names

2016-04-07 Thread Michal Simek
From: Hyun Kwon Reflect actual silicon addresses in DT node names. Signed-off-by: Hyun Kwon Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 2690aa2afa26.

[U-Boot] [PATCH 19/33] ARM64: zynqmp: Align node address with parent node for dpdma

2016-04-07 Thread Michal Simek
Use right addresses for channel names Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index f9249aa7b076..2690aa2afa26 100644 --- a/arch/arm/dts/zynqmp.d

[U-Boot] [PATCH 17/33] ARM64: zynqmp: Fix coding style for pcie

2016-04-07 Thread Michal Simek
Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index ec6fc6a66841..98c07dcc8d6e 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts/zynqmp.dtsi @@ -619,1

[U-Boot] [PATCH 16/33] ARM64: zynqmp: Extend pcie node to support legacy interrupts

2016-04-07 Thread Michal Simek
From: Bharat Kumar Gogada Modifying device tree node to support legacy interrupts. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Ravi Kiran Gummaluri Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/zyn

[U-Boot] [PATCH 18/33] ARM64: zynqmp: Add backward compatible string for uart

2016-04-07 Thread Michal Simek
Mainline kernel has no r1p12 compatible string that's why console stops to work with the latest DTS files. Append generic compatible string. Keep in your mind that using this generic compatible string not all uart features will be available. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.d

[U-Boot] [PATCH 02/16] ARM: dts: zynq: Add devicetree entry for Xilinx Zynq reset controller.

2016-04-07 Thread Michal Simek
From: Moritz Fischer Signed-off-by: Moritz Fischer Signed-off-by: Olof Johansson Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi index a352bc87114e..55eae614630a 1

[U-Boot] [PATCH 15/33] ARM64: zynqmp: Add interrupt-controller property to gpio nodes

2016-04-07 Thread Michal Simek
GPIO driver supports an input interrupt that's why gpio node itself can be labeled as interrupt controller. Reported-by: John Linn Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi

[U-Boot] [PATCH 12/33] ARM64: zynqmp: Add CCI-400 node

2016-04-07 Thread Michal Simek
Add CCI-400 node to DTSI. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index a09bbbfa4373..48505fa6daff 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/d

[U-Boot] [PATCH 11/33] ARM64: zynqmp: Add missing interrupt-parent to PMU node

2016-04-07 Thread Michal Simek
ZynqMP is not using global interrupt-parent setting that's why it has to be listed in every node separately. PMU node missed it and this patch is adding it. Reported-by: John Linn Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/

[U-Boot] [PATCH 14/33] ARM64: zynqmp: Add ddrc node in dts

2016-04-07 Thread Michal Simek
From: Naga Sureshkumar Relli This patch adds ddrc memory controller node in dts. size mentioned in dts is 0x3, because we need to access DDR_QOS INTR registers located at fd090208 from this driver. Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.

[U-Boot] [PATCH 10/33] ARM64: zynqmp: DT: Add power domains

2016-04-07 Thread Michal Simek
From: Soren Brinkmann Add power-domains to the DT and attach devices to them. The power-domains are all logical domains as understood by firmware. Each PD is identified by a unique identifier that the platform firmware understands. Signed-off-by: Soren Brinkmann Signed-off-by: Michal Simek ---

[U-Boot] [PATCH 06/33] ARM64: zynqmp: Correct IRQ nr for the SMMU

2016-04-07 Thread Michal Simek
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 8733604a5738..4cfecec85a75 100644 --- a/

[U-Boot] [PATCH 13/33] ARM64: zynqmp: Added clocks to DT

2016-04-07 Thread Michal Simek
From: VNSL Durga ZynqMP DMA's main clock and apb clock are added in zynqmp DT. Signed-off-by: VNSL Durga Signed-off-by: Michal Simek Acked-by: Punnaiah Choudary Kalluri --- arch/arm/dts/zynqmp.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/a

[U-Boot] [PATCH 07/33] ARM64: zynqmp: Hook up the GEMs to the SMMU

2016-04-07 Thread Michal Simek
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 4cfecec85a75..66abe6fe0bcf 100644 --- a/arch/arm/dts/zynqmp

[U-Boot] [PATCH 09/33] ARM64: zynqmp: Added broken-tuning property to SD, eMMC nodes

2016-04-07 Thread Michal Simek
From: P L Sai Krishna This patch adds broken-tuning property to SD and eMMC nodes. Signed-off-by: P L Sai Krishna Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 7ac21f2f8

[U-Boot] [PATCH 05/33] ARM64: zynqmp: Add 8-bit bus width property.

2016-04-07 Thread Michal Simek
From: P L Sai Krishna This patch add 8-bit bus width property to eMMC node. Signed-off-by: P L Sai Krishna Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynqmp-ep108.dts b/arch/arm/dts/zynqmp-ep108.dts index b6d

[U-Boot] [PATCH 08/33] ARM64: zynqmp: Sync GEM nodes with Linux

2016-04-07 Thread Michal Simek
Remove jumbo properties which are handled in the driver directly and use mainline compatible string which is already handled by the driver. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/arch/arm/dts

[U-Boot] [PATCH 02/33] ARM64: zynqmp: Use C pre-processor for includes in dts

2016-04-07 Thread Michal Simek
From: Alistair Francis Change the dtsi include code to use the C pre-processor #include instead of the device tree /include/. This brings all ZynqMP device trees inline with each other. Signed-off-by: Alistair Francis Reviewed-by: Sören Brinkmann Signed-off-by: Michal Simek --- arch/arm/dts

[U-Boot] [PATCH 04/33] ARM64: zynqmp: dt: Change qspi node compatible string

2016-04-07 Thread Michal Simek
From: Ranjit Waghmode This patch makes compatible string as "m25p80" for qspi node in ep108 device tree file Signed-off-by: Ranjit Waghmode Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-ep

[U-Boot] [PATCH 01/33] ARM64: zynqmp: Move kernel and fdt offsets and sizes to board config file

2016-04-07 Thread Michal Simek
From: Siva Durga Prasad Paladugu Move kernel and fdt offsets and sizes to board config file as the flash size varies across boards Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h| 3 +-- include/configs/xilinx_zynqmp_ep.h | 7

[U-Boot] [PATCH 03/33] ARM64: zynqmp: Add missing mmc aliases

2016-04-07 Thread Michal Simek
Add missing mmc aliases. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/zynqmp-ep108.dts b/arch/arm/dts/zynqmp-ep108.dts index d952de189f3a..f34555a0a44a 100644 --- a/arch/arm/dts/zynqmp-ep108.dts +++ b/arch/arm/d

[U-Boot] [PATCH 15/16] ARM: zynq: Support systems with more memory banks

2016-04-07 Thread Michal Simek
This is example how to change u-boot to support more memory banks read from DT. Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c | 132 ++ include/configs/zynq-common.h | 4 +- 2 files changed, 123 insertions(+), 13 deletions(-) diff --git

[U-Boot] [PATCH 14/16] ARM: zynq: Use memory initialization based on DTS file

2016-04-07 Thread Michal Simek
Remove hardcoded memory sizes. Use information from DT memory node. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index d8e3fa4e5a44..aac1

[U-Boot] [PATCH 16/16] ARM: zynq: Do not perform reset at the end of thor

2016-04-07 Thread Michal Simek
Setup reset off for lthor. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 2d941a7192c5..c96b9c52500f 100644 --- a/include/configs/zynq-common.h +++ b/include/co

[U-Boot] [PATCH 13/16] ARM: zynq: Fix usb phy node for Zybo

2016-04-07 Thread Michal Simek
Compatible property should be the first. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zybo.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynq-zybo.dts b/arch/arm/dts/zynq-zybo.dts index f32923f5d25d..f8dcf1d6995c 100644 --- a/arch/arm/dts/zynq-zybo.dt

[U-Boot] [PATCH 12/16] ARM: zynq: Extend microzed board support

2016-04-07 Thread Michal Simek
Add missing DT nodes and enable USB. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-microzed.dts | 38 +- configs/zynq_microzed_defconfig | 4 include/configs/zynq_microzed.h | 2 ++ 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/ar

[U-Boot] [PATCH 11/16] ARM: zynq: Add missing qspi for xm013

2016-04-07 Thread Michal Simek
Add missing qspi node and make qspi as spi0. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc770-xm013.dts | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/zynq-zc770-xm013.dts b/arch/arm/dts/zynq-zc770-xm013.dts index 40a3601d22c4..d5bb4efcc58a 100644

[U-Boot] [PATCH 09/16] ARM: zynq: Align spi and qspi node locations

2016-04-07 Thread Michal Simek
Keep nodes alphabelitally sorted. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 10 +- arch/arm/dts/zynq-zc706.dts | 10 +- arch/arm/dts/zynq-zc770-xm010.dts | 42 +++ arch/arm/dts/zynq-zed.dts | 6 +++---

[U-Boot] [PATCH 08/16] ARM: zynq: zc706: Add adv7511 on i2c bus

2016-04-07 Thread Michal Simek
From: Christian Kohn Add missing adv7511 and configure to match Base TRD. Signed-off-by: Christian Kohn Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc706.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/zynq-zc706.dts b/arch/arm/dts/zynq-zc706.dts i

[U-Boot] [PATCH 10/16] ARM: zynq: Create empty line below headers

2016-04-07 Thread Michal Simek
Sync with others zynq DTS files. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc770-xm011.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynq-zc770-xm011.dts b/arch/arm/dts/zynq-zc770-xm011.dts index 858d0e2bc25e..463b14b5ea15 100644 --- a/arch/arm/dts/zynq-zc770-xm0

[U-Boot] [PATCH 05/16] ARM: zynq: Fix bootargs in board dtsi

2016-04-07 Thread Michal Simek
- Sync with Linux kernel - Remove rootfs - Remove earlyprintk Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 2 +- arch/arm/dts/zynq-zc706.dts | 2 +- arch/arm/dts/zynq-zc770-xm010.dts | 2 +- arch/arm/dts/zynq-zc770-xm011.dts | 2 +- arch/arm/dts/zynq-zc770-xm012.dts

[U-Boot] [PATCH 07/16] ARM: zynq: zc702: Add adv7511 on i2c bus

2016-04-07 Thread Michal Simek
From: Christian Kohn Add bindings for adv7511. Signed-off-by: Christian Kohn Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts index ee050aa12faf..8ad1db28

[U-Boot] [PATCH 06/16] ARM: zynq: DT: Add ethernet phy reset information

2016-04-07 Thread Michal Simek
From: Punnaiah Choudary Kalluri Added phy reset gpio information for gem0. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts inde

[U-Boot] [PATCH 04/16] ARM: zynq: Align devcfg node

2016-04-07 Thread Michal Simek
- Have compatible string as the first property - Sync with Linux kernel dtsi - Add missing interrupt properties Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi index aff

[U-Boot] [PATCH 03/16] ARM: dts: Updated devicetree bindings for Zynq 7000 platform

2016-04-07 Thread Michal Simek
From: Moritz Fischer Added addtional bindings required for FPGA Manager operation of the Xilinx Zynq Devc configuration interface. Signed-off-by: Moritz Fischer Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynq-7

[U-Boot] [PATCH 01/16] ARM: zynq: Add interrupt-controller property to gpio nodes

2016-04-07 Thread Michal Simek
GPIO driver supports an input interrupt that's why gpio node itself can be labeled as interrupt controller. Reported-by: John Linn Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7

[U-Boot] [PATCH 1/2] powerpc/t208xqds: Update MAINTAINERS file

2016-04-07 Thread York Sun
Signed-off-by: York Sun CC: Shengzhou Liu --- board/freescale/t208xqds/MAINTAINERS |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/t208xqds/MAINTAINERS b/board/freescale/t208xqds/MAINTAINERS index deda092..d747de3 100644 --- a/board/freescale/t208xqds/MA

[U-Boot] [PATCH 2/2] powerpc/t208xrdb: Update MAINTAINERS file

2016-04-07 Thread York Sun
Signed-off-by: York Sun CC: Shengzhou Liu --- board/freescale/t208xrdb/MAINTAINERS |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/t208xrdb/MAINTAINERS b/board/freescale/t208xrdb/MAINTAINERS index 1642879..ccbfbab 100644 --- a/board/freescale/t208xrdb/MA

[U-Boot] [PATCH] powerpc/t2080qds: Enable qixis commands to reboot from NAND and SD

2016-04-07 Thread York Sun
Signed-off-by: York Sun CC: Shengzhou Liu --- include/configs/T208xQDS.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h index 5957fa8..ec53ff0 100644 --- a/include/configs/T208xQDS.h +++ b/include/configs/T208xQDS.h @@ -291,6

Re: [U-Boot] [PATCH] debug_uart: output CR along with LF

2016-04-07 Thread Daniel Schwierzeck
Hi Tim, 2016-04-04 17:16 GMT+02:00 Tim Chick : > Hi Masahiro, > > This patch breaks the debug_uart on my MIPS board. It means printascii now > uses the stack, and my board does not have a stack when debug_uart_init is > called. debug_uart_init calls printascii if DEBUG_UART_ANNOUNCE is defined.

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Sam Protsenko
On Thu, Apr 7, 2016 at 10:36 AM, Lukasz Majewski wrote: > Hi Steve, > >> No -- I do not believe that this issue is caused by different fastboot >> (client) versions (the executable that runs on the host computer - >> Linux, Windows, Mac, etc.) >> I have personally attempted three (3) different ver

Re: [U-Boot] [uboot][PATCH v3 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-07 Thread Dan Murphy
Mugunthan On 04/06/2016 11:45 PM, Mugunthan V N wrote: > On Wednesday 06 April 2016 05:07 PM, Dan Murphy wrote: >> Add the device tree bindings and the accompanying documentation >> for the TI DP83867 Giga bit ethernet phy driver. >> >> The original document was from: >> [commit 2a10154abcb75a

Re: [U-Boot] [PATCH] debug_uart: output CR along with LF

2016-04-07 Thread Masahiro Yamada
Hi Tim, 2016-04-05 0:16 GMT+09:00 Tim Chick : > Hi Masahiro, > > This patch breaks the debug_uart on my MIPS board. It means printascii now > uses the stack, and my board does not have a stack when debug_uart_init is > called. debug_uart_init calls printascii if DEBUG_UART_ANNOUNCE is defined. >

[U-Boot] [PATCH] dm: spi: Read default speed, mode values from DT

2016-04-07 Thread Vignesh R
In case of DT boot, don't read default speed and mode for SPI from CONFIG_*, instead read from DT node. This will make sure that boards with multiple SPI/QSPI controllers can be probed at different bus frequencies and modes. Signed-off-by: Vignesh R --- cmd/sf.c | 2 ++ drivers/s

[U-Boot] [PATCH 1/8 v2] usb: gadget: Move CONFIG_USB_GADGET_VBUS_DRAW to Kconfig

2016-04-07 Thread Semen Protsenko
From: Sam Protsenko The description was borrowed from kernel. Definitions were added to defconfig files in a way that "make savedefconfig" generates exactly the same file as used defconfig. Boards using 0 mA as CONFIG_USB_GADGET_VBUS_DRAW value were moved to use 2 mA (as minimal allowed by Kconf

Re: [U-Boot] [PATCH 1/8] usb: gadget: Move CONFIG_USB_GADGET_VBUS_DRAW to Kconfig

2016-04-07 Thread Sam Protsenko
On Tue, Apr 5, 2016 at 8:35 PM, Stephen Warren wrote: > On 04/05/2016 10:36 AM, Semen Protsenko wrote: >> >> From: Sam Protsenko >> >> The description was borrowed from kernel, but allowed range was changed >> from 2..500 to 0..500, because some boards require this option to be 0. > > > Do they /

Re: [U-Boot] [PATCH 0/8] usb: Move DWC3 and some gadget options to Kconfig

2016-04-07 Thread Sam Protsenko
On Tue, Apr 5, 2016 at 10:44 PM, Marek Vasut wrote: > On 04/05/2016 06:36 PM, Semen Protsenko wrote: >> Hi All, > > Hi! > >> This patch series move next options to Kconfigs/defconfigs: >> - CONFIG_USB_DWC3* >> - CONFIG_USB_GADGET_VBUS_DRAW >> - CONFIG_USB_GADGET_DUALSPEED (partially, only for D

[U-Boot] [PATCH 07/11] arm: dts: am4372: add syscon node to cpsw to read mac address

2016-04-07 Thread Mugunthan V N
Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by: Mugunthan V N --- arch/arm/dts/am4372.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/am4372.dtsi b/arch/arm/dts/am4372.dtsi index c95d1d3..3ffa8e0 100644 --- a/arch/arm/dts/am4372.dtsi +++ b

[U-Boot] [PATCH 11/11] defconfig: dra74_evm: enable eth driver model

2016-04-07 Thread Mugunthan V N
Enable eth driver model for dra74_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N --- configs/dra74_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dra74_evm_defconfig b/configs/dra74_evm_defconfig index 5f50004..682c126 100644 --- a/configs/dra74_evm_de

[U-Boot] [PATCH 09/11] defconfig: am437x_gp_evm: enable eth driver model

2016-04-07 Thread Mugunthan V N
Enable eth driver model for am437x_gp_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N --- configs/am437x_gp_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am437x_gp_evm_defconfig b/configs/am437x_gp_evm_defconfig index 356f6fd..760e1f3 100644 --- a/conf

[U-Boot] [PATCH 10/11] defconfig: am437x_sk_evm: enable eth driver model

2016-04-07 Thread Mugunthan V N
Enable eth driver model for am437x_sk_evm as cpsw supports driver model. Signed-off-by: Mugunthan V N --- configs/am437x_sk_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am437x_sk_evm_defconfig b/configs/am437x_sk_evm_defconfig index 2e2827f..324e8ed 100644 --- a/conf

[U-Boot] [PATCH 06/11] drivers: net: cpsw: add support for reading mac address from efuse

2016-04-07 Thread Mugunthan V N
Different TI platforms has to read with different combination to get the mac address from efuse. So add support to read mac address based on machine/device compatibles. The code is taken from Linux drivers/net/ethernet/ti/cpsw-common.c done by Tony Lindgren. Signed-off-by: Mugunthan V N --- dri

[U-Boot] [PATCH 08/11] arm: dts: dra7: add syscon node to cpsw to read mac address

2016-04-07 Thread Mugunthan V N
Add syscon node to cpsw device node to read mac address from efuse. Signed-off-by: Mugunthan V N --- arch/arm/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/dra7.dtsi b/arch/arm/dts/dra7.dtsi index e7fecf7..3059273 100644 --- a/arch/arm/dts/dra7.dtsi +++ b/arch/ar

[U-Boot] [PATCH 04/11] drivers: net: cpsw: fix cpsw dp parse when num slaves as 1

2016-04-07 Thread Mugunthan V N
On some boards number of slaves can be 1 when only one port ethernet is pinned out. So do not break when slave_index and num slaves check fails, instead continue to parse the next child. Signed-off-by: Mugunthan V N --- drivers/net/cpsw.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(

  1   2   >