Re: [U-Boot] [PATCH] MAINTAINERS: mark sunxi status as Orphan

2016-11-14 Thread Ian Campbell
On Mon, 2016-11-14 at 12:53 +0100, Hans de Goede wrote: > Ian has not had any time for sunxi for some time now and I'm > in the same situation now, so I'm stepping down as sunxi > custodian and marking the sunxi support as Orphan. > > Cc: Maxime Ripard > Cc:

Re: [U-Boot] [PATCH 00/10] sunxi: Add basic PSCI support to enable SMP on the A80's first cluster

2016-11-14 Thread Chen-Yu Tsai
Hi, On Wed, Nov 9, 2016 at 6:38 PM, Hans de Goede wrote: > Hi, > > On 09-11-16 11:21, Chen-Yu Tsai wrote: >> >> Hi everyone, >> >> This series adds basic PSCI support for the A80 to enable SMP on the >> first cluster. This at least allows people to use more than one core. >>

[U-Boot] [PATCH] [resend] net: fman: fix 2.5G SGMII settings

2016-11-14 Thread Shaohui Xie
The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in set_if_mode(), and the serdes PCS configuration are wrong, this patch uses the correct settings took from Linux. Signed-off-by: Shaohui Xie --- not sure what was wrong, the patch did not show in

Re: [U-Boot] [PATCH] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Marek Vasut
On 11/14/2016 02:53 PM, Anatolij Gustschin wrote: > Add CycloneV based Terasic DE1-SoC board. The board boots > from SD/MMC. Ethernet and USB host is supported. > > Signed-off-by: Anatolij Gustschin > Cc: Marek Vasut [...] > diff --git

Re: [U-Boot] [PATCH] Do not force master mode on unaffected PHY's

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 15:11, Olliver Schinagl wrote: Hey Hans, On 14-11-16 12:26, Hans de Goede wrote: Hi, On 08-11-16 17:38, Olliver Schinagl wrote: The current implementation to force the PHY into master mode is to have a define which affects all realtek PHY's. This is not needed as the

Re: [U-Boot] [PATCH] Do not force master mode on unaffected PHY's

2016-11-14 Thread Olliver Schinagl
Hans, On 14-11-16 15:13, Hans de Goede wrote: Hi, On 14-11-16 15:11, Olliver Schinagl wrote: Hey Hans, On 14-11-16 12:26, Hans de Goede wrote: Hi, On 08-11-16 17:38, Olliver Schinagl wrote: The current implementation to force the PHY into master mode is to have a define which affects

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 15:09, Maxime Ripard wrote: Hi, On Mon, Nov 14, 2016 at 12:18:06PM +0100, Hans de Goede wrote: #ifdef CONFIG_SPL_SPI_SUNXI @@ -143,7 +157,14 @@ #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SUNXI #define CONFIG_MMC_SUNXI_SLOT 0 -#define CONFIG_ENV_IS_IN_MMC

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Maxime Ripard
On Mon, Nov 14, 2016 at 12:18:06PM +0100, Hans de Goede wrote: > > #ifdef CONFIG_SPL_SPI_SUNXI > > @@ -143,7 +157,14 @@ > > #define CONFIG_GENERIC_MMC > > #define CONFIG_MMC_SUNXI > > #define CONFIG_MMC_SUNXI_SLOT 0 > > -#define CONFIG_ENV_IS_IN_MMC > > +#endif > > + > > +#if

Re: [U-Boot] [PATCH] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Anatolij Gustschin
Hi, On Mon, 14 Nov 2016 15:07:31 +0100 Marek Vasut ma...@denx.de wrote: ... > > +#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION > > +#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 2 > > Why is this needed ? Just start U-Boot from partition 1 as all the other > SoCFPGAs do , esp. since

[U-Boot] [PATCH] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Anatolij Gustschin
Add CycloneV based Terasic DE1-SoC board. The board boots from SD/MMC. Ethernet and USB host is supported. Signed-off-by: Anatolij Gustschin Cc: Marek Vasut --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_cyclone5_de1_soc.dts | 66 +++

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Maxime Ripard
On Mon, Nov 14, 2016 at 12:29:25PM +0100, Hans de Goede wrote: > Hi, > > On 14-11-16 12:18, Hans de Goede wrote: > > Hi, > > > > On 08-11-16 17:21, Maxime Ripard wrote: > > > This program generates raw SPL images that can be flashed on the NAND with > > > the ECC and randomizer properly set up.

Re: [U-Boot] [PATCH] Do not force master mode on unaffected PHY's

2016-11-14 Thread Olliver Schinagl
Hey Hans, On 14-11-16 12:26, Hans de Goede wrote: Hi, On 08-11-16 17:38, Olliver Schinagl wrote: The current implementation to force the PHY into master mode is to have a define which affects all realtek PHY's. This is not needed as the problem only exists in the RTL8211C chips. Let us thus

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Maxime Ripard
Hi, On Mon, Nov 14, 2016 at 12:18:06PM +0100, Hans de Goede wrote: > > #ifdef CONFIG_SPL_SPI_SUNXI > > @@ -143,7 +157,14 @@ > > #define CONFIG_GENERIC_MMC > > #define CONFIG_MMC_SUNXI > > #define CONFIG_MMC_SUNXI_SLOT 0 > > -#define CONFIG_ENV_IS_IN_MMC > > +#endif > > + > > +#if

[U-Boot] [PATCH] net: phy: micrel: Fix error handling

2016-11-14 Thread Marek Vasut
Fix the following error, the $ret variable handling must be part of the loop, while due to the missing parenthesis it was not. drivers/net/phy/micrel.c: In function ‘ksz9021_of_config’: drivers/net/phy/micrel.c:303:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for

[U-Boot] [PATCH] net: fman: fix 2.5G SGMII settings

2016-11-14 Thread shh.xie
From: Shaohui Xie The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in set_if_mode(), and the serdes PCS configuration are wrong, this patch uses the correct settings took from Linux. Signed-off-by: Shaohui Xie ---

Re: [U-Boot] [PATCH 4/9] w1: Add 1-Wire gpio driver

2016-11-14 Thread Maxime Ripard
Hi Simon, On Fri, Nov 11, 2016 at 09:17:20AM -0700, Simon Glass wrote: > Hi Maxime, > > On 8 November 2016 at 03:06, Maxime Ripard > wrote: > > Add a bus driver for bitbanging a 1-Wire bus over a GPIO. > > > > Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-14 Thread Maxime Ripard
Hi, On Fri, Nov 11, 2016 at 11:16:39AM -0800, Moritz Fischer wrote: > > +U_BOOT_DRIVER(ds2431) = { > > + .name = "ds2431", > > + .id = UCLASS_EEPROM, > > + .ops= _ops, > > Do you want to add a .flags = DM_UC_FLAG_SEQ_ALIAS here? I don't know.

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 15:12, Maxime Ripard wrote: On Mon, Nov 14, 2016 at 12:18:06PM +0100, Hans de Goede wrote: #ifdef CONFIG_SPL_SPI_SUNXI @@ -143,7 +157,14 @@ #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SUNXI #define CONFIG_MMC_SUNXI_SLOT 0 -#define CONFIG_ENV_IS_IN_MMC +#endif +

Re: [U-Boot] [PATCH] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Marek Vasut
On 11/14/2016 03:17 PM, Anatolij Gustschin wrote: > Hi, > > On Mon, 14 Nov 2016 15:07:31 +0100 > Marek Vasut ma...@denx.de wrote: > ... >>> +#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION >>> +#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 2 >> >> Why is this needed ? Just start U-Boot

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 12:53:13PM +0100, Hans de Goede wrote: > Hi All, > > A while back I wrote: > > "Between my $dayjob, linux-sunxi, other foss projects and last but > not least spending time with my wife and children I'm way too > busy lately. > > So I've decided to seriously scale back my

Re: [U-Boot] [PATCH RESEND 5/9] EEPROM: Add an EEPROM uclass

2016-11-14 Thread Maxime Ripard
Hi Moritz, On Fri, Nov 11, 2016 at 11:13:39AM -0800, Moritz Fischer wrote: > Hi Maxime, > > On Fri, Nov 11, 2016 at 8:17 AM, Simon Glass wrote: > > Hi Maxime, > > > > On 8 November 2016 at 03:19, Maxime Ripard > > wrote: > >> We might want

[U-Boot] [PATCH] [resend] net: fman: fix 2.5G SGMII settings

2016-11-14 Thread shh.xie
From: Shaohui Xie The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in set_if_mode(), and the serdes PCS configuration are wrong, this patch uses the correct settings took from Linux. Signed-off-by: Shaohui Xie --- not sure what was

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 14:53, Maxime Ripard wrote: On Mon, Nov 14, 2016 at 12:29:25PM +0100, Hans de Goede wrote: Hi, On 14-11-16 12:18, Hans de Goede wrote: Hi, On 08-11-16 17:21, Maxime Ripard wrote: This program generates raw SPL images that can be flashed on the NAND with the ECC and

[U-Boot] [PATCH] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-11-14 Thread Mugunthan V N
Add support to detect RGMII link interface from link-interface device tree entry. Also rename the existing link type enums so that it provides meaning full interface like SGMII. Signed-off-by: Mugunthan V N --- Without this support there is a crash in K2G EVM tftp boot [1].

Re: [U-Boot] [PATCH 0/4] mx35, flea3: updates for the imx35 based flea3 board

2016-11-14 Thread Stefano Babic
On 17/10/2016 15:51, Heiko Schocher wrote: > post some small updates for the imx35 based flea3 board > - add DT support > - factorize SDRAM setup > - add GPIO setup > - adjust default environment > > > Heiko Schocher (2): > mx35: add DT support to flea3 board > mx35: adjust default

Re: [U-Boot] [PATCH] imx: mx6sx: Disable ENET clock before switching clock parent

2016-11-14 Thread Stefano Babic
Hi Peng, On 08/10/2016 10:58, Peng Fan wrote: > From: "Ye.Li" > > Need to gate ENET clock when switching to a new clock parent, because > the mux is not glitchless. > > Signed-off-by: Peng Fan > Signed-off-by: Ye.Li > Cc: Stefano Babic

Re: [U-Boot] [PATCH] imx: mx6ull: update the REFTOP_VBGADJ setting

2016-11-14 Thread Stefano Babic
On 08/10/2016 11:03, Peng Fan wrote: > According to design team, we need to set REFTOP_VBGADJ > in PMU MISC0 according to the REFTOP_TRIM[2:0] fuse. the > actually table is as below: > > '000" - set REFTOP_VBGADJ[2:0] to 3'b000 > '001" - set REFTOP_VBGADJ[2:0] to 3'b001 > '010" - set

Re: [U-Boot] [PATCH 2/7] mtd: nand: add support for the TC58NVG2S0H chip

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: From: Boris Brezillon Add the description of the Toshiba TC58NVG2S0H SLC nand to the nand_ids table so we can use the NAND ECC infos and the ONFI timings. Signed-off-by: Boris Brezillon

Re: [U-Boot] [PATCH 1/7] sunxi: Sync GR8 DTS and AXP209 with the kernel

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: Those DT will be part of 4.10, sync them so we can have our own config. Signed-off-by: Maxime Ripard Looks good to me: Reviewed-by: Hans de Goede Regards, Hans ---

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 12:18, Hans de Goede wrote: Hi, On 08-11-16 17:21, Maxime Ripard wrote: This program generates raw SPL images that can be flashed on the NAND with the ECC and randomizer properly set up. Signed-off-by: Maxime Ripard Looks good to me:

[U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-14 Thread Hans de Goede
Hi All, A while back I wrote: "Between my $dayjob, linux-sunxi, other foss projects and last but not least spending time with my wife and children I'm way too busy lately. So I've decided to seriously scale back my involvement in linux-sunxi, as such I'm going to step down as u-boot sunxi

[U-Boot] [PATCH] MAINTAINERS: mark sunxi status as Orphan

2016-11-14 Thread Hans de Goede
Ian has not had any time for sunxi for some time now and I'm in the same situation now, so I'm stepping down as sunxi custodian and marking the sunxi support as Orphan. Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: Ian Campbell

Re: [U-Boot] [PATCH 5/7] nand: sunxi: Add options for the SPL NAND configuration

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: The SPL image needs to be built with a different ECC configuration than the U-Boot binary. Add Kconfig options with defaults to provide a value that should work for anyone, but is still configurable if needs be. Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH 6/7] scripts: sunxi: Build an raw SPL image

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: Introduce a new sunxi-spl-with-ecc.bin image with already the right header, ECC, randomizer and padding for the BROM to be able to read it. It needs to be flashed using a raw access to the NAND so that the controller doesn't change a thing to it,

Re: [U-Boot] [PATCH 7/7] sunxi: Add support for the CHIP Pro

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: The CHIP Pro is a SoM that features the GR8 SIP, an AXP209, a BT/WiFi chip and a 512MiB SLC NAND. This it's an SLC NAND, it doesn't suffer the same drawbacks than found on the MLC NANDs, and we can enable it right away. Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH 4/4] sunxi: sina33: Enable the LCD

2016-11-14 Thread Jaehoon Chung
Hi Hans, On 11/14/2016 03:51 AM, Hans de Goede wrote: > Hi, > > On 04-11-16 16:18, Maxime Ripard wrote: >> The SinA33 comes with an optional 7" display. Enable it in the >> configuration. >> >> Signed-off-by: Maxime Ripard > > LGTM: > > Reviewed-by: Hans de

Re: [U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 01:34, Jaehoon Chung wrote: On 11/14/2016 07:50 AM, Tom Rini wrote: On Sun, Nov 13, 2016 at 07:50:53PM +0100, Hans de Goede wrote: Hi, On 04-11-16 16:18, Maxime Ripard wrote: Some eMMC will fail at the first switch, but would succeed in a subsequent one. Make sure we try

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-14 Thread Stefan Roese
Hi Hans, On 14.11.2016 12:53, Hans de Goede wrote: A while back I wrote: "Between my $dayjob, linux-sunxi, other foss projects and last but not least spending time with my wife and children I'm way too busy lately. So I've decided to seriously scale back my involvement in linux-sunxi, as such

Re: [U-Boot] [U-Boot, v2, 2/5] ARM: bcm283x: Implement EFI RTS reset_system

2016-11-14 Thread Alexander Graf
> The rpi has a pretty simple way of resetting the whole system. All it takes > is to poke a few registers at a well defined location in MMIO space. > > This patch adds support for the EFI loader implementation to allow an OS to > reset and power off the system when we're outside of boot time. >

Re: [U-Boot] [U-Boot, v2, 5/5] bcm2835: Reserve the spin table in efi memory map

2016-11-14 Thread Alexander Graf
> Firmware provides a spin table on the raspberry pi. This table shouldn't > get overwritten by payloads, so we need to mark it as reserved. > > Signed-off-by: Alexander Graf Thanks, applied to efi-next Alex ___ U-Boot mailing list

Re: [U-Boot] [PATCH 6/7] scripts: sunxi: Build an raw SPL image

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 12:19, Hans de Goede wrote: Hi, On 08-11-16 17:21, Maxime Ripard wrote: Introduce a new sunxi-spl-with-ecc.bin image with already the right header, ECC, randomizer and padding for the BROM to be able to read it. It needs to be flashed using a raw access to the NAND so that

Re: [U-Boot] [PATCH 4/4] sunxi: sina33: Enable the LCD

2016-11-14 Thread Jaehoon Chung
On 11/14/2016 03:51 AM, Hans de Goede wrote: > Hi, > > On 04-11-16 16:18, Maxime Ripard wrote: >> The SinA33 comes with an optional 7" display. Enable it in the >> configuration. >> >> Signed-off-by: Maxime Ripard > > LGTM: > > Reviewed-by: Hans de Goede

Re: [U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-14 Thread Jaehoon Chung
On 11/14/2016 03:50 AM, Hans de Goede wrote: > Hi, > > On 04-11-16 16:18, Maxime Ripard wrote: >> Some eMMC will fail at the first switch, but would succeed in a subsequent >> one. >> >> Make sure we try several times to cover those cases. The number of retries >> (and the behaviour) is currently

Re: [U-Boot] [PATCH 3/4] sunxi: sina33: Enable the eMMC

2016-11-14 Thread Jaehoon Chung
On 11/14/2016 03:51 AM, Hans de Goede wrote: > Hi, > > On 04-11-16 16:18, Maxime Ripard wrote: >> The SinA33 has an 4GB Toshiba eMMC connected to the MMC2 controller. >> Enable it. >> >> Signed-off-by: Maxime Ripard > > LGTM: > > Reviewed-by: Hans de Goede

Re: [U-Boot] [PATCH 2/4] mmc: sunxi: Enable 8bits bus width for sun8i

2016-11-14 Thread Jaehoon Chung
On 11/14/2016 03:51 AM, Hans de Goede wrote: > Hi, > > On 04-11-16 16:18, Maxime Ripard wrote: >> The sun8i SoCs also have a 8 bits capable MMC2 controller. Enable the >> support for those too. >> >> Signed-off-by: Maxime Ripard > > LGTM: > > Reviewed-by: Hans

Re: [U-Boot] [PATCH v7 0/5] net: fec_mxc: Convert to DM

2016-11-14 Thread Stefano Babic
Hi Jagan, On 19/10/2016 13:23, Jagan Teki wrote: > From: Jagan Teki > > This series convert fec_mxc to DM and tested both dm and > non-dm code and it is on top of [1] with u-boot-imx/master > branch. > > Changes for v7: > - Remove fec_set_dev_name in dm probe > >

Re: [U-Boot] [U-Boot, v2, 4/5] bcm2835 video: Map frame buffer as 32bpp

2016-11-14 Thread Alexander Graf
> To enable working efifb support, let's map the frame buffer as 32bpp > instead of 16bpp. > > Signed-off-by: Alexander Graf Thanks, applied to efi-next Alex ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v2, 4/5] bcm2835 video: Map frame buffer as 32bpp

2016-11-14 Thread Alexander Graf
On 14/11/2016 10:23, Alexander Graf wrote: To enable working efifb support, let's map the frame buffer as 32bpp instead of 16bpp. Signed-off-by: Alexander Graf Thanks, applied to efi-next Alex Sorry, that was script magic going wild. Bcm2835 patches obviously have to go

Re: [U-Boot] [PATCH 4/4] rk3036: enable the vbus regulator when borad_init

2016-11-14 Thread Kever Yang
Hi Simon, On 11/12/2016 12:17 AM, Simon Glass wrote: Hi Kever, On 8 November 2016 at 03:13, Kever Yang wrote: enable the vbus for usb host in board_init(). Note 'borad_init' typo in subject. Will fix in next version. Signed-off-by: Kever Yang

Re: [U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-14 Thread Jaehoon Chung
On 11/14/2016 06:56 PM, Hans de Goede wrote: > Hi, > > On 14-11-16 01:34, Jaehoon Chung wrote: >> On 11/14/2016 07:50 AM, Tom Rini wrote: >>> On Sun, Nov 13, 2016 at 07:50:53PM +0100, Hans de Goede wrote: Hi, On 04-11-16 16:18, Maxime Ripard wrote: > Some eMMC will fail at the

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: This program generates raw SPL images that can be flashed on the NAND with the ECC and randomizer properly set up. Signed-off-by: Maxime Ripard Looks good to me: Reviewed-by: Hans de Goede

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: From: Hans de Goede Enable the NAND and UBI support in the configuration header so that we can (finally) use it. Signed-off-by: Hans de Goede Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCHv2 09/15] pci: layerscape: add pci driver based on DM

2016-11-14 Thread Z.Q. Hou
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2016年11月12日 0:18 > To: Z.Q. Hou > Cc: U-Boot Mailing List ; Albert ARIBAUD > ; Prabhakar Kushwaha >

Re: [U-Boot] [PATCH RESEND 0/9] sunxi: chip: Enable the DIP auto-detection

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 11:19, Maxime Ripard wrote: The NextThing's C.H.I.P. can have expansion boards called DIPs. Those DIPs are connected through the external headers, and comes with an identification mechanism based on 1-Wire EEPROMs. That auto-detection works great, because 1-Wire allows the

Re: [U-Boot] [PATCH] Do not force master mode on unaffected PHY's

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:38, Olliver Schinagl wrote: The current implementation to force the PHY into master mode is to have a define which affects all realtek PHY's. This is not needed as the problem only exists in the RTL8211C chips. Let us thus turn this into a quirk flag instead. Series looks

Re: [U-Boot] [PATCH 01/11] net: dw: Add read_rom_hwaddr net_op hook

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > Add the read_rom_hwaddr net_op hook so that it can be called from boards > to read the mac from a ROM chip. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 06/11] arm: sunxi: Use read_rom_hwaddr() to obtain MAC address

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > With the newly introduced hooks, we can now set the MAC address at the > lowest level properly. The user is still free to override it via a > u-boot environment variable. > > Signed-off-by: Olliver Schinagl

Re: [U-Boot] [PATCH 07/11] net: sunxi: Do not inject ethernet addresses into the env

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > Currently we inject 5 ethernet addresses into the environment, just in > case we may need them. We do this because some boards have no eeprom > (programmed) with a proper ethernet address. With the recent addition of >

Re: [U-Boot] [RFC 1/1] image: Add TEE loading to FIT loadable processing

2016-11-14 Thread Simon Glass
Hi Andrew, On 14 November 2016 at 14:55, Andrew F. Davis wrote: > On 11/14/2016 02:44 PM, Simon Glass wrote: >> Hi Andrew, >> >> On 14 November 2016 at 12:49, Andrew F. Davis wrote: >>> To help automate the loading of a TEE image during the boot we add a new >>> FIT

Re: [U-Boot] [PATCH v2 1/4] Introduce CONFIG_SPL_ABORT_ON_NON_FIT_IMAGE

2016-11-14 Thread Simon Glass
Hi Andrew, On 14 November 2016 at 15:05, Andrew F. Davis wrote: > On 11/14/2016 02:44 PM, Simon Glass wrote: >> Hi Andrew, >> >> On 14 November 2016 at 12:14, Andrew F. Davis wrote: >>> Introduce CONFIG_SPL_ABORT_ON_NON_FIT_IMAGE. An SPL which define >>> this will

Re: [U-Boot] [PATCH v2 1/3] spl: add RAM boot device only if it is actually defined

2016-11-14 Thread Simon Glass
Hi Stefan, On 14 November 2016 at 15:44, Stefan Agner wrote: > On 2016-11-14 12:44, Simon Glass wrote: >> Hi Stefan, >> >> On 12 November 2016 at 12:13, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> Some devices (e.g. dra7xx)

Re: [U-Boot] [PATCH v2 3/7] net: stm32: add designware mac glue code for stm32

2016-11-14 Thread Joe Hershberger
On Fri, Nov 4, 2016 at 2:21 PM, Michael Kurz wrote: > This patch adds glue code required for enabling the designware > mac on stm32f7 devices. > > Signed-off-by: Michael Kurz Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 1/3] net: phy: realtek: Use the BIT() macro

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 10:38 AM, Olliver Schinagl wrote: > The BIT macro is the preferred method to set bits. > This patch adds the bit macro and converts bit invocations. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 08/11] net: sunxi: Allow sunxi boards to set the MAC from an EEPROM

2016-11-14 Thread Joe Hershberger
On Thu, Nov 10, 2016 at 6:11 AM, Olliver Schinagl wrote: > Hi Michal, > > > On 10-11-16 12:51, Michal Simek wrote: >> >> On 8.11.2016 16:54, Olliver Schinagl wrote: >>> >>> This patch uses the newly introduced Kconfig options to use the net_op >>> read_rom_hwaddr to retrieve

[U-Boot] [PATCH] arm: mx6: specify SPL padding

2016-11-14 Thread Stefan Agner
From: Stefan Agner When building SPL with eMMC boot support, specify standard padding for payload to match the load sector during boot. This allows to use the u-boot-with-spl.imx build target to generate a direcly flashable image which can be flashed using: dd

Re: [U-Boot] [PATCH 2/3] net: phy: realtek: make define more concistent

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 10:38 AM, Olliver Schinagl wrote: > All internal defines in the realtek phy are with a small X, > except MIIM_RTL8211X_CTRL1000T_MASTER. Make this more concistent > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v1 1/3] net: Kconfig: Add CONFIG_MACB option

2016-11-14 Thread Joe Hershberger
On Tue, Nov 1, 2016 at 3:41 PM, Joe Hershberger wrote: > On Wed, Oct 19, 2016 at 9:55 PM, Wenyou Yang wrote: >> Add CONFIG_MACB option in KConfig to be used to select the Cadence >> MACB Ethernet driver. >> >> Signed-off-by: Wenyou Yang

Re: [U-Boot] [PATCH 04/11] net: sunxi-emac: Add read_rom_hwaddr net_op hook

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > Add the read_rom_hwaddr net_op hook so that it can be called from boards > to read the mac from a ROM chip. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH] cmd: move CMD_PXE to Kconfig

2016-11-14 Thread Joe Hershberger
On Sun, Nov 13, 2016 at 2:59 PM, Yann E. MORIN wrote: > Currently, CMD_PXE is forcibly enabled in config_distro_defaults.h, so > that general purpose distributions can rely on it being defined. This > header is included, under conditions or not, by various archs or >

Re: [U-Boot] [PATCH 3/3] net: phy: realtek: Only force master mode on rtl8211b/c

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 10:38 AM, Olliver Schinagl wrote: > Commit 525d187af ("net: phy: Optionally force master mode for RTL PHY") > added the define to force the PHY into master mode. Unfortunatly this is > an all or nothing switch. So it applies to either all PHY's or no

Re: [U-Boot] [PATCH 02/11] net: sunxi-emac: Write HW address via function

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > Currently the mac address is programmed directly in _sunxi_emac_eth_init > making it a one time inflexible operation. By moving it into a separate > function, we can now use this more flexibly. > > Signed-off-by:

Re: [U-Boot] [PATCH 03/11] net: sunxi-emac: Add write_hwaddr net_op hook

2016-11-14 Thread Joe Hershberger
On Tue, Nov 8, 2016 at 9:54 AM, Olliver Schinagl wrote: > Expose enetaddr writing via net_ops so that it can be hooked into. > > Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 2/3] net: macb: Add the clock support

2016-11-14 Thread Joe Hershberger
On Tue, Nov 1, 2016 at 9:06 PM, Wenyou Yang wrote: > Due to introducing the at91 clock driver, add the clock support. > > Signed-off-by: Wenyou Yang Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH v3 5/5] ARMv8: LS1043A: Enable LS1043A default PSCI support

2016-11-14 Thread Hongbo Zhang
On Tue, Nov 15, 2016 at 2:12 AM, york sun wrote: > On 11/06/2016 08:14 PM, macro.wav...@gmail.com wrote: >> From: Hongbo Zhang >> >> A most basic PSCI implementation with only one psci_version is added for >> LS1043A, this can verify the generic PSCI

Re: [U-Boot] [PATCH] net: use random ethernet address if invalid and not zero

2016-11-14 Thread Joe Hershberger
On Mon, Nov 7, 2016 at 4:25 PM, James Chargin wrote: > Hi Joe, > > Thanks for your reply. > > On 11/07/2016 10:20 AM, Joe Hershberger wrote: >> >> Hi Jim, >> >> On Wed, Nov 2, 2016 at 8:21 AM, James Chargin wrote: >>> >>> Hi, >>> >>> Regarding "invalid"

Re: [U-Boot] [PATCH 11/11] tools: Add tool to add crc8 to a mac address

2016-11-14 Thread Joe Hershberger
On Fri, Nov 11, 2016 at 10:18 AM, Simon Glass wrote: > Hi Olliver, (is it one l or two?) > > On 8 November 2016 at 08:54, Olliver Schinagl wrote: >> This patch adds a little tool that takes a generic MAC address and >> generates a CRC byte for it. The

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-11-14 Thread Joe Hershberger
On Sat, Nov 12, 2016 at 9:28 AM, Marek Vasut wrote: > If mac-address is changed using "setenv ethaddr " command the new > mac-adress also must be written into the responsible ethernet driver. > This fixes the legacy ethernet handling. > > Signed-off-by: Marek Vasut

Re: [U-Boot] [PATCH] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-11-14 Thread Joe Hershberger
On Mon, Nov 14, 2016 at 3:12 AM, Mugunthan V N wrote: > Add support to detect RGMII link interface from link-interface > device tree entry. Also rename the existing link type enums so > that it provides meaning full interface like SGMII. > > Signed-off-by: Mugunthan V N

Re: [U-Boot] [PATCH v2] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Marek Vasut
On 11/14/2016 04:07 PM, Anatolij Gustschin wrote: > Add CycloneV based Terasic DE1-SoC board. The board boots > from SD/MMC. Ethernet and USB host is supported. > > Signed-off-by: Anatolij Gustschin > Cc: Marek Vasut > --- > Applied, thanks. -- Best regards,

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 04:20:49PM +0100, Maxime Ripard wrote: > On Fri, Nov 11, 2016 at 11:20:47AM -0500, Tom Rini wrote: > > On Tue, Nov 08, 2016 at 05:21:14PM +0100, Maxime Ripard wrote: > > > > > This program generates raw SPL images that can be flashed on the NAND with > > > the ECC and

Re: [U-Boot] [PATCH] dfu: dfu_sf: Fix read offset

2016-11-14 Thread Lukasz Majewski
Hi Phil, > The offset was applied to write, but not read, now its applied to > both. > > Signed-off-by: Phil Edworthy > --- > drivers/dfu/dfu_sf.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/dfu/dfu_sf.c b/drivers/dfu/dfu_sf.c

[U-Boot] [PATCH] dfu: dfu_sf: Fix read offset

2016-11-14 Thread Phil Edworthy
The offset was applied to write, but not read, now its applied to both. Signed-off-by: Phil Edworthy --- drivers/dfu/dfu_sf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/dfu/dfu_sf.c b/drivers/dfu/dfu_sf.c index 9702eee..b6d5fe2

Re: [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 02:42:59PM +0100, Maxime Ripard wrote: > Hi, > > On Fri, Nov 11, 2016 at 11:16:39AM -0800, Moritz Fischer wrote: > > > +U_BOOT_DRIVER(ds2431) = { > > > + .name = "ds2431", > > > + .id = UCLASS_EEPROM, > > > + .ops= _ops,

Re: [U-Boot] MAINTAINERS: mark sunxi status as Orphan

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 12:53:25PM +0100, Hans de Goede wrote: > Ian has not had any time for sunxi for some time now and I'm > in the same situation now, so I'm stepping down as sunxi > custodian and marking the sunxi support as Orphan. > > Cc: Maxime Ripard >

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Maxime Ripard
On Fri, Nov 11, 2016 at 11:20:47AM -0500, Tom Rini wrote: > On Tue, Nov 08, 2016 at 05:21:14PM +0100, Maxime Ripard wrote: > > > This program generates raw SPL images that can be flashed on the NAND with > > the ECC and randomizer properly set up. > > > > Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH] dfu: dfu_sf: Fix read offset

2016-11-14 Thread Fabio Estevam
On Mon, Nov 14, 2016 at 1:19 PM, Phil Edworthy wrote: > The offset was applied to write, but not read, now its applied to > both. > > Signed-off-by: Phil Edworthy Reviewed-by: Fabio Estevam

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread Jagan Teki
On Thu, Nov 3, 2016 at 6:28 AM, Andre Przywara wrote: > Somehow an int returning function without a return statement sneaked > in. Fix it. > > Signed-off-by: Andre Przywara > --- > drivers/mtd/spi/sunxi_spi_spl.c | 3 ++- > 1 file changed, 2

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread Andre Przywara
Hi, On 14/11/16 16:30, Jagan Teki wrote: > On Thu, Nov 3, 2016 at 6:28 AM, Andre Przywara wrote: >> Somehow an int returning function without a return statement sneaked >> in. Fix it. >> >> Signed-off-by: Andre Przywara >> --- >>

[U-Boot] [PATCH v2] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Anatolij Gustschin
Add CycloneV based Terasic DE1-SoC board. The board boots from SD/MMC. Ethernet and USB host is supported. Signed-off-by: Anatolij Gustschin Cc: Marek Vasut --- v2: - drop custom raw partition configuration, use default instead arch/arm/dts/Makefile

[U-Boot] [ANN] U-Boot v2016.11 is released

2016-11-14 Thread Tom Rini
Hey all, I've released v2016.11 and it's now live on git and FTP and ACD (along with PGP sig file). In many ways it feels good to say that the highlights of the last release once again apply. We've had more DM conversion work, Kconfig conversion work and arch / SoC / platform updates. We've

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 04:47:26PM +, Andre Przywara wrote: > Hi, > > On 14/11/16 16:30, Jagan Teki wrote: > > On Thu, Nov 3, 2016 at 6:28 AM, Andre Przywara > > wrote: > >> Somehow an int returning function without a return statement sneaked > >> in. Fix it. > >> >

Re: [U-Boot] [PATCH] net: phy: micrel: Fix error handling

2016-11-14 Thread Joe Hershberger
On Mon, Nov 14, 2016 at 8:08 AM, Marek Vasut wrote: > Fix the following error, the $ret variable handling must > be part of the loop, while due to the missing parenthesis > it was not. > > drivers/net/phy/micrel.c: In function ‘ksz9021_of_config’: > drivers/net/phy/micrel.c:303:2:

Re: [U-Boot] [PATCH][v2] driver: net: ldpaa_eth: Fix missing bracket issue

2016-11-14 Thread Joe Hershberger
On Thu, Nov 3, 2016 at 7:35 AM, Priyanka Jain wrote: > Signed-off-by: Priyanka Jain > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Ashish Kumar Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 5/7] nand: sunxi: Add options for the SPL NAND configuration

2016-11-14 Thread Scott Wood
On Tue, 2016-11-08 at 17:21 +0100, Maxime Ripard wrote: > The SPL image needs to be built with a different ECC configuration than the > U-Boot binary. > > Add Kconfig options with defaults to provide a value that should work for > anyone, but is still configurable if needs be. > > Signed-off-by:

[U-Boot] [PATCH][v2] net: fman: fix 2.5G SGMII settings

2016-11-14 Thread Shaohui Xie
The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in set_if_mode(), and the serdes PCS configuration are wrong, this patch uses the correct settings took from Linux. Signed-off-by: Shaohui Xie --- changes in v2: 1. code style changes for readability. 2.

Re: [U-Boot] [PATCH v5 02/21] sf: Simplify lock ops detection code

2016-11-14 Thread Jagan Teki
On Sat, Nov 5, 2016 at 9:37 PM, Simon Glass wrote: > Hi Jagan, > > On 30 October 2016 at 11:46, Jagan Teki wrote: >> Simplify the flash_lock ops detection code and added >> meaningful comment. >> >> Cc: Simon Glass >> Cc: Bin Meng

[U-Boot] [PATCH 2/3] rockchip: configs: correct env offset when enable CONFIG_ROCKCHIP_SPL_BACK_TO_BROM

2016-11-14 Thread Jacob Chen
Signed-off-by: Jacob Chen --- include/configs/evb_rk3288.h | 9 + include/configs/fennec_rk3288.h | 9 + include/configs/miniarm_rk3288.h | 9 + include/configs/popmetal_rk3288.h | 9 + 4 files changed, 36 insertions(+) diff

[U-Boot] [PATCH 3/3] rockchip: configs: make rk3036 env config same with rk3288

2016-11-14 Thread Jacob Chen
Signed-off-by: Jacob Chen --- include/configs/kylin_rk3036.h | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/include/configs/kylin_rk3036.h b/include/configs/kylin_rk3036.h index 4f0bd84..bc28525 100644 ---

[U-Boot] [PATCH 1/3] dts: rk3288: correct sdram setting for miniarm

2016-11-14 Thread Jacob Chen
miniarm board use lpddr3 Signed-off-by: Jacob Chen --- arch/arm/dts/rk3288-miniarm.dts | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/dts/rk3288-miniarm.dts b/arch/arm/dts/rk3288-miniarm.dts index 9083028..3dd40e6

Re: [U-Boot] [PATCH 08/11] net: sunxi: Allow sunxi boards to set the MAC from an EEPROM

2016-11-14 Thread Michal Simek
On 15.11.2016 04:27, Joe Hershberger wrote: > On Thu, Nov 10, 2016 at 6:11 AM, Olliver Schinagl wrote: >> Hi Michal, >> >> >> On 10-11-16 12:51, Michal Simek wrote: >>> >>> On 8.11.2016 16:54, Olliver Schinagl wrote: This patch uses the newly introduced Kconfig

  1   2   >