Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-26 Thread Jagan Teki
On Tue, Oct 25, 2016 at 3:59 AM, André Przywara wrote: > On 21/10/16 11:28, Hans de Goede wrote: >> Hi, >> >> On 21-10-16 12:06, Andre Przywara wrote: >>> Hi, >>> >>> On 21/10/16 10:31, Jagan Teki wrote: On Fri, Oct 21, 2016 at 5:41 AM, Andre Przywara wrote: > The sun8i-emac driver

Re: [U-Boot] [PATCH v3 1/3] spi: spi_flash: Dont set quad enable for micron in all cases

2016-10-26 Thread Jagan Teki
On Thu, Oct 20, 2016 at 5:08 PM, S Durga Prasad Paladugu wrote: > Hi Jagan, > > On Wed, Jul 27, 2016 at 3:26 PM, Jagan Teki > wrote: >> >> On 27 July 2016 at 14:31, Siva Durga Prasad Paladugu >> wrote: >> > Hi Jagan, >> > >> >> -Original Message- >> >> From: Jagan Teki [mailto:jagannadh.

Re: [U-Boot] [PATCH 2/2] spi: ti_qspi: Fix baudrate divider calculation

2016-10-26 Thread Jagan Teki
On Fri, Oct 14, 2016 at 4:18 PM, R, Vignesh wrote: > > > On 10/14/2016 12:27 PM, Jagan Teki wrote: >> On Fri, Oct 14, 2016 at 10:54 AM, Vignesh R wrote: > ... > DECLARE_GLOBAL_DATA_PTR; > > @@ -118,7 +119,7 @@ static void ti_spi_set_speed(struct ti_qspi_priv > *priv, uint hz) >>

Re: [U-Boot] [RFC PATCH] lib/timer: initialize timebase_l/timebase_h

2016-10-26 Thread Alexander Graf
On 10/26/2016 02:07 AM, André Przywara wrote: On 25/10/16 08:52, Alexander Graf wrote: Hi Alex, thanks for looking at this! On 25/10/2016 02:51, Andre Przywara wrote: On systems using the generic timer routines defined in lib/time.c we use timebase_l and timebase_h fields from the gd to dete

Re: [U-Boot] [PATCH] spi: kirkwood_spi: implement mvebu_spi_set_mode()

2016-10-26 Thread Jagan Teki
On Fri, Oct 14, 2016 at 8:49 AM, Chris Packham wrote: > Set the appropriate bits in the interface config register based > on the SPI_ mode flags. > > Signed-off-by: Chris Packham > --- > > arch/arm/include/asm/arch-mvebu/spi.h | 4 > drivers/spi/kirkwood_spi.c| 13 +

[U-Boot] [PATCH v3 0/2] pinctrl: at91: Add pinctrl driver

2016-10-26 Thread Wenyou Yang
The purpose of this patch set is to add the pinctrl driver for AT91 PIO controller. Changes in v3: - Add support for OUTPUT config Changes in v2: - Add more information for the PINCTRL_AT91 option's help. - Add more comments for the callback of struct at91_pinctrl_mux_ops. - Use clrsetbits_le

[U-Boot] [PATCH v3 1/2] gpio: at91_gpio: Remove CPU_HAS_PIO3 macro

2016-10-26 Thread Wenyou Yang
The intention of this patch is the preparation to introduce the pinctrl driver for AT91 PIO. Use "union" to make the PIO3 and PIO2's registers be together and make their offset aligned. Signed-off-by: Wenyou Yang --- Changes in v3: None Changes in v2: None arch/arm/mach-at91/include/mach/at91

[U-Boot] [PATCH v3 2/2] pinctrl: at91: Add pinctrl driver

2016-10-26 Thread Wenyou Yang
AT91 PIO controller is a combined gpio-controller, pin-mux and pin-config module. The peripheral's pins are assigned through per-pin based muxing logic. Each soc will have to describe the SoC limitation and pin configuration via DT. This will allow to do not need to touch the C code when adding ne

[U-Boot] [PATCH v1] clk: at91: pmc: add more compatibles

2016-10-26 Thread Wenyou Yang
To keep the compatibles aligned with kernel, add more compatibles. Signed-off-by: Wenyou Yang --- drivers/clk/at91/pmc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c index 76ba91a..f866959 100644 --- a/drivers/clk/at91/pmc.c +++ b/dri

Re: [U-Boot] [PATCH v1 2/4] spi: fsl_qspi: Add 4bytes address support

2016-10-26 Thread Jagan Teki
On Wed, Sep 28, 2016 at 4:39 PM, Yuan Yao wrote: > From: Yuan Yao > > The QSPI support the direct 4bytes address command for flash > read/write/erase. > And the address can cover the whole QSPI memory space. > > Signed-off-by: Yuan Yao > --- > drivers/spi/fsl_qspi.c | 8 ++-- > 1 file chang

Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-26 Thread Hans de Goede
Hi, On 26-10-16 09:00, Jagan Teki wrote: On Tue, Oct 25, 2016 at 3:59 AM, André Przywara wrote: On 21/10/16 11:28, Hans de Goede wrote: Hi, On 21-10-16 12:06, Andre Przywara wrote: Hi, On 21/10/16 10:31, Jagan Teki wrote: On Fri, Oct 21, 2016 at 5:41 AM, Andre Przywara wrote: The sun8i-

Re: [U-Boot] [PATCH] dm: mmc: socfpga: fix MMC_OPS support

2016-10-26 Thread Sylvain Lesne
Hi, On 10/24/2016 11:13 PM, Simon Glass wrote: > On 24 October 2016 at 10:24, Sylvain Lesne wrote: >> >> (Also, this is kind of unrelated, but it looks like the error >> message 'MMC: block number 0xx exceeds max(0xx)' has a formatting >> issue!) >> >> --- >> drivers/mmc/socfpga_dw_mmc.c | 2 ++

[U-Boot] [PATCH 1/3] power: regulator: Introduce regulator_set_value_force function

2016-10-26 Thread Keerthy
In case we want to force a particular value on a regulator irrespective of the min/max constraints for testing purposes one can call regulator_set_value_force function. Signed-off-by: Keerthy --- cmd/regulator.c| 5 - drivers/power/regulator/regulator-uclass.c |

[U-Boot] [PATCH 2/3] power: regulator: Add limits checking while setting voltage

2016-10-26 Thread Keerthy
Currently the specific set ops functions are directly called without any check for voltage limits for a regulator. Check for them and proceed. Signed-off-by: Keerthy --- drivers/power/regulator/regulator-uclass.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/power/regulator/re

Re: [U-Boot] [PATCH] spi: Add support for MX66U51235F, MX66L1G45G and MT25QU02G

2016-10-26 Thread Jagan Teki
On Wed, Oct 12, 2016 at 7:45 PM, wrote: > From: Radu Bacrau > > This commit adds support for the Macronix MX66U51235F, MX66L1G45G and Micron > MT25QU02G flash parts. > > Signed-off-by: Radu Bacrau > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Jagan Teki > Cc: Radu Bacrau > --- > drivers/mt

[U-Boot] [PATCH 3/3] power: regulator: Add limits checking while setting current

2016-10-26 Thread Keerthy
Currently the specific set ops functions are directly called without any check for min/max current limits for a regulator. Check for them and proceed. Signed-off-by: Keerthy --- drivers/power/regulator/regulator-uclass.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/power/regu

Re: [U-Boot] [PATCH v1 1/4] sf: add ADDR_4B for 4byte address support

2016-10-26 Thread Jagan Teki
On Wed, Sep 28, 2016 at 4:39 PM, Yuan Yao wrote: > From: Yuan Yao > > Some new flash don't support bar register but use 4bytes address to > support exceed 16MB flash size. > So add flash flag: > ADDR_4B > for some flash which support 4bytes address. > > Signed-off-by: Yuan Yao > --- > drivers/m

Re: [U-Boot] [PATCH v1 2/4] spi: fsl_qspi: Add 4bytes address support

2016-10-26 Thread Yao Yuan
On Wed, Oct 26, 2016 at 3:39 PM, Jagan Teki wrote: > On Wed, Sep 28, 2016 at 4:39 PM, Yuan Yao wrote: > > From: Yuan Yao > > > > The QSPI support the direct 4bytes address command for flash > > read/write/erase. > > And the address can cover the whole QSPI memory space. > > > > Signed-off-by: Yua

[U-Boot] [PATCH v1 1/2] ARM: dts: at91: add dts file for sama5d4 Xplained board

2016-10-26 Thread Wenyou Yang
The dts file is copied from the kernel, do the following changes. - add reg property for pinctrl node. - move the gpio (pioA, pioB, pioC ...) nodes from the pinctrl child's nodes to its slibling nodes. - add pinctrl node for the cs pin of spi0. - fix the compile warning. Signed-off-by: Weny

[U-Boot] [PATCH v1 0/2] ARM: dts: at91: add dts files for the boards of SAMA5D4

2016-10-26 Thread Wenyou Yang
The purpose of the patchset is add the dts files for boards, sama5d4 Xplained board and sama5d4ek board. Wenyou Yang (2): ARM: dts: at91: add dts file for sama5d4 Xplained board ARM: dts: at91: add dts file for sama5d4ek board arch/arm/dts/Makefile |6 + arch/arm/dts/at

[U-Boot] [PATCH v1 2/2] ARM: dts: at91: add dts file for sama5d4ek board

2016-10-26 Thread Wenyou Yang
The dts file is copied from the kernel, do the following changes. - add pinctrl node for the cs pin of spi0. - fix the compile warning. Signed-off-by: Wenyou Yang --- arch/arm/dts/Makefile | 3 + arch/arm/dts/at91-sama5d4ek.dts | 340 2 fil

[U-Boot] [PATCH v1 1/8] configs: at91-sama5_common: fix for CONFIG_AT91_GPIO

2016-10-26 Thread Wenyou Yang
If enabled Driver Model for GPIO, CONFIG_AT91_GPIO should be defined by configs/*_defconfig file. Signed-off-by: Wenyou Yang --- include/configs/at91-sama5_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h i

[U-Boot] [PATCH v1 0/8] board: sama5d4: convert boards to support DM/DT

2016-10-26 Thread Wenyou Yang
The purpose of patch set is to convert the board to support Device Tree and Driver Model. They are based on the following patches: 1./ [PATCH v3 0/2] pinctrl: at91: Add pinctrl driver http://lists.denx.de/pipermail/u-boot/2016-October/270991.html 2./ [PATCH v1 0/2] ARM: dts

Re: [U-Boot] [PATCH] power: regulator: Add limits checking while setting voltage and current

2016-10-26 Thread Keerthy
On Wednesday 12 October 2016 11:14 AM, Keerthy wrote: On Tuesday 11 October 2016 05:49 AM, Simon Glass wrote: Hi Keerthy, On 15 September 2016 at 05:16, Keerthy wrote: On Thursday 15 September 2016 04:38 PM, Keerthy wrote: On Thursday 15 September 2016 04:26 PM, Przemyslaw Marczak w

[U-Boot] [PATCH v1 2/8] board: sama5d4_xplained: move config options to *_defconfig

2016-10-26 Thread Wenyou Yang
Move the config options to configs/sama5d4_xplained_*_defconfig files. Signed-off-by: Wenyou Yang --- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 2 ++ configs/sama5d4_xplained_mmc_defconfig | 24 +++- configs/sama5d4_xplained_nandflash_defconfig| 26

[U-Boot] [PATCH v1 4/8] board: sama5d4_xplained: enable early debug UART

2016-10-26 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 15 ++- configs/sama5d4_xplained_mmc_defconfig | 6 ++ configs/sama5d4_xplained_nandflash_d

[U-Boot] [PATCH v1 5/8] board: sama5d4ek: move config options to *_defconfig

2016-10-26 Thread Wenyou Yang
Move the config options to configs/sama5d4ek_*_defconfig files. Signed-off-by: Wenyou Yang --- board/atmel/sama5d4ek/sama5d4ek.c | 2 ++ configs/sama5d4ek_mmc_defconfig | 24 +++- configs/sama5d4ek_nandflash_defconfig | 24 +++- configs/sama5d4

[U-Boot] [PATCH v1 3/8] board: sama5d4_xplained: clean up code

2016-10-26 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 --- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 109 +--- 1 file changed, 1 insertion(+), 108 deletions(-)

[U-Boot] [PATCH v1 6/8] board: sama5d4ek: clean up code

2016-10-26 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 --- board/atmel/sama5d4ek/sama5d4ek.c | 111 +- 1 file changed, 1 insertion(+), 110 deletions(-)

[U-Boot] [PATCH v1 7/8] board: sama5d4ek: enable early debug UART

2016-10-26 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- board/atmel/sama5d4ek/sama5d4ek.c | 15 ++- configs/sama5d4ek_mmc_defconfig | 6 ++ configs/sama5d4ek_nandflash_defconfig | 6 ++ confi

[U-Boot] [PATCH v1 8/8] configs: sama5d4: move CONFIG_SYS_NO_FLASH to *defconfig

2016-10-26 Thread Wenyou Yang
Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. Signed-off-by: Wenyou Yang --- configs/sama5d4_xplained_mmc_defconfig | 1 + configs/sama5d4_xplained_nandflash_defconfig | 1 + configs/sama5d4_xplained_spiflash_defconfig | 1 + configs/sama5d4ek_mmc_defconfig

[U-Boot] [PATCH v2 0/3] LS1046A secure boot target addition

2016-10-26 Thread Sumit Garg
The patch-set does the following: 1. Add NOR secure boot target on ls1046aqds platform. 2. Add QSPI secure boot target on ls1046ardb platform. Changes in v2: Split patches logically from 2 to 3. Sumit Garg (3): SECURE_BOOT: Enable chain of trust on LS1046A platform LS1046AQDS: Add NOR Secure

[U-Boot] [PATCH v2 2/3] LS1046AQDS: Add NOR Secure Boot Target

2016-10-26 Thread Sumit Garg
Add NOR secure boot target. Also enable sec init. Signed-off-by: Vinitha Pillai Signed-off-by: Sumit Garg --- Changes in v2: Split patches logically from 2 to 3. board/freescale/ls1046aqds/MAINTAINERS | 4 board/freescale/ls1046aqds/ls1046aqds.c | 18 ++ configs/ls104

[U-Boot] [PATCH v2 3/3] LS1046ARDB: Add QSPI Secure Boot target

2016-10-26 Thread Sumit Garg
Add QSPI Secure Boot target. Also enable sec init. Signed-off-by: Vinitha Pillai Signed-off-by: Sumit Garg --- Changes in v2: Split patches logically from 2 to 3. board/freescale/ls1046ardb/MAINTAINERS| 4 board/freescale/ls1046ardb/ls1046ardb.c | 19 +++ c

[U-Boot] [PATCH v2 1/3] SECURE_BOOT: Enable chain of trust on LS1046A platform

2016-10-26 Thread Sumit Garg
Define bootscript and its header addresses for QSPI target. Also define PPA header address to enable PPA validation. Signed-off-by: Vinitha Pillai Signed-off-by: Sumit Garg --- Changes in v2: Split patches logically from 2 to 3. arch/arm/include/asm/arch-fsl-layerscape/config.h | 2 +- arch/

[U-Boot] [PATCH 1/5] ARM64: zynqmp: Adjust to new SMC interface to get silicon version

2016-10-26 Thread Michal Simek
From: Soren Brinkmann The new FW interface returns the IDCODE and version register, leaving extracting bitfields to the caller. Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Soren Brinkmann Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 11 +++ incl

[U-Boot] [PATCH 2/5] ARM64: zynqmp: Record board name as serial number for DFU/FASTBOOT

2016-10-26 Thread Michal Simek
Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 4 1 file changed, 4 insertions(+) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index b0acaa5b7721..7e6728870931 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -422,6

[U-Boot] [PATCH 4/5] ARM64: zynqmp: Fix secondary bootmode enabling

2016-10-26 Thread Michal Simek
Do not setup use_alt bit which copy alternative boot mode to boot mode. The reason is that this bit is cleared after POR but not after any software reset which will cause that after SW reset bootrom will look for different boot image. This patch setups alternative boot mode selection (purely SW ha

[U-Boot] [PATCH 5/5] ARM64: zynqmp: Ignore warnings from autogenerated files

2016-10-26 Thread Michal Simek
Autogenerated files contain casting issues and missing function declaration and even usleep implementation. Suppress them for now till these files are fixed. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/Makefile | 3 +++ board/xilinx/zynqmp/xil_io.h | 9 + 2 files changed, 12 ins

[U-Boot] [PATCH 3/5] ARM64: zynqmp: Add support for SD1 with level shifters bootmode

2016-10-26 Thread Michal Simek
From: Siva Durga Prasad Paladugu Add support for SD1 with level shifters bootmode. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- arch/arm/include/asm/arch-zynqmp/hardware.h | 1 + board/xilinx/zynqmp/zynqmp.c| 3 +++ 2 files changed, 4 insertions(+

[U-Boot] [PATCH 1/2] ARM: zynq: Add support for Zynq 7000S 7007s/7012s/7014s devices

2016-10-26 Thread Michal Simek
Zynq 7000S (Single A9 core) devices is using different ID code. This patch adds this new codes and assign them. Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c | 12 include/zynqpl.h | 18 ++ 2 files changed, 30 insertions(+) diff --git a/board/x

[U-Boot] [PATCH 2/2] zynq: nand: Runtime detection of nand buswidth through slcr

2016-10-26 Thread Michal Simek
This patch adds support to check the buswidth on nand flash at runtime based on nand MIO configurations done by FSBL. User needs to correctly configure the MIO's based on the buswidth supported by the nand flash which is present on the board. Added nand8 and nand16 @periph names on slcr driver.

[U-Boot] [PATCH 1/2] net: zynq_gem: Modify the nwcfg bit definitions

2016-10-26 Thread Michal Simek
From: Siva Durga Prasad Paladugu Modify the nwcfg bit definitions to have 32-bit by removing the extra nibble. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a

[U-Boot] [PATCH 2/2] net: zynq_gem: Correct SGMII enable bit setting

2016-10-26 Thread Michal Simek
From: Siva Durga Prasad Paladugu Correct the SGMII enable bit position to 27 instead of 31. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/zynq_gem.c b/drivers/ne

[U-Boot] [PATCH] nand: arasan_nfc: Clear ecc on bit while sending read command

2016-10-26 Thread Michal Simek
From: Siva Durga Prasad Paladugu Clear ecc ON bit while sending read command as all types of read command(like reading spare) doesnt need ECC to be enabled. It has been anyway taken care in other places whereever required using arasan_nand_enable_ecc(). Signed-off-by: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH v4 1/2] armv8/ls1043a: fixup GIC offset according to SVR and SCFG_GIC400_ALIGN[GIC_ADDR_BIT]

2016-10-26 Thread Wenbin Song
Hi: york Best Regards Wenbin Song > -Original Message- > From: york sun > Sent: Wednesday, October 26, 2016 4:35 AM > To: Wenbin Song ; albert.u.b...@aribaud.net; > Mingkai Hu ; u-boot@lists.denx.de > Subject: Re: [PATCH v4 1/2] armv8/ls1043a: fixup GIC offset according to SVR > and SCFG

[U-Boot] [PATCH v3 04/10] ARM: select ARM_GIC for SoCs having a psci implementation

2016-10-26 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant MACH configurations. Signed-off-by: Antoine Tenart --- arch/arm/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 6a5e53280679..b329d3c29fce 100644 --- a/arch/arm/Kconfig +++ b/

[U-Boot] [PATCH v3 01/10] arm: add atomic functions with return support

2016-10-26 Thread Antoine Tenart
Implement three atomic functions to allow making an atomic operation that returns the value. Adds: atomic_add_return(), atomic_sub_return(), atomic_inc_return() and atomic_dec_return(). Signed-off-by: Antoine Tenart --- arch/arm/include/asm/atomic.h | 34 ++ 1 fil

[U-Boot] [PATCH v3 07/10] ARM: PSCI: protect GIC specific code with ARM_GIC

2016-10-26 Thread Antoine Tenart
Introducing the ARM_GIC configuration option, use it to only use GIC specific code in ARM PSCI function when the SoC has a GIC. Signed-off-by: Antoine Tenart --- arch/arm/cpu/armv7/nonsec_virt.S | 6 ++ arch/arm/cpu/armv7/virt-v7.c | 42 ++-- 2 files

[U-Boot] [PATCH v3 10/10] sun5i: boot in non-secure mode by default

2016-10-26 Thread Antoine Tenart
sun5i now implements the psci suspend function. In order to be used by the kernel, we should now boot in non-secure mode. Enable it by default. Signed-off-by: Antoine Tenart --- board/sunxi/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig i

[U-Boot] [PATCH v3 02/10] ARM: add the ARM_GIC configuration option

2016-10-26 Thread Antoine Tenart
Some SoC does not have a GIC. Adds a configuration option to denote this, allowing to remove code configuring the GIC when it's not possible. Signed-off-by: Antoine Tenart --- arch/arm/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index d7a9b1

[U-Boot] [PATCH v3 00/10] sunxi: sun5/7i: add the psci suspend function

2016-10-26 Thread Antoine Tenart
Hi all, This series adds an implementation of the psci suspend function for both sun5i and sun7i. This was tested on Nextthing's CHIP and on a A20, using cpuidle in Linux. My tests showed a power consumption reduced by nearly a factor 2 on the CHIP when the system was idle. It went from ~1W withou

[U-Boot] [PATCH v3 03/10] sunxi: select ARM_GIC for sun[6789]i

2016-10-26 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant sunxi MACH configurations. Signed-off-by: Antoine Tenart --- board/sunxi/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index c0ffebfc..cd8330c3944f 100644 --- a/board/sun

[U-Boot] [PATCH v3 06/10] tegra: select ARM_GIC for Tegra TK1s

2016-10-26 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation. Signed-off-by: Antoine Tenart --- arch/arm/mach-tegra/tegra124/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-tegra/tegra124/Kconfig b/arch/arm/mach-tegra

[U-Boot] [PATCH v3 08/10] sun5/7i: add an implementation of the psci suspend function

2016-10-26 Thread Antoine Tenart
Add the suspend psci function for sun5i and sun7i. Thus function switches the cpu clk source to osc24M or to losc depending on the SoC family. Signed-off-by: Antoine Tenart --- arch/arm/cpu/armv7/sunxi/Makefile | 9 ++- arch/arm/cpu/armv7/sunxi/psci.c | 2 +- arch/a

[U-Boot] [PATCH v3 05/10] exynos: select ARM_GIC for TARGET_ARNDALE

2016-10-26 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation. Signed-off-by: Antoine Tenart --- arch/arm/mach-exynos/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index ce2

[U-Boot] [PATCH v3 09/10] sun5i: add defines used by the PSCI code

2016-10-26 Thread Antoine Tenart
The sun5i SoCs can take advantage of the newly introduce PSCI suspend function. Add defines used by the PSCI code. Signed-off-by: Antoine Tenart --- include/configs/sun5i.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/sun5i.h b/include/configs/sun5i.h index d2576599036a

Re: [U-Boot] [PATCH v1 1/4] sf: add ADDR_4B for 4byte address support

2016-10-26 Thread Yao Yuan
On Wed, Oct 26, 2016 at 3:39 PM, Jagan Teki wrote: > On Wed, Sep 28, 2016 at 4:39 PM, Yuan Yao wrote: > > From: Yuan Yao > > > > Some new flash don't support bar register but use 4bytes address to > > support exceed 16MB flash size. > > So add flash flag: > > ADDR_4B > > for some flash which supp

Re: [U-Boot] [PATCH V4 1/8] tools: imximage: add plugin support

2016-10-26 Thread Stefano Babic
On 25/10/2016 02:09, Peng Fan wrote: > Hi Stefano, > On Mon, Oct 24, 2016 at 04:05:53PM +0200, Stefano Babic wrote: >> Hi Peng, >> >> On 11/10/2016 08:29, Peng Fan wrote: >>> Add plugin support for imximage. >>> >>> Define CONFIG_USE_IMXIMG_PLUGIN in defconfig to enable using plugin. >>> >>> Signed

Re: [U-Boot] [PATCH v3 06/10] tegra: select ARM_GIC for Tegra TK1s

2016-10-26 Thread Stephen Warren
On 10/26/2016 06:10 AM, Antoine Tenart wrote: Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation. This doesn't look right; all Tegras have a GIC, so it's not a board-specific option. Perhaps TEGRA_COMMON or TEGRA_ARMV[78]_COMMON shou

Re: [U-Boot] [PATCH v3 06/10] tegra: select ARM_GIC for Tegra TK1s

2016-10-26 Thread Antoine Tenart
Hello, On Wed, Oct 26, 2016 at 08:55:27AM -0600, Stephen Warren wrote: > On 10/26/2016 06:10 AM, Antoine Tenart wrote: > > Select the newly introduced ARM_GIC option to the relevant configuration > > which also have a psci implementation. > > This doesn't look right; all Tegras have a GIC, so it'

Re: [U-Boot] [PATCH v3 06/10] tegra: select ARM_GIC for Tegra TK1s

2016-10-26 Thread Stephen Warren
On 10/26/2016 08:59 AM, Antoine Tenart wrote: Hello, On Wed, Oct 26, 2016 at 08:55:27AM -0600, Stephen Warren wrote: On 10/26/2016 06:10 AM, Antoine Tenart wrote: Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation. This doesn't look

Re: [U-Boot] [PATCH v9 21/23] imx6: icorem6: Add NAND support

2016-10-26 Thread Stefano Babic
Hi Jagan, On 25/10/2016 08:23, Jagan Teki wrote: > From: Jagan Teki > > Add NAND support for Engicam i.CoreM6 qdl board. > > Boot Log: > > > U-Boot SPL 2016.09-rc2-30755-gd3dc581-dirty (Sep 28 2016 - 23:00:43) > Trying to boot from NAND > NAND : 512 MiB > > U-Boot 2016.09-rc2-30755-

Re: [U-Boot] [PATCH v3 01/10] arm: add atomic functions with return support

2016-10-26 Thread Mark Rutland
Hi, On Wed, Oct 26, 2016 at 02:10:24PM +0200, Antoine Tenart wrote: > Implement three atomic functions to allow making an atomic operation > that returns the value. Adds: atomic_add_return(), atomic_sub_return(), > atomic_inc_return() and atomic_dec_return(). > > Signed-off-by: Antoine Tenart I

[U-Boot] [PATCH] fsl_qman: Implement device tree fixup for QBMan on ARM processors

2016-10-26 Thread Roy Pledge
Add support for device tree fixup for the DPAA1 QBMan nodes in ARM platforms Signed-off-by: Roy Pledge --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c| 89 .../arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c |3 + .../include/asm/arch-fsl-layerscape/immap_lsch2.

[U-Boot] [PATCH] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2016-10-26 Thread Andreas Färber
On a Raspberry Pi 2 disagreements on cell endianness can be observed: U-Boot> fdt print /soc/gpio@7e20 phandle phandle = <0x000d> U-Boot> fdt get value myvar /soc/gpio@7e20 phandle; printenv myvar myvar=0x0D00 Fix this by always treating the pointer as __be32 and convertin

[U-Boot] [PATCH] MAINTAINERS: Fix syntax and update filename for FDT

2016-10-26 Thread Andreas Färber
Let get_maintainers.pl pick up the new cmd/fdt.c. Cc: Simon Glass Signed-off-by: Andreas Färber --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8e67202..3d18f28 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -273,7 +273,7 @@ F:

Re: [U-Boot] [PATCH v2 0/3] LS1046A secure boot target addition

2016-10-26 Thread Andreas Färber
Hi, Am 26.10.2016 um 22:17 schrieb Sumit Garg: > The patch-set does the following: > > 1. Add NOR secure boot target on ls1046aqds platform. > 2. Add QSPI secure boot target on ls1046ardb platform. Please double-check your clock, you are posting in the future. Regards, Andreas -- SUSE Linux G

Re: [U-Boot] [PATCH v1] arm: Add support for PDU001

2016-10-26 Thread Simon Glass
Hi Felix, On 19 October 2016 at 04:12, Felix Brack wrote: > This patch adds support for the PDU001 board. > > Signed-off-by: Felix Brack > --- > > arch/arm/Kconfig | 1 + > arch/arm/cpu/armv7/am33xx/Kconfig | 9 ++ > board/eets/pdu001/Kconfig | 66 ++ > boa

Re: [U-Boot] [PATCH v1 1/3] gpio: Kconfig: Add CONFIG_AT91_GPIO option

2016-10-26 Thread Simon Glass
On 20 October 2016 at 20:07, Wenyou Yang wrote: > The CONFIG_AT91_GPIO option is used to select AT91 PIO GPIO driver. > > Signed-off-by: Wenyou Yang > --- > > drivers/gpio/Kconfig | 13 + > 1 file changed, 13 insertions(+) Reviewed-by: Simon Glass __

Re: [U-Boot] Booting a proprietary OS

2016-10-26 Thread Simon Glass
Hi, On 19 October 2016 at 00:47, Paolo De Luca Bosso wrote: > Hi! > > Yes, i have a question about U-Boot. > > Can i use U-Boot as bootloader for a proprietary operating system? Yes. > > I want use bootm command and a bin file. In particular the Image kernel is > produced by mkimage command wit

Re: [U-Boot] [PATCH v1 2/3] gpio: at91_gpio: Add the device tree support

2016-10-26 Thread Simon Glass
Hi Wenyou, On 20 October 2016 at 20:07, Wenyou Yang wrote: > Add the device tree support. > > Signed-off-by: Wenyou Yang > --- > > drivers/gpio/at91_gpio.c | 15 +++ > 1 file changed, 15 insertions(+) Reviewed-by: Simon Glass > > diff --git a/drivers/gpio/at91_gpio.c b/drivers/gp

Re: [U-Boot] [PATCH v1 3/3] gpio: at91_gpio: Add the clock support

2016-10-26 Thread Simon Glass
On 20 October 2016 at 20:07, Wenyou Yang wrote: > Add the clock support. > > Signed-off-by: Wenyou Yang > --- > > drivers/gpio/at91_gpio.c | 13 + > 1 file changed, 13 insertions(+) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [PATCH 0/8] dm: Update on serial driver progress

2016-10-26 Thread Simon Glass
Hi, On 21 October 2016 at 01:10, Marek Vasut wrote: > On 10/21/2016 08:52 AM, Marcel Ziswiler wrote: >> Hi Simon >> >> On Thu, 2016-10-20 at 13:06 -0600, Simon Glass wrote: >>> Only three serial drivers remain to be converted. This series drops >>> two of those, since the boards appear to be unma

Re: [U-Boot] [PATCH v4 00/29] Kconfig: Move console options to Kconfig

2016-10-26 Thread Simon Glass
Hi Tom, On 23 October 2016 at 18:40, Tom Rini wrote: > On Mon, Oct 17, 2016 at 08:12:33PM -0600, Simon Glass wrote: > >> This series moves a number of console-related CONFIG options to Kconfig. >> Those that are not currently used are removed. >> >> A few unused video drivers are also removed and

Re: [U-Boot] [PATCH 1/4] Fix spelling of "multiple".

2016-10-26 Thread Simon Glass
On 23 October 2016 at 20:45, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian > --- > > fs/ubifs/ubifs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://l

Re: [U-Boot] [PATCH 3/4] Fix spelling of "extended".

2016-10-26 Thread Simon Glass
On 23 October 2016 at 20:45, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian > --- > > cmd/bootm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] [PATCH 2/5] arm: dts: exynos4x12: remove the dupulicated node

2016-10-26 Thread Simon Glass
On 23 October 2016 at 23:08, Jaehoon Chung wrote: > mshc_0 node should be overwriten the defined node in exynos4.dtsi. I think you mean 'The mshc_0 node overwrites the defined node...' > It's meaningless. So removed this node. Instead, use the node in exynos4.dtsi. 'So remove this node' > > Si

Re: [U-Boot] [PATCH 3/5] arm: dts: exynos4: change the compatible to meaning name

2016-10-26 Thread Simon Glass
On 23 October 2016 at 23:08, Jaehoon Chung wrote: > Changed the compatible from generic thing to meaning compatible. > "samsung,exynos-mmc" should be removed. > > Signed-off-by: Jaehoon Chung > --- > arch/arm/dts/exynos4.dtsi | 25 +++-- > 1 file changed, 15 insertions(+), 10

Re: [U-Boot] [PATCH 4/5] arm: dts: exynos4: change to use their parent node

2016-10-26 Thread Simon Glass
On 23 October 2016 at 23:08, Jaehoon Chung wrote: > Didn't overwrite the node. Just reuse the parent node. > And add the Exynos Series specific properties. > > Signed-off-by: Jaehoon Chung > --- > arch/arm/dts/exynos4210-origen.dts | 24 - > arch/arm/dts/exynos4210-trats.dts

Re: [U-Boot] [PATCH 4/4] Fix spelling of "resetting".

2016-10-26 Thread Simon Glass
On 23 October 2016 at 20:45, Vagrant Cascadian wrote: > Cover-Letter: Fixes several spelling errors for the words "resetting", > "extended", "occur", and "multiple". > > Signed-off-by: Vagrant Cascadian > --- > > arch/arm/mach-exynos/dmc_init_ddr3.c| 2 +- > arch/arm/mach-socfpga/misc.c

Re: [U-Boot] [PATCH 1/3] power: regulator: Introduce regulator_set_value_force function

2016-10-26 Thread Simon Glass
On 26 October 2016 at 01:12, Keerthy wrote: > In case we want to force a particular value on a regulator > irrespective of the min/max constraints for testing purposes > one can call regulator_set_value_force function. > > Signed-off-by: Keerthy > --- > cmd/regulator.c

Re: [U-Boot] [PATCH 5/5] configs: add the CONFIG_BLK and CONFIG_DM_MMC/OPS for exynos4 series

2016-10-26 Thread Simon Glass
On 23 October 2016 at 23:08, Jaehoon Chung wrote: > To use the CONFIG_BLK/CONFIG_DM_MMC/CONFIG_DM_MMC_OPS, add the > configurations for exynos4 series.(by default) > > Signed-off-by: Jaehoon Chung > --- > configs/odroid_defconfig | 3 +++ > configs/origen_defconfig | 3 +++ > configs/smdkv31

Re: [U-Boot] [PATCH 2/3] power: regulator: Add limits checking while setting voltage

2016-10-26 Thread Simon Glass
On 26 October 2016 at 01:12, Keerthy wrote: > Currently the specific set ops functions are directly > called without any check for voltage limits for a regulator. > Check for them and proceed. > > Signed-off-by: Keerthy > --- > drivers/power/regulator/regulator-uclass.c | 5 + > 1 file chang

Re: [U-Boot] [PATCH 2/4] Fix spelling of "occur".

2016-10-26 Thread Simon Glass
On 23 October 2016 at 20:45, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian > --- > > board/sysam/amcore/amcore.c | 2 +- > tools/mkimage.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass _

Re: [U-Boot] [PATCH 3/3] power: regulator: Add limits checking while setting current

2016-10-26 Thread Simon Glass
Hi Keerthy, On 26 October 2016 at 01:12, Keerthy wrote: > Currently the specific set ops functions are directly > called without any check for min/max current limits for a regulator. > Check for them and proceed. > > Signed-off-by: Keerthy > --- > drivers/power/regulator/regulator-uclass.c | 5

Re: [U-Boot] [PATCH] drivers/pci/Kconfig: Add PCI

2016-10-26 Thread Simon Glass
Hi Tom, On 24 October 2016 at 13:13, Tom Rini wrote: > Add 'PCI' as a menu option and migrate all existing users. > > Signed-off-by: Tom Rini > --- > Tegra is in a funny spot here. TEGRA_COMMON will select DM_PCI and > DM_PCICOMPAT. But adding PCI to the list here results in the following: >

Re: [U-Boot] [PATCH] powerpc/t2080: DDR controller erratum A-009942

2016-10-26 Thread york sun
On 10/21/2016 04:37 PM, york sun wrote: > On 10/18/2016 07:48 PM, Hamish Martin wrote: >> This erratum is already implemented for other ARM based QorIQ >> platforms with the Gen4 DDR controller. Port the fix to the Gen3 >> controller and enable it for T2080 and T2081. >> >> Reviewed-by: Chris Packh

Re: [U-Boot] [PATCH v4 1/2] armv8/ls1043a: fixup GIC offset according to SVR and SCFG_GIC400_ALIGN[GIC_ADDR_BIT]

2016-10-26 Thread york sun
On 10/26/2016 03:39 AM, Wenbin Song wrote: >>> + >>> +ENTRY(smp_kick_all_cpus) >>> + /* Kick secondary cpus up by SGI 0 interrupt */ >>> + mov x29, lr /* Save LR */ >>> + bl fix_gic_offset >>> + bl gic_kick_secondary_cpus >>> + mov lr, x29

Re: [U-Boot] [PATCH v9 21/23] imx6: icorem6: Add NAND support

2016-10-26 Thread Jagan Teki
On Wed, Oct 26, 2016 at 8:38 PM, Stefano Babic wrote: > Hi Jagan, > > > On 25/10/2016 08:23, Jagan Teki wrote: >> From: Jagan Teki >> >> Add NAND support for Engicam i.CoreM6 qdl board. >> >> Boot Log: >> >> >> U-Boot SPL 2016.09-rc2-30755-gd3dc581-dirty (Sep 28 2016 - 23:00:43) >> Tryin

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

2016-10-26 Thread york sun
On 10/24/2016 09:30 PM, Calvin Johnson wrote: I wonder why we don't see ECC errors before this patch. We have LS1043A boots on NAND, SD. >>> >>> OCRAM has a requirement of initializing before first time "read". >>> If user reads OCRAM before **initializing**; ECC error will come. (

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-10-26 Thread york sun
On 10/07/2016 11:56 PM, Alison Wang wrote: > To support loading a 32-bit OS, the execution state will change from > AArch64 to AArch32 when jumping to kernel. > > The architecture information will be got through checking FIT image, > then U-Boot will load 32-bit OS or 64-bit OS automatically. > > S

Re: [U-Boot] [PATCH v2] powerpc/t2080: CPU erratum A-007907

2016-10-26 Thread york sun
On 10/24/2016 02:16 PM, york@nxp.com wrote: >> + >> +#ifdef CONFIG_SYS_FSL_ERRATUM_A007907 >> +flush_dcache(); >> +mtspr(L1CSR2, (mfspr(L1CSR2) & ~L1CSR2_DCSTASHID)); >> +sync(); >> +#endif >> + > > My erratum document shows a second step is to insert sync instruction > before each

[U-Boot] [PATCH 1/6] travis-ci: Use = not : when writing ~/.buildman

2016-10-26 Thread Stephen Warren
From: Stephen Warren Travis CI seems to be confused when there's a colon in an echo command, and this is currently worked around using a variable that contains the text we want to echo. Use = syntax instead so that we can remove the work-around; it's rather confusing until you find out what it's

[U-Boot] [PATCH 3/6] travis-ci: centralize ~/.buildman editing

2016-10-26 Thread Stephen Warren
From: Stephen Warren Any time an x86 toolchain is used, we need to edit ~/.buildman to reference it. Move the editing logic into a central place so that it doesn't have to be duplicated everywhere that uses the x86 toolchain; future patches will add additional cases where it's used. It would be

[U-Boot] [PATCH 4/6] travis-ci: use buildman -P everywhere

2016-10-26 Thread Stephen Warren
From: Stephen Warren This places build results into a board-specific directory rather than a buildman-thread-specific directory. This is required so that we can access the directory from test.py, and there's no risk of a particular build's results being over-written by another build performed by

[U-Boot] [PATCH 5/6] travis-ci: don't invoke exit on success

2016-10-26 Thread Stephen Warren
From: Stephen Warren Invoking exit prevents any subsequent build commands from running, and future patches will add extra commands. Signed-off-by: Stephen Warren --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6e72e0bb233f.

[U-Boot] [PATCH 2/6] travis-ci: use correct exit code on errors

2016-10-26 Thread Stephen Warren
From: Stephen Warren The phrase "if [ $? -ne 0 ]; then exit $?; fi" doesn't work correctly; by the time the "exit" statement runs, $? has already been over-written by the result of the [ command. Fix this by explicitly storing $? and then using that stored value in both the test and the error-cas

[U-Boot] [PATCH 6/6] travis-ci: compile with buildman when running test/py

2016-10-26 Thread Stephen Warren
From: Stephen Warren Use buildman to compile any U-Boot binary tested by test/py. This re-uses all the work done elsewhere to make buildman work within Travis-CI, in particular related to toolchain downloading and buildman config file creation. Signed-off-by: Stephen Warren --- .travis.yml | 8

Re: [U-Boot] [PATCH] drivers/pci/Kconfig: Add PCI

2016-10-26 Thread Stephen Warren
On 10/24/2016 02:13 PM, Tom Rini wrote: Add 'PCI' as a menu option and migrate all existing users. Signed-off-by: Tom Rini --- Tegra is in a funny spot here. TEGRA_COMMON will select DM_PCI and DM_PCICOMPAT. But adding PCI to the list here results in the following: aarch64: (for 61/61 boar

  1   2   >