[U-Boot] [PATCH v4 2/2] usb: eth: add Realtek RTL8152B/RTL8153 DRIVER

2016-01-14 Thread Ted Chen
This patch adds driver support for the Realtek RTL8152B/RTL8153 USB network adapters. Signed-off-by: Ted Chen [swarren, fixed a few compiler warnings] [swarren, with permission, converted license header to SPDX] [swarren, removed printf() spew during probe()] Signed-off-by: Stephen Warren --- d

Re: [U-Boot] [PATCH 7/8] serial: lpuart: Add driver model serial support

2016-01-14 Thread Bhuvanchandra DV
On 01/14/2016 07:54 AM, Bin Meng wrote: Hi Stefan, On Thu, Jan 14, 2016 at 3:20 AM, Stefan Agner wrote: On 2016-01-13 00:19, Bin Meng wrote: +Simon Hi Bhuvan, On Wed, Jan 13, 2016 at 4:07 PM, Bhuvanchandra DV wrote: Hi Bin, On 01/13/2016 11:43 AM, Bin Meng wrote: Hi Bhuvan, On Wed, Ja

Re: [U-Boot] [PATCH v2 7/9] serial: lpuart: Add driver model serial support

2016-01-14 Thread Bhuvanchandra DV
On 01/14/2016 09:09 AM, Bin Meng wrote: This adds driver model support to lpuart serial driver. Tested on Toradex Colibri VF50/VF61 h/w with legacy and DT, works fine as expected. Signed-off-by: Bin Meng Acked-by: Bhuvanchandra DV also Tested-by: Bhuvanchandra DV --- Changes in v2

Re: [U-Boot] [PATCH v3 11/14] board: add SDHCI support for PIC32MZDASK board.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:26 PM, Tom Rini wrote: > On Tue, Jan 12, 2016 at 03:48:26PM +0530, Purna Chandra Mandal wrote: > >> Enable MMC, SDHCI, FAT FS, EXT4 FS support for PIC32MZ[DA] StarterKit. >> Also add custom scripts, rules to boot Linux from microSD card. >> >> Signed-off-by: Purna Chandra Mandal >

Re: [U-Boot] [PATCH v3 09/14] board: Add Microchip PIC32MZ[DA]-Starter-Kit board.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:33 PM, Daniel Schwierzeck wrote: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: >> This adds support for Microchip PIC32MZ[DA] StarterKit board >> based on a PIC32MZ[DA] family of microcontroller. >> >> Signed-off-by: Purna Chandra Mandal >> >> >> --- >>

[U-Boot] [GIT PULL] Microblaze changes

2016-01-14 Thread Michal Simek
Hi Tom, here are microblaze patches for moving stuff to DM. This is the patch series which we postpone to next release. Buildman doesn't show any problems for mb, zynq_zc702 and zynqmp. Thanks, Michal The following changes since commit d29892ba854f40980b84f86566cd0c2308c66afe: part_dos.c: Don

Re: [U-Boot] [PATCH v3 10/14] drivers: mmc: add driver for Microchip PIC32 SDHCI controller.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:45 PM, Daniel Schwierzeck wrote: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: >> From: Andrei Pistirica >> >> This driver implements platform specific glue and fixups for >> PIC32 internal SDHCI controller. >> >> Signed-off-by: Andrei Pistirica >> Sign

Re: [U-Boot] [PATCH v3 13/14] drivers: net: Add ethernet driver for Microchip PIC32.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 09:07 PM, Daniel Schwierzeck wrote: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: >> This driver implements MAC and MII layer of the ethernet controller. >> Network data transfer is handled by controller internal DMA engine. >> Ethernet controller is config

Re: [U-Boot] [PATCH 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-14 Thread Masahiro Yamada
Hi Simon, > @@ -12,6 +12,8 @@ > #include > #include > > +DECLARE_GLOBAL_DATA_PTR; > + > ulong clk_get_rate(struct udevice *dev) > { > struct clk_ops *ops = clk_get_ops(dev); > @@ -62,6 +64,32 @@ int clk_get_id(struct udevice *dev, int args_count, > uint32_t *args) > return

Re: [U-Boot] [PATCH v3 05/14] drivers: gpio: add driver for Microchip PIC32 GPIO controller.

2016-01-14 Thread Purna Chandra Mandal
On 01/14/2016 01:40 AM, Simon Glass wrote: > Hi Puma, > > On 12 January 2016 at 03:18, Purna Chandra Mandal > wrote: >> In PIC32 GPIO controller is part of PIC32 pin controller. >> PIC32 has ten independently programmable ports and each with multiple pins. >> Each of these pins can be configured

Re: [U-Boot] [PATCH v3 13/14] drivers: net: Add ethernet driver for Microchip PIC32.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:26 PM, Tom Rini wrote: > On Tue, Jan 12, 2016 at 03:48:28PM +0530, Purna Chandra Mandal wrote: > >> This driver implements MAC and MII layer of the ethernet controller. >> Network data transfer is handled by controller internal DMA engine. >> Ethernet controller is configurable th

Re: [U-Boot] [PATCH v3 03/14] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 11:34:27AM +0530, Purna Chandra Mandal wrote: > On 01/13/2016 08:25 PM, Tom Rini wrote: > > > On Tue, Jan 12, 2016 at 03:48:18PM +0530, Purna Chandra Mandal wrote: > > > >> PIC32 clock module consists of multiple oscillators, PLLs, mutiplexers > >> and dividers capable of s

[U-Boot] [PATCH] powerpc/83xx: fix build failure

2016-01-14 Thread Shengzhou Liu
Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, which has been defined in fsl_ddr_sdram.h Signed-off-by: Shengzhou Liu --- include/mpc83xx.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/mpc83xx.h b/include/mpc83xx.h index a6d721a..b5a0bbf 100644 --- a/include/mpc83xx.h +++

Re: [U-Boot] [PATCH] MAINTAINERS: Update Marvell custodianship

2016-01-14 Thread Prafulla Wadaskar
Acked-by: Prafulla Wadaskar Original Message- From: Luka Perkov [mailto:luka.per...@sartura.hr] Sent: Thursday, January 14, 2016 3:55 PM To: Stefan Roese Cc: u-boot@lists.denx.de; Prafulla Wadaskar; Tom Rini Subject: Re: [PATCH] MAINTAINERS: Update Marvell custodianship On Thu, Jan 14,

Re: [U-Boot] [PATCH] MAINTAINERS: Update Marvell custodianship

2016-01-14 Thread Luka Perkov
On Thu, Jan 14, 2016 at 05:05:11AM +0100, Stefan Roese wrote: > Add myself as custodian for the Marvell git repository. Additionally, > add the mach-mvebu directory to the list of files / directories. And > add Armada XP & Armada 38x to the title (not only kirkwood). Acked-by: Luka Perkov Welcom

Re: [U-Boot] [PATCH 2/2] clk: change the type of return value to long

2016-01-14 Thread Masahiro Yamada
2016-01-14 5:10 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 12 January 2016 at 00:40, Masahiro Yamada > wrote: >> The comments in include/clk.h state "or -ve error code" for these >> functions, and actually the functions return negative error code >> here and there. Returning unsigned value is

[U-Boot] [PATCH 2/2] sunxi: Add support for the I2C controller which is part of the PRCM

2016-01-14 Thread Hans de Goede
From: Jelle van der Waa Signed-off-by: Jelle van der Waa [hdego...@redhat.com: Minor cleanups] Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/clock_sun6i.c | 10 ++ arch/arm/cpu/armv7/sunxi/prcm.c | 12 arch/arm/include/asm/arch-sunxi/cpu_sun4i.

[U-Boot] [PATCH 1/2] i2c: mvtwsi: Fix mvtwsi not working on sun6i and newer sunxi SoCs

2016-01-14 Thread Hans de Goede
On sun6i and newer IFLG is a write-clear bit which is cleared by writing 1, rather then a normal r/w bit which is cleared by writing 0. Signed-off-by: Hans de Goede --- drivers/i2c/mvtwsi.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/mvtws

Re: [U-Boot] [PATCH] MAINTAINERS: Update Marvell custodianship

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 05:05:11AM +0100, Stefan Roese wrote: > Add myself as custodian for the Marvell git repository. Additionally, > add the mach-mvebu directory to the list of files / directories. And > add Armada XP & Armada 38x to the title (not only kirkwood). > > Signed-off-by: Stefan Roe

Re: [U-Boot] [GIT PULL] Microblaze changes

2016-01-14 Thread Tom Rini
On Thu, Jan 14, 2016 at 09:51:32AM +0100, Michal Simek wrote: > Hi Tom, > > here are microblaze patches for moving stuff to DM. This is the patch > series which we postpone to next release. Buildman doesn't show any > problems for mb, zynq_zc702 and zynqmp. It breaks xilinx-ppc440-generic at lea

Re: [U-Boot] Pull request: u-boot-net

2016-01-14 Thread Tom Rini
On Wed, Jan 13, 2016 at 02:58:41PM -0600, Joe Hershberger wrote: > Hi Tom, > > On Thu, Jan 7, 2016 at 10:29 AM, Tom Rini wrote: > > On Thu, Jan 07, 2016 at 10:49:51AM +0800, Bin Meng wrote: > >> On Tue, Jan 5, 2016 at 9:18 PM, Tom Rini wrote: > >> > On Tue, Jan 05, 2016 at 12:18:35PM +0800, Bin

Re: [U-Boot] [PATCH] MAINTAINERS: Update Marvell custodianship

2016-01-14 Thread Stefan Roese
On 14.01.2016 14:14, Tom Rini wrote: On Thu, Jan 14, 2016 at 05:05:11AM +0100, Stefan Roese wrote: Add myself as custodian for the Marvell git repository. Additionally, add the mach-mvebu directory to the list of files / directories. And add Armada XP & Armada 38x to the title (not only kirkwoo

Re: [U-Boot] [GIT PULL] SPL_DM_SEQ_ALIAS changes

2016-01-14 Thread Tom Rini
On Wed, Jan 13, 2016 at 07:47:11PM +0100, Michal Simek wrote: > Hi Tom, > > please pull these 4 patches to your tree. Socfpga changes were Acked-by > Marek and mvebu by Stefan. > > Thanks, > Michal > > The following changes since commit fa85e826c16b9ce1ad302a57e9c4b24db0d8b930: > > Prepare v

Re: [U-Boot] [U-Boot, v7, 1/2] Fix board init code to respect the C runtime environment

2016-01-14 Thread Tom Rini
On Wed, Nov 25, 2015 at 05:56:32PM +0100, Albert ARIBAUD wrote: > board_init_f_mem() alters the C runtime environment's > stack it is actually already using. This is not a valid > behaviour within a C runtime environment. > > Split board_init_f_mem into C functions which do not alter > their own

Re: [U-Boot] hash.c: Conditionally compile hash_command, static hash_show

2016-01-14 Thread Tom Rini
On Tue, Jan 05, 2016 at 08:50:01AM -0500, Tom Rini wrote: > The function hash_show is now only called by hash_command, so mark it as > static (and drop from hash.h). We only call hash_command when any of > CONFIG_CMD_CRC32, CONFIG_CMD_SHA1SUM or CONFIG_CMD_HASH are set. Since > hash.c is linked

Re: [U-Boot] Re-enable setexpr on Raspberry Pi

2016-01-14 Thread Tom Rini
On Sun, Nov 29, 2015 at 07:30:42PM +0100, Marco Schuster wrote: > This patch re-enables the setexpr command, I don't really understand > why it got excluded in the first place. > > setexpr can be used e.g. to implement failed-boot-counters and > failovers to rescue firmware. > > > Signed-off-by

Re: [U-Boot] [U-Boot, v7, 2/2] arm: move gd handling outside of C code

2016-01-14 Thread Tom Rini
On Wed, Nov 25, 2015 at 05:56:33PM +0100, Albert ARIBAUD wrote: > As of gcc 5.2.1 for Thumb-1, it is not possible any > more to assign gd from C code, as gd is mapped to r9, > and r9 may now be saved in the prolog sequence, and > restored in the epilog sequence, of any C functions. > > Therefore

Re: [U-Boot] [U-Boot,2/3] mmc: store hwpart in the block device

2016-01-14 Thread Tom Rini
On Mon, Dec 07, 2015 at 11:38:49AM -0700, Stephen Warren wrote: > From: Stephen Warren > > This will allow us to have multiple block device structs each referring > to the same eMMC device, yet different HW partitions. > > For now, there is still a single block device per eMMC device. As before

Re: [U-Boot] [U-Boot, 1/3] block: pass block dev not num to read/write/erase()

2016-01-14 Thread Tom Rini
On Mon, Dec 07, 2015 at 11:38:48AM -0700, Stephen Warren wrote: > From: Stephen Warren > > This will allow the implementation to make use of data in the block_dev > structure beyond the base device number. This will be useful so that eMMC > block devices can encompass the HW partition ID rather

Re: [U-Boot] [U-Boot,3/3] ums: support multiple LUNs at once

2016-01-14 Thread Tom Rini
On Mon, Dec 07, 2015 at 11:38:50AM -0700, Stephen Warren wrote: > From: Stephen Warren > > Extend the ums command to accept a list of block devices. Each of these > will be exported as a separate LUN. An example use-case would be: > > ums 0 mmc 0,0.1,0.2 > > ... which would export LUNs for eMM

Re: [U-Boot] ext4_common.c: Clean up failure cases in alloc_triple_indirect_block

2016-01-14 Thread Tom Rini
On Thu, Dec 10, 2015 at 04:42:21PM -0500, Tom Rini wrote: > As noted by Coverity, when we have an error in > alloc_triple_indirect_block we will leak ti_pbuff_start_addr as it's not > being freed. Further inspection here shows that we could also leak > ti_cbuff_start_addr in one corner case so fr

Re: [U-Boot] [U-Boot,1/3] am335x_evm.h: unsed CONFIG_BOOTDELAY

2016-01-14 Thread Tom Rini
On Thu, Dec 10, 2015 at 04:46:01PM -0500, Tom Rini wrote: > Now that ti_armv7_common.h uses config_distro_defaults.h we don't need > to include it again and then undef CONFIG_BOOTDELAY > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital si

Re: [U-Boot] [U-Boot, 2/3] ti_armv7_common.h: Add CONFIG_CMD_EXT4_WRITE

2016-01-14 Thread Tom Rini
On Thu, Dec 10, 2015 at 04:46:02PM -0500, Tom Rini wrote: > Given that with config_distro_defaults.h we always have ext4 read > support, add in write support. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] test/fs: error case fixes/enhancements

2016-01-14 Thread Tom Rini
On Mon, Dec 14, 2015 at 03:01:15PM -0700, Stephen Warren wrote: > From: Stephen Warren > > - Use "mkdir -p" to avoid errors when intermediate directories are > missing. > - Fall back to "dd" when "fallocate" fails. For example, fallocate isn't > supported on ext4. > - Add error checking for

Re: [U-Boot] [U-Boot, 3/3] omap4_panda: Convert to config_distro_bootcmd.h

2016-01-14 Thread Tom Rini
On Thu, Dec 10, 2015 at 04:46:03PM -0500, Tom Rini wrote: > Based on the am335x_evm conversion, switch to config_distro_bootcmd for > mmc and pxe. Tested with Fedora 23. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v2, 2/3] arm: lpc32xx: switch serial console to driver model

2016-01-14 Thread Tom Rini
On Sat, Dec 19, 2015 at 11:29:25PM +0200, Vladimir Zapolskiy wrote: > On NXP LPC32xx platform for non-SPL builds the change adds > standard (NS16550) and high-speed UARTs to driver model. > Due to specific of DM NS16550 device description UART clock can not be > got in runtime and by default it is

Re: [U-Boot] [U-Boot, v2, 1/3] serial: lpc32xx hsuart: port driver to driver model

2016-01-14 Thread Tom Rini
On Sat, Dec 19, 2015 at 11:29:24PM +0200, Vladimir Zapolskiy wrote: > The change ports NXP LPC32xx 14-clock UART device driver to driver > model. > > Signed-off-by: Vladimir Zapolskiy > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital sig

Re: [U-Boot] [U-Boot, v2, 3/3] arm: lpc32xx: switch SPL builds to driver model

2016-01-14 Thread Tom Rini
On Sat, Dec 19, 2015 at 11:29:26PM +0200, Vladimir Zapolskiy wrote: > For NXP LPC32xx boards the change enables SPL_DM option, this allows > to use any driver model UART driver in SPL images, hence a restriction > on HSUART in SPL image is removed and well as definitions for non-DM > NS16550 drive

Re: [U-Boot] [U-Boot, 1/2] sniper: Various boot-related env settings, devicetree support

2016-01-14 Thread Tom Rini
On Wed, Dec 23, 2015 at 11:28:29AM +0100, Paul Kocialkowski wrote: > This adds various env settings for more flexible boot possibilities, including > devicetree support and distro defaults config. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thanks! -- Tom signature.asc De

Re: [U-Boot] net: lpc32xx: fix ignored MDIO busy wait status on read

2016-01-14 Thread Tom Rini
On Sun, Dec 27, 2015 at 05:12:24AM +0200, Vladimir Zapolskiy wrote: > The change fixes PHY write operation, which incorrectly waits for > released busy state before issuing a write operation, this breaks > sequential write/read operation logic, because read operation > starts immediately on reques

Re: [U-Boot] [U-Boot,2/2] sniper: Mux configuration cleanup

2016-01-14 Thread Tom Rini
On Wed, Dec 23, 2015 at 11:28:30AM +0100, Paul Kocialkowski wrote: > This cleans up the mux configuration a bit, setting mmc clock signals to input > enabled and specifying pull-down (0) when pull is not used. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thanks! -- Tom sig

Re: [U-Boot] lpc32xx: devkit3250: update board configuration file

2016-01-14 Thread Tom Rini
On Sat, Dec 19, 2015 at 11:41:23PM +0200, Vladimir Zapolskiy wrote: > The change updates DevKit3250 board powerd by NXP LPC3250 SoC: > * due to increased resulting U-boot image size give more space to > store loaded and relocated versions, > * add DMA support, which is used by NAND SLC driver, >

Re: [U-Boot] [U-Boot, V2] common: cli_simple: use strlcpy instead of strcpy

2016-01-14 Thread Tom Rini
On Sun, Jan 10, 2016 at 01:01:22PM +0800, Peng Fan wrote: > Report Coverity log: > Destination buffer too small (STRING_OVERFLOW) > string_overflow: You might overrun the 1024 byte destination string > lastcommand by writing 1025 bytes from console_buffer > > Signed-off-by: Peng Fan > Cc: Heiko

Re: [U-Boot] common: env_flags: fix loop condition when using env_flags_varaccess_mask

2016-01-14 Thread Tom Rini
On Tue, Jan 12, 2016 at 05:23:12PM +0800, Peng Fan wrote: > From: Peng Fan > > We should use ARRAY_SIZE, but not sizeof. The size of > env_flags_varaccess_mask is 16bytes, but we only need 4 loops. > If using 16 as the end condition, we may access memory that > not belong to array env_flags_vara

Re: [U-Boot] [U-Boot,v2,resend] cmd_boot: Add a poweroff command

2016-01-14 Thread Tom Rini
On Wed, Jan 13, 2016 at 07:31:17PM +0100, Hans de Goede wrote: > From: Michael van Slingerland > > Add a 'poweroff' command to boot commands, this only gets enabled if the > board Kconfig does a "select CMD_POWEROFF". > > Signed-off-by: Michael van Slingerland > [hdego...@redhat.com: Make the

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

2016-01-14 Thread Stefan Roese
Hi Tom, please pull all the pending Marvell patches, mostly Armada XP and 38x related. Thanks, Stefan The following changes since commit d29892ba854f40980b84f86566cd0c2308c66afe: part_dos.c: Don't wrap to negative after 2G sectors (2016-01-13 16:33:20 -0500) are available in the git reposit

[U-Boot] [PATCH 3/3] fpga: Fix compilation warnings

2016-01-14 Thread Michal Simek
Signed-off-by: Michal Simek --- common/cmd_fpga.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/cmd_fpga.c b/common/cmd_fpga.c index 7f99aabf8a5c..8956eb1b654a 100644 --- a/common/cmd_fpga.c +++ b/common/cmd_fpga.c @@ -86,7 +86,7 @@ int do_fpga(cmd_tbl_t *cmd

[U-Boot] [PATCH 2/3] fpga: Add bitstream type BIT_NONE

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Add bitstream type BIT_NONE to the bitstream type enum. This might be useful while loading bitstreams in respective drivers. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- include/fpga.h | 1 + 1 file changed, 1 insertion(+) diff -

[U-Boot] [PATCH 2/2] serial: zynq: Fix address reading from DM

2016-01-14 Thread Michal Simek
Signed-off-by: Michal Simek --- drivers/serial/serial_zynq.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c index 112a7a27b875..e79d997cbab7 100644 --- a/drivers/serial/serial_zynq.c +++ b/drivers/serial/seria

[U-Boot] [PATCH 1/2] serial: zynq: Extend compatible string list

2016-01-14 Thread Michal Simek
From: Michal Simek ZynqMP is using updated core with cdns,uart-r1p12 compatible string. Signed-off-by: Michal Simek Signed-off-by: Michal Simek --- drivers/serial/serial_zynq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c ind

[U-Boot] [PATCH 1/3] fpga: xilinx: Check for substring in device ID validation

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Check for substrings in deviceID validation check so that it can support xa bitstreams also. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/fpga/xilinx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH] net: phy: ti: Enable automatic crossover mode

2016-01-14 Thread Michal Simek
Enable automatic crossover cable detection. Signed-off-by: Michal Simek --- drivers/net/phy/ti.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/phy/ti.c b/drivers/net/phy/ti.c index 541a57f98028..c3912d52f320 100644 --- a/drivers/net/phy/ti.c +++ b/drivers/net/phy/ti.c @@ -4

[U-Boot] [PATCH] sdhci: zynq: Remove hardcoded value zero as min frequency

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Remove hardcoded value zero as min frequency and use config option CONFIG_ZYNQ_SDHCI_MIN_FREQ defined in board config Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/mmc/zynq_sdhci.c | 7 ++- 1 file changed, 6 insertions(

[U-Boot] [PATCH] net: zynq: Change MDC setup for arm64

2016-01-14 Thread Michal Simek
MDC setting depends on pclk input clocks which varies across SoC. This driver is used by xilinx zynq and zynqmp SOC. Input clock frequence on silicon is 125MHz where divider 64 put frequency below 2.5MHz requires by spec (125/64=1.95). Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 4

[U-Boot] [PATCH 1/2] mmc: sdhci: Clear high speed if not supported

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Clear high speed bit if it was not supported by the driver. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Emil Lenchak Signed-off-by: Michal Simek --- drivers/mmc/sdhci.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/mmc/sdhci.c

[U-Boot] [PATCH 2/2] mmc: zynq_sdhci: Added qurik to disable high speed

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Add quirk to disable high speed incase the high speed was broken.This solves the issue where the the controller is used in High Speed Mode and the the hold time requirement for the JEDEC/MMC 4.41 specification is NOT met. This timing issue is not on all boards and

[U-Boot] [PATCH 1/9] ARM: zynq: Remove memory division by 2 for ECC case

2016-01-14 Thread Michal Simek
For ECC case u-boot divided memory by 2 because one u-boot could be used for both cases when ECC is off or on. Remove this division and make sure that dts file contain the correct memory size when ECC is enabled. Signed-off-by: Michal Simek --- arch/arm/mach-zynq/ddrc.c | 2 -- 1 file changed,

[U-Boot] [PATCH 3/9] ARM: zynq: Define sys prompt for all Zynq boards

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Define CONFIG_SYS_PROMPT for all Zynq boards It was removed by: "kconfig: add config option for shell prompt" (sha1: 181bd9dc61d2da88b78f1c1138a685dae39354d6) Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs/zynq_microzed_def

[U-Boot] [PATCH 2/9] ARM: zynq: Do not select options if SPL is not enabled

2016-01-14 Thread Michal Simek
Zynq setups some default options for SPL but not all targets are enabling SPL. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9bd6cf1d807d..8c6c35bb0f43 100644 --- a/arch/arm/Kc

[U-Boot] [PATCH 4/9] ARM: zynq: Enable SPI_FLASH for zc770 xm013 platform

2016-01-14 Thread Michal Simek
From: Michal Simek Enable SPI flash. Signed-off-by: Michal Simek Signed-off-by: Michal Simek --- configs/zynq_zc770_xm013_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/zynq_zc770_xm013_defconfig b/configs/zynq_zc770_xm013_defconfig index c906af9cb9a8..f3401af94b53 10

[U-Boot] [PATCH 7/9] ARM: zynq: Fix all remaining zynq platform to use stdout-path

2016-01-14 Thread Michal Simek
Fix console setup for all remaining zynq boards. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc770-xm010.dts | 5 ++--- arch/arm/dts/zynq-zc770-xm011.dts | 5 ++--- arch/arm/dts/zynq-zc770-xm012.dts | 5 ++--- arch/arm/dts/zynq-zc770-xm013.dts | 5 ++--- 4 files changed, 8 insertions(+),

[U-Boot] [PATCH 5/9] ARM: zynq: Move FLASH_BAR to Kconfig

2016-01-14 Thread Michal Simek
Clean up config and use Kconfig more. Signed-off-by: Michal Simek --- configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + configs/zynq_zc770_xm010_defconfig | 1 + configs/zynq_zc770_xm013_defconfig | 1 + configs/zynq_zed_defconfig | 1 + include/configs

[U-Boot] [PATCH 9/9] ARM: zynq: Move spi node to aligned location

2016-01-14 Thread Michal Simek
From: Michal Simek Keep nodes aligned. Signed-off-by: Michal Simek Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc770-xm011.dts | 12 ++-- arch/arm/dts/zynq-zc770-xm012.dts | 12 ++-- arch/arm/dts/zynq-zc770-xm013.dts | 30 +++--- 3 files changed,

[U-Boot] [PATCH 6/9] ARM: zynq: Clean DTSI coding style

2016-01-14 Thread Michal Simek
From: Michal Simek Fix minor indentation problems. Signed-off-by: Michal Simek Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi index 83be51ae9d

[U-Boot] [PATCH 01/23] ARM64: zynqmp: ep: Define minimum sdhci frequency for ep

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Define minimum sdhci frequency for ep, as not defining it causes the divisor to be 2048 as per sd version but keeping clock very low on ep causes command failures. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- include/configs/xilin

[U-Boot] [PATCH 8/9] ARM: zynq: Fix defconfig for zybo

2016-01-14 Thread Michal Simek
Change possition of SPI_FLASH to by align with savedefconfig. Signed-off-by: Michal Simek --- configs/zynq_zybo_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig index b51a6779a1db..83149eb22565 100644 ---

[U-Boot] [PATCH 05/23] ARM64: zynqmp: Fix coding style in phy node

2016-01-14 Thread Michal Simek
From: Michal Simek Trivial fix. Signed-off-by: Michal Simek 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-ep108.dts b/arch/arm/dts/zynqmp-ep108.dts index 4481bd07c9e8..754604ea7251 100644

[U-Boot] [PATCH 04/23] ARM64: zynqmp: Add initial support for the first silicon

2016-01-14 Thread Michal Simek
Add basic configuration for the first silicon. Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/clk.c | 4 +++- arch/arm/cpu/armv8/zynqmp/cpu.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv8/zynqmp/clk.c b/arch/arm/cpu/armv8/zynqmp/clk.c ind

[U-Boot] [PATCH 03/23] ARM64: zynqmp: Use the same U-Boot version with/without ATF

2016-01-14 Thread Michal Simek
Remove SECURE_IOU option which is not needed. U-Boot itself can detect which EL level it is on and based on that use do platform setup. It also simplify usage because one Kconfig entry is gone. Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/Kconfig | 4 arch/arm/cpu/a

[U-Boot] [PATCH 02/23] ARM64: zynqmp: Remove incorrect link to common config file

2016-01-14 Thread Michal Simek
Link to zynqmp common file is incorrect. Fix it by removing the whole link because it is visible from the file where to look at it. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp_ep.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/configs/xilinx_zy

[U-Boot] [PATCH 08/23] ARM64: zynqmp: Modify the SD and QSPI bootmode values

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Modify the SD bootmode value to 0x3 as per latest spec. Also add new boot mode QSPI 32 bit boot mode Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- arch/arm/include/asm/arch-zynqmp/hardware.h | 3 +++ board/xilinx/zynqmp/zynqmp.c

[U-Boot] [PATCH 06/23] ARM64: zynqmp: Correct the watchdog timer interrupt number

2016-01-14 Thread Michal Simek
From: Punnaiah Choudary Kalluri Corrected the watchdog timer interrupt number. Origin value was for CSUPMU watchdog. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/

[U-Boot] [PATCH 09/23] ARM64: zynqmp: Add support for SD1 boot mode

2016-01-14 Thread Michal Simek
SD1 boot mode is using different bootmode values. Add support for this mode used on DC1. Signed-off-by: Michal Simek --- arch/arm/include/asm/arch-zynqmp/hardware.h | 3 ++- board/xilinx/zynqmp/zynqmp.c| 6 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/arc

[U-Boot] [PATCH 07/23] ARM64: zynqmp: DT: Fix UART compatible string

2016-01-14 Thread Michal Simek
From: Soren Brinkmann ZynqMP has r1p12 not r1p8. r1p12 contains break detection support. Signed-off-by: Soren Brinkmann 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/zyn

[U-Boot] [PATCH 10/23] ARM64: zynqmp: Show information about bootmode

2016-01-14 Thread Michal Simek
Showing information about bootmode is very useful to make sure that correct bootmode is selected. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c i

[U-Boot] [PATCH 12/23] ARM64: zynqmp: Fix bootmode SD_MODE1

2016-01-14 Thread Michal Simek
When only sdhci1 IP is enabled and SD_MODE1 bootmode is selected U-Boot using sdboot1 variable which refers to mmc dev 1. But this device doesn't exist because only one controller is available. This patch fix logic around sdboot mode with using sdbootdev internal variable. Reported-by: Chris Kohn

[U-Boot] [PATCH 15/23] ARM64: zynqmp: Move memory setup to board file

2016-01-14 Thread Michal Simek
Setup memory size for ep108 in ep108 config file. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h| 5 - include/configs/xilinx_zynqmp_ep.h | 5 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_z

[U-Boot] [PATCH 13/23] ARM64: zynqmp: Remove unneeded timer_init function

2016-01-14 Thread Michal Simek
Empty weak function is used instead. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 5 - 1 file changed, 5 deletions(-) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index ac2362532590..1a837897194e 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/

[U-Boot] [PATCH 14/23] ARM64: zynqmp: Enable advance memory test by default

2016-01-14 Thread Michal Simek
Temp space in at the beginning of OCM. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 2d9f020f50d7..f6a36a3fabdd 100644 --- a/include/configs/xilinx_zy

[U-Boot] [PATCH 11/23] ARM64: zynqmp: Differentiate EMMC boot mode

2016-01-14 Thread Michal Simek
Show also EMMC bootmode if selected. There is difference compare to SD bootmode. Use the same bootcommand till better boot command is created. Reported-by: Sai Pavan Boddu Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) di

[U-Boot] [PATCH 17/23] ARM64: zynqmp: Allow overwrite identification string

2016-01-14 Thread Michal Simek
Keep default option there but allow overwrite it. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index dcd7552bd1ad..5008722bf4ce 100644 ---

[U-Boot] [PATCH 20/23] ARM64: zynqmp: Modify the autoboot commands

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Modify DFU commands to use latest kernel offsets and sizes as per modified partitions in the linux device tree. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 6 -- 1 file changed, 4 insertions(

[U-Boot] [PATCH 19/23] ARM64: zynqmp: Include GbE speed/duplex detection

2016-01-14 Thread Michal Simek
Get right speed/duplex via mii info. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index eae1a4988b07..20bb359cdebd 100644 --- a/include/configs/xilinx_zynqmp.

[U-Boot] [PATCH 18/23] ARM64: zynqmp: Enable NATSEMI phys

2016-01-14 Thread Michal Simek
Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 5008722bf4ce..eae1a4988b07 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.

[U-Boot] [PATCH 21/23] ARM64: zynqmp: Dont use shortcut for setenv

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Dont use shortcut command for setenv as it wont work now due introduction of new command setexpr. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH 16/23] ARM64: zynqmp: Setup correct COUNTER_FREQUENCY for silicon

2016-01-14 Thread Michal Simek
When U-Boot runs from EL3 system timer is setup based on this macro. Software default freq for silicon is 100MHz but enable opton to rewrite it. Emulation platform is using 4MHz. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h| 4 +++- include/configs/xilinx_zynqmp_ep.h | 2

[U-Boot] [PATCH 23/23] ARM64: zynqmp: Define auto negotiation timeout

2016-01-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Define auto negotiation timeout as 20secs the default 4secs might not be sufficient always and hence defined for worst case. It is observed that autoneg takes moretime if connected to outside network and hence increase it to 20secs. Signed-off-by: Siva Durga Pras

Re: [U-Boot] [GIT PULL] Microblaze changes

2016-01-14 Thread Michal Simek
Hi Ricardo, On 14.1.2016 14:17, Tom Rini wrote: > On Thu, Jan 14, 2016 at 09:51:32AM +0100, Michal Simek wrote: > >> Hi Tom, >> >> here are microblaze patches for moving stuff to DM. This is the patch >> series which we postpone to next release. Buildman doesn't show any >> problems for mb, zynq_

[U-Boot] [PATCH 22/23] ARM64: zynqmp: Do not setup bootargs

2016-01-14 Thread Michal Simek
From: Michal Simek Bootargs will be taken from DTS files. Signed-off-by: Michal Simek Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 862f3e6f978c..899

[U-Boot] [PATCH 2/2] powerpc/SECURE_BOOT: Add PAMU driver

2016-01-14 Thread Aneesh Bansal
PAMU driver basic support for usage in Secure Boot. In secure boot PAMU is not in bypass mode. Hence to use any peripheral (SEC Job ring in our case), PAMU has to be configured. The Header file pamu.h and few functions in driver have been derived from Freescale Libos. Signed-off-by: Ruchika Gupta

[U-Boot] [PATCH] ls2-2085ardb: Correct the model name of ls2085ardb

2016-01-14 Thread y
From: Ashish Kumar Signed-off-by: Ashish Kumar --- arch/arm/dts/fsl-ls2080a-rdb.dts |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/dts/fsl-ls2080a-rdb.dts b/arch/arm/dts/fsl-ls2080a-rdb.dts index 1a1813b..71d1969 100644 --- a/arch/arm/dts/fsl-ls2080a-rdb.dts

[U-Boot] [PATCH] ls2-2085ardb: Correct the model name of ls2085ardb

2016-01-14 Thread Ashish Kumar
From: Ashish Kumar Signed-off-by: Ashish Kumar --- arch/arm/dts/fsl-ls2080a-rdb.dts |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/dts/fsl-ls2080a-rdb.dts b/arch/arm/dts/fsl-ls2080a-rdb.dts index 1a1813b..71d1969 100644 --- a/arch/arm/dts/fsl-ls2080a-rdb.dts

[U-Boot] [PATCH 1/2] Revert "powerpc/mpc85xx: SECURE BOOT - Bypass PAMU in case of secure boot"

2016-01-14 Thread Aneesh Bansal
This reverts commit 7cad2e38d61e27ea59fb7944f7e647e97ef292d3. Signed-off-by: Aneesh Bansal CC: Ruchika Gupta --- arch/powerpc/cpu/mpc85xx/cpu_init.c | 9 + arch/powerpc/include/asm/immap_85xx.h | 1 - 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/powerpc/cpu/mpc85

[U-Boot] [PATCH] ls2-2085a: Increase default hugepage count

2016-01-14 Thread Ashish Kumar
From: Ashish Kumar * Increase default hugepage count to 256 from 16 * Note: default env variables are stored at 0x58020/0x58420 of size 0x2000 Signed-off-by: Ashish Kumar --- include/configs/ls2080a_common.h |2 +- include/configs/ls2080ardb.h |2 +- 2 files changed,

Re: [U-Boot] [PATCH 43/50] rockchip: pinctrl: Reduce the size for SPL

2016-01-14 Thread Eddie Cai
Hi Simon I think the best way to reduce SPL size is to jump back to boot rom. Which don't require eMMC, SD card driver in SPL any more. Even clock and pinctrl driver is not required. All we need is DDR initialization. We should do as little thing as possible in SPL and let U-boot take care others.

[U-Boot] [PATCH] ls2-2085a: Increase default hugepage count

2016-01-14 Thread y
From: Ashish Kumar * Increase default hugepage count to 256 from 16 * Note: default env variables are stored at 0x58020/0x58420 of size 0x2000 Signed-off-by: Ashish Kumar --- include/configs/ls2080a_common.h |2 +- include/configs/ls2080ardb.h |2 +- 2 files changed,

[U-Boot] [PATCH] ls2-2085a: Increase default hugepage count

2016-01-14 Thread Ashish Kumar
* Increase default hugepage count to 256 from 16 * Note: default env variables are stored at 0x58020/0x58420 of size 0x2000 Signed-off-by: Ashish Kumar --- include/configs/ls2080a_common.h |2 +- include/configs/ls2080ardb.h |2 +- 2 files changed, 2 insertions(+), 2 de

[U-Boot] [PATCH] ls2-2085ardb: Correct the model name of ls2085ardb

2016-01-14 Thread Ashish Kumar
Signed-off-by: Ashish Kumar --- arch/arm/dts/fsl-ls2080a-rdb.dts |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/dts/fsl-ls2080a-rdb.dts b/arch/arm/dts/fsl-ls2080a-rdb.dts index 1a1813b..71d1969 100644 --- a/arch/arm/dts/fsl-ls2080a-rdb.dts +++ b/arch/arm/dts/fs

Re: [U-Boot] [PATCH v3 13/14] drivers: net: Add ethernet driver for Microchip PIC32.

2016-01-14 Thread Daniel Schwierzeck
Am Donnerstag, den 14.01.2016, 15:35 +0530 schrieb Purna Chandra Mandal: > On 01/13/2016 09:07 PM, Daniel Schwierzeck wrote: > > > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra > > Mandal: > > > This driver implements MAC and MII layer of the ethernet > > > controller. > > > Netwo

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2016-01-14 Thread Tim Harvey
On Wed, Jan 13, 2016 at 7:06 PM, Marek Vasut wrote: > On Thursday, January 14, 2016 at 03:52:27 AM, Eric Nelson wrote: >> On 01/13/2016 07:50 PM, Marek Vasut wrote: >> > On Thursday, January 14, 2016 at 03:37:09 AM, Eric Nelson wrote: >> >> Hi Marek, >> > >> > Hi! >> > >> >> On 01/13/2016 07:10 PM

  1   2   3   4   >