Re: [U-Boot] [PATCH 1/3] ARM: uniphier: remove unneeded CONFIG_USB_MAX_CONTROLLER_COUNT defines

2016-10-16 Thread Masahiro Yamada
2016-10-14 0:39 GMT+09:00 Masahiro Yamada : > ARCH_UNIPHIER selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT > is not used. > > Signed-off-by: Masahiro Yamada > --- > > include/configs/uniphier.h | 1 - > 1 file changed, 1

[U-Boot] [PATCH] cmd/tpm_test: Fix misleading code indentation

2016-10-16 Thread Stefan Brüns
GCC 6.2 reasonably complains about the current code: ../cmd/tpm_test.c: In function ‘do_tpmtest’: ../cmd/tpm_test.c:540:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (i = 0; i < argc; i++) ^~~ ../cmd/tpm_test.c:542:4: note: ...this statement, but the latter

Re: [U-Boot] [PATCH 1/3] spl: mmc: fix switch statement

2016-10-16 Thread Tom Rini
On Sat, Oct 15, 2016 at 07:10:14PM +0200, Max Krummenacher wrote: > 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

Re: [U-Boot] [PATCH 1/2] tools: moveconfig: support wildcards in --defconfigs file

2016-10-16 Thread Tom Rini
On Mon, Oct 17, 2016 at 02:17:22AM +0900, Masahiro Yamada wrote: > Supporting shell-style wildcards for the --defconfigs option will be > useful to run the moveconfig tool against a specific platform. For > example, "uniphier*" in the file passed by --defconfigs option will > be expanded to

Re: [U-Boot] [PATCH v3 12/12] arm: socfpga: Add support for Stratix 10 SoC dev kit

2016-10-16 Thread Marek Vasut
On 10/13/2016 10:33 AM, Chin Liang See wrote: > Add support for Stratix 10 SoC development kit > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > Cc: Tien Fong Chee

Re: [U-Boot] [PATCH v3 11/12] arm: socfpga: Add SPL support for Stratix 10 SoC

2016-10-16 Thread Marek Vasut
On 10/13/2016 10:33 AM, Chin Liang See wrote: > Add SPL support for Stratix 10 SoC development kit > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > Cc: Tien Fong Chee

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

2016-10-16 Thread Marek Vasut
On 10/15/2016 12:10 AM, Dinh Nguyen wrote: > > > On 10/10/2016 10:52 AM, Dinh Nguyen wrote: >> Hi, >> >> This patchset adds the PL330 DMA driver to U-Boot. The SoCFPGA platform makes >> use of the PL330 to transfer zereos to the SDRAM which enables the ECC bit. >> >> This is only an RFC because

Re: [U-Boot] [PATCH v3 09/12] arm: socfpga: stratix10: Add board directory for Stratix 10 socdk

2016-10-16 Thread Marek Vasut
On 10/13/2016 10:33 AM, Chin Liang See wrote: > Add board folder directory > for Stratix 10 SoC development kit > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > Cc:

Re: [U-Boot] [PATCH v3 07/12] arm: socfpga: sysmgr: Disable System Manager for Stratix 10

2016-10-16 Thread Marek Vasut
On 10/13/2016 10:33 AM, Chin Liang See wrote: > Disable the System Manager for Stratix 10 SoC as we are not > using this for SOCVP So I wonder, shouldn't we introduce some bool Kconfig entry, something like CONFIG_SOCFPGA_HAS_SYSTEMMANAGER and then make each target (AV, CV, S10, S10SoCVP...)

Re: [U-Boot] [PATCH] usb: xhci-mvebu: use xhci_deregister() for .remove callback

2016-10-16 Thread Marek Vasut
On 10/14/2016 03:30 AM, Masahiro Yamada wrote: > No need to use a wrapper that is equivalent to xhci_deregister(). > > Signed-off-by: Masahiro Yamada > --- > > drivers/usb/host/xhci-mvebu.c | 7 +-- > 1 file changed, 1 insertion(+), 6 deletions(-) > > diff

Re: [U-Boot] [PATCH v3 1/3] drivers: usb: fsl: add USB ULPI init code

2016-10-16 Thread Marek Vasut
On 10/12/2016 12:41 PM, Rajesh Bhagat wrote: > This adds the required code to set up a ULPI USB port, for > new NXP USB PHY used in QorIQ platforms. > > To use this both CONFIG_USB_ULPI and CONFIG_USB_ULPI_VIEWPORT > have to be set in the board configuration file. > > Signed-off-by: Rajesh

Re: [U-Boot] [PATCH v3 2/3] config: ls1012aqds: Add USB EHCI support for ls1012aqds

2016-10-16 Thread Marek Vasut
On 10/12/2016 12:41 PM, Rajesh Bhagat wrote: > Add USB EHCI support for ls1012aqds platform > > Signed-off-by: Rajat Srivastava > Signed-off-by: Rajesh Bhagat > --- > Changes in v3: > - Rebased to u-boot-usb master > > Changes in v2: > - None

Re: [U-Boot] [PATCH v3 05/12] arm: socfpga: fpgamgr: Disable FPGA Manager for Stratix 10

2016-10-16 Thread Marek Vasut
On 10/13/2016 10:33 AM, Chin Liang See wrote: > Disable the FPGA Manager for Stratix 10 SoC as we are not > using this for SOCVP If it's not used on SoCVP, then shouldn't this be disabled only for SoCVP instead of S10 ? > Signed-off-by: Chin Liang See > Cc: Marek Vasut

[U-Boot] [PATCH] test/py: Fix exception, do not parametrize with empty set

2016-10-16 Thread Stefan Brüns
If the parameter set is empty, the pytest setup fails: --- call: --- This aborts pytest_runtest_makereport and later leads to an exception during the report generation, as the call to log.start_section(...) is never executed: --- Exception: Block nesting mismatch:

Re: [U-Boot] [PATCH v3 01/12] arm: socfpga: stratix10: Add SOCFPGA Stratix10 base address

2016-10-16 Thread Marek Vasut
On 10/13/2016 10:32 AM, Chin Liang See wrote: > Add base address header file for Stratix10 SoC > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > Cc: Tien Fong Chee

Re: [U-Boot] [PATCH v3 04/12] arm: socfpga: clkmgr: Separate the Clock Manager for Stratix 10

2016-10-16 Thread Marek Vasut
On 10/13/2016 10:33 AM, Chin Liang See wrote: > Separate the Clock Manager to support both GEN5 SoC and > Stratix 10 SoC. > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan

Re: [U-Boot] [PATCH 2/2] tools: moveconfig: process defconfig files in alphabetical order

2016-10-16 Thread Tom Rini
On Mon, Oct 17, 2016 at 02:17:23AM +0900, Masahiro Yamada wrote: > This will make the log more readable. The log is not deterministic > in case of parallel processing, though. > > Signed-off-by: Masahiro Yamada I'm honestly ambivalent about this since single

Re: [U-Boot] [U-Boot, v2, 1/4] board: sama5d2_xplained: Move config options to defconfigs

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:02AM +0800, Wenyou Yang wrote: > Move the config options from the include/configs/sama5d2_xplained.h > to configs/sama5d2_xplained_*_defconfig. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > >

Re: [U-Boot] [U-Boot, v2, 4/4] board: sama5d2_xplained: Enable an early debug UART

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:05AM +0800, Wenyou Yang wrote: > Enable an early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann

Re: [U-Boot] [PATCH] usb: ehci-vf: use ehci_deregister() for .remove callback

2016-10-16 Thread Marek Vasut
On 10/14/2016 03:29 AM, Masahiro Yamada wrote: > This driver was recently converted to Driver Model, so missed the > subsystem-wide cleanups by commit 405273427366 ("usb: replace > ehci_*_remove() with usb_deregister()"). > > Signed-off-by: Masahiro Yamada > --- >

Re: [U-Boot] [RFC 4/4] arm: socfpga: scrub the SDRAM to properly enable ECC support

2016-10-16 Thread Marek Vasut
On 10/10/2016 05:52 PM, Dinh Nguyen wrote: > From: Dinh Nguyen > > In order for SDRAM ECC to work correctly, the SDRAM needs to get zero'd which > enables the ECC bit. By using the PL330 DMA to fill the SDRAM with zeroes, > the operation is completed in ~1.2

[U-Boot] [PATCH 1/2] tools: moveconfig: support wildcards in --defconfigs file

2016-10-16 Thread Masahiro Yamada
Supporting shell-style wildcards for the --defconfigs option will be useful to run the moveconfig tool against a specific platform. For example, "uniphier*" in the file passed by --defconfigs option will be expanded to defconfig files that start with "uniphier". This is easier than listing out

[U-Boot] [PATCH 2/2] tools: moveconfig: process defconfig files in alphabetical order

2016-10-16 Thread Masahiro Yamada
This will make the log more readable. The log is not deterministic in case of parallel processing, though. Signed-off-by: Masahiro Yamada --- tools/moveconfig.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/moveconfig.py b/tools/moveconfig.py

Re: [U-Boot] [U-Boot, v2, 2/2] serial: atmel_usart: Support enable an early debug UART

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:37:33AM +0800, Wenyou Yang wrote: > Add support to enable an early debug UART for debugging. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes

Re: [U-Boot] [U-Boot, v2, 1/2] serial: Kconfig: Add ATMEL_USART option

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:37:32AM +0800, Wenyou Yang wrote: > Add ATMEL_USART option to support to enable the Atmel usart driver > from Kconfig. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann

Re: [U-Boot] [U-Boot, v2, 3/4] board: sama5d2_xplained: Set 'ethaddr' got from AT24MAC

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:04AM +0800, Wenyou Yang wrote: > If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, > and set it to 'ethaddr' variable. > > Signed-off-by: Wenyou Yang > Signed-off-by: Songjun Wu Reviewed-by:

Re: [U-Boot] [U-Boot, v2, 2/4] board: sama5d2_xplained: Clean up code

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:03AM +0800, Wenyou Yang wrote: > Since the introduction of pinctrl and clk driver, and the dts file, > remove unneeded the pin configurations and the clock enabling code. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass

[U-Boot] Finding u-boot code in SD card using a hex viewer

2016-10-16 Thread Mani Amoozadeh
Hi, I am using NITROGEN6X board from Boundary Devices (here ). The linux kernel uses U-boot as the boot loader. I open the SD Card content in a hex viewer and I can see/decode the MBR in sector 0. I am now

Re: [U-Boot] AT91: Correct misspelling of "redundent" in partition names

2016-10-16 Thread Andreas Bießmann
On Thu, Sep 01, 2016 at 09:49:14AM -0400, Robert P. J. Day wrote: > Signed-off-by: Robert P. J. Day Reviewed-by: Andreas Bießmann > --- > > given that this misspelling is being used for partition names, i > won't treat it as a normal typo, so

Re: [U-Boot] [U-Boot,v1] i2c: at91_i2c: Fix the wrong include file

2016-10-16 Thread Andreas Bießmann
On Tue, Aug 30, 2016 at 04:03:47PM +0800, Wenyou Yang wrote: > Since the 'clk_client.h' doesn't exist, it should be 'clk.h'. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > >

Re: [U-Boot] [U-Boot, v2, 3/4] board: sama5d2_xplained: Set 'ethaddr' got from AT24MAC

2016-10-16 Thread Andreas Bießmann
Hi Wenyou, On Tue, Sep 13, 2016 at 10:49:04AM +0800, Wenyou Yang wrote: > If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, > and set it to 'ethaddr' variable. > > Signed-off-by: Wenyou Yang > Signed-off-by: Songjun Wu >

Re: [U-Boot] [U-Boot, v2, 3/4] board: sama5d2_xplained: Set 'ethaddr' got from AT24MAC

2016-10-16 Thread Tom Rini
On Sun, Oct 16, 2016 at 11:42:01PM +0200, Andreas Bießmann wrote: > Hi Wenyou, > > On Tue, Sep 13, 2016 at 10:49:04AM +0800, Wenyou Yang wrote: > > If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, > > and set it to 'ethaddr' variable. > > > > Signed-off-by: Wenyou Yang

[U-Boot] [PATCH v3 3/4] board: sama5d2_xplained: Set 'ethaddr' got from AT24MAC

2016-10-16 Thread Wenyou Yang
If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, and set it to 'ethaddr' variable. Signed-off-by: Wenyou Yang Signed-off-by: Songjun Wu Reviewed-by: Andreas Bießmann --- Changes in v3: - Collect

[U-Boot] [PATCH v3 0/4] board: sama5d2_xplained: Convert to use device tree and drivers with DM

2016-10-16 Thread Wenyou Yang
Convert to use the drivers which support the driver model and use the device tree. And add the support to enable an early debug UART for debugging. It is based on the following patches: - [PATCH v3] i2c: at91_i2c: Fix the wrong include file

[U-Boot] [PATCH v3 2/4] board: sama5d2_xplained: Clean up code

2016-10-16 Thread Wenyou Yang
Since the introduction of pinctrl and clk driver, and the dts file, remove unneeded the pin configurations and the clock enabling code. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann ---

[U-Boot] [PATCH v3 1/4] board: sama5d2_xplained: Move config options to defconfigs

2016-10-16 Thread Wenyou Yang
Move the config options from the include/configs/sama5d2_xplained.h to configs/sama5d2_xplained_*_defconfig. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v3: - Collect Reviewed-by tag. Changes in v2: None

[U-Boot] [PATCH v3 4/4] board: sama5d2_xplained: Enable an early debug UART

2016-10-16 Thread Wenyou Yang
Enable an early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann --- Changes in v3: - Collect

[U-Boot] [RFC PATCH 1/1] sf: support chips using 4-byte addressing

2016-10-16 Thread Chris Packham
Signed-off-by: Chris Packham --- drivers/mtd/spi/Kconfig | 7 +++ drivers/mtd/spi/sf_internal.h | 5 + drivers/mtd/spi/spi_flash.c | 7 +++ 3 files changed, 19 insertions(+) diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index

[U-Boot] [RFC PATCH 0/1] 4-byte SPI flash addressing

2016-10-16 Thread Chris Packham
I'm working on a board that uses a MX25L25735E spi-nor flash chip from Macronix. This is a 32MB chip that uses 4-bytes for addressing. Annoyingly this chip identifies the same as a MX25L25635F the only difference appears to be the size reported (I don't actually have a MX25L25635F so that

[U-Boot] [PATCH v3] i2c: at91_i2c: Fix the wrong include file

2016-10-16 Thread Wenyou Yang
Since the 'clk_client.h' doesn't exist, it should be 'clk.h'. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann --- Changes in v3: - Collect Reviewed-by tag. Changes in v2: - Collect

[U-Boot] [PATCH v3 0/2] serial: atmel_usart: Support to enable an early debug UART

2016-10-16 Thread Wenyou Yang
The patch set is to add support to enable an early debug UART for debugging. And add ATMEL_USART option to enable the Atmel usartdriver from Kconfig. Changes in v3: - Collect Reviewed-by tag. - Collect Reviewed-by tag. Changes in v2: - Collect Reviewed-by tag. Wenyou Yang (2): serial:

[U-Boot] [PATCH v3 2/2] serial: atmel_usart: Support enable an early debug UART

2016-10-16 Thread Wenyou Yang
Add support to enable an early debug UART for debugging. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann --- Changes in v3: - Collect Reviewed-by tag. Changes in v2: - Collect Reviewed-by

[U-Boot] [PATCH v3 1/2] serial: Kconfig: Add ATMEL_USART option

2016-10-16 Thread Wenyou Yang
Add ATMEL_USART option to support to enable the Atmel usart driver from Kconfig. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v3: - Collect Reviewed-by tag. Changes in v2: None drivers/serial/Kconfig | 7 +++ 1

Re: [U-Boot] [PATCH v7 00/21] imx6: Add Engicam i.CoreM6 QDL support

2016-10-16 Thread Jagan Teki
Hi Stefano, On Tue, Oct 11, 2016 at 9:00 AM, Jagan Teki wrote: > Hi Stefano, > > On Sun, Oct 9, 2016 at 8:15 PM, Jagan Teki wrote: >> Hi Stefano, >> >> On Sat, Oct 8, 2016 at 6:00 PM, Jagan Teki wrote: >>> From: Jagan Teki

Re: [U-Boot] [PATCH 2/5] configs/ls104xa: enable the config NOR_BOOT

2016-10-16 Thread Prabhakar Kushwaha
> -Original Message- > From: Zhiqiang Hou [mailto:zhiqiang@nxp.com] > Sent: Wednesday, October 12, 2016 2:56 PM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; york sun > ; s...@chromium.org; bmeng...@gmail.com; h...@denx.de; > yamada.masah...@socionext.com;

Re: [U-Boot] [PATCH v5 1/7] ls2080: Exit dpaa only right before exiting U-Boot

2016-10-16 Thread Prabhakar Kushwaha
Hi Alex, > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Saturday, October 15, 2016 3:33 PM > To: u-boot@lists.denx.de > Cc: york sun ; Prabhakar Kushwaha > > Subject: [PATCH v5 1/7] ls2080: Exit dpaa only right

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-16 Thread Prabhakar Kushwaha
Hi Mingkai, > -Original Message- > From: Pratiyush Srivastava [mailto:pratiyush.srivast...@nxp.com] > Sent: Wednesday, October 12, 2016 5:46 PM > To: u-boot@lists.denx.de > Cc: york sun ; Prabhakar Kushwaha > ; Pratiyush Srivastava >

Re: [U-Boot] [PATCH v3] i2c: at91_i2c: Fix the wrong include file

2016-10-16 Thread Heiko Schocher
Hello Wenyou Yang, Am 17.10.2016 um 03:46 schrieb Wenyou Yang: Since the 'clk_client.h' doesn't exist, it should be 'clk.h'. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann --- Changes in v3:

Re: [U-Boot] [PATCH v3] i2c: at91_i2c: Fix the wrong include file

2016-10-16 Thread Heiko Schocher
Hello Wenyou Yang, Am 17.10.2016 um 03:46 schrieb Wenyou Yang: Since the 'clk_client.h' doesn't exist, it should be 'clk.h'. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann --- Changes in v3:

Re: [U-Boot] [PATCH v3] i2c: at91_i2c: Fix the wrong include file

2016-10-16 Thread Wenyou.Yang
> -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: 2016年10月17日 13:46 > To: Wenyou Yang - A41535 > Cc: U-Boot Mailing List ; Wenyou Yang - A41535 > ; Simon Glass ;

Re: [U-Boot] [PATCH v7 00/21] imx6: Add Engicam i.CoreM6 QDL support

2016-10-16 Thread Stefano Babic
Hi Jagan, On 17/10/2016 05:40, Jagan Teki wrote: > Hi Stefano, > > On Tue, Oct 11, 2016 at 9:00 AM, Jagan Teki wrote: >> Hi Stefano, >> >> On Sun, Oct 9, 2016 at 8:15 PM, Jagan Teki wrote: >>> Hi Stefano, >>> >>> On Sat, Oct 8, 2016 at 6:00 PM,