[U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and board variant on the fly and change the dtb name. Based on the scheme done on am335x board. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v4: -

[U-Boot] [PATCH v5 5/6] mx6cuboxi: Use more standard namings for fdt variables

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com README file suggests to use 'fdtfile' for the dtb file name and 'fdt_addr_r' for the dtb address in RAM, so do as suggested. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v5: - Use fdt_addr_r as per README (suggested by

[U-Boot] [PATCH v5 3/6] mx6cuboxi: Introduce multi-SoC support

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, mx6dual and mx6quad. Add support for the different SoC/memory sizes combinations. DDR initialization values were extracted from Solid-run internal U-boot. Tested on a

[U-Boot] [PATCH v5 4/6] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Introduce is_hummingboard() function that reads GPIOs that can distinguish between Cubox-i and Hummingboard. Print the board name accordingly. Based on a patch from Rabeeh Khoury. Signed-off-by: Rabeeh Khoury rab...@solid-run.com Signed-off-by:

[U-Boot] [PATCH 3/4 v2] x86: gpio: add pinctrl support from the device tree

2015-04-25 Thread Gabriel Huau
Every pin can be configured now from the device tree. A dt-bindings has been added to describe the different property available. Signed-off-by: Gabriel Huau cont...@huau-gabriel.fr --- Changes for v2: - Clean commit message - Rename compatible string 'ich6' to 'x86' - Fix

[U-Boot] [PATCH 4/4 v2] x86: minnowmax: initialize the pin-muxing from device tree

2015-04-25 Thread Gabriel Huau
Signed-off-by: Gabriel Huau cont...@huau-gabriel.fr --- Changes for v2: - Fix ordering of include header board/intel/minnowmax/minnowmax.c | 9 + include/configs/minnowmax.h | 1 + 2 files changed, 10 insertions(+) diff --git a/board/intel/minnowmax/minnowmax.c

[U-Boot] [PATCH 2/4 v2] x86: minnowmax: add GPIO banks in the device tree

2015-04-25 Thread Gabriel Huau
There are 6 banks: 4 banks for CORE: available in S0 mode 2 banks for SUS (Suspend): available in S0-S5 mode Signed-off-by: Gabriel Huau cont...@huau-gabriel.fr --- Changes for v2: - Fix typo in the commit message arch/x86/dts/minnowmax.dts | 42

[U-Boot] [PATCH v5 2/6] mx6cuboxi: Prepare for multi SoC support

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, mx6dual and mx6quad. Use IOMUX_PADS() macro in order to prepare for the multi-SoC support. Also pass 'MX6QDL' in the defconfig to indicate it. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH v5 1/6] mx6cuboxi: Fix the defconfig name

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com The correct name of the defconfig file is 'mx6cuboxi_defconfig'. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v4: - None board/solidrun/mx6cuboxi/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] [U-Boot, v3, 5/5] mx6cuboxi: Load the correct 'fdt_file' variable

2015-04-25 Thread Vagrant Cascadian
On 2015-04-25, Fabio Estevam wrote: On Sat, Apr 25, 2015 at 3:05 AM, Stefano Babic sba...@denx.de wrote: Are you sure ? I think Fabio's intention is to have setenv fdt_file as part of check_suffix, and it is not if you add a trailing \0 That's correct. Yes, I understood that intention, but

[U-Boot] [PATCH] socfpga: implement arria V socdk SPI flash config in dts

2015-04-25 Thread Pavel Machek
Arria V SocDK has same QSPI and SPI flash configuration as Socrates. Add support for it. Signed-off-by: Pavel Machek pa...@denx.de diff --git a/arch/arm/dts/socfpga_arria5_socdk.dts b/arch/arm/dts/socfpga_arria5_socdk.dts index 4e529a1..1b86897 100644 --- a/arch/arm/dts/socfpga_arria5_socdk.dts

Re: [U-Boot] [RFC PATCH 4/4 v3] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2015-04-25 Thread Pavel Machek
On Thu 2014-10-02 00:34:48, Jagan Teki wrote: On 2 October 2014 00:27, Stefan Roese s...@denx.de wrote: On 01.10.2014 20:25, Marek Vasut wrote: On Wednesday, October 01, 2014 at 05:13:11 PM, Stefan Roese wrote: This is needed for the SoCFPGA booting from SPI NOR flash e.g. (N25Q256A).

Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-25 Thread Vagrant Cascadian
On 2015-04-25, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and board variant on the fly and change the dtb name. Based on the scheme done on am335x board. Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH v3 5/5] mx6cuboxi: Load the correct 'fdt_file' variable

2015-04-25 Thread Tom Rini
On Fri, Apr 24, 2015 at 08:46:55AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Instead of hardcoding the 'fdt_file' variable, let's detect the SoC and board variant on the fly and change the dtb name. Based on a patch from Rabeeh Khoury. Signed-off-by:

[U-Boot] [PATCH v4 3/6] mx6cuboxi: Introduce multi-SoC support

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, mx6dual and mx6quad. Add support for the different SoC/memory sizes combinations. DDR initialization values were extracted from Solid-run internal U-boot. Tested on a

[U-Boot] [PATCH v4 2/6] mx6cuboxi: Prepare for multi SoC support

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, mx6dual and mx6quad. Use IOMUX_PADS() macro in order to prepare for the multi-SoC support. Also pass 'MX6QDL' in the defconfig to indicate it. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH] README: fix typo in 'currently'

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 9b748cc..8e6b053 100644 --- a/README +++ b/README @@ -5506,7 +5506,7 @@ loaded to, and

Re: [U-Boot] [PATCH v5 3/6] mx6cuboxi: Introduce multi-SoC support

2015-04-25 Thread Tom Rini
On Sat, Apr 25, 2015 at 06:47:18PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, mx6dual and mx6quad. Add support for the different SoC/memory sizes combinations. DDR initialization

Re: [U-Boot] [PATCH v5 4/6] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-25 Thread Tom Rini
On Sat, Apr 25, 2015 at 06:47:19PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Introduce is_hummingboard() function that reads GPIOs that can distinguish between Cubox-i and Hummingboard. Print the board name accordingly. Based on a patch from Rabeeh

Re: [U-Boot] [PATCH v5 5/6] mx6cuboxi: Use more standard namings for fdt variables

2015-04-25 Thread Tom Rini
On Sat, Apr 25, 2015 at 06:47:20PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com README file suggests to use 'fdtfile' for the dtb file name and 'fdt_addr_r' for the dtb address in RAM, so do as suggested. Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-25 Thread Tom Rini
On Sat, Apr 25, 2015 at 06:47:21PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and board variant on the fly and change the dtb name. Based on the scheme done on am335x board.

Re: [U-Boot] [PATCH v5 2/6] mx6cuboxi: Prepare for multi SoC support

2015-04-25 Thread Tom Rini
On Sat, Apr 25, 2015 at 06:47:17PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, mx6dual and mx6quad. Use IOMUX_PADS() macro in order to prepare for the multi-SoC support. Also pass

Re: [U-Boot] [PATCH v5 1/6] mx6cuboxi: Fix the defconfig name

2015-04-25 Thread Tom Rini
On Sat, Apr 25, 2015 at 06:47:16PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com The correct name of the defconfig file is 'mx6cuboxi_defconfig'. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Reviewed-by: Tom Rini tr...@konsulko.com -- Tom

Re: [U-Boot] [PATCH] README: fix typo in 'currently'

2015-04-25 Thread Tom Rini
On Sat, Apr 25, 2015 at 06:53:10PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com Reviewed-by: Tom Rini tr...@konsulko.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH RESEND 2/3] driver/ddr/altera/: Add the sdram calibration portion

2015-04-25 Thread Pavel Machek
Hi! +++ b/drivers/ddr/altera/Makefile @@ -0,0 +1,12 @@ +# +# (C) Copyright 2000-2003 +# Wolfgang Denk, DENX Software Engineering, w...@denx.de. Umm. Looks like nothing of Wolfgang's original code is remaining at this point, you can delete this.

Re: [U-Boot] [PATCH] x86: Correct Minnowboard instructions to use the right descriptor

2015-04-25 Thread Tom Rini
On Sat, Apr 25, 2015 at 11:46:43AM -0600, Simon Glass wrote: The descriptor provided with the FSP does not seem to work. Update the instructions to use the descriptor from the original Intel firmware. Signed-off-by: Simon Glass s...@chromium.org --- doc/README.x86 | 23

[U-Boot] [PATCH] x86: Correct Minnowboard instructions to use the right descriptor

2015-04-25 Thread Simon Glass
The descriptor provided with the FSP does not seem to work. Update the instructions to use the descriptor from the original Intel firmware. Signed-off-by: Simon Glass s...@chromium.org --- doc/README.x86 | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v4 4/6] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Introduce is_hummingboard() function that reads GPIOs that can distinguish between Cubox-i and Hummingboard. Print the board name accordingly. Based on a patch from Rabeeh Khoury. Signed-off-by: Rabeeh Khoury rab...@solid-run.com Signed-off-by:

[U-Boot] [PATCH v4 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and board variant on the fly and change the dtb name. Based on the scheme done on am335x board. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v3: -

[U-Boot] [PATCH v4 5/6] mx6cuboxi: Use more standard namings for fdt variables

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Use the more standard fdtfile and fdtaddr variable names. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v3: - Newly introduced in this series as per Vagrant Cascadian's suggestion include/configs/mx6cuboxi.h | 12

[U-Boot] [PATCH v4 1/6] mx6cuboxi: Fix the defconfig name

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com The correct name of the defconfig file is 'mx6cuboxi_defconfig'. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v3: - None board/solidrun/mx6cuboxi/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] [RFC PATCH 4/4 v3] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2015-04-25 Thread Pavel Machek
On Wed 2014-10-01 20:25:55, Marek Vasut wrote: On Wednesday, October 01, 2014 at 05:13:11 PM, Stefan Roese wrote: This is needed for the SoCFPGA booting from SPI NOR flash e.g. (N25Q256A). With these changes, the SoCrates can boot and re-boot (reset) from SPI NOR flash without any problems.

[U-Boot] [PATCH 1/4 v3] x86: baytrail: fix the GPIOBASE address

2015-04-25 Thread Gabriel Huau
The correct GPIOBASE address on the baytrail is 0x48 Signed-off-by: Gabriel Huau cont...@huau-gabriel.fr --- Changes for v2: - Add a commit message Changes for v3: - Fix patch number arch/x86/include/asm/arch-baytrail/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] [PATCH v4 5/6] mx6cuboxi: Use more standard namings for fdt variables

2015-04-25 Thread Vagrant Cascadian
On 2015-04-25, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Use the more standard fdtfile and fdtaddr variable names. I think you want to change fdtaddr to fdt_addr_r, as it's the location in ram, as opposed to the location on the flash media (which would use fdt_addr),

[U-Boot] [PATCH 1/5 v2] x86: baytrail: fix the GPIOBASE address

2015-04-25 Thread Gabriel Huau
The correct GPIOBASE address on the baytrail is 0x48 Signed-off-by: Gabriel Huau cont...@huau-gabriel.fr --- Changes for v2: - Add a commit message arch/x86/include/asm/arch-baytrail/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 13/21] sunxi: emac: port to phylib

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: This is a preparation-patch for adding device-model support to the emac driver. Signed-off-by: Hans de Goede hdego...@redhat.com Think I saw this and the following few patches in a separate v2, so I've ignored them here. Let me know if

Re: [U-Boot] [PATCH 12/21] sunxi: gmac: Move sunxi_gmac_initialize proto out of netdev.h

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: netdev.h should not be included in device-model enabled builds (doing so causes compiler warnings about struct eth_device not being declared), but we do use sunxi_gmac_initialize in the device-model case, so move it out of netdev.h .

Re: [U-Boot] [PATCH 09/21] sunxi: gpio: Build sunxi_name_to_gpio_bank for device-model code too

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: When doing a device-model enabled build we still need sunxi_name_to_gpio_bank (for now) for the mmc pinmux code in board/sunxi/board.c, so build it for device-model enabled builds too. Signed-off-by: Hans de Goede hdego...@redhat.com

[U-Boot] [PATCH] dm: i2c-gpio: Remove redundant dm_gpio_set_value() call

2015-04-25 Thread Axel Lin
dm_gpio_set_dir_flags() will also set gpio output value when switching to gpio output. So it's not necessary to call dm_gpio_set_value() after dm_gpio_set_dir_flags() call. Signed-off-by: Axel Lin axel@ingics.com --- drivers/i2c/i2c-gpio.c | 13 +++-- 1 file changed, 7 insertions(+),

Re: [U-Boot] [PATCH 21/21] sunxi: emac: Remove non device-model code

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: All sunxi boards now use the device-model, so remove the non device-model code. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk ___ U-Boot mailing

Re: [U-Boot] [PATCH 20/21] sunxi: Move all boards to the device-model

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 3831d3b..3997637 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -529,4 +529,16 @@ config GMAC_TX_DELAY ---help--- Set the GMAC Transmit Clock Delay

Re: [U-Boot] [PATCH 08/21] sunxi: gpio: Add compatible strings for all supported SoCs

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: We want to use device-model/fdt with other model SoCs too, so add compatible strings for the other SoCs to the dm sunxi gpio code. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk

Re: [U-Boot] [PATCH 05/21] sunxi: soft-i2c: Fix gpio handling to work with the device-model

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: i2c_init_board() gets called before the device-model (gpio) code is initialized, so move the setup of the soft-i2c pins out of i2c_init_board() and into board_init(), at which time the device-model setup has been done. Also add proper

Re: [U-Boot] [PATCH 04/21] sunxi: display: Fix gpio handling to work with the device-model

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: The device-model gpio functions may return another value then -1 as error, make the sunxi display code properly handle this. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk

Re: [U-Boot] [PATCH 02/21] sunxi: mmc: Fix card-detect gpio handling to work with the device-model

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 17:23 -0600, Simon Glass wrote: HI Hans, On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: The device-model gpio functions may return another value then -1 as error, make the sunxi mmc code properly handle this. FYI I tend to call it 'drive model'

Re: [U-Boot] [PATCH v2 0/4] sunxi: emac: Add driver model support

2015-04-25 Thread Ian Campbell
On Sat, 2015-04-25 at 13:51 +0200, Hans de Goede wrote: Hi All, Here is v2 of my patch series to add driver model support to the sunxi emac driver. Changes since v1: -Add a patch to rename DMA_CPU_TRRESHOLD to EMAC_RX_BUFSIZE. Please review. All LGTM: Acked-by: Ian Campbell

Re: [U-Boot] [PATCH 01/21] sunxi: Do not build i2c support when we've no i2c controllers

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: This fixes the following errors being printed during boot: Error, wrong i2c adapter 0 max 0 possible Error, wrong i2c adapter 0 max 0 possible Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell

Re: [U-Boot] [PATCH 03/21] sunxi: usbc: Fix vbus gpio handling to work with the device-model

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: The device-model gpio functions may return another value then -1 as error, make the sunxi usbc properly handle this. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk

[U-Boot] [PATCH v2] gpio: stm32_gpio: Use clrsetbits_le32() at appropriate places

2015-04-25 Thread Axel Lin
Use clrsetbits_le32() to replace clrbits_le32() + setbits_le32(). Signed-off-by: Axel Lin axel@ingics.com --- v2: Conver one more place (updating gpio_regs-afr[dsc-pin 3] register) to use clrsetbits_le32(). drivers/gpio/stm32_gpio.c | 18 +- 1 file changed, 5

Re: [U-Boot] [PATCH 18/21] sunxi: dts: Add minimal dts files for board which lack a dts sofar

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: u-boot has support for a number of boards for which a dts file still needs to be written, add minimal dts files for these boards so that we can switch them over to device-model / fdt. Can these minimal things not be submitted to mainline

Re: [U-Boot] [PATCH 17/21] sunxi: dts: Add dts files which have been submitted but not yet merged upstream

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: We need dts files for all boards we support, so bring in a few unmerged ones, these will be replaced with the upstream merged versions the next time we sync dts files. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian

Re: [U-Boot] [PATCH 16/21] sunxi: dts: Sync all dts files with upstream kernel

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: Bring all the sunxi dts files (and update existing ones) from mripard/sunxi/dt-for-4.1 A specific SHA1 might be a useful reference for whomever does the next update and/or the specific runes used to update (cp sun*.dts ... ?) (which

Re: [U-Boot] [PATCH 19/21] sunxi: dts: Add a CONFIG_DEFAULT_DEVICE_TREE setting to all sunxi boards

2015-04-25 Thread Ian Campbell
On Fri, 2015-04-24 at 15:48 +0200, Hans de Goede wrote: This is a preparation patch for switching all sunxi boards over to using the device model. Note that rather then defining both CONFIG_DEFAULT_DEVICE_TREE (for u-boot) and CONFIG_FDTFILE (for the kernel), this commit simply replaces all

Re: [U-Boot] [U-Boot, v3, 5/5] mx6cuboxi: Load the correct 'fdt_file' variable

2015-04-25 Thread Stefano Babic
Hi Vagrant, On 25/04/2015 01:47, Vagrant Cascadian wrote: On 2015-04-24, Fabio Estevam wrote: Instead of hardcoding the 'fdt_file' variable, let's detect the SoC and board variant on the fly and change the dtb name. ... diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h

Re: [U-Boot] [PATCH 01/21] sunxi: Do not build i2c support when we've no i2c controllers

2015-04-25 Thread Hans de Goede
Hi, On 25-04-15 01:22, Simon Glass wrote: Hi Hans, On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: This fixes the following errors being printed during boot: Error, wrong i2c adapter 0 max 0 possible Error, wrong i2c adapter 0 max 0 possible Signed-off-by: Hans de Goede

Re: [U-Boot] Test

2015-04-25 Thread Nable
Hi! I don't see any problems with the U-Boot mailing list - I receive more and more letters, timestamp of the latest one is Sat, 25 Apr 2015 08:39:55 UTC. Did you check the amount of available space or spam folder? Your mail provider may be overwhelmed by the stream of this huge mailing list.

Re: [U-Boot] [PATCH 00/21] sunxi: Move ALL boards to the device-model

2015-04-25 Thread Hans de Goede
Hi Simon, Thanks for the quick review. On 25-04-15 01:23, Simon Glass wrote: Hi Hans, On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: Hi Simon, Ian, As promised here is my patch-set to move all sunxi boards to the device-model, it was slightly more work then I expected,

Re: [U-Boot] fastboot boot base address behaviour

2015-04-25 Thread Maxime Ripard
On Thu, Apr 23, 2015 at 02:00:01PM +0200, Marek Vasut wrote: On Thursday, April 23, 2015 at 09:41:04 AM, Maxime Ripard wrote: On Wed, Apr 22, 2015 at 05:56:23PM +0200, Marek Vasut wrote: I've been trying to use fastboot (and especially the boot command) on sunxi recently, and got it to

Re: [U-Boot] [PATCH 15/21] sunxi: emac: Add device model support

2015-04-25 Thread Hans de Goede
Hi, On 25-04-15 01:24, Simon Glass wrote: Hi Hans, On 24 April 2015 at 07:48, Hans de Goede hdego...@redhat.com wrote: Modify the sunxi-emac eth driver to support device model. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c | 4 +-

[U-Boot] [PATCH v2 0/4] sunxi: emac: Add driver model support

2015-04-25 Thread Hans de Goede
Hi All, Here is v2 of my patch series to add driver model support to the sunxi emac driver. Changes since v1: -Add a patch to rename DMA_CPU_TRRESHOLD to EMAC_RX_BUFSIZE. Please review. Regards, Hans ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v2 3/4] sunxi: emac: Rename DMA_CPU_TRRESHOLD to EMAC_RX_BUFSIZE

2015-04-25 Thread Hans de Goede
Besides being spelled wron, the DMA_CPU_TRRESHOLD define actually has nothing to do with DMA as we only use mmio fifo access. Rename it to EMAC_RX_BUFSIZE to properly reflect what it does. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/net/sunxi_emac.c | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH v2 2/4] sunxi: emac: Prepare for driver-model support

2015-04-25 Thread Hans de Goede
Split all the core functionality out into functions taking a struct emac_eth_dev *priv argument as preparation for adding driver-model support. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/net/sunxi_emac.c | 115 +-- 1 file changed, 71

[U-Boot] [PATCH v2 1/4] sunxi: emac: port to phylib

2015-04-25 Thread Hans de Goede
This is a preparation-patch for adding device-model support to the emac driver. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/net/sunxi_emac.c | 111 + include/configs/sunxi-common.h | 2 + 2 files changed, 71 insertions(+), 42

[U-Boot] [PATCH v2 4/4] sunxi: emac: Add driver model support

2015-04-25 Thread Hans de Goede
Modify the sunxi-emac eth driver to support driver model. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c | 4 +- drivers/net/sunxi_emac.c | 81 2 files changed, 84 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH V2] i2c: mxc: refactor i2c driver and support dm

2015-04-25 Thread Peng Fan
1. Introduce a new structure `struct mxc_i2c_bus`, this structure will used for non-DM and DM. 1. Remove `struct mxc_i2c_regs` structure, but use register offset to access registers based on `base` entry of `struct mxc_i2c_bus`. 2. Remove most `#ifdef I2C_QUIRK_REG`. Using driver_data to

Re: [U-Boot] [PATCH v2 2/4] x86: Write configuration tables in last_stage_init()

2015-04-25 Thread Simon Glass
On 24 April 2015 at 04:10, Bin Meng bmeng...@gmail.com wrote: We can write the configuration table in last_stage_init() for all x86 boards, but not with coreboot since coreboot already has them. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes

Re: [U-Boot] [PATCH 3/3] biosemu: Do not free vga_info-BIOSImage when it is 0xc0000

2015-04-25 Thread Simon Glass
On 24 April 2015 at 21:54, Simon Glass s...@chromium.org wrote: On 24 April 2015 at 06:40, Simon Glass s...@chromium.org wrote: On 24 April 2015 at 01:48, Bin Meng bmeng...@gmail.com wrote: For x86, vga_info-BIOSImage points to 0xc which cannot be freed. Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH v2 4/4] x86: queensbay: Implement PIRQ routing

2015-04-25 Thread Simon Glass
On 24 April 2015 at 06:40, Simon Glass s...@chromium.org wrote: On 24 April 2015 at 04:10, Bin Meng bmeng...@gmail.com wrote: Implement Intel Queensbay platform-specific PIRQ routing support. The chipset PIRQ routing setup is called in the arch_misc_init(). Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH v2 3/4] x86: Support platform PIRQ routing

2015-04-25 Thread Simon Glass
On 24 April 2015 at 04:10, Bin Meng bmeng...@gmail.com wrote: On x86 boards, platform chipset receives up to four different interrupt signals from PCI devices (INTA/B/C/D), which in turn will be routed to chipset internal PIRQ lines then routed to 8259 PIC finally if configuring the whole

Re: [U-Boot] [PATCH 2/3] pci: Remove parameter 'class' of pci_rom_load()

2015-04-25 Thread Simon Glass
On 24 April 2015 at 06:40, Simon Glass s...@chromium.org wrote: On 24 April 2015 at 01:48, Bin Meng bmeng...@gmail.com wrote: pci_rom_load() does not use its parameter 'class', so remove it. Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/pci/pci_rom.c | 4 ++-- 1 file changed, 2

Re: [U-Boot] [PATCH 1/3] pci: Option rom class is a 24-bit number

2015-04-25 Thread Simon Glass
On 24 April 2015 at 21:54, Simon Glass s...@chromium.org wrote: On 24 April 2015 at 01:48, Bin Meng bmeng...@gmail.com wrote: We should pass a u32 class number to pci_rom_probe() instead of a u16. Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/pci/pci_rom.c | 20

[U-Boot] [PATCH v2] x86: minnowmax: use the correct NOR in the configuration

2015-04-25 Thread Gabriel Huau
The SPI NOR on the minnowboard max is a MICRON N25Q064A Signed-off-by: Gabriel Huau cont...@huau-gabriel.fr --- Changes for v2: - Update the dts to put the correct flash name arch/x86/dts/minnowmax.dts | 2 +- include/configs/minnowmax.h | 2 +- 2 files changed, 2 insertions(+), 2

Re: [U-Boot] Testing u-boot-dm/next

2015-04-25 Thread Simon Glass
Hi Stephen, On 24 April 2015 at 22:46, Stephen Warren swar...@nvidia.com wrote: On 04/08/2015 09:11 PM, Simon Glass wrote: (Correcting address for Masahiro, sorry) On 8 April 2015 at 21:07, Simon Glass s...@chromium.org wrote: Hi, I have quite a few patches queued up in the next branch of

[U-Boot] [PATCH 1/4] x86: Implement reset_cpu() correctly for modern CPUs

2015-04-25 Thread Simon Glass
The existing code is pretty ancient and is unreliable on modern hardware. Generally it will hang. We can use port 0xcf9 to initiate reset on more modern hardware (say in the last 10 years). Update the reset_cpu() function to do this, and add a new 'full reset' function to perform a full power

[U-Boot] [PATCH 4/4] x86: fsp: Use reset_cpu()

2015-04-25 Thread Simon Glass
Now that reset_cpu() functions correctly, use it instead of directly accessing the port on boards that use a Firmware Support Package (FSP). Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/lib/fsp/fsp_common.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[U-Boot] [PATCH 2/4] x86: ivybridge: Use reset_cpu()

2015-04-25 Thread Simon Glass
Now that reset_cpu() functions correctly, use it instead of directly accessing the port. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/cpu/ivybridge/cpu.c | 5 ++--- arch/x86/cpu/ivybridge/early_me.c | 7 +++ arch/x86/cpu/ivybridge/sdram.c| 3 +-- 3 files changed, 6

[U-Boot] [PATCH 3/4] x86: quark: Use reset_cpu()

2015-04-25 Thread Simon Glass
Now that reset_cpu() functions correctly, use it instead of directly accessing the port. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/cpu/quark/quark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/cpu/quark/quark.c b/arch/x86/cpu/quark/quark.c index

[U-Boot] [PATCH v2] x86: minnowmax: use the correct NOR in the configuration

2015-04-25 Thread Gabriel Huau
The SPI NOR on the minnowboard max is a MICRON N25Q064A Signed-off-by: Gabriel Huau cont...@huau-gabriel.fr --- Changes for v2: - Update the dts to put the correct flash name arch/x86/dts/minnowmax.dts | 2 +- include/configs/minnowmax.h | 2 +- 2 files changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH v2] x86: minnowmax: use the correct NOR in the configuration

2015-04-25 Thread gabriel huau
Hi, Wrong command ... I sent a duplicate patch v2, you can ignore this one, sorry. Regards, Gabriel On 04/25/2015 08:19 AM, Gabriel Huau wrote: The SPI NOR on the minnowboard max is a MICRON N25Q064A Signed-off-by: Gabriel Huau cont...@huau-gabriel.fr --- Changes for v2: - Update

Re: [U-Boot] [PATCH 1/2] x86: Clean up arch/x86/include/asm/e820.h

2015-04-25 Thread Simon Glass
On 21 April 2015 at 07:55, Simon Glass s...@chromium.org wrote: On 20 April 2015 at 22:21, Bin Meng bmeng...@gmail.com wrote: There are lots of unused codes defined in e820.h, clean it up. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/include/asm/e820.h | 133

Re: [U-Boot] [PATCH v2 1/4] x86: Add a function to assign IRQ numbers to PCI device

2015-04-25 Thread Simon Glass
On 24 April 2015 at 04:10, Bin Meng bmeng...@gmail.com wrote: Add a function to assign an IRQ number to PCI device's interrupt line register in its configuration space, so that the PCI device can have its interrupt working under PIC mode after OS boots up. Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH 2/2] x86: Install a default e820 table in the __weak install_e820_map()

2015-04-25 Thread Simon Glass
On 23 April 2015 at 20:41, Simon Glass s...@chromium.org wrote: Hi Bin, On 21 April 2015 at 19:01, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Apr 21, 2015 at 9:52 PM, Simon Glass s...@chromium.org wrote: Hi Bin, On 20 April 2015 at 22:21, Bin Meng bmeng...@gmail.com wrote:

Re: [U-Boot] [PATCH] serial: ns16550: Remove hard-coded baud_divisor setting

2015-04-25 Thread Simon Glass
On 24 April 2015 at 21:05, Simon Glass s...@chromium.org wrote: On Apr 24, 2015 8:53 PM, Axel Lin axel@ingics.com wrote: This was accidentally added by commit dd0b0122bacc serial: ns16550: Add an option to specify the debug UART register shift. Remove it. Signed-off-by: Axel Lin

Re: [U-Boot] [PATCH] dm: core: drop device removal error path correctly

2015-04-25 Thread Simon Glass
On 24 April 2015 at 07:04, Simon Glass s...@chromium.org wrote: On 24 April 2015 at 02:28, Masahiro Yamada yamada.masah...@socionext.com wrote: Trivial bug fix for commit 5a87c4174d18 (dm: core: Drop device removal error path when not supported). Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, v3, 5/5] mx6cuboxi: Load the correct 'fdt_file' variable

2015-04-25 Thread Fabio Estevam
Hi Stefano and Vagrant, On Sat, Apr 25, 2015 at 3:05 AM, Stefano Babic sba...@denx.de wrote: Are you sure ? I think Fabio's intention is to have setenv fdt_file as part of check_suffix, and it is not if you add a trailing \0 That's correct. and maybe should be indented to line up with the

Re: [U-Boot] [PATCH v2 3/4] sunxi: emac: Rename DMA_CPU_TRRESHOLD to EMAC_RX_BUFSIZE

2015-04-25 Thread Simon Glass
On 25 April 2015 at 05:51, Hans de Goede hdego...@redhat.com wrote: Besides being spelled wron, the DMA_CPU_TRRESHOLD define actually has :-) nothing to do with DMA as we only use mmio fifo access. Rename it to EMAC_RX_BUFSIZE to properly reflect what it does. Signed-off-by: Hans de Goede

Re: [U-Boot] fastboot boot base address behaviour

2015-04-25 Thread Marek Vasut
On Saturday, April 25, 2015 at 08:22:26 AM, Maxime Ripard wrote: On Thu, Apr 23, 2015 at 02:00:01PM +0200, Marek Vasut wrote: On Thursday, April 23, 2015 at 09:41:04 AM, Maxime Ripard wrote: On Wed, Apr 22, 2015 at 05:56:23PM +0200, Marek Vasut wrote: I've been trying to use fastboot

Re: [U-Boot] [U-Boot, v3, 5/5] mx6cuboxi: Load the correct 'fdt_file' variable

2015-04-25 Thread Vagrant Cascadian
On 2015-04-24, Stefano Babic wrote: On 25/04/2015 01:47, Vagrant Cascadian wrote: On 2015-04-24, Fabio Estevam wrote: Instead of hardcoding the 'fdt_file' variable, let's detect the SoC and board variant on the fly and change the dtb name. ... diff --git a/include/configs/mx6cuboxi.h