Re: [U-Boot] [PATCH v3 3/4] net: phy: Force master mode A20-OLinuXino-Lime2

2016-03-25 Thread Michael Haas
On 03/26/2016 12:46 AM, Iain Paton wrote: > On 24/03/16 06:46, Michael Haas wrote: >> Force master mode on the A20-OLinuXino-Lime2. This change is required >> to get a reliable link at gigabit speeds. >> >> Signed-off-by: Michael Haas > Acked-by: Iain Paton

Re: [U-Boot] [RFC PATCH 2/2] mmc: add support for block device cache

2016-03-25 Thread Eric Nelson
Hi all, On 03/21/2016 11:31 AM, Eric Nelson wrote: > On 03/20/2016 03:54 PM, Eric Nelson wrote: >> On 03/20/2016 03:13 PM, Tom Rini wrote: >>> On Sun, Mar 20, 2016 at 12:35:53PM -0700, Eric Nelson wrote: On 03/17/2016 02:23 PM, Stephen Warren wrote: > On 03/16/2016 03:40 PM, Eric Nelson

Re: [U-Boot] [PATCH v3 3/4] net: phy: Force master mode A20-OLinuXino-Lime2

2016-03-25 Thread Iain Paton
On 24/03/16 06:46, Michael Haas wrote: > Force master mode on the A20-OLinuXino-Lime2. This change is required > to get a reliable link at gigabit speeds. > > Signed-off-by: Michael Haas Acked-by: Iain Paton Glad to see someone finally got to the

[U-Boot] Ethernet via USB on Sinlinx SinA33

2016-03-25 Thread Quentin Schulz
Hi, I am trying to get Ethernet to work through the USB port of the Sinlinx SinA33 on U-Boot to use TFTP to get the kernel and dtb files. However, I am getting 'data abort' when using dhcp or tftp after adding: #define CONFIG_USB_HOST_ETHER #define CONFIG_USB_ETHER_ASIX to

Re: [U-Boot] [PATCH v2] usb: gadget: Move CONFIG_USB_GADGET to Kconfig

2016-03-25 Thread Tom Rini
On Fri, Mar 25, 2016 at 04:39:47PM +0200, Semen Protsenko wrote: > From: Sam Protsenko > > The description was borrowed from kernel. "tristate" type was changed > to "bool" (I believe we don't support modules for u-boot yet, right?). > CONFIG_USB_GADGET requires

[U-Boot] Issue with ALLOC_CACHE_ALIGN_BUFFER in env_relocate_spec and

2016-03-25 Thread Vincent
Hi, I am having some issue with several instances of ALLOC_CACHE_ALIGN_BUFFER in (at least): - common/env_mmc: env_relocate_spec - disk/part_dos: test_part_dos U-boot (ls1021atwr) is build in SPL mode, SPL part is in Secure World, u-boot is in Normal World. In the SPL part, there is no problem,

Re: [U-Boot] Please pull u-boot-sunxi master

2016-03-25 Thread Tom Rini
On Wed, Mar 23, 2016 at 11:13:55PM +0100, Hans de Goede wrote: > Hi Tom, > > Here is the first sunxi pull-req for v2016.05, it > contains: > > -A sync of the sunxi dts files with the kernel > -Addition of support for 10 new boards > -Various fixes > > The following changes since commit

Re: [U-Boot] [PATCH] ARM: asm: types: Introduce DMA_ADDR_T_64BIT

2016-03-25 Thread Tom Rini
On Thu, Mar 24, 2016 at 04:02:00PM +0530, Lokesh Vutla wrote: > dma_addr_t holds any valid DMA address. If the DMA API only uses 32-bit > addresses, dma_addr_t need only be 32 bits wide. Bus addresses, e.g., PCI > BARs, > may be wider than 32 bits, but drivers do memory-mapped I/O to ioremapped

Re: [U-Boot] [PATCH 2/2] ARM: keystone2: Add missing privilege ID settings

2016-03-25 Thread Tom Rini
On Wed, Mar 23, 2016 at 10:14:19AM -0500, Nishanth Menon wrote: > Add missing Privilege ID settings for KS2 SoCs. > > Based on: > K2H/K: Table 6-7. Privilege ID Settings from SPRS866E (Nov 2013) > http://www.ti.com/lit/ds/symlink/66ak2h14.pdf (page 99) > K2L: Table 7-7. Privilege ID Settings

Re: [U-Boot] [PATCH 1/2] ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery

2016-03-25 Thread Tom Rini
On Wed, Mar 23, 2016 at 10:14:18AM -0500, Nishanth Menon wrote: > MSMC segment Privilege ID is not consistent accross the keystone2 SoCs. > As the first step to ensure complete SoC wide coherency setup, lets > refactor the macros to remove the #if-deffery around the code which > obfuscates which

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

2016-03-25 Thread Tom Rini
On Thu, Mar 24, 2016 at 11:09:19AM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the following patches from the marvell git > repository. I plan to send some other patches still under > review a bit later - perhaps in a week or. As I'm off in > Easter vacation starting tomorrow. > >

Re: [U-Boot] [PATCH V2 3/5] rpi: add Raspberry Pi 3 board ID

2016-03-25 Thread Tom Rini
On Thu, Mar 24, 2016 at 10:15:18PM -0600, Stephen Warren wrote: > This allows U-Boot to known the name of the board. > > The existing rpi_2_defconfig can operate correctly on the Raspberry Pi 3 > in 32-bit mode /if/ you have configured the firmware to use the PL011 UART > as the console UART

Re: [U-Boot] [PATCH V2 5/5] rpi: BCM2837 and Raspberry Pi 3 32-bit support

2016-03-25 Thread Tom Rini
On Thu, Mar 24, 2016 at 10:15:20PM -0600, Stephen Warren wrote: > The Raspberry Pi 3 contains a BCM2837 SoC. The BCM2837 is a BCM2836 with > the CPU complex swapped out for a quad-core ARMv8. This can operate in 32- > or 64-bit mode. 32-bit mode is the current default selected by the > VideoCore

Re: [U-Boot] [PATCH V2 4/5] ARM: bcm2835: expand Kconfig target descriptions

2016-03-25 Thread Tom Rini
On Thu, Mar 24, 2016 at 10:15:19PM -0600, Stephen Warren wrote: > This adds an explanation of which Raspberry Pi models each target option > supports. > > Signed-off-by: Stephen Warren Reviewed-by: Tom Rini -- Tom signature.asc Description:

Re: [U-Boot] [PATCH V2 2/5] rpi: use constant "unknown board" DT filename

2016-03-25 Thread Tom Rini
On Thu, Mar 24, 2016 at 10:15:17PM -0600, Stephen Warren wrote: > To simplify support for new SoCs, just use a constant filename > for the unknown case. In practice this case shouldn't be hit anyway, so > the filename isn't relevant, and certainly doesn't need to differentiate > between SoCs. If

Re: [U-Boot] [PATCH V2 1/5] ARM: bcm2835: move CONFIG_BCM283* to Kconfig

2016-03-25 Thread Tom Rini
On Thu, Mar 24, 2016 at 10:15:16PM -0600, Stephen Warren wrote: > Signed-off-by: Stephen Warren Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH] powerpc: t1040qds: Use generic ethsw commands

2016-03-25 Thread Joe Hershberger
On Mon, Mar 14, 2016 at 6:46 AM, Codrin Ciubotariu wrote: > The commands for the VSC9953 l2 switch from T1040 became generic in > patch https://patchwork.ozlabs.org/patch/499748/ and the define > was renamed. > > Signed-off-by: Codrin Ciubotariu

Re: [U-Boot] [PATCH] drivers: net: vsc9953: Do not configure disabled ports

2016-03-25 Thread Joe Hershberger
On Mon, Mar 14, 2016 at 6:46 AM, Codrin Ciubotariu wrote: > Some SerDes protocols might not enable all l2switch ports. In this case, > these ports should not be configured to perform Rx/Tx operations. > This also fixes an issue when flooded frames were also switched to

Re: [U-Boot] [PATCH v3 09/21] eth: asix88179: Print packet length properly

2016-03-25 Thread Joe Hershberger
On Sun, Mar 13, 2016 at 4:36 PM, Mateusz Kulikowski wrote: > Debug printf used '%u' to print size_t variable. > This caused warnings on 64-bit machines. > > Signed-off-by: Mateusz Kulikowski Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH] drivers: net: vsc9953: Fix bug when PVID is shown for disabled ports only

2016-03-25 Thread Joe Hershberger
On Mon, Mar 14, 2016 at 6:46 AM, Codrin Ciubotariu wrote: > Signed-off-by: Codrin Ciubotariu Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] net: rtl8169: Fix build error when DEBUG is on

2016-03-25 Thread Joe Hershberger
On Fri, Mar 18, 2016 at 1:27 AM, Bin Meng wrote: > When DEBUG_RTL8169 is on, a build error occurs in function > 'rtl_init': error: 'dev' undeclared. Fix this. > > Signed-off-by: Bin Meng Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 2/4] driver: net: fsl-mc: Check NULL before pointer dereference

2016-03-25 Thread Joe Hershberger
On Fri, Mar 18, 2016 at 5:45 AM, Prabhakar Kushwaha wrote: > NULL pointer should be checked before any dereference. This patch > move memest after the NULL pointer check. > > Signed-off-by: Prabhakar Kushwaha > Reported-by: Jose Rivera

Re: [U-Boot] [PATCH] driver: net: fsl-mc: Free dflt_dpio pointer after its usage

2016-03-25 Thread Joe Hershberger
On Fri, Mar 18, 2016 at 5:45 AM, Prabhakar Kushwaha wrote: > Free dflt_dpio pointer after its usage during error handling > > Signed-off-by: Prabhakar Kushwaha > Reported-by: Jose Rivera Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v3 3/4] net: phy: Force master mode A20-OLinuXino-Lime2

2016-03-25 Thread Joe Hershberger
On Thu, Mar 24, 2016 at 1:46 AM, Michael Haas wrote: > Force master mode on the A20-OLinuXino-Lime2. This change is required > to get a reliable link at gigabit speeds. > > Signed-off-by: Michael Haas Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v3 2/4] net: phy: Force master mode for A20-Olimex-SOM-EVB

2016-03-25 Thread Joe Hershberger
On Thu, Mar 24, 2016 at 1:46 AM, Michael Haas wrote: > Force master mode for 1000BASE-T operation on the > A20-Olimex-SOM-EVB. > > Karsten Merker reports that this change is necessary to get a reliable > link at gigabit speeds. > > Signed-off-by: Michael Haas

Re: [U-Boot] [PATCH v5 1/3] net: phy: Optionally force master mode for RTL PHY

2016-03-25 Thread Joe Hershberger
On Fri, Mar 25, 2016 at 12:22 PM, Michael Haas wrote: > This patch introduces CONFIG_RTL8211X_PHY_FORCE_MASTER. If this > define is set, RTL8211x PHYs (except for the RTL8211F) will have their > 1000BASE-T master/slave autonegotiation disabled and forced to master >

Re: [U-Boot] [PATCH 2/6 v3] net: mvpp2.c: Add Marvell mvpp2 network driver for Armada 375

2016-03-25 Thread Joe Hershberger
Hi Stefan, On Wed, Mar 23, 2016 at 2:21 AM, Stefan Roese wrote: > This patch adds support for the mvpp2 ethernet controller which is integrated > in the Marvell Armada 375 SoC. This port is based on the Linux driver (v4.4), > which has been stripped of the in U-Boot unused

Re: [U-Boot] [PATCH 2/6] net: mvpp2.c: Add Marvell mvpp2 network driver for Armada 375

2016-03-25 Thread Joe Hershberger
Hi Stefan, On Wed, Mar 23, 2016 at 1:39 AM, Stefan Roese wrote: > Hi Joe, > > On 22.03.2016 20:10, Joe Hershberger wrote: >> >> Sorry for the delay. > > > No problem. Thanks for the review. > > >> On Tue, Mar 15, 2016 at 11:35 AM, Stefan Roese wrote: >>> >>> This

Re: [U-Boot] [PATCH V3] fsl: esdhc: support driver model

2016-03-25 Thread Eric Nelson
Hi Peng, On 03/24/2016 11:16 PM, Peng Fan wrote: > Support Driver Model for fsl esdhc driver. > > 1. Introduce a new structure struct fsl_esdhc_priv > 2. Refactor fsl_esdhc_initialize which is originally used by board code. >- Introduce fsl_esdhc_init to be common usage for DM and non-DM >

[U-Boot] [PATCH] dm: gpio: handle GPIO_ACTIVE_LOW flag in DT

2016-03-25 Thread Eric Nelson
Device tree parsing of GPIO nodes is currently ignoring flags. Add support for GPIO_ACTIVE_LOW by checking for the presence of the flag and setting the desc->flags field to the driver model constant GPIOD_ACTIVE_LOW. Signed-off-by: Eric Nelson --- drivers/gpio/gpio-uclass.c |

[U-Boot] [PATCH v5 2/3] sunxi: A20-Olimex-SOM-EVB: Force 8211CL to master

2016-03-25 Thread Michael Haas
Force master mode for 1000BASE-T operation on the A20-Olimex-SOM-EVB. Karsten Merker reports that this change is necessary to get a reliable link at gigabit speeds. Signed-off-by: Michael Haas --- Changes in v5: - Fix order of defconfig entry (suggested by Karsten

[U-Boot] [PATCH v5 1/3] net: phy: Optionally force master mode for RTL PHY

2016-03-25 Thread Michael Haas
This patch introduces CONFIG_RTL8211X_PHY_FORCE_MASTER. If this define is set, RTL8211x PHYs (except for the RTL8211F) will have their 1000BASE-T master/slave autonegotiation disabled and forced to master mode. This is helpful for PHYs like the RTL8211C which produce unstable links in slave mode.

[U-Boot] [PATCH v5 3/3] sunxi: A20-OLinuXino-Lime2: Force 8211CL to master

2016-03-25 Thread Michael Haas
Force master mode on the A20-OLinuXino-Lime2. This change is required to get a reliable link at gigabit speeds. Signed-off-by: Michael Haas --- Changes in v5: - Fix order of defconfig entry (suggested by Karsten Marker) Changes in v4: - Changed commit summary

[U-Boot] [PATCH v5 0/3] net: phy: Force master mode for RTL8211C on some boards

2016-03-25 Thread Michael Haas
This patch is required to get reliable 1000BASE-T operation on some boards using the RTL8211C(L) PHY. Following discussions on v2 of this patch, I have removed the incorrect check for the RTL8211C(L). Affected boards now have to define CONFIG_RTL8211X_PHY_FORCE_MASTER to benefit from the fix.

Re: [U-Boot] Variable content dump to memory

2016-03-25 Thread James Chargin
Dear Nicolae, On 03/25/2016 02:12 AM, Nicolae Rosia wrote: On Thu, Mar 24, 2016 at 7:51 PM, James Chargin wrote: [...] You weren't completely specific about your needs, but assuming you are wanting to write a U-Boot environment variable to memory, try something like

[U-Boot] [PATCH v2] usb: gadget: Move CONFIG_USB_GADGET to Kconfig

2016-03-25 Thread Semen Protsenko
From: Sam Protsenko The description was borrowed from kernel. "tristate" type was changed to "bool" (I believe we don't support modules for u-boot yet, right?). CONFIG_USB_GADGET requires CONFIG_USB to be defined too, so add it along as well. Definitions were added

Re: [U-Boot] ENV library broken with setenv/printenv argument structs

2016-03-25 Thread Andreas Fenkart
HI Stefano, I was not aware of the use case. I have sent out a simple patch that moves the definition of the structs from fw_main_env.c to fw_env.c, which should avoid the linking problem. Do you have test application you could send me. I without doing the option parsing as done in fw_env_main,

[U-Boot] [PATCH] mx6sabresd: Remove unneeded enable_lvds() function

2016-03-25 Thread Fabio Estevam
From: Fabio Estevam enable_lvds() function only set bits IOMUXC_GPR2_DATA_WIDTH_CH0_18BIT and IOMUXC_GPR2_DATA_WIDTH_CH1_18BIT, but these bits were already set previously inside setup_display(). We can safely remove enable_lvds() then. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH] tools: env: bug: config structs must be defined in tools library

2016-03-25 Thread Andreas Fenkart
fw_senten/fw_printenv can be compiled as a tools library, excluding the fw_env_main object. Reported-by: Stefano Babic Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 4 tools/env/fw_env_main.c | 4 2 files changed, 4

Re: [U-Boot] [PATCH v2 2/2] warp7: Add initial support

2016-03-25 Thread Fabio Estevam
Hi Stefano, On Fri, Mar 11, 2016 at 9:22 AM, Stefano Babic wrote: >> Could this series go into your -next tree then? I would like to submit >> other patches for warp7. > > Yes, I pick them up. I see the warp7 commit in your -next branch, but not in u-boot-imx master. Do you

Re: [U-Boot] [PATCH] Common: SPL: spl_nand: Fixed debug correct NAND ECC type.

2016-03-25 Thread Tom Rini
On Fri, Mar 25, 2016 at 01:13:17PM +0100, Ahmed Samir Khalil wrote: > In case of #define DEBUG 1 (fordebugging SPL). A bug in > spl_nand_load_image() will be triggered, because it prints > using hw ecc regardless of soft ecc configurations and > initializations. > > Signed-off-by: Ahmed Samir

[U-Boot] [PATCH] Common: SPL: spl_nand: Fixed debug correct NAND ECC type.

2016-03-25 Thread Ahmed Samir Khalil
In case of #define DEBUG 1 (fordebugging SPL). A bug in spl_nand_load_image() will be triggered, because it prints using hw ecc regardless of soft ecc configurations and initializations. Signed-off-by: Ahmed Samir --- common/spl/spl_nand.c | 4 1 file changed, 4

[U-Boot] [PATCH] armv8: ls1043aqds: make sure fixed-link property is big endian

2016-03-25 Thread shh.xie
From: Shaohui Xie When setting fixed-link property to DTS, the values should be converted with using cpu_to_fdt32 so that to have correct value on little endian Soc. Signed-off-by: Shaohui Xie --- board/freescale/ls1043aqds/eth.c | 12 ++-- 1

[U-Boot] [PATCH v3] arm: socfpga: migration of CONFIG_SPI_FLASH_BAR

2016-03-25 Thread Denis Bakhvalov
CONFIG_SPI_FLASH_BAR was deleted from socfpga_common.h and placed in socfpga_*_defconfig because it is Kconfig symbol. Signed-off-by: Denis Bakhvalov Reported-by: Denis Bakhvalov Cc: Marek Vasut Acked-by: Marek Vasut ---

Re: [U-Boot] [PATCH v2] mx6sabresd: Use VESA 1024x768 timings

2016-03-25 Thread Stefano Babic
On 16/03/2016 16:55, Fabio Estevam wrote: > VESA 1024x768 results in much more accurate timings. > > Based on the patch from Soeren Moch for the tbs2910 board. > > Signed-off-by: Fabio Estevam > --- > Changes since v1: > - Fix Soeren's name > >

Re: [U-Boot] [PATCH] mx27: 16-bit wide watchdog registers

2016-03-25 Thread Stefano Babic
On 20/03/2016 14:10, Leonid Iziumtsev wrote: > From: Leonid Iziumtsev > > Make the watchdog registers 16-bit wide, as they are according to TRM. > > Signed-off-by: Leonid Iziumtsev > --- >

Re: [U-Boot] [PATCH 1/3] imx: mx6ul: skip setting ahb rate

2016-03-25 Thread Stefano Babic
On 25/03/2016 10:16, Peng Fan wrote: > Hi Stefano, > > Gentle Ping on the three patches. > > Thanks, > Peng. > On Wed, Mar 09, 2016 at 04:44:36PM +0800, Peng Fan wrote: >> To i.MX6UL, default ARM rate and AHB rate is 396M and 198M, >> no need to set them. >> >> Signed-off-by: Peng Fan

[U-Boot] A problem about 'sf probe' using DM_SPI

2016-03-25 Thread Qianyu Gong
Hi Simon, I think I'm not very clear with this code in common/cmd_sf.c: " # ifdef CONFIG_DM_SPI_FLASH /* Remove the old device, otherwise probe will just be a nop */ ret = spi_find_bus_and_cs(bus, cs, _dev, ); if (!ret) { device_remove(new);

Re: [U-Boot] [PATCH] dm: i2c: mxc_i2c: implement i2c_idle_bus

2016-03-25 Thread Peng Fan
Hi Heiko, On Mon, Mar 21, 2016 at 05:10:45PM +0800, Peng Fan wrote: >Hi Heiko, > >On Mon, Mar 21, 2016 at 07:50:32AM +0100, Heiko Schocher wrote: >>Hello Peng Fan, >> >>Sorry for the late reply ... >> >>Am 11.03.2016 um 09:47 schrieb Peng Fan: >>>Implement i2c_idle_bus in driver, then setup_i2c

Re: [U-Boot] [PATCH] imx: mx6: Fix incorrect clear mmdc_ch0 handshake mask

2016-03-25 Thread Stefano Babic
On 25/03/2016 10:14, Peng Fan wrote: > Hi Stefano, > > On Wed, Mar 09, 2016 at 05:37:28PM +0800, Peng Fan wrote: >> Hi Stefano, >> >> On Wed, Mar 09, 2016 at 10:47:38AM +0100, Stefano Babic wrote: >>> Hi Peng, Ye, >>> >>> On 09/03/2016 09:13, Peng Fan wrote: From: Ye Li

[U-Boot] ENV library broken with setenv/printenv argument structs

2016-03-25 Thread Stefano Babic
Hi Andreas, your series for the U-Boot environment tools does not let to use anymore the tools as library to be linked to custom program. In fact, tools/env/Makefile generates a library too: lib-y += fw_env.o \ crc32.o ctype.o linux_string.o \ env_attr.o env_flags.o aes.o that

Re: [U-Boot] [PATCH 1/3] imx: mx6ul: skip setting ahb rate

2016-03-25 Thread Peng Fan
Hi Stefano, Gentle Ping on the three patches. Thanks, Peng. On Wed, Mar 09, 2016 at 04:44:36PM +0800, Peng Fan wrote: >To i.MX6UL, default ARM rate and AHB rate is 396M and 198M, >no need to set them. > >Signed-off-by: Peng Fan >Cc: Stefano Babic >--- >

Re: [U-Boot] [PATCH] imx: mx6: Fix incorrect clear mmdc_ch0 handshake mask

2016-03-25 Thread Peng Fan
Hi Stefano, On Wed, Mar 09, 2016 at 05:37:28PM +0800, Peng Fan wrote: >Hi Stefano, > >On Wed, Mar 09, 2016 at 10:47:38AM +0100, Stefano Babic wrote: >>Hi Peng, Ye, >> >>On 09/03/2016 09:13, Peng Fan wrote: >>> From: Ye Li >>> >>> Since the MX6UL/SL/SX only has one DDR channel, in

Re: [U-Boot] Variable content dump to memory

2016-03-25 Thread Nicolae Rosia
On Thu, Mar 24, 2016 at 7:51 PM, James Chargin wrote: [...] > You weren't completely specific about your needs, but assuming you are > wanting to write a U-Boot environment variable to memory, try something like > You're right. I'm trying to do the following: U-Boot# setenv

Re: [U-Boot] Linux hangs due to commit v2015.10-15-g02cc27c on loading i2c-mv64xx

2016-03-25 Thread Michael Haas
On 03/20/2016 08:15 PM, Hans de Goede wrote: > > I'm running Debian Jessie with Linux 4.3.0-0.bpo.1-armmp-lpae on my > > a20-olinuxino-lime2. > > I have noticed that my board hangs with my recent u-boot versions > when I > > load the i2c module. > > > > git-bisect narrowed the problem down to the

[U-Boot] [PATCH v4 1/3] net: phy: Optionally force master mode for RTL PHY

2016-03-25 Thread Michael Haas
This patch introduces CONFIG_RTL8211X_PHY_FORCE_MASTER. If this define is set, RTL8211x PHYs (except for the RTL8211F) will have their 1000BASE-T master/slave autonegotiation disabled and forced to master mode. This is helpful for PHYs like the RTL8211C which produce unstable links in slave mode.

[U-Boot] [PATCH v4 2/3] sunxi: A20-Olimex-SOM-EVB: Force 8211CL to master

2016-03-25 Thread Michael Haas
Force master mode for 1000BASE-T operation on the A20-Olimex-SOM-EVB. Karsten Merker reports that this change is necessary to get a reliable link at gigabit speeds. Signed-off-by: Michael Haas --- Changes in v4: - Changed commit summary according to Chen-Yu Tsai's

[U-Boot] [PATCH v4 0/3] net: phy: Force master mode for RTL8211C on some boards

2016-03-25 Thread Michael Haas
This patch is required to get reliable 1000BASE-T operation on some boards using the RTL8211C(L) PHY. Following discussions on v2 of this patch, I have removed the incorrect check for the RTL8211C(L). Affected boards now have to define CONFIG_RTL8211X_PHY_FORCE_MASTER to benefit from the fix.

[U-Boot] [PATCH v4 3/3] sunxi: A20-OLinuXino-Lime2: Force 8211CL to master

2016-03-25 Thread Michael Haas
Force master mode on the A20-OLinuXino-Lime2. This change is required to get a reliable link at gigabit speeds. Signed-off-by: Michael Haas --- Changes in v4: - Changed commit summary according to Chen-Yu Tsai's suggestion, modified to fit the 70 character limit

Re: [U-Boot] [PATCH 1/2] sunxi: Add conditional magic sram poke for A33

2016-03-25 Thread Ian Campbell
On Fri, 2016-03-25 at 01:10 +0100, Karsten Merker wrote:  > > - if ((version & 0x) == 0x1650) > > + /* > > +  * Ideally this would be a switch case, bit we do not know exactly > > s/bit/but/ Other than that, both patches: Acked-by: Ian Campbell

Re: [U-Boot] [PATCH 5/5] lib: Enable private libgcc by default

2016-03-25 Thread Albert ARIBAUD
On Fri, 25 Mar 2016 07:37:25 +0100, Albert ARIBAUD wrote: > Hello Tom, > That way, > > 0) U-Boot gets the stable and controlled AEABI support you want; > > 1) GCC keeps its somewhat stable but uncontrolled internal "generated >code / libgcc" interface; > > 2)

Re: [U-Boot] [PATCH 5/5] lib: Enable private libgcc by default

2016-03-25 Thread Albert ARIBAUD
Hello Sergey, On Thu, 24 Mar 2016 18:37:52 -0700 (PDT), Sergey Kubushyn wrote: > On Thu, 24 Mar 2016, Tom Rini wrote: > U-Boot is a standalone program not supposed to coexist with any external > applications i.e. it is totally self-sufficient, not living in some kind of > system

Re: [U-Boot] [PATCH 5/5] lib: Enable private libgcc by default

2016-03-25 Thread Albert ARIBAUD
Hello Tom, On Thu, 24 Mar 2016 20:49:42 -0400, Tom Rini wrote: > On Thu, Mar 24, 2016 at 08:50:03AM +0100, Albert ARIBAUD wrote: > > Hello Tom, > > > > On Wed, 23 Mar 2016 17:36:17 -0400, Tom Rini wrote: > > > On Wed, Mar 23, 2016 at 06:08:45PM +0100,

[U-Boot] [PATCH V3] fsl: esdhc: support driver model

2016-03-25 Thread Peng Fan
Support Driver Model for fsl esdhc driver. 1. Introduce a new structure struct fsl_esdhc_priv 2. Refactor fsl_esdhc_initialize which is originally used by board code. - Introduce fsl_esdhc_init to be common usage for DM and non-DM - Introduce fsl_esdhc_cfg_to_priv to build the bridge for