Re: [U-Boot] Device tree & PCI/ECAM questions

2016-11-01 Thread Aaron Williams
Hi Jagen, On 11/01/2016 11:33 AM, Jagan Teki wrote: On Tue, Nov 1, 2016 at 6:49 AM, Aaron Williams wrote: Hi all, I am working on several drivers for our Octeon-TX/Thunder chips which talk to devices connected to the ECAM bus through another sub-bus and am

[U-Boot] [RFC PATCH 2/3] ARM: mx6: ddr: add plugin-utils placeholder

2016-11-01 Thread Eric Nelson
Add entry points for saving the state of the machine at entry from the Boot ROM and for restoring the state before a return. Note that this needs some fixup before it's useful, so I'm forwarding it as an RFC to solicit advice. This placeholder is little more than a setjmp/longjmp that saves the

[U-Boot] [RFC PATCH 3/3] ARM: imx: mx6memcal: allow build of combined SPL+U-Boot

2016-11-01 Thread Eric Nelson
Add an imximage config file to construct u-boot.imx with SPL as a plugin and use it as a straw-man for the mx6memcal virtual board. Note that this breaks the build of SPL because only one value can be listed for IMX_CONFIG. As it stands, all imx SPL builds use an almost empty .cfg file from

[U-Boot] [RFC PATCH 0/3] ARM: imx: mx6: Add plugin support for SPL

2016-11-01 Thread Eric Nelson
I forgot to mention in the cover letter for the previous patch set that because the mx6memcal board has no implementation of storage (it only supports a serial console and DDR), I haven't tested the resulting U-Boot, which has very little besides "mtest" included. I'm hoping to use this code

[U-Boot] [RFC PATCH 1/3] ARM: mx6: preserve Boot ROM stack in SPL

2016-11-01 Thread Eric Nelson
The i.MX6 Boot ROM starts its' stack at 0x091ffb4 and appears to be a little less than 256 bytes deep when starting U-Boot. This was determined experimentally on i.MX6DL and i.MX6SL. Allow this stack to be preserved to simplify returning to ROM when SPL is loaded as a plugin. Signed-off-by:

[U-Boot] [PATCH v2 3/3] net: macb: Remove redundant #ifdef CONFIG_DM_ETH

2016-11-01 Thread Wenyou Yang
Remove the redundant #ifdef CONFIG_DM_ETH/#endif. Signed-off-by: Wenyou Yang Acked-by: Joe Hershberger --- Changes in v2: - Add Acked-by tag. drivers/net/macb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/macb.c

[U-Boot] [PATCH v2 0/3] net: macb: Add option and clock support

2016-11-01 Thread Wenyou Yang
The CONFIG_MACB option is added in KConfig to be used to select the Cadence MACB Ethernet driver, and the clock is supported. Changes in v2: - Use positive logic, #ifdef...#else...#endif. - Remove unnecessary splitting the signature of macb_mdc_clk_div() and others. - Add Acked-by tag.

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

2016-11-01 Thread Wenyou Yang
Due to introducing the at91 clock driver, add the clock support. Signed-off-by: Wenyou Yang --- Changes in v2: - Use positive logic, #ifdef...#else...#endif. - Remove unnecessary splitting the signature of macb_mdc_clk_div() and others. drivers/net/macb.c | 41

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

2016-11-01 Thread Wenyou Yang
Add CONFIG_MACB option in KConfig to be used to select the Cadence MACB Ethernet driver. Signed-off-by: Wenyou Yang --- Changes in v2: None drivers/net/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig

Re: [U-Boot] [PATCH] cmd: crosec: Move crosec_decode_region helper to cmd/cros_ec.c

2016-11-01 Thread Simon Glass
Hi Moritz, On 28 October 2016 at 19:57, Moritz Fischer wrote: > The cros_ec_decode_region() function is only used in combination > with the crosec cmds. Move the function to the correct place. > > Signed-off-by: Moritz Fischer > Cc: Simon

Re: [U-Boot] [PATCH 0/8] dm: Update on serial driver progress

2016-11-01 Thread Simon Glass
Hi Marcel, On 28 October 2016 at 04:44, Marcel Ziswiler wrote: > On Wed, 2016-10-26 at 16:30 +, Simon Glass wrote: >> Hi, >> >> On 21 October 2016 at 01:10, Marek Vasut wrote: >> > >> > On 10/21/2016 08:52 AM, Marcel Ziswiler wrote: >> > > >> > >

Re: [U-Boot] [linux-sunxi] Re: [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-11-01 Thread Chen-Yu Tsai
On Sun, Oct 30, 2016 at 4:15 PM, Hans de Goede wrote: > Hi, > > > On 30-10-16 06:30, Chen-Yu Tsai wrote: >> >> On Sat, Oct 29, 2016 at 8:06 PM, Hans de Goede >> wrote: >>> >>> Hi, >>> >>> >>> On 28-10-16 19:30, Hans de Goede wrote: Hi

[U-Boot] Rockchip USB driver

2016-11-01 Thread Simon Glass
Hi Kever, Do you have a USB driver for RK3288 that you could upstream please? Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4 00/11] binman: A tool for creating firmware images

2016-11-01 Thread Marcel Ziswiler
Hi Simon That sounds somewhat similar to the new OpenEmbedded Image Creator tool called WIC (e.g. see slide 27ff here https://www.yoctoproject.org/sites /default/files/yocto_devday_advanced_class_berlin_1.pdf). Cheers Marcel On Thu, 2016-10-06 at 14:59 -0600, Simon Glass wrote: > This series

Re: [U-Boot] [PATCH 3/7] net: phy: add SMSC LAN8742 phy

2016-11-01 Thread Joe Hershberger
On Tue, Nov 1, 2016 at 4:54 PM, Michael Kurz wrote: > This patch adds support for SMSC LAN8742 in phylib > > Signed-off-by: Michael Kurz Acked-by: Joe Hershberger ___ U-Boot mailing

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

2016-11-01 Thread Joe Hershberger
On Tue, Nov 1, 2016 at 4:54 PM, Michael Kurz wrote: > This patch adds glue code required for enabling the designware > mac on stm32f7 devices. > > Signed-off-by: Michael Kurz > --- > > arch/arm/include/asm/arch-stm32f7/rcc.h | 8 >

[U-Boot] [PATCH 5/7] ARM: SPI: stm32: add stm32f746 qspi driver

2016-11-01 Thread Michael Kurz
This patch adds support for the QSPI IP found in stm32f7 devices. Signed-off-by: Michael Kurz --- This currently hard disables any multi i/o in the device tree, as it is impossible to get this working without interpreting the commands of the spi-flash framework in the xfer

[U-Boot] [PATCH 7/7] SPI: add missing flag to micron/stm N25Q128 flash chips

2016-11-01 Thread Michael Kurz
This patch adds the missing 4K erase flag to struct spi_flash_params Signed-off-by: Michael Kurz --- drivers/mtd/spi/sf_params.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c index

[U-Boot] [PATCH 4/7] ARM: stm32: enable support for smsc phy on stm32f746-disco board

2016-11-01 Thread Michael Kurz
This patch enables support for the smsc phy on the stm32f746-disco board. Signed-off-by: Michael Kurz --- include/configs/stm32f746-disco.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h index

[U-Boot] [PATCH 1/7] ARM: DTS: stm32: add stm32f746-disco device tree files

2016-11-01 Thread Michael Kurz
This patch adds the DTS source files needed for stm32f746-disco board based on the stm32f429/469 files from current linux kernel. Signed-off-by: Michael Kurz --- arch/arm/dts/Makefile |2 + arch/arm/dts/armv7-m.dtsi |

[U-Boot] [PATCH 0/7] ARM: stm32: add network and qspi driver support to stm32f746-disco board

2016-11-01 Thread Michael Kurz
This series adds support for the network and the qspi devices found on the stm32f746 controller and enables those devices on the stm32f746-disco board. Michael Kurz (7): ARM: DTS: stm32: add stm32f746-disco device tree files net: stm32: add designware mac glue code for stm32 net: phy: add

[U-Boot] [PATCH 6/7] ARM: stm32: fix comment in stm32f7 header file

2016-11-01 Thread Michael Kurz
This patch fixes a comment typo in stm32f7 rcc.h header Signed-off-by: Michael Kurz --- arch/arm/include/asm/arch-stm32f7/rcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-stm32f7/rcc.h

[U-Boot] [PATCH 3/7] net: phy: add SMSC LAN8742 phy

2016-11-01 Thread Michael Kurz
This patch adds support for SMSC LAN8742 in phylib Signed-off-by: Michael Kurz --- drivers/net/phy/smsc.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c index 313fcdf..41ffbe9 100644 ---

Re: [U-Boot] [PATCH] odroid-c2: Enable distro boot

2016-11-01 Thread Andreas Färber
Hi Alex, Am 01.11.2016 um 22:19 schrieb Alexander Graf: > On 01/11/2016 22:11, Andreas Färber wrote: >> diff --git a/include/configs/meson-gxbb-common.h >> b/include/configs/meson-gxbb-common.h >> index 3bba2e6..0c467fe 100644 >> --- a/include/configs/meson-gxbb-common.h >> +++

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

2016-11-01 Thread Michael Kurz
This patch adds glue code required for enabling the designware mac on stm32f7 devices. Signed-off-by: Michael Kurz --- arch/arm/include/asm/arch-stm32f7/rcc.h | 8 arch/arm/include/asm/arch-stm32f7/stm32_periph.h | 2 +

Re: [U-Boot] [PATCH] odroid-c2: Enable distro boot

2016-11-01 Thread Alexander Graf
On 01/11/2016 22:11, Andreas Färber wrote: Use the generic "distro" boot framework to enable automatic DHCP boot. Thanks :) Signed-off-by: Andreas Färber --- Kconfig | 2 +- configs/odroid-c2_defconfig | 1 -

[U-Boot] [PATCH] odroid-c2: Enable distro boot

2016-11-01 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. Signed-off-by: Andreas Färber --- Kconfig | 2 +- configs/odroid-c2_defconfig | 1 - include/configs/meson-gxbb-common.h | 13 + include/configs/odroid-c2.h

[U-Boot] U-Boot Support for SIL3531

2016-11-01 Thread Rudolf J Streif
Does anyone know if u-boot supports the SIL3531 PCIE SATA controller? drivers/block/sata_sil.c explicitly lists SIL3131, SIL3132, and SIL3124. I am not that familiar with the history of the SIL SATA chips and maybe somebody knows if the SIL3531 is backwards compatible to those chips. Thank

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

2016-11-01 Thread Joe Hershberger
On Wed, Oct 19, 2016 at 9:55 PM, Wenyou Yang wrote: > Due to introducing the at91 clock driver, add the clock support. > > Signed-off-by: Wenyou Yang > --- > > drivers/net/macb.c | 68 > +- > 1

[U-Boot] U-Boot Support for SIL3531

2016-11-01 Thread Rudolf J Streif
Does anyone know if u-boot supports the SIL3531 PCIE SATA controller? drivers/block/sata_sil.c explicitly lists SIL3131, SIL3132, and SIL3124. I am not that familiar with the history of the SIL SATA chips and maybe somebody knows if the SIL3531 is backwards compatible to those chips. Thank

Re: [U-Boot] [RFC] 0/4] Add Pl330 DMA support

2016-11-01 Thread Dinh Nguyen
On 11/01/2016 03:42 PM, Marek Vasut wrote: > On 11/01/2016 09:39 PM, Dinh Nguyen wrote: >> >> >> On 11/01/2016 03:09 PM, Marek Vasut wrote: >>> On 11/01/2016 04:43 PM, Dinh Nguyen wrote: On 10/29/2016 02:59 PM, Marek Vasut wrote: > On 10/18/2016 05:50 PM, Dinh Nguyen wrote:

Re: [U-Boot] [RFC] 0/4] Add Pl330 DMA support

2016-11-01 Thread Marek Vasut
On 11/01/2016 09:39 PM, Dinh Nguyen wrote: > > > On 11/01/2016 03:09 PM, Marek Vasut wrote: >> On 11/01/2016 04:43 PM, Dinh Nguyen wrote: >>> >>> >>> On 10/29/2016 02:59 PM, Marek Vasut wrote: On 10/18/2016 05:50 PM, Dinh Nguyen wrote: > On Sun, Oct 16, 2016 at 10:59 AM, Marek Vasut

Re: [U-Boot] [PATCH v1 3/3] net: macb: Remove redundant #ifdef CONFIG_DM_ETH

2016-11-01 Thread Joe Hershberger
On Wed, Oct 19, 2016 at 9:55 PM, Wenyou Yang wrote: > Remove the redundant #ifdef CONFIG_DM_ETH/#endif. > > Signed-off-by: Wenyou Yang Acked-by: Joe Hershberger ___ U-Boot mailing

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

2016-11-01 Thread Joe Hershberger
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 It seem you need to run tools/moveconfig.py on this thing, yes? Thanks,

Re: [U-Boot] [PATCH] powerpc/t2080: DDR controller erratum A-009942

2016-11-01 Thread Shengzhou Liu
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of york sun > Sent: Thursday, October 27, 2016 3:57 AM > To: Hamish Martin ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATCH] powerpc/t2080: DDR controller erratum

Re: [U-Boot] [RFC] 0/4] Add Pl330 DMA support

2016-11-01 Thread Dinh Nguyen
On 11/01/2016 03:09 PM, Marek Vasut wrote: > On 11/01/2016 04:43 PM, Dinh Nguyen wrote: >> >> >> On 10/29/2016 02:59 PM, Marek Vasut wrote: >>> On 10/18/2016 05:50 PM, Dinh Nguyen wrote: On Sun, Oct 16, 2016 at 10:59 AM, Marek Vasut wrote: > On 10/15/2016 12:10 AM, Dinh

Re: [U-Boot] [PATCH v5 00/21] sf: Updates on flash detection

2016-11-01 Thread York
I am out for a conference. Will take a look when I get back. York On Nov 1, 2016 13:07, "Jagan Teki" wrote: > On Sun, Oct 30, 2016 at 11:16 PM, Jagan Teki wrote: > > Updated spi_flash_info table in sync with Linux, and removed > > legacy and unsupported

Re: [U-Boot] [RFC] 0/4] Add Pl330 DMA support

2016-11-01 Thread Marek Vasut
On 11/01/2016 04:43 PM, Dinh Nguyen wrote: > > > On 10/29/2016 02:59 PM, Marek Vasut wrote: >> On 10/18/2016 05:50 PM, Dinh Nguyen wrote: >>> On Sun, Oct 16, 2016 at 10:59 AM, Marek Vasut wrote: On 10/15/2016 12:10 AM, Dinh Nguyen wrote: > > > On 10/10/2016 10:52

Re: [U-Boot] [PATCH] wandboard: Make Ethernet functional again

2016-11-01 Thread Joe Hershberger
On Tue, Nov 1, 2016 at 11:58 AM, Fabio Estevam wrote: > Since commit ce412b79e7255770 ("drivers: net: phy: atheros: add separate > config for AR8031") ethernet does not work on mx6sabresd. > > This commit correctly assigns ar8031_config() as the configuration > function for

Re: [U-Boot] [PATCH] net: add synopsys QoS ethernet driver

2016-11-01 Thread Joe Hershberger
On Tue, Oct 18, 2016 at 11:35 AM, Nathan Sullivan wrote: > This NIC is similar to the designware nic, however it has different > registers and descriptors, hence the new driver. > > Signed-off-by: Nathan Sullivan > --- > drivers/net/Kconfig

Re: [U-Boot] [PATCH V3 1/2] dt: net: add DWC EQoS binding

2016-11-01 Thread Joe Hershberger
On Fri, Oct 21, 2016 at 3:46 PM, Stephen Warren wrote: > From: Stephen Warren > > The Synopsys DWC EQoS is a configurable Ethernet MAC/DMA IP block which > supports multiple options for bus type, clocking and reset structure, and > feature list. > >

Re: [U-Boot] [PATCH 2/2] net: zynq_gem: Correct SGMII enable bit setting

2016-11-01 Thread Joe Hershberger
On Wed, Oct 26, 2016 at 6:26 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Correct the SGMII enable bit position to 27 instead > of 31. > > Signed-off-by: Siva Durga Prasad Paladugu > Signed-off-by:

Re: [U-Boot] [PATCH 1/2] net: zynq_gem: Modify the nwcfg bit definitions

2016-11-01 Thread Joe Hershberger
On Wed, Oct 26, 2016 at 6:26 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Modify the nwcfg bit definitions to have 32-bit > by removing the extra nibble. > > Signed-off-by: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH v2] net: phy: micrel: center FLP burst timing at 16ms

2016-11-01 Thread Joe Hershberger
On Fri, Oct 21, 2016 at 4:31 PM, Ash Charles wrote: > Like [1], reset the FLP burst timing for the KSZ9031 to the 16ms > specified by the IEEE802.3 standard from the chip's default of 8ms. > > For more details, see the "Auto-Negotiation Timing" section of the > KSZ9031RNX

Re: [U-Boot] [PATCH] net: mvgbe: Fix build error with CONFIG_PHYLIB

2016-11-01 Thread Joe Hershberger
On Mon, Oct 31, 2016 at 4:48 PM, Chris Packham wrote: > Commit 5a49f17481bb ("net: mii: Use spatch to update miiphy_register") > updated the mvgbe implementation of smi_reg_read/smi_reg_write. Prior to > that change mvgbe_phy_read and mvgbe_phy_write where used as

Re: [U-Boot] [PATCH V3 2/2] net: add driver for Synopsys Ethernet QoS device

2016-11-01 Thread Joe Hershberger
Hi Stephen, On Fri, Oct 21, 2016 at 3:46 PM, Stephen Warren wrote: > From: Stephen Warren > > This driver supports the Synopsys Designware Ethernet QoS (Quality of > Service) a/k/a eqos IP block, which is a different design than the HW > supported by

[U-Boot] [RFC PATCH 6/9] mx6memcal: add configuration for Wandboard Solo (512MiB of x32 DDR3)

2016-11-01 Thread Eric Nelson
Signed-off-by: Eric Nelson --- configs/mx6memcal_wandboard_solo_defconfig | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 configs/mx6memcal_wandboard_solo_defconfig diff --git a/configs/mx6memcal_wandboard_solo_defconfig

[U-Boot] [RFC PATCH 7/9] mx6memcal: add configuration for Wandboard Quad

2016-11-01 Thread Eric Nelson
Note that for some reason, this is failing for me unless I select a DDR bus width of 32 bits. Signed-off-by: Eric Nelson --- configs/mx6memcal_wandboard_quad_defconfig | 34 ++ 1 file changed, 34 insertions(+) create mode 100644

[U-Boot] [RFC PATCH 9/9] mx6memcal: add configuration for warp board (i.MX6SL)

2016-11-01 Thread Eric Nelson
Signed-off-by: Eric Nelson --- configs/mx6memcal_warpboard_defconfig | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 configs/mx6memcal_warpboard_defconfig diff --git a/configs/mx6memcal_warpboard_defconfig

[U-Boot] [RFC PATCH 4/9] mx6memcal: add configuration for Nitrogen6_max board

2016-11-01 Thread Eric Nelson
Signed-off-by: Eric Nelson --- configs/mx6memcal_nitrogen6_max_defconfig | 33 +++ 1 file changed, 33 insertions(+) create mode 100644 configs/mx6memcal_nitrogen6_max_defconfig diff --git a/configs/mx6memcal_nitrogen6_max_defconfig

[U-Boot] [RFC PATCH 8/9] mx6memcal: add configuration for mx6slevk

2016-11-01 Thread Eric Nelson
Signed-off-by: Eric Nelson --- configs/mx6memcal_mx6slevk_defconfig | 37 1 file changed, 37 insertions(+) create mode 100644 configs/mx6memcal_mx6slevk_defconfig diff --git a/configs/mx6memcal_mx6slevk_defconfig

[U-Boot] [RFC PATCH 3/9] mx6memcal: add configuration for SABRE Lite

2016-11-01 Thread Eric Nelson
Signed-off-by: Eric Nelson --- configs/mx6memcal_sabrelite_defconfig | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 configs/mx6memcal_sabrelite_defconfig diff --git a/configs/mx6memcal_sabrelite_defconfig

[U-Boot] [RFC PATCH 5/9] mx6memcal: add configuration for tr1x board (i.MX6SL with DDR3)

2016-11-01 Thread Eric Nelson
Signed-off-by: Eric Nelson --- configs/mx6memcal_tr1x_defconfig | 36 1 file changed, 36 insertions(+) create mode 100644 configs/mx6memcal_tr1x_defconfig diff --git a/configs/mx6memcal_tr1x_defconfig b/configs/mx6memcal_tr1x_defconfig new

[U-Boot] [RFC PATCH 1/9] mx6: Add board mx6memcal for use in validating DDR

2016-11-01 Thread Eric Nelson
This is a virtual "board" that uses configuration files and Kconfig to define the memory layout used by a real board during the board bring-up process. It generates an SPL image that can be loaded using imx_usb or SB_LOADER.exe. When run, it will generate a set of calibration constants for use

[U-Boot] [RFC PATCH 2/9] mx6memcal: zero values for MPWRDLCTL cause read DQS calibration errors

2016-11-01 Thread Eric Nelson
Signed-off-by: Eric Nelson --- board/freescale/mx6memcal/spl.c | 4 1 file changed, 4 insertions(+) diff --git a/board/freescale/mx6memcal/spl.c b/board/freescale/mx6memcal/spl.c index 90e240f..4e63e34 100644 --- a/board/freescale/mx6memcal/spl.c +++

[U-Boot] [RFC PATCH 0/9] ARM: imx: mx6: Add virtual mx6memcal board

2016-11-01 Thread Eric Nelson
This patch series adds a DDR calibration tool in the form of a virtual i.MX6 board named "mx6memcal". I was hoping to send this without the RFC, but found something that needs some investigation in the process of cleanup (see ccgr_init in patch 1) and would like to get it out so that others can

Re: [U-Boot] [PATCH v5 00/21] sf: Updates on flash detection

2016-11-01 Thread Jagan Teki
On Sun, Oct 30, 2016 at 11:16 PM, Jagan Teki wrote: > Updated spi_flash_info table in sync with Linux, and removed > legacy and unsupported code. > > Changes for v5: > - Add dataflash fixes in this series > - Rebase to master > > Changes for v4: > - Rebase to master > >

Re: [U-Boot] Device tree & PCI/ECAM questions

2016-11-01 Thread Jagan Teki
On Tue, Nov 1, 2016 at 6:49 AM, Aaron Williams wrote: > Hi all, > > I am working on several drivers for our Octeon-TX/Thunder chips which talk > to devices connected to the ECAM bus through another sub-bus and am having > issues regarding the device tree. > > We

[U-Boot] [PATCH] wandboard: Make Ethernet functional again

2016-11-01 Thread Fabio Estevam
Since commit ce412b79e7255770 ("drivers: net: phy: atheros: add separate config for AR8031") ethernet does not work on mx6sabresd. This commit correctly assigns ar8031_config() as the configuration function for AR8031 in the same way as done in the Linux kernel. However, on wandboard design we

Re: [U-Boot] [PATCH v3 1/2] spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig

2016-11-01 Thread Tom Rini
On Tue, Nov 01, 2016 at 03:29:09PM +0200, Sam Protsenko wrote: > Signed-off-by: Sam Protsenko > --- > Changes in v3: > - PATCH 1/2: add USE_SECTOR to missed boards (reported by buildman): >- Merrii_A80_Optimus >- Cubieboard4 >

Re: [U-Boot] [PATCH V3 2/2] net: add driver for Synopsys Ethernet QoS device

2016-11-01 Thread Joe Hershberger
On Mon, Oct 31, 2016 at 10:48 AM, Stephen Warren wrote: > On 10/21/2016 02:46 PM, Stephen Warren wrote: >> >> From: Stephen Warren >> >> This driver supports the Synopsys Designware Ethernet QoS (Quality of >> Service) a/k/a eqos IP block, which is a

Re: [U-Boot] [RFC] 0/4] Add Pl330 DMA support

2016-11-01 Thread Dinh Nguyen
On 10/29/2016 02:59 PM, Marek Vasut wrote: > On 10/18/2016 05:50 PM, Dinh Nguyen wrote: >> On Sun, Oct 16, 2016 at 10:59 AM, Marek Vasut wrote: >>> On 10/15/2016 12:10 AM, Dinh Nguyen wrote: On 10/10/2016 10:52 AM, Dinh Nguyen wrote: > Hi, > > This

Re: [U-Boot] [PATCH v2 2/2] imx: make ipu's di configurable

2016-11-01 Thread Eric Nelson
On 11/01/2016 07:04 AM, Max Krummenacher wrote: > The ipu has two display interfaces. Make the used one a parameter > in struct display_info_t instead of using unconditionally DI0. > DI0 is the default setting. > > Signed-off-by: Max Krummenacher > > --- > >

[U-Boot] [PATCH v2 2/2] imx: make ipu's di configurable

2016-11-01 Thread Max Krummenacher
The ipu has two display interfaces. Make the used one a parameter in struct display_info_t instead of using unconditionally DI0. DI0 is the default setting. Signed-off-by: Max Krummenacher --- Changes in v2: - none arch/arm/imx-common/video.c | 2 +-

[U-Boot] [PATCH v2 1/2] spl: mmc: fix switch statement

2016-11-01 Thread Max Krummenacher
If CONFIG_SPL_LIBCOMMON_SUPPORT is not defined there is a lone case statement at the end of the switch leading to a compile error. Remove the offending case statement. | common/spl/spl_mmc.c:339:7: error: label at end of compound statement Signed-off-by: Max Krummenacher

[U-Boot] [PATCH v3 0/2] spl: Convert MMC raw mode sector options to Kconfig

2016-11-01 Thread Sam Protsenko
This series accomplishes next: 1. Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR option to Kconfig 2. Remove CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR from boards that don't build SPL 3. Add CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR bool option, which can be tested with #ifdef

[U-Boot] [PATCH v3 2/2] spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

2016-11-01 Thread Sam Protsenko
This option isn't used for anything, so get rid of it. Signed-off-by: Sam Protsenko --- Changes in v3: None Changes in v2: None README | 4 include/configs/am3517_crane.h | 1 - include/configs/am3517_evm.h | 1 -

[U-Boot] [PATCH v3 0/2] spl: Convert MMC raw mode sector options to Kconfig

2016-11-01 Thread Sam Protsenko
This series accomplishes next: 1. Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR option to Kconfig 2. Remove CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR from boards that don't build SPL 3. Add CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR bool option, which can be tested with #ifdef

[U-Boot] [PATCH] arm: sunxi: do not force USB for arch-sunxi

2016-11-01 Thread Yann E. MORIN
Currently, USB is forced-enabled for the sunxi familly, and there is no way to disable it. However, USB takes a long time to initiliase, delaying the boot by up to 5 seconds (without any USB device attached!). This is a very long delay, especially in cases where USB booting is not wanted at all,

[U-Boot] [PATCH 00/20] rockchip: Add support for Asus Chromebit

2016-11-01 Thread Simon Glass
This series adds support for 'mickey', the Asus Chromebit based on Rockchip RK3288. Some refactoring is included to jerry also. The intent is that all RK3288-based Chromebooks will use the 'veyron' board, with everything common except the device tree. SPI is used to boot, and we move jerry to use

[U-Boot] [PATCH] tools: Makefile: improve cross_tools target usability

2016-11-01 Thread Stefan Müller-Klieser
When building the cross_tools target, HOSTCFLAGS and HOSTLDFLAGS will propagate to the target build. This should not happen and is easy to prevent. Signed-off-by: Stefan Müller-Klieser --- tools/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [U-Boot] [PATCH v2 0/2] spl: Convert MMC raw mode sector options to Kconfig

2016-11-01 Thread Sam Protsenko
Please ignore this patchset. I will send v3 shortly. On Mon, Oct 31, 2016 at 7:39 PM, Sam Protsenko wrote: > This series accomplishes next: > > 1. Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR option to Kconfig > 2. Remove CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

Re: [U-Boot] [PATCH v4 11/11] x86: Use binman all x86 boards

2016-11-01 Thread Bin Meng
Hi Simon, On Fri, Oct 28, 2016 at 10:41 AM, Simon Glass wrote: > Hi Bin, > > On 12 October 2016 at 17:56, Bin Meng wrote: >> Hi Simon, >> >> On Thu, Oct 13, 2016 at 8:04 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 6 October 2016 at

[U-Boot] [PATCH v2 5/6] ARMv8: Setup PSCI memory and dt

2016-11-01 Thread macro . wave . z
From: Hongbo Zhang Newly add ARMv8 PSCI needs to be initialized, be copied or reserved in right place, this patch does all the setup steps. Signed-off-by: Hongbo Zhang --- arch/arm/cpu/armv8/cpu-dt.c | 10 ++ arch/arm/cpu/armv8/cpu.c

[U-Boot] [PATCH v2 6/6] ARMv8: LS1043A: Enable LS1043A default PSCI support

2016-11-01 Thread macro . wave . z
From: Hongbo Zhang A most basic PSCI implementation with only one psci_version is added for LS1043A, this can verify the generic PSCI framework, and more platform specific implementation will be added later. Signed-off-by: Hongbo Zhang ---

[U-Boot] [PATCH v2 3/6] ARMv8: Add secure sections for PSCI text and data

2016-11-01 Thread macro . wave . z
From: Hongbo Zhang This patch adds secure_text, secure_data and secure_stack sections for ARMv8 to hold PSCI text and data, and it is based on the legacy implementation of ARMv7. Signed-off-by: Hongbo Zhang --- arch/arm/config.mk| 3 ++-

[U-Boot] [PATCH v2 4/6] ARMv8: Add basic PSCI framework

2016-11-01 Thread macro . wave . z
From: Hongbo Zhang This patch introduces a generic ARMv8 PSCI framework, with all functions returning a dummy ARM_PSCI_RET_NI (Not Implemented), then it is up to each platform to implement their own functions based on this framework. Signed-off-by: Hongbo Zhang

[U-Boot] [PATCH v2 2/6] ARMv8: Enable SMC instruction

2016-11-01 Thread macro . wave . z
From: Hongbo Zhang PSCI implementation needs the SMC instruction to be enabled. Following the legacy codes pattern, no bit macro definition and bit operation are used, only the immediate data used in line is changed. Signed-off-by: Hongbo Zhang ---

[U-Boot] [PATCH v2 1/6] ARMv8: LS1043A: change macro CONFIG_ARMV8_PSCI definition

2016-11-01 Thread macro . wave . z
From: Hongbo Zhang NXP/Freescale uses macro CONFIG_ARMV8_PSCI to enable their private PSCI implementation in PPA firmware, but this macro naming too generic, so this patch replaces it with a specic one CONFIG_FSL_PPA_ARMV8_PSCI. And this macro CONFIG_ARMV8_PSCI will be used

[U-Boot] [PATCH v2 0/6] Add ARMv8 PSCI framework

2016-11-01 Thread macro . wave . z
From: Hongbo Zhang v1-v2 changes: - The new config options are introduced in Kconfig when used for first time - Introduce new config options in armv8/Kconfig instead of LS1043 platform - Move previous patch 5/6 to current 2/6 place v1 notes: This patch set introduces

[U-Boot] [PATCH 1/2] fsl/ddr: Revise erratum a009942 and clean related erratum

2016-11-01 Thread Shengzhou Liu
- add additional function erratum_a009942_check_cpo to check if the board needs tuning CPO calibration for optimal setting. - move ERRATUM_A009942(with revision to check cpo_sample option) from fsl_ddr_gen4.c to ctrl_regs.c for reuse on all DDR4/DDR3 parts. - move ERRATUM_A008378 from

[U-Boot] [PATCH 2/2] fsl/ddr: Enable erratum-a009942 workaround for B/T-series

2016-11-01 Thread Shengzhou Liu
Enable ERRATUM_A009942 workaround for B-series and T-series platforms. Signed-off-by: Shengzhou Liu --- arch/powerpc/include/asm/config_mpc85xx.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/powerpc/include/asm/config_mpc85xx.h