[PATCH] usbgadget: fastboot: select FILE_LIST

2017-11-17 Thread Lucas Stach
The file list functions are used by the fastboot gadget since a3976c3a84f2 (usbgadget: fastboot: Use function to find file_list entry by name). Signed-off-by: Lucas Stach --- drivers/usb/gadget/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/g

[PATCH v2] imx-bbu-nand-fcb: fix build on MX28 only

2017-11-17 Thread Lucas Stach
This code may be compiled without ARCH_IMX6 present, so it must not depend on any functions provided by the architecture support. Fixes: a2618c215bff (imx-bbu-nand-fcb: add support for imx6ul) Signed-off-by: Lucas Stach --- v2: Remove ifdeffery by introducing a dedicated function, as suggeste

[PATCH] ARM: imx: santaro: select i2c

2017-11-17 Thread Lucas Stach
The board support tries to access a i2c bus to find out which touchscreen is connected. Signed-off-by: Lucas Stach --- arch/arm/mach-imx/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index dc67afac238f..dce24ab90dd3 100644 ---

Re: [PATCH] readline_simple: use len instead of CONFIG_CBSIZE

2017-11-17 Thread Gaël PORTAY
Hi Sascha, On Fri, Nov 17, 2017 at 10:14:30AM +0100, Sascha Hauer wrote: > On Thu, Nov 16, 2017 at 11:58:14PM -0500, Gaël PORTAY wrote: > > It is safier to use the length given in parameter instead of using the > > preprocessor CONFIG_CBSIZE value. > > > > Signed-off-by: Gaël PORTAY > > --- > >

[PATCH] ARM: boards: phytec-som-am335x: Fix SPI boot script

2017-11-17 Thread Daniel Schultz
Because our SPI NOR flashes are too small, we require a root filesystem in a NAND media. The kernel bootargs has a wrong parameter and lead to: VFS: Cannot open root device "ubi0:root" or unknown-block(0,0): Changed 'ubi.mtd=nand0.root' to 'ubi.mtd=root'. Signed-off-by: Daniel Schultz ---

Re: [PATCH] Net: add mdio_i2c driver.

2017-11-17 Thread Clément Leger
Ok, I will do that, thanks for the review ! Clément - Mail original - De: "Sascha Hauer" À: "Clément Leger" Cc: "Barebox List" Envoyé: Vendredi 17 Novembre 2017 10:39:10 Objet: Re: [PATCH] Net: add mdio_i2c driver. On Fri, Nov 17, 2017 at 10:34:07AM +0100, Clément Leger wrote: > > -

Re: [PATCH] Net: add mdio_i2c driver.

2017-11-17 Thread Sascha Hauer
On Fri, Nov 17, 2017 at 10:34:07AM +0100, Clément Leger wrote: > > - Mail original - > > De: "Sascha Hauer" > > À: "Clément Leger" > > Cc: "Barebox List" > > Envoyé: Vendredi 17 Novembre 2017 10:06:58 > > Objet: Re: [PATCH] Net: add mdio_i2c driver. > > > On Fri, Nov 17, 2017 at 09:52:

Re: [PATCH] Net: add mdio_i2c driver.

2017-11-17 Thread Clément Leger
- Mail original - > De: "Sascha Hauer" > À: "Clément Leger" > Cc: "Barebox List" > Envoyé: Vendredi 17 Novembre 2017 10:06:58 > Objet: Re: [PATCH] Net: add mdio_i2c driver. > On Fri, Nov 17, 2017 at 09:52:14AM +0100, Clément Leger wrote: >> Hi Sascha, >> >> Indeed, I though about that

Re: [PATCH] i2c: mv64xxx: add timeout waiting for bus ready

2017-11-17 Thread Sascha Hauer
On Fri, Nov 17, 2017 at 10:23:51AM +0100, Bastian Stender wrote: > On 11/17/2017 09:48 AM, Sascha Hauer wrote: > > On Wed, Nov 15, 2017 at 12:11:03PM +0100, Bastian Stender wrote: > > > On 08/16/2017 12:16 PM, Bastian Stender wrote: > > > > This prevents barebox hanging e.g. in case the i2c clock i

Re: [PATCH] Configure network device for nfsboot via nv var

2017-11-17 Thread s.ha...@pengutronix.de
On Thu, Nov 16, 2017 at 07:20:14AM +, Schenk, Gavin wrote: > Hi, > > > On Wed, Nov 08, 2017 at 04:05:17PM +0100, Gavin Schenk wrote: > > > When you have a static network environment but more than one > > > network > > > device on your machine it is necessary to provide the > > > parameter to

Re: [PATCH] Configure network device for nfsboot via nv var

2017-11-17 Thread Uwe Kleine-König
Hello, On Thu, Nov 16, 2017 at 07:20:14AM +, Schenk, Gavin wrote: > > On Wed, Nov 08, 2017 at 04:05:17PM +0100, Gavin Schenk wrote: > > > When you have a static network environment but more than one > > > network > > > device on your machine it is necessary to provide the > > > parameter to t

Re: [PATCH] i2c: mv64xxx: add timeout waiting for bus ready

2017-11-17 Thread Bastian Stender
On 11/17/2017 09:48 AM, Sascha Hauer wrote: On Wed, Nov 15, 2017 at 12:11:03PM +0100, Bastian Stender wrote: On 08/16/2017 12:16 PM, Bastian Stender wrote: This prevents barebox hanging e.g. in case the i2c clock is accidentally connected to GND. Signed-off-by: Bastian Stender --- Any thoug

Re: [PATCH] readline_simple: use len instead of CONFIG_CBSIZE

2017-11-17 Thread Sascha Hauer
On Thu, Nov 16, 2017 at 11:58:14PM -0500, Gaël PORTAY wrote: > It is safier to use the length given in parameter instead of using the > preprocessor CONFIG_CBSIZE value. > > Signed-off-by: Gaël PORTAY > --- Applied, thanks Sascha > lib/readline_simple.c | 2 +- > 1 file changed, 1 insertion(+

Re: [PATCH] clk: sp810: hardwire parent to 1MHz clock

2017-11-17 Thread Sascha Hauer
On Thu, Nov 16, 2017 at 10:19:46PM +0100, Lucas Stach wrote: > This works around a limitation in our handling of the vexpress > config bus. For now just hardcode the clock parent to the 1MHz > clock, which is the default as emulated by QEMU and also the > setting the Linux kernel will configure lat

Re: [PATCH] boards/zii-vf610-dev: Do not keep 'SOC_SW_RSTN' low

2017-11-17 Thread Sascha Hauer
On Wed, Nov 15, 2017 at 02:31:15PM -0800, Andrey Smirnov wrote: > From users feedback, it's not very practical keep 'SOC_SW_RSTN' low > and corresponding Ethernet switch it controls in reset. Change the > code to keep the line high by default. > > Signed-off-by: Andrey Smirnov > --- > arch/arm/b

Re: [PATCH] Net: add mdio_i2c driver.

2017-11-17 Thread Sascha Hauer
On Fri, Nov 17, 2017 at 09:52:14AM +0100, Clément Leger wrote: > Hi Sascha, > > Indeed, I though about that and I was facing another problem. > The mdio to i2c driver does not have a specific address. > ie, it is not a device but rather a bus. > If I put the mdio_i2c node under the i2c bus, then

Re: [PATCH] fs: Fix can_lseek_backward()

2017-11-17 Thread Sascha Hauer
On Wed, Nov 15, 2017 at 02:27:53PM -0800, Andrey Smirnov wrote: > To quote corresponding man page: > > "... Upon successful completion, lseek() returns the resulting offset > location as measured in bytes from the beginning of the file." > > Which for lseek(fd, 0, SEEK_SET) would be 0, so returni

Re: [PATCH] Net: add mdio_i2c driver.

2017-11-17 Thread Clément Leger
Hi Sascha, Indeed, I though about that and I was facing another problem. The mdio to i2c driver does not have a specific address. ie, it is not a device but rather a bus. If I put the mdio_i2c node under the i2c bus, then I should assign it an i2c address. This address should represent the phy ad

Re: [PATCH] i2c: mv64xxx: add timeout waiting for bus ready

2017-11-17 Thread Sascha Hauer
On Wed, Nov 15, 2017 at 12:11:03PM +0100, Bastian Stender wrote: > On 08/16/2017 12:16 PM, Bastian Stender wrote: > > This prevents barebox hanging e.g. in case the i2c clock is accidentally > > connected to GND. > > > > Signed-off-by: Bastian Stender > > --- > > Any thoughts on this one? Patch

Re: [PATCH] Net: add mdio_i2c driver.

2017-11-17 Thread Sascha Hauer
Hi Clément, On Tue, Nov 14, 2017 at 02:34:51PM +0100, Clément Leger wrote: > From 1238b5c70d29762074bc71ac25623b958af9010a Mon Sep 17 00:00:00 2001 > From: Clement Leger > Date: Wed, 8 Nov 2017 09:13:10 +0100 > Subject: [PATCH] Net: add mdio_i2c driver (i2c to mdio bridge). > > +++ b/dts/Binding