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

2016-01-13 Thread Bin Meng
Hi Tom, The following changes since commit fa85e826c16b9ce1ad302a57e9c4b24db0d8b930: Prepare v2016.01 (2016-01-12 09:06:54 -0500) are available in the git repository at: git://git.denx.de/u-boot-x86.git master for you to fetch changes up to 5c2ed61ce235fd835a3f594bc983dfc20959568c: x86:

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

2016-01-13 Thread Bhuvanchandra DV
Hi Bin, On 01/13/2016 11:43 AM, Bin Meng wrote: Hi Bhuvan, On Wed, Jan 13, 2016 at 1:49 PM, Bhuvanchandra DV wrote: Hi Bin, With reference to the discussion here[1]. Unfortunately the lpuart driver is now broken for legacy code and also the driver doesn't work with serial driver model enabl

Re: [U-Boot] [PATCH v3 10/10] mvebu: ds414: Implement Synology specific command set

2016-01-13 Thread Stefan Roese
Hi Phil, I'm preparing a branch for Luka to pull from. With all the pending mvebu patches included. And noticed a small issue with this patch. See below... On 25.12.2015 14:41, Phil Sutter wrote: > Synology keeps per item configuration in a dedicated 'partition' in SPI > flash, namely the one nam

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

2016-01-13 Thread Bin Meng
+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, Jan 13, 2016 at 1:49 PM, Bhuvanchandra DV >> wrote: >>> >>> Hi Bin, >>> >>> With reference to the discussion here[1]. >>> >>> Unfortuna

Re: [U-Boot] [ANN] U-Boot v2016.01 released

2016-01-13 Thread Wolfgang Denk
Dear Tom, In message <20160112162526.GT3359@bill-the-cat> you wrote: > > I've pushed v2016.01 out to the git servers and the tarballs are now > available at both: > ftp://ftp.denx.de/pub/u-boot/ > https://www.amazon.com/clouddrive/share/iQRojZzxJnhZwGGUcyDdQDl6E5MAlTEeVwuCDdgUDo8?_encoding=UTF8&m

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

2016-01-13 Thread Bhuvanchandra DV
Hi Bin, With reference to the discussion here[1]. Unfortunately the lpuart driver is now broken for legacy code and also the driver doesn't work with serial driver model enabled on Toradex Colibri VF50/VF61, Freescale VF610twr and Phytec pcm052 boards. Did some one tested this patchset on these b

[U-Boot] [PATCH v4 3/6] rockchip: rk3036: Bind GPIO banks

2016-01-13 Thread Jeffy Chen
Call dm_scan_fdt_node() in rk3036 pinctrl uclass binding. Signed-off-by: Jeffy Chen Acked-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/pinctrl/rockchip/pinctrl_rk3036.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/pinctrl/rockc

[U-Boot] [PATCH v4 2/6] ARM: bootm: Try to use relocated ramdisk

2016-01-13 Thread Jeffy Chen
After boot_ramdisk_high(), ramdisk would be relocated to initrd_start & initrd_end, so use them instead of rd_start & rd_end. Signed-off-by: Jeffy Chen Acked-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: Add comments. arch/arm/lib/bootm.c | 12 +++- 1 fil

[U-Boot] [PATCH v4 0/6] rockchip: kylin: Boot with android boot image

2016-01-13 Thread Jeffy Chen
We are porting android to kylin board now. This series could let it boot up with android's boot image. Changes in v4: Remove unused reboot mode definitions. Changes in v3: Use rockchip's legacy reboot mode definitions. Changes in v2: Add comments. Jeffy Chen (6): common/image-fdt.c: Make boot

[U-Boot] [PATCH v4 4/6] rockchip: kylin: Add default gpt partition table

2016-01-13 Thread Jeffy Chen
Add default android gpt partition table for kylin board. Use "gpt write mmc 0 $partitions" to apply. Signed-off-by: Jeffy Chen Acked-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None include/configs/kylin_rk3036.h | 29 + 1 file chang

[U-Boot] [PATCH v4 5/6] rockchip: kylin: Enable boot with android boot image

2016-01-13 Thread Jeffy Chen
The android kernel is using appended dtb by default, and store ramdisk right after kernel & dtb. So we needs to relocate ramdisk, and use atags to pass params. Signed-off-by: Jeffy Chen Acked-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None include/configs/kylin

[U-Boot] [PATCH v4 1/6] common/image-fdt.c: Make boot_get_fdt() perform a check for Android images

2016-01-13 Thread Jeffy Chen
Android images don't have a fdt. Signed-off-by: Jeffy Chen Acked-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None common/image-fdt.c | 4 1 file changed, 4 insertions(+) diff --git a/common/image-fdt.c b/common/image-fdt.c index 5e4e5bd..41aaa0d 100644 ---

[U-Boot] [PATCH v4 6/6] rockchip: kylin: Check fastboot request

2016-01-13 Thread Jeffy Chen
We will save boot mode flag in grf's os_reg[4], if fastboot requested or fastboot key pressed, try to enter fastboot mode at preboot stage. Signed-off-by: Jeffy Chen --- Changes in v4: Remove unused reboot mode definitions. Changes in v3: Use rockchip's legacy reboot mode definitions. Changes

Re: [U-Boot] [PATCH 1/8] fdt: Fix up stdout correctly in fdt_fixup_stdout()

2016-01-13 Thread Bin Meng
Hi Simon, On Tue, Jan 12, 2016 at 12:58 AM, Simon Glass wrote: > Hi Bin, > > On 10 January 2016 at 20:02, Bin Meng wrote: >> Hi Simon, >> >> On Fri, Jan 8, 2016 at 11:34 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 31 December 2015 at 01:53, Bin Meng wrote: When CONFIG_OF_STDOUT_VIA_ALIA

Re: [U-Boot] [PATCH v3 10/10] mvebu: ds414: Implement Synology specific command set

2016-01-13 Thread Phil Sutter
Hi Stefan, On Wed, Jan 13, 2016 at 09:17:54AM +0100, Stefan Roese wrote: > I'm preparing a branch for Luka to pull from. With all the pending > mvebu patches included. And noticed a small issue with this patch. > See below... > > On 25.12.2015 14:41, Phil Sutter wrote: [...] > > +static int do_sy

Re: [U-Boot] [PATCH] fdt: __of_translate_address(): check parent's 'ranges' before translate

2016-01-13 Thread Przemyslaw Marczak
Hello Stephen, On 01/12/2016 05:43 PM, Stephen Warren wrote: On 01/12/2016 03:25 AM, Przemyslaw Marczak wrote: Hello Stephen, On 01/11/2016 05:47 PM, Stephen Warren wrote: On 01/11/2016 04:21 AM, Przemyslaw Marczak wrote: Hello Stephen, On 01/07/2016 07:25 PM, Stephen Warren wrote: On 01/0

Re: [U-Boot] [PATCH] image: check "bootm_low" and "bootm_size" if "initrd_high" is missing

2016-01-13 Thread Tom Rini
On Sat, Jan 09, 2016 at 01:12:33AM +0900, Masahiro Yamada wrote: > Hi Tom, > > > 2016-01-05 4:59 GMT+09:00 Tom Rini : > > On Thu, Dec 17, 2015 at 05:19:35PM +0900, Masahiro Yamada wrote: > > > >> To boot Linux, we should prevent Initramdisk and FDT from going too > >> high. > > > > OK, why? I co

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

2016-01-13 Thread Daniel Schwierzeck
Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: > PIC32 clock module consists of multiple oscillators, PLLs, > mutiplexers > and dividers capable of supplying clock to various controllers > on or off-chip. > > Signed-off-by: Purna Chandra Mandal > Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v3 04/14] drivers: pinctrl: Add pinctrl driver for Microchip PIC32.

2016-01-13 Thread Daniel Schwierzeck
Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: > In PIC32 pin-controller is a combined gpio-controller, pin-mux and > pin-config module. Remappable peripherals are assigned pins through > per-pin based muxing logic. And pin configuration are performed on > specific port regi

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

2016-01-13 Thread Daniel Schwierzeck
Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: > 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 and used as GPIO, provided they > are not in use

Re: [U-Boot] [PATCH v3 06/14] drivers: serial: add driver for Microchip PIC32 UART controller.

2016-01-13 Thread Daniel Schwierzeck
Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: > From: Paul Thacker > > This adds PIC32 UART controller support based on driver model. > > Signed-off-by: Paul Thacker > Signed-off-by: Purna Chandra Mandal > Reviewed-by: Daniel Schwierzeck nits below > > --- > > C

Re: [U-Boot] [PATCH v3 07/14] drivers: ddr: Add DDR2 SDRAM controller driver for Microchip PIC32.

2016-01-13 Thread Daniel Schwierzeck
Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: > This driver initializes PIC32 DDR2 SDRAM controller and internal DDR2 > Phy module. > DDR2 controller operates in half-rate mode (upto 533MHZ frequency). > > Signed-off-by: Paul Thacker > Signed-off-by: Purna Chandra Mandal

[U-Boot] [PATCH v2 0/7] net: add support for phy speed limitation

2016-01-13 Thread Alexey Brodkin
In some cases Ethernet PHY and network itself might support speeds which are not supported by Ethernet controller (MAC). To support that kind of situation it is required to force limit PHY so it is not configured for unsupported mode or even if PHY autonegotiated too high speed it will be reconfi

[U-Boot] [PATCH v2 2/7] net: phy: genphy: Allow overwriting features

2016-01-13 Thread Alexey Brodkin
From: Sascha Hauer of_set_phy_supported allows overwiting hardware capabilities of a phy with values from the devicetree. This does not work with the genphy driver though because the genphys config_init function will overwrite all values adjusted by of_set_phy_supported. Fix this by initialising

[U-Boot] [PATCH v2 1/7] net: phy: ensure Gigabit features are masked off if requested

2016-01-13 Thread Alexey Brodkin
From: Florian Fainelli When a Gigabit PHY device is connected to a 10/100Mbits capable Ethernet MAC, the driver will restrict the phydev->supported modes to mask off Gigabit. If the Gigabit PHY comes out of reset with the Gigabit features set by default in MII_CTRL1000, it will keep advertising t

[U-Boot] [PATCH v2 4/7] drivers/net/phy: introduce phy_set_supported()

2016-01-13 Thread Alexey Brodkin
This new function will allow MAC drivers to override supported capabilities of the phy. It is required when MAC cannot handle all speeds supported by phy. For example phy supports up-to 1Gb connections while MAC may only work in modes up to 100 or even 10 Mbit/sec. Signed-off-by: Alexey Brodkin

[U-Boot] [PATCH v2 3/7] net: phy: breakdown PHY_*_FEATURES defines

2016-01-13 Thread Alexey Brodkin
From: Florian Fainelli Breakdown the PHY_*_FEATURES into per speed defines such that we can easily re-use them individually. Signed-off-by: Florian Fainelli Signed-off-by: Alexey Brodkin Cc: Joe Hershberger --- Changes v1 -> v2: No changes, this is just a resent in series with other related

[U-Boot] [PATCH v2 6/7] net/designware: do explicit port selection for 1Gb mode

2016-01-13 Thread Alexey Brodkin
Current implementation only sets "port select" bit for non-1Gb mode. That works fine if GMAC has just exited reset state but we may as well change connection mode in runtime. Then we'll need to reprogram GMAC for that new mode of operation and if previous mode was 10 or 100 Mb and new one is 1 Gb w

[U-Boot] [PATCH v2 5/7] include/net.h: add max_speed member in struct eth_pdata

2016-01-13 Thread Alexey Brodkin
This will be used for getting max speed mode of Ethernet interface that a particular MAC supports from Device Tree blob and later being used for phy configuration. Signed-off-by: Alexey Brodkin Cc: Joe Hershberger --- Changes v1 -> v2: No changes, this is just a resent in series with other rel

[U-Boot] [PATCH v2 7/7] net/designware: add support of max-speed device tree property

2016-01-13 Thread Alexey Brodkin
This property allows to specify fastest connection mode supported by the MAC (as opposed to features of the phy). There are situations when phy may handle faster modes than the MAC (or even it's particular implementation or even due to CPU being too slow). This property is a standard one in Linux

Re: [U-Boot] [PATCH v3 06/14] drivers: serial: add driver for Microchip PIC32 UART controller.

2016-01-13 Thread Daniel Schwierzeck
Am Mittwoch, den 13.01.2016, 14:49 +0100 schrieb Daniel Schwierzeck: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra > Mandal: > > From: Paul Thacker > > > > This adds PIC32 UART controller support based on driver model. > > > > Signed-off-by: Paul Thacker > > Signed-off-by: Pu

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

2016-01-13 Thread Daniel Schwierzeck
Am Mittwoch, den 13.01.2016, 14:46 +0100 schrieb Daniel Schwierzeck: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra > Mandal: > > In PIC32 GPIO controller is part of PIC32 pin controller. > > PIC32 has ten independently programmable ports and each with > > multiple > > pins. > > E

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

2016-01-13 Thread Jagan Teki
Hi Tom, Please pull this PR - this sent intially before the release. thanks! Jagan. The following changes since commit 077678eb0c226e52a1f90edabd3369ab26065b32: Merge git://git.denx.de/u-boot-dm (2016-01-12 18:12:42 -0500) are available in the git repository at: git://git.denx.de/u-boot-

Re: [U-Boot] [PATCH v3 08/14] MIPS: Add support for Microchip PIC32MZ[DA] SoC family.

2016-01-13 Thread Daniel Schwierzeck
Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: > Add Microchip PIC32MZ[DA] SoC family support. > > Signed-off-by: Purna Chandra Mandal > > --- > > Changes in v3: > - drop forcing CONFIG_MIPS_BOOT_* selection in mach-pic32/Kconfig > - indent assembly instructions in delay

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

2016-01-13 Thread Tom Rini
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 supplying clock to various controllers > on or off-chip. [snip] > include/dt-bindings/clock/microchip,clock.h| 29 ++ H

Re: [U-Boot] [PATCH v3 06/14] drivers: serial: add driver for Microchip PIC32 UART controller.

2016-01-13 Thread Tom Rini
On Tue, Jan 12, 2016 at 03:48:21PM +0530, Purna Chandra Mandal wrote: > From: Paul Thacker > > This adds PIC32 UART controller support based on driver model. > > Signed-off-by: Paul Thacker > Signed-off-by: Purna Chandra Mandal > > Reviewed-by: Tom Rini -- Tom signature.asc Descriptio

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

2016-01-13 Thread Tom Rini
On Tue, Jan 12, 2016 at 03:48:24PM +0530, Purna Chandra Mandal wrote: > This adds support for Microchip PIC32MZ[DA] StarterKit board > based on a PIC32MZ[DA] family of microcontroller. > > Signed-off-by: Purna Chandra Mandal [snip] > diff --git a/configs/pic32mzdask_defconfig b/configs/pic32mzda

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

2016-01-13 Thread Tom Rini
On Tue, Jan 12, 2016 at 03:48:20PM +0530, 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 and used as GPIO, provided they > are not in use fo

Re: [U-Boot] [PATCH v3 02/14] MIPS: initial infrastructure for Microchip PIC32 architecture

2016-01-13 Thread Tom Rini
On Tue, Jan 12, 2016 at 03:48:17PM +0530, Purna Chandra Mandal wrote: > Create initial directory, Kconfigs needed for PIC32 architecture > support. Also add PIC32 specific register definition required for drivers. > > Signed-off-by: Purna Chandra Mandal > Reviewed-by: Tom Rini -- Tom sign

Re: [U-Boot] [PATCH v3 07/14] drivers: ddr: Add DDR2 SDRAM controller driver for Microchip PIC32.

2016-01-13 Thread Tom Rini
On Tue, Jan 12, 2016 at 03:48:22PM +0530, Purna Chandra Mandal wrote: > This driver initializes PIC32 DDR2 SDRAM controller and internal DDR2 Phy > module. > DDR2 controller operates in half-rate mode (upto 533MHZ frequency). > > Signed-off-by: Paul Thacker > Signed-off-by: Purna Chandra Mandal

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

2016-01-13 Thread Tom Rini
On Tue, Jan 12, 2016 at 03:48:25PM +0530, Purna Chandra Mandal wrote: > From: Andrei Pistirica > > This driver implements platform specific glue and fixups for > PIC32 internal SDHCI controller. > > Signed-off-by: Andrei Pistirica > Signed-off-by: Sandeep Sheriker Mallikarjun > > Signed-off-

Re: [U-Boot] [PATCH v3 04/14] drivers: pinctrl: Add pinctrl driver for Microchip PIC32.

2016-01-13 Thread Tom Rini
On Tue, Jan 12, 2016 at 03:48:19PM +0530, Purna Chandra Mandal wrote: > In PIC32 pin-controller is a combined gpio-controller, pin-mux and > pin-config module. Remappable peripherals are assigned pins through > per-pin based muxing logic. And pin configuration are performed on > specific port regi

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

2016-01-13 Thread Tom Rini
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 through device-tree file. > > Signed-off-by: Pur

Re: [U-Boot] [PATCH v3 12/14] drivers: net: phy: add SMSC LAN8740 Phy support.

2016-01-13 Thread Tom Rini
On Tue, Jan 12, 2016 at 03:48:27PM +0530, Purna Chandra Mandal wrote: > Add SMSC LAN8740 Phy support required for PIC32MZDA devices. > > Signed-off-by: Purna Chandra Mandal > Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH] usb: add clock support for generic EHCI

2016-01-13 Thread Marek Vasut
On Wednesday, January 13, 2016 at 05:34:01 AM, Masahiro Yamada wrote: > This driver is designed so generic that clock should also be handled > in a generic way. > > Like the one in Linux (drivers/usb/host/ehci-platform.c), get and > enable clock(s) via Device Tree if present. > > Signed-off-by: M

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

2016-01-13 Thread Tom Rini
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 [snip] > +#define CONFIG_EXTRA_ENV_SETTINGS

Re: [U-Boot] [PATCH v3 14/14] board: Enable ethernet, tftpboot support to pic32mzdask board.

2016-01-13 Thread Tom Rini
On Tue, Jan 12, 2016 at 03:48:29PM +0530, Purna Chandra Mandal wrote: > This adds ethernet, TFTP support for PIC32MZ[DA] Starter Kit. Also > custom environment variables/scripts are added to help boot from network. > > Signed-off-by: Purna Chandra Mandal > Reviewed-by: Tom Rini -- Tom sig

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

2016-01-13 Thread Daniel Schwierzeck
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 > > > --- > > Changes in v3: > - drop SKIP_LOWLEVEL_INIT, GBL_DATA_O

Re: [U-Boot] [PATCH v3 01/10] drivers/pci: Fix for debug builds without CONFIG_PCI_ENUM_ONLY

2016-01-13 Thread Tom Rini
On Fri, Dec 25, 2015 at 02:41:17PM +0100, Phil Sutter wrote: > The debug printing references bar_res, which exists only if > CONFIG_PCI_ENUM_ONLY is not defined. Therefore move it into the ifdef'd > area. > > Signed-off-by: Phil Sutter Reviewed-by: Tom Rini -- Tom signature.asc Description

Re: [U-Boot] [PATCH v3 06/10] mvebu: Introduce kconfig symbols for SoC variants

2016-01-13 Thread Tom Rini
On Fri, Dec 25, 2015 at 02:41:22PM +0100, Phil Sutter wrote: > This patch adds intermediate kconfig symbols which select their SoC > family. Boards then select them instead of the family symbol directly. > > Signed-off-by: Phil Sutter Reviewed-by: Tom Rini -- Tom signature.asc Description:

Re: [U-Boot] [PATCH v3 05/10] mvebu: axp: refactor board_sat_r_get() and caller

2016-01-13 Thread Tom Rini
On Fri, Dec 25, 2015 at 02:41:21PM +0100, Phil Sutter wrote: > Instead of calling board_sat_r_get() only for those boards providing the > satr11 value via I2C, call it for all boards and return static values > for those not using I2C. > > In addition to that, make this a weak function to allow fo

Re: [U-Boot] [PATCH v3 02/10] README: Review the u-boot porting guide list

2016-01-13 Thread Tom Rini
On Fri, Dec 25, 2015 at 02:41:18PM +0100, Phil Sutter wrote: > * There is no boards.cfg anymore, so drop (1). > * Creating flash.c and u-boot.lds seems not mandatory as well. > * Adjusting the enumerators for the above implicitly fixed for > double items numbered (3). > > Signed-off-by: Phil Su

Re: [U-Boot] [PATCH v3 04/10] drivers/pci/pci_mvebu: Fix for boards with X4 lanes

2016-01-13 Thread Tom Rini
On Fri, Dec 25, 2015 at 02:41:20PM +0100, Phil Sutter wrote: > Armada XP has support for X4 lanes, boards specify this in their > serdes_cfg. During PEX init in high_speed_env_lib.c, the configuration > is stored in GEN_PURP_RES_2_REG. > > When enumerating PEX, subsequent interfaces of an X4 lane

Re: [U-Boot] [PATCH v3 03/10] axp: Fix debugging support in DDR3 write leveling

2016-01-13 Thread Tom Rini
On Fri, Dec 25, 2015 at 02:41:19PM +0100, Phil Sutter wrote: > If MV_DEBUG_WL is defined, DEBUG_WL_S and DEBUG_WL_D macros are missing. > In addition to that, get rid of debug output printing non-existent > counter variable. > > Signed-off-by: Phil Sutter Reviewed-by: Tom Rini -- Tom signa

Re: [U-Boot] [PATCH v3 07/10] mvebu: axp: Rename MV_DDR_32BIT to CONFIG_DDR_32BIT

2016-01-13 Thread Tom Rini
On Fri, Dec 25, 2015 at 02:41:23PM +0100, Phil Sutter wrote: > This should make it clear that this symbol is meant to be defined by > board headers. > > Signed-off-by: Phil Sutter Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v3 08/10] mvebu: Add rudimental MV78230 support

2016-01-13 Thread Tom Rini
On Fri, Dec 25, 2015 at 02:41:24PM +0100, Phil Sutter wrote: > This adds basic support for Marvell's MV78230 SoC which belongs to the > Armada XP series. > > Signed-off-by: Phil Sutter Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v3 09/10] mvebu: Support Synology DS414

2016-01-13 Thread Tom Rini
On Fri, Dec 25, 2015 at 02:41:25PM +0100, Phil Sutter wrote: > This adds support for the MV78230 based DS414 NAS by Synology. The > relevant bits have been extracted from the 'synogpl-5004-armadaxp' > package Synology kindly published, garnished with a fair amount of > trial-and-error. So, for th

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

2016-01-13 Thread Daniel Schwierzeck
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 > Signed-off-by: Sandeep Sheriker Mallikarjun < > sandeepsherik

Re: [U-Boot] [PATCH v3 10/10] mvebu: ds414: Implement Synology specific command set

2016-01-13 Thread Tom Rini
On Fri, Dec 25, 2015 at 02:41:26PM +0100, Phil Sutter wrote: > Synology keeps per item configuration in a dedicated 'partition' in SPI > flash, namely the one named 'vendor' in DTS file. It contains the two > NICs MAC addresses as well as the item's serial number. I didn't find a > way to have thi

Re: [U-Boot] [PATCH] usb: dwc2: Enhance interrupt handling for CONTROL transaction

2016-01-13 Thread Chin Liang See
On Wed, 2016-01-13 at 03:58 +0100, Marek Vasut wrote: > On Tuesday, January 05, 2016 at 05:16:05 PM, Marek Vasut wrote: > > On Tuesday, January 05, 2016 at 04:51:47 PM, Chin Liang See wrote: > > > On Tue, 2016-01-05 at 15:36 +0100, Marek Vasut wrote: > > > > On Tuesday, January 05, 2016 at 06:00:04

Re: [U-Boot] [PATCH v3 12/14] drivers: net: phy: add SMSC LAN8740 Phy support.

2016-01-13 Thread Daniel Schwierzeck
Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: > Add SMSC LAN8740 Phy support required for PIC32MZDA devices. > > Signed-off-by: Purna Chandra Mandal Reviewed-by: Daniel Schwierzeck > > --- > > Changes in v3: None > Changes in v2: None > > drivers/net/phy/smsc.c | 1

Re: [U-Boot] [PATCH] usb: dwc2: Enhance interrupt handling for CONTROL transaction

2016-01-13 Thread Marek Vasut
On Wednesday, January 13, 2016 at 04:18:43 PM, Chin Liang See wrote: > On Wed, 2016-01-13 at 03:58 +0100, Marek Vasut wrote: > > On Tuesday, January 05, 2016 at 05:16:05 PM, Marek Vasut wrote: > > > On Tuesday, January 05, 2016 at 04:51:47 PM, Chin Liang See wrote: > > > > On Tue, 2016-01-05 at 15:

Re: [U-Boot] [PATCH v3 09/10] mvebu: Support Synology DS414

2016-01-13 Thread Stefan Roese
Hi Tom, On 13.01.2016 16:13, Tom Rini wrote: On Fri, Dec 25, 2015 at 02:41:25PM +0100, Phil Sutter wrote: This adds support for the MV78230 based DS414 NAS by Synology. The relevant bits have been extracted from the 'synogpl-5004-armadaxp' package Synology kindly published, garnished with a fa

Re: [U-Boot] [PATCH v4 1/6] common/image-fdt.c: Make boot_get_fdt() perform a check for Android images

2016-01-13 Thread Tom Rini
On Wed, Jan 13, 2016 at 04:53:15PM +0800, Jeffy Chen wrote: > Android images don't have a fdt. > > Signed-off-by: Jeffy Chen > Acked-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > common/image-fdt.c | 4 > 1 file changed, 4 insertions(+) >

Re: [U-Boot] [PATCH v4 3/6] rockchip: rk3036: Bind GPIO banks

2016-01-13 Thread Tom Rini
On Wed, Jan 13, 2016 at 04:53:17PM +0800, Jeffy Chen wrote: > Call dm_scan_fdt_node() in rk3036 pinctrl uclass binding. > > Signed-off-by: Jeffy Chen > Acked-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH v4 6/6] rockchip: kylin: Check fastboot request

2016-01-13 Thread Tom Rini
On Wed, Jan 13, 2016 at 04:53:20PM +0800, Jeffy Chen wrote: > We will save boot mode flag in grf's os_reg[4], if fastboot > requested or fastboot key pressed, try to enter fastboot mode > at preboot stage. > > Signed-off-by: Jeffy Chen > Reviewed-by: Tom Rini -- Tom signature.asc Descript

Re: [U-Boot] [PATCH v4 2/6] ARM: bootm: Try to use relocated ramdisk

2016-01-13 Thread Tom Rini
On Wed, Jan 13, 2016 at 04:53:16PM +0800, Jeffy Chen wrote: > After boot_ramdisk_high(), ramdisk would be relocated to > initrd_start & initrd_end, so use them instead of rd_start & rd_end. > > Signed-off-by: Jeffy Chen > Acked-by: Simon Glass > Reviewed-by: Tom Rini -- Tom signature.asc

Re: [U-Boot] [PATCH v4 4/6] rockchip: kylin: Add default gpt partition table

2016-01-13 Thread Tom Rini
On Wed, Jan 13, 2016 at 04:53:18PM +0800, Jeffy Chen wrote: > Add default android gpt partition table for kylin board. > > Use "gpt write mmc 0 $partitions" to apply. > > Signed-off-by: Jeffy Chen > Acked-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital sig

Re: [U-Boot] [PATCH v4 5/6] rockchip: kylin: Enable boot with android boot image

2016-01-13 Thread Tom Rini
On Wed, Jan 13, 2016 at 04:53:19PM +0800, Jeffy Chen wrote: > The android kernel is using appended dtb by default, and store > ramdisk right after kernel & dtb. > So we needs to relocate ramdisk, and use atags to pass params. > > Signed-off-by: Jeffy Chen > Acked-by: Simon Glass > --- > > Chan

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

2016-01-13 Thread Daniel Schwierzeck
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 configurable through device-tree file. > > Signed-off-by: Pur

Re: [U-Boot] [PATCH v3 09/10] mvebu: Support Synology DS414

2016-01-13 Thread Tom Rini
On Wed, Jan 13, 2016 at 04:24:42PM +0100, Stefan Roese wrote: > Hi Tom, > > On 13.01.2016 16:13, Tom Rini wrote: > >On Fri, Dec 25, 2015 at 02:41:25PM +0100, Phil Sutter wrote: > > > >>This adds support for the MV78230 based DS414 NAS by Synology. The > >>relevant bits have been extracted from the

Re: [U-Boot] axm SPL image too big

2016-01-13 Thread Tom Rini
On Wed, Jan 13, 2016 at 06:22:34AM +0100, Heiko Schocher wrote: > Hello Albert, > > Am 12.01.2016 um 15:25 schrieb Albert ARIBAUD: > >Hello Heiko, > > > >On Tue, 12 Jan 2016 11:48:17 +0100, Heiko Schocher wrote: > >>Hello Albert, > >> > >>Am 12.01.2016 um 11:26 schrieb Albert ARIBAUD: > >>>(cc:in

Re: [U-Boot] [PATCH] Don't wrap to negative after 2G sectors

2016-01-13 Thread Tom Rini
On Tue, Aug 25, 2015 at 03:24:13PM -0400, Stefan Monnier wrote: > > Signed-off-by: Stefan Monnier Sorry for the delay: Reviewed-by: Tom Rini And I'll pop in a short commit message. I also need to test this with one of the toolchains that errors out when we try and mix hard and soft float stu

Re: [U-Boot] [PATCH 3/4] arm: mvebu: Add runtime boot-device detection

2016-01-13 Thread Stefan Roese
On 13.01.2016 17:12, Kevin Smith wrote: On 01/09/2016 03:07 AM, Stefan Roese wrote: @@ -100,14 +100,24 @@ #if defined(CONFIG_ARMADA_38X) /* SAR values for Armada 38x */ #define CONFIG_SAR_REG (MVEBU_REGISTER(0x18600)) + #define SAR_CPU_FREQ_OFFS10 #define SAR_CPU

Re: [U-Boot] [PATCH 3/4] arm: mvebu: Add runtime boot-device detection

2016-01-13 Thread Kevin Smith
On 01/09/2016 03:07 AM, Stefan Roese wrote: > @@ -100,14 +100,24 @@ > #if defined(CONFIG_ARMADA_38X) > /* SAR values for Armada 38x */ > #define CONFIG_SAR_REG (MVEBU_REGISTER(0x18600)) > + > #define SAR_CPU_FREQ_OFFS 10 > #define SAR_CPU_FREQ_MASK (0x1f << SAR_CPU_FREQ_O

Re: [U-Boot] [PATCH 16/17] arm: ls1021atwr: Disable CONFIG_E1000 temporarily

2016-01-13 Thread york sun
On 01/12/2016 10:21 PM, Bin Meng wrote: > Hi York, > > On Wed, Jan 13, 2016 at 1:52 AM, York Sun wrote: >> >> >> On 01/11/2016 10:38 PM, Bin Meng wrote: >>> Before we switch to use driver model ethernet support, disable >>> CONFIG_E1000 temporarily as with driver model ethernet, E1000 >>> driver

Re: [U-Boot] [PATCH 3/4] arm: mvebu: Add runtime boot-device detection

2016-01-13 Thread Kevin Smith
On 01/13/2016 10:18 AM, Stefan Roese wrote: > On 13.01.2016 17:12, Kevin Smith wrote: >> On 01/09/2016 03:07 AM, Stefan Roese wrote: >>> @@ -100,14 +100,24 @@ >>>#if defined(CONFIG_ARMADA_38X) >>>/* SAR values for Armada 38x */ >>>#define CONFIG_SAR_REG(MVEBU_REGISTER(0x18600))

Re: [U-Boot] [PATCH] usb: add clock support for generic EHCI

2016-01-13 Thread Masahiro Yamada
Hi Marek, 2016-01-13 23:44 GMT+09:00 Marek Vasut : >> static int ehci_usb_probe(struct udevice *dev) >> { >> + struct generic_ehci *priv = dev_get_priv(dev); >> struct ehci_hccr *hccr = (struct ehci_hccr *)dev_get_addr(dev); >> struct ehci_hcor *hcor; >> + int i; >> + >> +

Re: [U-Boot] [PATCHv2 1/3] arm: socfpga: add reset manager defines for Arria10

2016-01-13 Thread Dinh Nguyen
On 01/12/2016 08:04 PM, Marek Vasut wrote: > On Wednesday, January 13, 2016 at 02:58:42 AM, Chin Liang See wrote: >> On Tue, 2016-01-12 at 23:16 +0100, Marek Vasut wrote: >>> On Tuesday, January 12, 2016 at 11:11:42 PM, Dinh Nguyen wrote: On 01/12/2016 04:02 PM, Marek Vasut wrote: > On T

[U-Boot] Marvell U-Boot co-custodian

2016-01-13 Thread Stefan Roese
Hi Tom, Hi Wolfgang, I've talked with Luka and he agrees, that it makes sense for me to become a co-custodian for the Marvell U-Boot git repository. So, if nobody objects, Wolfgang, could you please add my ssh key to the Marvell U-Boot git repository "u-boot-marvell"? Thanks, Stefan ___

Re: [U-Boot] [PATCH 00/18] dm: video: Introduce initial driver-model video support

2016-01-13 Thread Hannes Schmelzer
Hi Simon, This series starts the process of converting LCD and video devices over to use driver model. Both now use a very similar API thanks to earlier work by Nikita Kiryanov. With the driver-model conversion these will end up unified in a single uclass. Unfortunately there are different featu

Re: [U-Boot] [PATCH v3 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

2016-01-13 Thread Stephen Warren
On 12/01/2015 04:24 AM, Ted Chen wrote: This patch adds driver support for the Realtek RTL8152B/RTL8153 USB network adapters. Ted, are you going to repost a new version to address the review comments? ___ U-Boot mailing list U-Boot@lists.denx.de http:

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

2016-01-13 Thread Stephen Warren
On 12/17/2015 05:27 PM, Tom Rini wrote: 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 enco

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

2016-01-13 Thread Stephen Warren
On 12/14/2015 03:01 PM, 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 test image generation. Withou

[U-Boot] [PATCH v2 resend 0/1] cmd_boot: Add a poweroff command

2016-01-13 Thread Hans de Goede
Hi Tom, This patch is a prereq of the board poweroff patches I've pending for sunxi, since it is a core patch I would prefer for you to merge it directly, rather then "sneak it in" in a sunxi pull-req. This is a resend of v2 of the patch which contains the changes you requested. Regards, Hans _

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

2016-01-13 Thread Hans de Goede
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 cmd conditional on a CMD_POWEROFF Kconfig] Signed-off-by: Hans de Goede --- C

[U-Boot] [GIT PULL] SPL_DM_SEQ_ALIAS changes

2016-01-13 Thread Michal Simek
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 v2016.01 (2016-01-12 09:06:54 -0500) are available in the git repository at: git:/

Re: [U-Boot] [PATCH 3/8] serial: lpuart: Move CONFIG_FSL_LPUART to Kconfig

2016-01-13 Thread Stefan Agner
Hi Bin, On 2015-12-31 00:53, Bin Meng wrote: > LPUART is seen on Freescale VF610 and QorIQ Layerscape devices. > Create a Kconfig option and move it to defconfig for all boards > that have this serial driver. > > Signed-off-by: Bin Meng > --- > > configs/colibri_vf_defconfig |

Re: [U-Boot] [PATCH 6/8] serial: lpuart: Prepare the driver for DM conversion

2016-01-13 Thread Stefan Agner
On 2015-12-31 00:53, Bin Meng wrote: > Create internal routines which take lpuart's register base as > a parameter, in preparation for driver model conversion. > > Signed-off-by: Bin Meng > --- > > drivers/serial/serial_lpuart.c | 146 > +++-- > 1 file chang

Re: [U-Boot] [PATCH 0/8] arm: ls1021atwr: Convert to driver model and enable serial support

2016-01-13 Thread Stefan Agner
On 2016-01-07 01:22, Bin Meng wrote: > Hi Alison, > > On Thu, Jan 7, 2016 at 2:19 PM, Huan Wang wrote: >> Hi, Bin, >> >>> On Thu, Jan 7, 2016 at 2:01 PM, Huan Wang wrote: >>> > Hi, Bin, >>> > >>> >> On Wed, Jan 6, 2016 at 1:31 PM, Huan Wang wrote: >>> >> > Hi, >>> >> > >>> >> > I tested

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

2016-01-13 Thread Stefan Agner
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, Jan 13, 2016 at 1:49 PM, Bhuvanchandra DV >>> wrote: Hi Bin, >>>

Re: [U-Boot] Marvell U-Boot co-custodian

2016-01-13 Thread Tom Rini
On Wed, Jan 13, 2016 at 07:05:36PM +0100, Stefan Roese wrote: > Hi Tom, Hi Wolfgang, > > I've talked with Luka and he agrees, that it makes sense for > me to become a co-custodian for the Marvell U-Boot git > repository. > > So, if nobody objects, Wolfgang, could you please add my ssh > key to t

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

2016-01-13 Thread Tom Rini
On Wed, Jan 13, 2016 at 11:29:59AM -0700, Stephen Warren wrote: > On 12/17/2015 05:27 PM, Tom Rini wrote: > >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 b

Re: [U-Boot] [PATCH] imx: mx6/7 define CONFIG_SYS_VSNPRINTF

2016-01-13 Thread Tom Rini
On Tue, Jan 12, 2016 at 05:45:24PM +0800, Peng Fan wrote: > From: Peng Fan > > Define CONFIG_SYS_VSNPRINTF to use snprintf. If not define > CONFIG_SYS_VSNPRINTF, snprintf is sprintf. > > Report by Coverity: > pass string init_val of unknown size to sprintf > > Signed-off-by: Peng Fan > Cc: Pe

Re: [U-Boot] [PATCH v3 07/14] drivers: ddr: Add DDR2 SDRAM controller driver for Microchip PIC32.

2016-01-13 Thread Simon Glass
On 12 January 2016 at 03:18, Purna Chandra Mandal wrote: > This driver initializes PIC32 DDR2 SDRAM controller and internal DDR2 Phy > module. > DDR2 controller operates in half-rate mode (upto 533MHZ frequency). > > Signed-off-by: Paul Thacker > Signed-off-by: Purna Chandra Mandal > > > --- >

Re: [U-Boot] [PATCH v3 06/14] drivers: serial: add driver for Microchip PIC32 UART controller.

2016-01-13 Thread Simon Glass
Hi Purna, On 12 January 2016 at 03:18, Purna Chandra Mandal wrote: > > From: Paul Thacker > > This adds PIC32 UART controller support based on driver model. > > Signed-off-by: Paul Thacker > Signed-off-by: Purna Chandra Mandal > > > --- > > Changes in v3: > - remove ofdata_to_platdata, and rep

Re: [U-Boot] [PATCH] clk: move Kconfig options into sub-menu

2016-01-13 Thread Simon Glass
On 12 January 2016 at 00:36, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > drivers/clk/Kconfig | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig > index 890f22f..9fcde39 100644 > --- a/drivers/clk/Kconfig > +++ b/drivers/cl

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

2016-01-13 Thread Simon Glass
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 and used as GPIO, provided they > are not in use for o

Re: [U-Boot] [PATCH v3] dm: core: Add option to configure an offset for the address translation

2016-01-13 Thread Simon Glass
Hi Stefan, On 12 January 2016 at 07:42, Stefan Roese wrote: > On 19.12.2015 23:23, Simon Glass wrote: >> >> On 14 December 2015 at 08:18, Stefan Roese wrote: >>> >>> Some platforms need to ability to configure an offset to the standard >>> addresses extracted from the device-tree. This patch all

Re: [U-Boot] [PATCH 1/2] clk: add static qualifier to local functions

2016-01-13 Thread Simon Glass
On 12 January 2016 at 00:40, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- Commit message? > > drivers/clk/clk_rk3036.c | 2 +- > drivers/clk/clk_rk3288.c | 2 +- > drivers/clk/clk_sandbox.c | 5 +++-- > 3 files changed, 5 insertions(+), 4 deletions(-) Acked-by: Simon Glass

  1   2   3   >