Re: [U-Boot] [PATCH 08/22] ppc: ppc440: ppc440-generic_flash_defconfig

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:11AM +0100, Ricardo Ribalda Delgado wrote: > Remove redundant defconfig file. Boot via flash can be configured via > Kconfig. > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 18/22] ppc: xilinx_ppc440_generic: Remove weak attributes

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:21AM +0100, Ricardo Ribalda Delgado wrote: > Now that the specific boards have been removed there is no need to > maintain the weak functions. > > Fix also CamelCase to make checkpatch happy > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- To

Re: [U-Boot] [PATCH 17/22] ppc: xilinx_ppc405_generic: Remove weak attributes

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:20AM +0100, Ricardo Ribalda Delgado wrote: > Now that the specific boards have been removed there is no need to > maintain the weak functions. > > Fix also CamelCase to make checkpatch happy > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- To

Re: [U-Boot] [PATCH v2 1/2] mx6: soc: Add ENET2 mac address support

2016-01-26 Thread Fabio Estevam
On Tue, Jan 26, 2016 at 7:10 AM, Ye Li wrote: > + if ((is_cpu_type(MXC_CPU_MX6SX) || is_cpu_type(MXC_CPU_MX6UL)) && > + 1 == dev_id) { dev_id == 1, please ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

Re: [U-Boot] [PATCH 22/22] ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

2016-01-26 Thread Michal Simek
On 26.1.2016 15:37, Ricardo Ribalda Delgado wrote: > hello > > We are using the driver and can take a look if we can port it to DM. > But it wont be in this or next week sorry. That's not a problem at all. Currently it wired just to xilinx ppc platforms. No pressure on it at all. Simon probably k

Re: [U-Boot] [PATCH v2 13/22] ppc: dts: Add device tree for xilix-ppc4xx-generic

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 01:47:46PM +0100, Ricardo Ribalda Delgado wrote: > Add device tree example file for xilinx-ppc440-generic and > xilinx-ppc405-generic > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 20/22] ppc: xilinx_ppc440_generic: Remove uncalled functions

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:23AM +0100, Ricardo Ribalda Delgado wrote: > board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not > set. Remove unused function. > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signa

Re: [U-Boot] [PATCH 19/22] ppc: xilinx_ppc405_generic: Remove uncalled functions

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:22AM +0100, Ricardo Ribalda Delgado wrote: > board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not > set. Remove unused function. > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signa

Re: [U-Boot] buildman errors

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 12:26:07PM +0800, Bin Meng wrote: > Hi Tom, > > On Mon, Jan 25, 2016 at 10:12 PM, Tom Rini wrote: > > On Mon, Jan 25, 2016 at 11:18:26AM +0800, Bin Meng wrote: > >> Hi Tom, > >> > >> On Mon, Jan 25, 2016 at 11:05 AM, Tom Rini wrote: > >> > On Mon, Jan 25, 2016 at 10:34:16

Re: [U-Boot] [PATCH 02/22] ppc: xilinx-ppc405: Remove support for fx12mm

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: It is just a specialized version of the xilinx-ppc405 Signed-off-by: Ricardo Ribalda Delgado --- arch/powerpc/cpu/ppc4xx/Kconfig | 4 board/avnet/fx12mm/Kconfig | 12 -- board/avnet/fx12mm/MAINTAINERS | 7 -- b

Re: [U-Boot] [PATCH 01/22] ppc: xilinx-ppc440: Remove support for ml507

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: ml507 is just a specialized version of the xilinx-ppc440-generic Signed-off-by: Ricardo Ribalda Delgado --- arch/powerpc/cpu/ppc4xx/Kconfig | 4 board/xilinx/ml507/Kconfig | 12 board/xilinx/ml507/MAINTAINERS |

Re: [U-Boot] env_mmc: support overriding mmc dev from board code

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 10:52:39AM +0100, Clemens Gruber wrote: > On Tue, Jan 26, 2016 at 10:53:58AM +0800, Peng Fan wrote: > > Yeah. The patch I wrote include fix write_env, and a function prototype in > > header file. > > > > If the current patch already applied, I can write a follow up patch. >

Re: [U-Boot] [PATCH 03/22] xilinx-ppc440: Remove support for v5fx30teval

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: It is just a specialized version of xilinx-ppc440 Signed-off-by: Ricardo Ribalda Delgado --- arch/powerpc/cpu/ppc4xx/Kconfig | 4 board/avnet/v5fx30teval/Kconfig | 12 --- board/avnet/v5fx30teval/MAINTAINERS |

Re: [U-Boot] [PATCH] net: remove scary warning about EEPROM provided MAC address

2016-01-26 Thread Joe Hershberger
On Mon, Jan 4, 2016 at 9:48 AM, Andre Przywara wrote: > In many parts of the computing world having a unique MAC address > sitting in some on-NIC storage is considered the normal case. > Remove the warning to not scare the user unnecessarily. > This applies to Highbank/Midway and ARM's Juno, for i

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

2016-01-26 Thread Joe Hershberger
Hi Albert, On Tue, Jan 26, 2016 at 7:15 AM, Albert ARIBAUD wrote: > Hello Joe, > > On Mon, 25 Jan 2016 18:45:52 -0600, Joe Hershberger > wrote: >> On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl >> wrote: > >> > +++ b/tools/gen_mac_addr.c >> >> This is not "generating a mac address", right? I

Re: [U-Boot] [PATCH 06/22] ppc: pp405-generic: Simplify Makefile

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: As a result of the specific board removal, the Makefiles can be simplified. Signed-off-by: Ricardo Ribalda Delgado --- board/xilinx/ppc405-generic/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/xilinx/ppc

Re: [U-Boot] [PATCH v2 1/2] net: Remove unused mv88e61xx switch driver

2016-01-26 Thread Joe Hershberger
On Mon, Dec 21, 2015 at 3:45 PM, Kevin Smith wrote: > No boards are using this driver. Remove in preparation for a new > driver with integrated PHY support. > > Signed-off-by: Kevin Smith > Cc: Joe Hershberger > Cc: Prafulla Wadaskar > Cc: Stefan Roese > Cc: Marek Vasut > --- > drivers/net/

Re: [U-Boot] [PATCH 3/4] spi: omap3: Convert to DM

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 10:58:47AM +0800, Peng Fan wrote: > On Mon, Jan 25, 2016 at 09:45:47PM -0500, Tom Rini wrote: > >On Tue, Jan 26, 2016 at 09:55:43AM +0800, Peng Fan wrote: > >> Hi Simon, > >> > >> On Mon, Jan 25, 2016 at 06:11:24PM -0700, Simon Glass wrote: > >> >+Hans > >> > > >> >Hi Tom,

Re: [U-Boot] [PATCH v2 2/3] arm: at91/spl: mpddrc: add mpddrc DDR3-SDRAM initialization

2016-01-26 Thread Andreas Bießmann
On 01.12.2015 03:47, Wenyou Yang wrote: > The DDR3-SDRAM initialization sequence is implemented in > accordance with the DDR3-SRAM/DDR3L-SDRAM initialization section > described in the SAMA5D2 datasheet. > > Add registers and definitions of mpddrc controller, which is used > to support DDR3 device

Re: [U-Boot] [PATCH 08/22] ppc: ppc440: ppc440-generic_flash_defconfig

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: Remove redundant defconfig file. Boot via flash can be configured via Kconfig. Signed-off-by: Ricardo Ribalda Delgado --- configs/xilinx-ppc440-generic_flash_defconfig | 8 1 file changed, 8 deletions(-) delete mode 100644 config

Re: [U-Boot] [PATCH 09/22] ppc: ppc405: ppc405-generic_flash_defconfig

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: Remove redundant defconfig file. Boot via flash can be configured via Kconfig. Signed-off-by: Ricardo Ribalda Delgado --- configs/xilinx-ppc405-generic_flash_defconfig | 8 1 file changed, 8 deletions(-) delete mode 100644 config

Re: [U-Boot] [PATCH 07/22] ppc: pp440-generic: Simplify Makefile

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: As a result of the specific board removal, the Makefiles can be simplified. Signed-off-by: Ricardo Ribalda Delgado --- board/xilinx/ppc440-generic/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/xilinx

Re: [U-Boot] [PATCH 08/22] ppc: ppc440: ppc440-generic_flash_defconfig

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: Remove redundant defconfig file. Boot via flash can be configured via Kconfig. Signed-off-by: Ricardo Ribalda Delgado --- configs/xilinx-ppc440-generic_flash_defconfig | 8 1 file changed, 8 deletions(-) delete mode 100644 config

Re: [U-Boot] [PATCH 11/22] ppc: xilinx-ppc405-generic: Cleanout header files

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: Now that there is only one header file for all ppc405 files, merge header files. Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH 10/22] ppc: xilinx-ppc440-generic: Cleanout header files

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: Now that there is only one header file for all ppc440 files, merge header files. Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH 12/22] ppc: xilinx-ppc4xx-generic: Update xparameters.h

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: -Remove UART address (It is now part of the dts). -Include dummy ns16550 clock -Fix address to last test Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese Thanks, Stefan ___ U-Boot m

Re: [U-Boot] [PATCH 14/22] configs/xilinx-ppc405-generic: Typos and size

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: -Fix typos (runnining -> running) -Increase default size Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

Re: [U-Boot] [PATCH 13/22] ppc: dts: Add device tree for xilix-ppc4xx-generic

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: Add device tree example file for xilinx-ppc440-generic and xilinx-ppc405-generic Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH 15/22] configs/xilinx-ppc440-generic: Typos and size

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: -Fix typos (runnining -> running) -Increase default size Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

Re: [U-Boot] [PATCH 16/22] ppc: xilinx-ppc4xx: Port to DM serial

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: xilinx_uartlite has been ported to DM, this patch makes the xilinx-ppc405-generic and the xilinx-ppc440-generic boards use the new DM driver. Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese Thanks, Stefan ___

Re: [U-Boot] [PATCH 18/22] ppc: xilinx_ppc440_generic: Remove weak attributes

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: Now that the specific boards have been removed there is no need to maintain the weak functions. Fix also CamelCase to make checkpatch happy Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese Thanks, Stefan

Re: [U-Boot] [PATCH 17/22] ppc: xilinx_ppc405_generic: Remove weak attributes

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: Now that the specific boards have been removed there is no need to maintain the weak functions. Fix also CamelCase to make checkpatch happy Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese Thanks, Stefan

Re: [U-Boot] [PATCH 19/22] ppc: xilinx_ppc405_generic: Remove uncalled functions

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not set. Remove unused function. Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese Thanks, Stefan ___ U-Boot maili

Re: [U-Boot] [PATCH 20/22] ppc: xilinx_ppc440_generic: Remove uncalled functions

2016-01-26 Thread Stefan Roese
On 26.01.2016 11:24, Ricardo Ribalda Delgado wrote: board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not set. Remove unused function. Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese Thanks, Stefan ___ U-Boot maili

[U-Boot] [PATCH] mmc: add missing prototype for mmc_get_env_dev

2016-01-26 Thread Clemens Gruber
This is a follow-up patch to e92029c0f4 and adds a prototype for the weak mmc_get_env_dev function. Cc: Tom Rini Cc: Stephen Warren Signed-off-by: Clemens Gruber --- include/mmc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/mmc.h b/include/mmc.h index 465daeb..d652c14 100644 -

Re: [U-Boot] [PATCH v2 22/22] ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 01:47:45PM +0100, Ricardo Ribalda Delgado wrote: > If the xparameters file contains a LL_TEMAC definition compile its > driver and the net commands. > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH] net : null check after pointer dereference

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 12:56:09PM +0530, Vishwas Srivastava wrote: > Author: Vishwas Srivastava > Date: Tue Jan 26 12:46:42 2016 +0530 > > null check after pointer dereference > > NULL check is made after the pointer dereference is davinci- > emac driver. This patch fixes this is

Re: [U-Boot] [PATCH 2/3] drivers: usb: ohci-at91: clean up the PLLB code

2016-01-26 Thread Andreas Bießmann
Hi Wenyou, On 09.12.2015 05:29, Wenyou Yang wrote: > Due to introducing the new PLLB clock handle functions, > use these functions to clean up the PLLB enable/disable code. > > Signed-off-by: Wenyou Yang > --- > > drivers/usb/host/ohci-at91.c | 20 +--- > 1 file changed, 5 in

Re: [U-Boot] [PATCH 1/3] ARM: at91: clock: add PLLB enable/disable functions

2016-01-26 Thread Andreas Bießmann
On 09.12.2015 05:29, Wenyou Yang wrote: > To avoid the duplicated code, add the PLLB handle functions. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > arch/arm/mach-at91/arm926ejs/clock.c | 38 > + > arch/arm/mach-at91/include/mach/c

Re: [U-Boot] [PATCH 3/3] board: atmel: siemens: clean up PLLB code

2016-01-26 Thread Andreas Bießmann
On 09.12.2015 05:29, Wenyou Yang wrote: > Due to introducing the new PLLB clock handle functions, > use these functions to clean up the PLLB enable code. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > board/siemens/smartweb/smartweb.c |6 +- > board/siemens/ta

[U-Boot] U-Boot 2016.01 on Hikey 96

2016-01-26 Thread Stefano Babic
Hi Peter, I have a Hikey 96 and I wanted to check U-Boot on ARM-64. I followed your README in hisilicon/hikey and I run all steps without any apparent issue. U-Boot is current Tom's tree. Just this step: sudo bash -x generate_ptable.sh reports error, because PTABLE is not set. I have simp

Re: [U-Boot] [PATCH v2 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2016-01-26 Thread Albert ARIBAUD
Hello Kevin, On Mon, 21 Dec 2015 21:45:32 +, Kevin Smith wrote: > The previous version of this driver implemented a shell command to manually > comfigure the switch. It did not integrate with the PHY infrastructure to > allow a MAC to use it as its PHY. This is a complete rewrite to allow t

Re: [U-Boot] [PATCH v2 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2016-01-26 Thread Joe Hershberger
Hi Albert, On Tue, Jan 26, 2016 at 10:09 AM, Albert ARIBAUD wrote: > Hello Kevin, > > On Mon, 21 Dec 2015 21:45:32 +, Kevin Smith > wrote: >> The previous version of this driver implemented a shell command to manually >> comfigure the switch. It did not integrate with the PHY infrastructure

Re: [U-Boot] [PATCH v2 3/5] sunxi: net: Enable eeprom on OLinuXino Lime2 boards

2016-01-26 Thread Olliver Schinagl
Hey Joe, On 26-01-16 01:34, Joe Hershberger wrote: Hi Olliver, On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl wrote: This patch enables the I2C EEPROM to be probed for a MAC address on the OLinuXino board. Signed-off-by: Olliver Schinagl --- You should use patman so that you can keep tr

Re: [U-Boot] [PATCH v2 2/5] sunxi: net: Allow the sunxi to set the MAC from an EEPROM

2016-01-26 Thread Olliver Schinagl
Hey Joe On 26-01-16 01:32, Joe Hershberger wrote: On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl wrote: This patch uses the newly introduced Kconfig options to set the MAC address from an EEPROM, this will be especially useful for the Olimex OLinuXino series of sunxi boards as they all have

Re: [U-Boot] [PATCHv3 1/9] arm: vybrid: Enable lpuart support

2016-01-26 Thread Stefan Agner
On 2016-01-26 01:46, Bhuvanchandra DV wrote: > Add device tree node's for lpuart on Vybrid platform > > Signed-off-by: Bhuvanchandra DV Acked-by: Stefan Agner > --- > arch/arm/dts/vf.dtsi | 43 +++ > 1 file changed, 43 insertions(+) > > diff --git a/ar

Re: [U-Boot] [PATCHv3 2/9] arm: vybrid: Update the license string

2016-01-26 Thread Stefan Agner
On 2016-01-26 01:46, Bhuvanchandra DV wrote: > Since SPDX license is already there, drop the full one. > > Signed-off-by: Bhuvanchandra DV Acked-by: Stefan Agner > --- > arch/arm/dts/vf-colibri.dtsi | 5 - > arch/arm/dts/vf.dtsi | 5 - > arch/arm/dts/vf500-colibri.dts | 5

Re: [U-Boot] [PATCHv3 4/9] arm: vybrid: Drop enabling GPIO, SPI and UART in legacy mode

2016-01-26 Thread Stefan Agner
On 2016-01-26 01:46, Bhuvanchandra DV wrote: > Remove the legacy way of enabling GPIO, SPI and UART on Vybrid > based boards since these driver's now only supports DT mode. > > Signed-off-by: Bhuvanchandra DV Acked-by: Stefan Agner > --- > include/configs/colibri_vf.h | 13 - > in

Re: [U-Boot] [PATCHv3 7/9] arm: vybrid: Update defconfig's

2016-01-26 Thread Stefan Agner
On 2016-01-26 01:46, Bhuvanchandra DV wrote: > Let's go with pure DT solution for board's > based on NXP/Freescale Vybrid platform. > > - Merge the DT defconfig with non-DT defconfig for Toradex > Colibri VF50/VF61 and drop the non-DT defconfig. > - Update the legacy defconfigs for NXP/Freescale

Re: [U-Boot] [PATCH] malloc: work around some memalign fragmentation issues

2016-01-26 Thread Stephen Warren
On 01/26/2016 01:54 AM, Lukasz Majewski wrote: Hi Stephen, From: Stephen Warren Use of memalign can trigger fragmentation issues such as: // Internally, this needs to find a free block quite bit larger than s. // Once the free region is found, any unaligned "padding" immediately // before an

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

2016-01-26 Thread Joe Hershberger
On Tue, Jan 26, 2016 at 10:27 AM, Olliver Schinagl wrote: > Hey Joe, > > > On 26-01-16 01:45, Joe Hershberger wrote: >> >> On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl >> wrote: >>> >>> This patch adds a little tool that takes a generic MAC address and >>> generates a CRC byte for it. The ou

Re: [U-Boot] [PATCH v2 2/5] sunxi: net: Allow the sunxi to set the MAC from an EEPROM

2016-01-26 Thread Joe Hershberger
On Tue, Jan 26, 2016 at 10:10 AM, Olliver Schinagl wrote: > Hey Joe > > On 26-01-16 01:32, Joe Hershberger wrote: >> >> On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl >> wrote: >>> >>> This patch uses the newly introduced Kconfig options to set the MAC >>> address from an EEPROM, this will be

Re: [U-Boot] [PATCH v2 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2016-01-26 Thread Kevin Smith
Hi Albert, On 01/26/2016 10:13 AM, Joe Hershberger wrote: > Hi Albert, > > On Tue, Jan 26, 2016 at 10:09 AM, Albert ARIBAUD > wrote: >> Hello Kevin, >> >> On Mon, 21 Dec 2015 21:45:32 +, Kevin Smith >> wrote: >>> The previous version of this driver implemented a shell command to manually >>>

Re: [U-Boot] [PATCH 05/10] superio: Add SMSC SIO1007 driver

2016-01-26 Thread Simon Glass
Hi Bin, On 26 January 2016 at 01:29, Bin Meng wrote: > > Hi Simon, > > On Wed, Jan 6, 2016 at 8:24 AM, Simon Glass wrote: > > Hi Bin, > > > > On 20 December 2015 at 19:42, Bin Meng wrote: > >> Hi Simon, > >> > >> On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: > >>> Hi Bin, > >>> > >>> On

[U-Boot] [PATCH] mvtwsi: Fix breakage introduced by "Fix mvtwsi not working on sun6i and newer sunxi SoCs"

2016-01-26 Thread Hans de Goede
"Fix mvtwsi not working on sun6i and newer sunxi SoCs" includes the following: @@ -189,7 +200,8 @@ static int twsi_start(struct i2c_adapter *adap, int expected_status) /* globally set TWSIEN in case it was not */ twsi_control_flags |= MVTWSI_CONTROL_TWSIEN; /* assert START

[U-Boot] [PATCH 0/1] mvtwsi: Fix breakage introduced by "Fix mvtwsi not working on sun6i and newer sunxi SoCs"

2016-01-26 Thread Hans de Goede
Hi Heiko, Your fix for the checkpatch issues in one of my patches (sorry about those) has broken mvtwsi support. This patch fixes this, I'm currently preparing a sunxi pull-req, and I plan to include this fix, so this is mostly FYI, you do not have to take any action. Regards, Hans

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

2016-01-26 Thread Olliver Schinagl
Hey Joe, On 26-01-16 01:45, Joe Hershberger wrote: On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl wrote: This patch adds a little tool that takes a generic MAC address and generates a CRC byte for it. The output is the full MAC address without any separators, ready written into an EEPROM.

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

2016-01-26 Thread Olliver Schinagl
Hey all, On 26-01-16 15:56, Joe Hershberger wrote: Hi Albert, On Tue, Jan 26, 2016 at 7:15 AM, Albert ARIBAUD wrote: Hello Joe, On Mon, 25 Jan 2016 18:45:52 -0600, Joe Hershberger wrote: On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl wrote: +++ b/tools/gen_mac_addr.c This is not "gen

Re: [U-Boot] [PATCH v2 2/5] sunxi: net: Allow the sunxi to set the MAC from an EEPROM

2016-01-26 Thread Olliver Schinagl
Hey Joe, On 26-01-16 17:23, Joe Hershberger wrote: On Tue, Jan 26, 2016 at 10:10 AM, Olliver Schinagl wrote: Hey Joe On 26-01-16 01:32, Joe Hershberger wrote: On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl wrote: This patch uses the newly introduced Kconfig options to set the MAC addres

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

2016-01-26 Thread Olliver Schinagl
Hey Joe, On 26-01-16 17:31, Joe Hershberger wrote: On Tue, Jan 26, 2016 at 10:27 AM, Olliver Schinagl wrote: Hey Joe, On 26-01-16 01:45, Joe Hershberger wrote: On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl wrote: This patch adds a little tool that takes a generic MAC address and gener

[U-Boot] [PATCH] armv7: add cacheline sizes where missing

2016-01-26 Thread Albert ARIBAUD
Some armv7 targets are missing a cache line size declaration. In preparation for "arm: cache: Implement cache range check for v7" patch, add these declarations with the appropriate value for the target's SoC or CPU. Signed-off-by: Albert ARIBAUD --- include/configs/am3517_crane.h | 2 ++ i

Re: [U-Boot] [PATCH v2 2/5] sunxi: net: Allow the sunxi to set the MAC from an EEPROM

2016-01-26 Thread Joe Hershberger
On Tue, Jan 26, 2016 at 10:35 AM, Olliver Schinagl wrote: > Hey Joe, > > > On 26-01-16 17:23, Joe Hershberger wrote: >> >> On Tue, Jan 26, 2016 at 10:10 AM, Olliver Schinagl >> wrote: >>> >>> Hey Joe >>> >>> On 26-01-16 01:32, Joe Hershberger wrote: On Mon, Dec 14, 2015 at 6:41 AM, Olli

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

2016-01-26 Thread Joe Hershberger
On Tue, Jan 26, 2016 at 10:36 AM, Olliver Schinagl wrote: > Hey Joe, > > > On 26-01-16 17:31, Joe Hershberger wrote: >> >> On Tue, Jan 26, 2016 at 10:27 AM, Olliver Schinagl >> wrote: >>> >>> Hey Joe, >>> >>> >>> On 26-01-16 01:45, Joe Hershberger wrote: On Mon, Dec 14, 2015 at 6:41 AM,

[U-Boot] [PATCH 1/2] ARM: tegra: shut down USB device controller at boot

2016-01-26 Thread Stephen Warren
From: Stephen Warren When loading U-Boot into RAM over USB protocols using tools such as tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device mode controller is initialized and enumerated by the host PC running the tool. Unfortunately, these tools do not shut down the USB controller

[U-Boot] [PATCH 2/2] test/py: dfu: error out if USB device already exists

2016-01-26 Thread Stephen Warren
From: Stephen Warren The DFU test requests U-Boot configure its USB controller in device mode, then waits for the host machine to enumerate the USB device and create a device node for it. However, this wait can be fooled if the USB device node already exists before the test starts, e.g. if some p

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

2016-01-26 Thread Joe Hershberger
On Tue, Jan 26, 2016 at 10:31 AM, Olliver Schinagl wrote: > Hey all, > > On 26-01-16 15:56, Joe Hershberger wrote: >> >> Hi Albert, >> >> On Tue, Jan 26, 2016 at 7:15 AM, Albert ARIBAUD >> wrote: >>> >>> Hello Joe, >>> >>> On Mon, 25 Jan 2016 18:45:52 -0600, Joe Hershberger >>> wrote:

[U-Boot] [PATCH 4/4] test/py: make net test aware of USB and PCI enumeration

2016-01-26 Thread Stephen Warren
From: Stephen Warren The existing net test executes a list of commands supplied by boardenv variable env__net_pre_commands. The idea was that boardenv would know whether the Ethernet device was attached to USB, PCI, ... and hence was the best place to put any commands required to probe the device

[U-Boot] [PATCH 3/4] distro bootcmd: enumerate PCI before network operations

2016-01-26 Thread Stephen Warren
From: Stephen Warren The PCI bus must be enumerated before PCI devices, such as Ethernet devices, are known to U-Boot. Enhance the distro boot commands to perform PCI enumeration when needed. Signed-off-by: Stephen Warren --- doc/README.distro | 8 include/config_distro

[U-Boot] [PATCH 2/4] distro bootcmd: make net boot only optionally start USB

2016-01-26 Thread Stephen Warren
From: Stephen Warren Currently, the distro boot commands always enumerate USB devices before performing network operations. However, depending on the board and end- user configuration, network devices may not be attached to USB, and so enumerating USB may not be necessary. Enhance the scripts to

[U-Boot] [PATCH 1/4] Implement "pci enum" command for CONFIG_DM_PCI

2016-01-26 Thread Stephen Warren
From: Stephen Warren With CONFIG_DM_PCI enabled, PCI buses are not enumerated at boot, as they are without that config option enabled. No command exists to enumerate the PCI buses. Hence, unless some board-specific code causes PCI enumeration, PCI-based Ethernet devices are not detected, and netw

Re: [U-Boot] [PATCH 1/2] test/py: move find_ram_base() into u_boot_utils

2016-01-26 Thread Stephen Warren
On 01/25/2016 06:15 PM, Simon Glass wrote: Hi Stephen, On 25 January 2016 at 18:09, Stephen Warren wrote: On 01/25/2016 06:03 PM, Simon Glass wrote: Hi Stephen, On 25 January 2016 at 09:50, Stephen Warren wrote: On 01/22/2016 03:30 PM, Wolfgang Denk wrote: Dear Stephen, In message <1

Re: [U-Boot] Banan Pro (ahci-sunxi) SATA port stopped working after switching to U-Boot v2016.01

2016-01-26 Thread Hans de Goede
Hi, On 01/22/2016 03:07 PM, Hans de Goede wrote: Hi, On 21-01-16 00:34, Markus Baier wrote: Am 19.01.2016 um 18:12 schrieb Tom Rini: > On Sun, Jan 17, 2016 at 09:44:53PM +0100, Markus Baier wrote: > >> Hello, >> >> tonight I switched to the new U-Boot v2016.01 >> on my Banana Pro system

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

2016-01-26 Thread Hans de Goede
Hi Tom, Here is the first sunxi pull-req for v2016.04, it contains various fixes / improvements all over the place. The following changes since commit ac01603da4598b4b34ff3a5c428aa925daa12b60: checkpatch: ignore request to use ether_addr_copy() (2016-01-25 11:17:52 -0500) are available in t

Re: [U-Boot] [PATCH 2/2] test/py: dfu: error out if USB device already exists

2016-01-26 Thread Simon Glass
On 26 January 2016 at 10:59, Stephen Warren wrote: > From: Stephen Warren > > The DFU test requests U-Boot configure its USB controller in device mode, > then waits for the host machine to enumerate the USB device and create a > device node for it. However, this wait can be fooled if the USB devi

Re: [U-Boot] [PATCH 1/2] test/py: move find_ram_base() into u_boot_utils

2016-01-26 Thread Simon Glass
Hi Stephen, On 26 January 2016 at 11:13, Stephen Warren wrote: > On 01/25/2016 06:15 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 25 January 2016 at 18:09, Stephen Warren wrote: >>> >>> On 01/25/2016 06:03 PM, Simon Glass wrote: Hi Stephen, On 25 January 2016 at 09:

Re: [U-Boot] [PATCH 1/2] ARM: tegra: shut down USB device controller at boot

2016-01-26 Thread Simon Glass
On 26 January 2016 at 10:59, Stephen Warren wrote: > > From: Stephen Warren > > When loading U-Boot into RAM over USB protocols using tools such as > tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device > mode controller is initialized and enumerated by the host PC running > the tool

Re: [U-Boot] [PATCH 1/4] Implement "pci enum" command for CONFIG_DM_PCI

2016-01-26 Thread Simon Glass
On 26 January 2016 at 11:10, Stephen Warren wrote: > From: Stephen Warren > > With CONFIG_DM_PCI enabled, PCI buses are not enumerated at boot, as they > are without that config option enabled. No command exists to enumerate the > PCI buses. Hence, unless some board-specific code causes PCI enume

Re: [U-Boot] [PATCH 3/4] distro bootcmd: enumerate PCI before network operations

2016-01-26 Thread Simon Glass
Hi Stephen, On 26 January 2016 at 11:10, Stephen Warren wrote: > From: Stephen Warren > > The PCI bus must be enumerated before PCI devices, such as Ethernet > devices, are known to U-Boot. Enhance the distro boot commands to perform > PCI enumeration when needed. > > Signed-off-by: Stephen Warr

Re: [U-Boot] [PATCH 2/4] distro bootcmd: make net boot only optionally start USB

2016-01-26 Thread Simon Glass
On 26 January 2016 at 11:10, Stephen Warren wrote: > From: Stephen Warren > > Currently, the distro boot commands always enumerate USB devices before > performing network operations. However, depending on the board and end- > user configuration, network devices may not be attached to USB, and so

Re: [U-Boot] [PATCH 4/4] test/py: make net test aware of USB and PCI enumeration

2016-01-26 Thread Simon Glass
On 26 January 2016 at 11:10, Stephen Warren wrote: > From: Stephen Warren > > The existing net test executes a list of commands supplied by boardenv > variable env__net_pre_commands. The idea was that boardenv would know > whether the Ethernet device was attached to USB, PCI, ... and hence was >

Re: [U-Boot] [PATCH 1/2] test/py: move find_ram_base() into u_boot_utils

2016-01-26 Thread Stephen Warren
On 01/26/2016 12:59 PM, Simon Glass wrote: Hi Stephen, On 26 January 2016 at 11:13, Stephen Warren wrote: On 01/25/2016 06:15 PM, Simon Glass wrote: Hi Stephen, On 25 January 2016 at 18:09, Stephen Warren wrote: On 01/25/2016 06:03 PM, Simon Glass wrote: Hi Stephen, On 25 January 201

[U-Boot] [PATCH 2/2] test/py: Quote consistency

2016-01-26 Thread Stephen Warren
From: Stephen Warren When converting test/py from " to ', I missed a few places (or added a few inconsistencies later). Fix these. Note that only quotes in code are converted; double-quotes in comments and HTML are left as-is, since English and HTML use " not '. Signed-off-by: Stephen Warren -

[U-Boot] [PATCH 1/2] test/py: use " for docstrings

2016-01-26 Thread Stephen Warren
From: Stephen Warren Python's coding style docs indicate to use " not ' for docstrings. test/py has other violations of the coding style docs, since the docs specify a stranger style than I would expect, but nobody has complained about those yet:-) Signed-off-by: Stephen Warren --- test/py/co

Re: [U-Boot] [PATCH v2 0/2] net: phy: mv88e61xx: Revise as a PHY driver

2016-01-26 Thread Albert ARIBAUD
Hello Kevin, On Tue, 26 Jan 2016 16:56:21 +, Kevin Smith wrote: > Hi Albert, > > On 01/26/2016 10:13 AM, Joe Hershberger wrote: > > Hi Albert, > > > > On Tue, Jan 26, 2016 at 10:09 AM, Albert ARIBAUD > > wrote: > >> Hello Kevin, > >> > >> On Mon, 21 Dec 2015 21:45:32 +, Kevin Smith > >>

[U-Boot] [PATCH] test/py: Provide custom IDs when parametrizing tests

2016-01-26 Thread Stephen Warren
From: Stephen Warren When pytest generates the name for parametrized tests, simple parameter values (ints, strings) get used directly, but more complex values such as dicts are not handled. This yields test names such as: dfu[env__usb_dev_port0-env__dfu_config0] dfu[env__usb_dev_port0-en

[U-Boot] Sandbox DT for testing (unit tests)

2016-01-26 Thread Stephen Warren
Simon, I noticed that under sandbox, "ut dm" needs sandbox to have been started with arch/sandbox/dts/test.dtb. A few questions related to that: a) Is it safe and does it make sense to always use that DT when running Sandbox for tests (e.g. under test/py)? b) Does it make sense for that DT

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

2016-01-26 Thread Tom Rini
On Mon, Jan 25, 2016 at 08:49:38PM +, york sun wrote: > Tom, > > The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9: > > Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500) > > are available in the git repository at: > > > git://git.denx.de/u-boot-m

Re: [U-Boot] [PULL] u-boot-usb/master

2016-01-26 Thread Tom Rini
On Mon, Jan 25, 2016 at 11:21:57PM +0100, Marek Vasut wrote: > The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9: > > Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-usb.git mas

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

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 08:14:43AM +0100, Anatolij Gustschin wrote: > Hi Tom, > > The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9: > > Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500) > > are available in the git repository at: > > > git://git.den

Re: [U-Boot] [PATCH] mips: asm/io.h: Add in

2016-01-26 Thread Tom Rini
On Mon, Jan 25, 2016 at 06:53:06PM -0500, Tom Rini wrote: > As part of the bug.h / BUILD_BUG_* clean up, this file was missed. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-

Re: [U-Boot] [PATCH] mmc: add missing prototype for mmc_get_env_dev

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 04:20:38PM +0100, Clemens Gruber wrote: > This is a follow-up patch to e92029c0f4 and adds a prototype for > the weak mmc_get_env_dev function. > > Cc: Tom Rini > Cc: Stephen Warren > > Signed-off-by: Clemens Gruber Reviewed-by: Tom Rini -- Tom signature.asc Desc

Re: [U-Boot] [PATCH 2/2] test/py: Quote consistency

2016-01-26 Thread Simon Glass
On 26 January 2016 at 13:41, Stephen Warren wrote: > From: Stephen Warren > > When converting test/py from " to ', I missed a few places (or added a > few inconsistencies later). Fix these. > > Note that only quotes in code are converted; double-quotes in comments > and HTML are left as-is, since

Re: [U-Boot] [PATCH] test/py: Provide custom IDs when parametrizing tests

2016-01-26 Thread Simon Glass
Hi Stephen, On 26 January 2016 at 15:26, Stephen Warren wrote: > From: Stephen Warren > > When pytest generates the name for parametrized tests, simple parameter > values (ints, strings) get used directly, but more complex values such > as dicts are not handled. This yields test names such as: >

Re: [U-Boot] Sandbox DT for testing (unit tests)

2016-01-26 Thread Simon Glass
Hi Stephen, On 26 January 2016 at 15:36, Stephen Warren wrote: > Simon, > > I noticed that under sandbox, "ut dm" needs sandbox to have been started > with arch/sandbox/dts/test.dtb. A few questions related to that: > > a) Is it safe and does it make sense to always use that DT when running > San

Re: [U-Boot] [PATCH 1/2] test/py: use " for docstrings

2016-01-26 Thread Simon Glass
On 26 January 2016 at 13:41, Stephen Warren wrote: > From: Stephen Warren > > Python's coding style docs indicate to use " not ' for docstrings. > > test/py has other violations of the coding style docs, since the docs > specify a stranger style than I would expect, but nobody has complained > ab

Re: [U-Boot] [PATCH] test/py: Provide custom IDs when parametrizing tests

2016-01-26 Thread Stephen Warren
On 01/26/2016 04:08 PM, Simon Glass wrote: Hi Stephen, On 26 January 2016 at 15:26, Stephen Warren wrote: From: Stephen Warren When pytest generates the name for parametrized tests, simple parameter values (ints, strings) get used directly, but more complex values such as dicts are not handl

Re: [U-Boot] [PATCH] malloc: work around some memalign fragmentation issues

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 09:27:02AM -0700, Stephen Warren wrote: > On 01/26/2016 01:54 AM, Lukasz Majewski wrote: > >Hi Stephen, > > > >>From: Stephen Warren > >> > >>Use of memalign can trigger fragmentation issues such as: > >> > >>// Internally, this needs to find a free block quite bit larger t

Re: [U-Boot] Sandbox DT for testing (unit tests)

2016-01-26 Thread Stephen Warren
On 01/26/2016 04:08 PM, Simon Glass wrote: Hi Stephen, On 26 January 2016 at 15:36, Stephen Warren wrote: Simon, I noticed that under sandbox, "ut dm" needs sandbox to have been started with arch/sandbox/dts/test.dtb. A few questions related to that: a) Is it safe and does it make sense to a

Re: [U-Boot] Sandbox DT for testing (unit tests)

2016-01-26 Thread Simon Glass
Hi Stephen, On 26 January 2016 at 16:28, Stephen Warren wrote: > On 01/26/2016 04:08 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 26 January 2016 at 15:36, Stephen Warren wrote: >>> >>> Simon, >>> >>> I noticed that under sandbox, "ut dm" needs sandbox to have been started >>> with arch/san

Re: [U-Boot] [PATCH v2 2/2] net: phy: Add PHY driver for mv88e61xx switches

2016-01-26 Thread Joe Hershberger
Hi Kevin, On Mon, Dec 21, 2015 at 3:45 PM, Kevin Smith wrote: > The previous mv88e61xx driver was a driver for configuring the > switch, but did not integrate with the PHY/networking system, so > it could not be used as a PHY by U-boot. This is a complete > rework to support this device as a PHY

<    1   2   3   >