Re: [U-Boot] [PATCH v2] usb: dwc3: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-16 Thread Faiz Abbas
Hi Felipe, On Monday 16 October 2017 07:25 PM, Felipe Balbi wrote: > > Hi, > > Marek Vasut writes: >> On 10/16/2017 07:21 AM, Faiz Abbas wrote: >>> A flush of the cache is required before any outbound DMA access can >>> take place. The minimum size that can be flushed from the

Re: [U-Boot] [PATCH v3 06/20] common: Generic firmware loader for file system

2017-10-16 Thread Dinh Nguyen
On 10/13/2017 03:08 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Generic firmware loader framework contains some common functionality > which is reusable by any specific file system firmware loader. > > Signed-off-by: Tien Fong Chee

Re: [U-Boot] [PATCH v2] usb: dwc3: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-16 Thread Felipe Balbi
Hi, Marek Vasut writes: > On 10/16/2017 07:21 AM, Faiz Abbas wrote: >> A flush of the cache is required before any outbound DMA access can >> take place. The minimum size that can be flushed from the cache is >> one cache line size. Therefore, any buffer allocated for DMA should

Re: [U-Boot] [PATCH] libfdt: give setup.py optional interpreter

2017-10-16 Thread Matthew Weber
Ben, All, On Thu, Oct 12, 2017 at 9:32 PM, Matt Weber wrote: > If building in a sandboxed environment where a > alternate python interpreter is desired. Allow > configuring of the PYTHON variable to specify > the interpreter to invoke setup.py. > Ignore, I was

Re: [U-Boot] [uboot-snps-arc] [PATCH v2] ARC: HSDK: introduce CREG GPIO driver

2017-10-16 Thread Alexey Brodkin
Hi Eugeniy, On Mon, 2017-10-16 at 16:21 +0300, Eugeniy Paltsev wrote: > The HSDK can manage some pins via CREG registers block. > > Signed-off-by: Eugeniy Paltsev > --- > Changes v1->v2: >   * Use linux debug function (debug -> pr_debug, errror -> pr_err) > as

[U-Boot] [PATCH v2] ARC: HSDK: introduce CREG GPIO driver

2017-10-16 Thread Eugeniy Paltsev
The HSDK can manage some pins via CREG registers block. Signed-off-by: Eugeniy Paltsev --- Changes v1->v2: * Use linux debug function (debug -> pr_debug, errror -> pr_err) as uboot "error" was removed. MAINTAINERS | 6 +++

Re: [U-Boot] [PATCH v3 03/20] arm: socfpga: Add Arria 10 SoCFPGA programming interface

2017-10-16 Thread Dinh Nguyen
Please run get_maintainer on this patch. I think you need to include a few more people. On 10/13/2017 03:08 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Add code necessary into the FPGA driver framework in U-Boot > so it can be used via the 'fpga'

Re: [U-Boot] [PATCH] ARC: HSDK: introduce CREG GPIO driver

2017-10-16 Thread Alexey Brodkin
Hi Eugeniy, On Fri, 2017-10-13 at 16:21 +0300, Eugeniy Paltsev wrote: > The HSDK can manage some pins via CREG registers block. > > Signed-off-by: Eugeniy Paltsev > --- >  MAINTAINERS   |   6 +++ >  drivers/gpio/Kconfig  |   7 +++ >  

[U-Boot] [PATCH V2] imx: mx6slevk: fix mmc breakage

2017-10-16 Thread Peng Fan
Log: " MMC Device 1 not found *** Warning - No MMC card found, using default environment " Add alias node for usdhc. Cleaned up board usb code. Test: => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) | u-boot EHCI Host Controller | +-2 Mass Storage (480 Mb/s, 500mA)

[U-Boot] [PATCH] ARC: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO

2017-10-16 Thread Eugeniy Paltsev
With CONFIG_CMD_GPIO compilation reports error. common/cmd_gpio.c:13:22: fatal error: asm/gpio.h: No such file or directory #include ^ Signed-off-by: Eugeniy Paltsev --- arch/arc/include/asm/gpio.h | 1 + 1 file changed, 1 insertion(+)

Re: [U-Boot] [PATCH] imx: mx6slevk: fix mmc breakage

2017-10-16 Thread Peng Fan
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Otavio > Salvador > Sent: Monday, October 16, 2017 8:08 PM > To: Peng Fan > Cc: Fabio Estevam ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re:

Re: [U-Boot] [PATCH] imx: mx6slevk: fix mmc breakage

2017-10-16 Thread Otavio Salvador
On Mon, Oct 16, 2017 at 7:29 AM, Peng Fan wrote: > Log: > " > MMC Device 1 not found > *** Warning - No MMC card found, using default environment > " > Add alias node for usdhc. > CONFIG_BLK and CONFIG_DM_USB are enabled. > > Test: > => usb tree > USB device tree: > 1

Re: [U-Boot] [PATCH v2] usb: dwc3: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-16 Thread Marek Vasut
On 10/16/2017 07:21 AM, Faiz Abbas wrote: > A flush of the cache is required before any outbound DMA access can > take place. The minimum size that can be flushed from the cache is > one cache line size. Therefore, any buffer allocated for DMA should > be in multiples of cache line size. > >

Re: [U-Boot] [PATCH 4/4] configs: Update Lamobo_R1 with B53 switch options

2017-10-16 Thread Stefan Roese
On 15.10.2017 03:00, Florian Fainelli wrote: Enable CONFIG_B53_SWITCH, define the CPU/management port number (8) and enable all 5 ports of the switch to be usable. Signed-off-by: Florian Fainelli Reviewed-by: Stefan Roese Thanks, Stefan

Re: [U-Boot] [PATCH 3/4] net: phy: b53: Add b53_reg read/write commands

2017-10-16 Thread Stefan Roese
On 15.10.2017 03:00, Florian Fainelli wrote: Add a b53_reg read/write command which allows inspecting the switch registers. Because the Broadcom BCM53xx registers have different sizes, we need to split the accesses in 8, 16, 32, 48 or 64 bits to obtain expected results. Signed-off-by: Florian

Re: [U-Boot] [PATCH 2/4] net: designware: Pad small packets

2017-10-16 Thread Stefan Roese
On 15.10.2017 03:00, Florian Fainelli wrote: Make sure that we pad small packets to a minimum length of 60 bytes (without FCS). This is necessary to interface with Ethernet switches that will reject RUNT frames unless padded correctly. Signed-off-by: Florian Fainelli

Re: [U-Boot] [PATCH 1/4] net: phy: Add Broadcom BCM53xx switch driver

2017-10-16 Thread Stefan Roese
On 15.10.2017 03:00, Florian Fainelli wrote: Add a minimalistic Broadcom BCM53xx (roboswitch) switch driver similar to the Marvell MV88E617x. This takes care of configuring the minimum amount out of the switch hardware such that each user visible port (configurable) and the CPU port can forward

[U-Boot] [PATCH] imx: mx6slevk: fix mmc breakage

2017-10-16 Thread Peng Fan
Log: " MMC Device 1 not found *** Warning - No MMC card found, using default environment " Add alias node for usdhc. CONFIG_BLK and CONFIG_DM_USB are enabled. Test: => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) | u-boot EHCI Host Controller | +-2 Mass Storage (480

Re: [U-Boot] [PATCH] cmd:fastboot:Kconfig Enable FASTBOOT_FLASH_NAND for SUNXI_NAND devices

2017-10-16 Thread Maxime Ripard
On Fri, Oct 13, 2017 at 02:29:20PM -0700, Benjamin Young wrote: > Encountered an issue where fastboot can't write to NAND on a CHIP_pro, > the symbol was neither present in the board's config header, nor the > Kconfig, this patch puts it in the Kconfig and defaults on when > SUNXI_NAND is

[U-Boot] [PATCH 2/2] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-10-16 Thread Rajat Srivastava
As per data sheet, S25FS512S support uniform sector option or erase size of 256 kbytes and Page Programming buffer of 256 or 512 Bytes. So, flag SECT_4K has no significance for this flash. Signed-off-by: Suresh Gupta Signed-off-by: Rajat Srivastava

[U-Boot] [PATCH 1/2] sf: Disable hybrid mode for SPANSION S25FS-S family

2017-10-16 Thread Rajat Srivastava
The S25FS-S family physical sectors may be configured as a hybrid combination of eight 4-kB parameter sectors at the top or bottom of the address space with all but one of the remaining sectors being uniform size. The default status of the flash is the hybrid architecture. The parameter sectors

[U-Boot] [PATCH 0/2] Disable hybrid mode for SPANSION S25FS-S family

2017-10-16 Thread Rajat Srivastava
The S25FS-S family physical sectors may be configured as a hybrid combination of eight 4-kB parameter sectors at the top or bottom of the address space with all but one of the remaining sectors being uniform size. The default status of the flash is the hybrid architecture. Since the parameter

Re: [U-Boot] [PATCH] i2c: remove DECLARE_GLOBAL_DATA_PTR from i2c-uclass

2017-10-16 Thread Heiko Schocher
Hello Masahiro, Am 13.10.2017 um 12:29 schrieb Masahiro Yamada: No global pointer is used in this file. Signed-off-by: Masahiro Yamada --- drivers/i2c/i2c-uclass.c | 2 -- 1 file changed, 2 deletions(-) Reviewed-by: Heiko Schocher bye,

Re: [U-Boot] [PATCH 15/20] i2c: uniphier-f: use clk for enable and get_rate

2017-10-16 Thread Heiko Schocher
Hello Masahiro, Am 13.10.2017 um 12:22 schrieb Masahiro Yamada: Get clock rate from the clock driver instead of hard-coding it. Signed-off-by: Masahiro Yamada --- drivers/i2c/i2c-uniphier-f.c | 19 --- 1 file changed, 16 insertions(+), 3

Re: [U-Boot] [PATCH 09/20] i2c: uniphier-f: replace debug() with dev_dbg()

2017-10-16 Thread Heiko Schocher
Hello Masahiro, Am 13.10.2017 um 12:21 schrieb Masahiro Yamada: Use dev_dbg() functions. It will be helpful to prefix log messages with the corresponding device name when the core framework is ready. While I am here, I renamed "dev", which was actually private data, into "priv" because

Re: [U-Boot] [PATCH 14/20] i2c: uniphier: use clk for enable and get_rate

2017-10-16 Thread Heiko Schocher
Hello Masahiro, Am 13.10.2017 um 12:22 schrieb Masahiro Yamada: Get clock rate from the clock driver instead of hard-coding it. Signed-off-by: Masahiro Yamada --- drivers/i2c/i2c-uniphier.c | 19 --- 1 file changed, 16 insertions(+), 3

Re: [U-Boot] [PATCH 08/20] i2c: uniphier: replace debug() with dev_dbg()

2017-10-16 Thread Heiko Schocher
Hello Masahiro, Am 13.10.2017 um 12:21 schrieb Masahiro Yamada: Use dev_dbg() functions. It will be helpful to prefix log messages with the corresponding device name when the core framework is ready. While I am here, I renamed "dev", which was actually private data, into "priv" because

<    1   2