[U-Boot] [PATCH 2/2][v6] nxp/ls2080ardb: Add QSPI-boot support

2017-04-26 Thread Priyanka Jain
QSPI-boot is verified on LS2088ARDB RevF board with LS2088A SoC. LS2088ARDB RevF Board has limitation that QIXIS can not be access, so QIXIS flag is kept disabled Signed-off-by: Priyanka Jain Signed-off-by: Suresh Gupta --- Changes for v6: Updated MAINTAINERS for ls2088ardb_qspi_defconfig Chan

[U-Boot] [PATCH 1/2][v6] board: freescale: ls2080ardb: Update QIXIS code

2017-04-26 Thread Priyanka Jain
Update QIXIS related code to be executed only if CONFIG_FSL_QIXIS flag is enabled As per board documentation, default sysclk is 100MHz. In case QIXIS code is not enabled, update default sysclk value to 100MHz Signed-off-by: Priyanka Jain --- Changes for v4: Added changes for default sys

Re: [U-Boot] [PATCH] rpi: Add a call to fdt_fixup_ethernet()

2017-04-26 Thread Gerd Hoffmann
On Mi, 2017-04-26 at 15:44 -0400, Tom Rini wrote: > As we no longer have a call to fdt_fixup_ethernet in > image_setup_libfdt > we need to make a call to fdt_fixup_ethernet ourself somewhere. Do > this > in ft_board_setup here as we already have other fixups being performed > on the board here. W

Re: [U-Boot] [PATCH v7 00/16] Add Intel Arria 10 SoC support

2017-04-26 Thread Ley Foon Tan
On Thu, Apr 27, 2017 at 11:15 AM, Dinh Nguyen wrote: > > > On 04/25/2017 05:46 AM, Marek Vasut wrote: >> On 04/25/2017 08:44 PM, Ley Foon Tan wrote: >>> This is the 7th version of patchset to adds support for Intel Arria 10 SoC. >>> This is initial patchset enables the basic support for Arria 10 a

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

2017-04-26 Thread Suresh Gupta
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Thursday, April 27, 2017 4:35 AM > To: Suresh Gupta ; Jagan Teki > > Cc: u-boot@lists.denx.de; Jagan Teki ; Yao Yuan > > Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K > flag > > On 0

Re: [U-Boot] [u-boot-release] [PATCH 2/2][v5] nxp/ls2080ardb: Add QSPI-boot support

2017-04-26 Thread Priyanka Jain
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Wednesday, April 26, 2017 8:56 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Suresh Gupta > Subject: Re: [u-boot-release] [PATCH 2/2][v5] nxp/ls2080ardb: Add QSPI-boot > support > > On 04/25/2017 11:15 PM, Pri

Re: [U-Boot] [PATCH 1/2][v5] board: freescale: ls2080ardb: Update QIXIS code

2017-04-26 Thread Priyanka Jain
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Wednesday, April 26, 2017 9:00 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/2][v5] board: freescale: ls2080ardb: Update QIXIS code > > On 04/25/2017 11:13 PM, Priyanka Jain wrote: > > Update

Re: [U-Boot] [u-boot-release] [PATCH 2/2][v5] nxp/ls2080ardb: Add QSPI-boot support

2017-04-26 Thread Priyanka Jain
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Wednesday, April 26, 2017 9:04 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Suresh Gupta > Subject: Re: [u-boot-release] [PATCH 2/2][v5] nxp/ls2080ardb: Add QSPI-boot > support > > On 04/25/2017 11:15 PM, Pri

[U-Boot] [PATCH 21/28] fs: Kconfig: Add a separate option for FS_CRAMFS

2017-04-26 Thread Simon Glass
Rather than using CMD_CRAMFS for both the filesystem and its command, we should have a separate option for each. This allows us to enable CRAMFS support without the command, if desired, which reduces U-Boot's size slightly. Signed-off-by: Simon Glass --- cmd/Kconfig | 1

[U-Boot] [PATCH] armv8: minor fix to comment for enabling SMPEN bit

2017-04-26 Thread Dinh Nguyen
The SMPEN bit is located in the cpuectlr_el1 register and not the cpuactlr_el1 register. Adjust the comment accordingly and also fix a spelling error. Signed-off-by: Dinh Nguyen CC: Mingkai Hu CC: Gong Qianyu CC: Mateusz Kulikowski CC: Hou Zhiqiang CC: York Sun CC: Albert Aribaud CC: Masahi

[U-Boot] [PATCH 28/28] Drop the pdsp188x driver

2017-04-26 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass --- drivers/misc/Makefile| 1 - drivers/misc/pdsp188x.c | 45 scripts/config_whitelist.txt | 1 - 3 files changed, 47 deletions(-) delete mode 100644 drivers/misc/pdsp188x.c diff

[U-Boot] [PATCH 18/28] Drop CONFIG_CMD_CLEAR

2017-04-26 Thread Simon Glass
This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- include/configs/nokia_rx51.h | 2 -- scripts/config_whitelist.txt | 1 - 2 files changed, 3 deletions(-) diff --git a/include/configs/nokia_rx51.h b/include/configs/nokia_rx51.h index e99968c805..eb2a60a57d 100644 --- a

[U-Boot] [PATCH 16/28] fs: Kconfig: Add a separate config for FS_CBFS

2017-04-26 Thread Simon Glass
Rather than using CMD_CBFS for both the filesystem and its command, we should have a separate option for each. This allows us to enable CBFS support without the command, if desired, which reduces U-Boot's size slightly. Signed-off-by: Simon Glass --- cmd/Kconfig | 1 + confi

[U-Boot] [PATCH 19/28] Convert CONFIG_CMD_CLK to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_CLK Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig| 9 + configs/pic32mzdask_defconfig | 1 + configs/topic_miami_defconfig | 1 + configs/topic_miamiplus_defcon

[U-Boot] [PATCH 27/28] powerpc: Drop configs/manroland

2017-04-26 Thread Simon Glass
This is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- include/configs/manroland/common.h | 106 --- include/configs/manroland/mpc5200-common.h | 205 - 2 files changed, 311 deletions(-) delete mode 100644 include/configs/manroland/c

[U-Boot] [PATCH 14/28] Convert CONFIG_SYS_WHITE_ON_BLACK to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_WHITE_ON_BLACK Signed-off-by: Simon Glass --- README| 3 --- configs/at91sam9261ek_dataflash_cs0_defconfig | 1 + configs/at91sam9261ek_dataflash_cs3_defconfig | 1 + configs/at91sam9261ek_nandflash

[U-Boot] [PATCH 26/28] Convert CONFIG_CMD_DISPLAY to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_DISPLAY Signed-off-by: Simon Glass --- cmd/Kconfig| 8 configs/a4m072_defconfig | 1 + include/config_cmd_all.h | 1 - include/configs/a4m072.h | 1 - include/configs/manroland/c

[U-Boot] [PATCH 20/28] fs: Convert CONFIG_CMD_CRAMFS to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_CRAMFS Signed-off-by: Simon Glass --- cmd/Kconfig | 10 ++ configs/UCP1020_SPIFLASH_defconfig | 1 + configs/UCP1020_defconfig| 1 + configs/km_kirkwood_128m16_defconfig | 1 + configs/km_kir

[U-Boot] [PATCH 15/28] fs: Convert CONFIG_CMD_CBFS to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_CBFS Signed-off-by: Simon Glass --- README | 7 --- cmd/Kconfig | 9 + configs/coreboot-x86_defconfig | 1 + configs/sandbox_defconfig | 1 + configs/sandbox_noblk_defconfig | 1

[U-Boot] [PATCH 12/28] Convert CONFIG_CMD_BMP to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_BMP Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 11 +++ configs/MPC8610HPCD_defconfig | 1 + conf

[U-Boot] [PATCH 17/28] Convert CONFIG_CMD_CHIP_CONFIG to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_CHIP_CONFIG Signed-off-by: Simon Glass --- arch/powerpc/cpu/ppc4xx/Kconfig | 8 configs/PMC405DE_defconfig| 1 + configs/arches_defconfig | 1 + configs/canyonlands_defconfig | 1 + configs/devconcenter_defcon

[U-Boot] [PATCH 13/28] Convert CONFIG_CMD_BSP to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_BSP Signed-off-by: Simon Glass --- README | 2 -- cmd/Kconfig | 10 ++ configs/CPCI2DP_defconfig| 1 + configs/CPCI4052_defconfig | 1 + configs/MIP405T_

[U-Boot] [PATCH 11/28] Convert CONFIG_CMD_BMODE to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_BMODE Signed-off-by: Simon Glass --- README| 10 -- arch/arm/imx-common/Kconfig | 12 configs/apalis_imx6_defconfig | 1 + configs/apalis_imx6_nospl_com_defc

[U-Boot] [PATCH 24/28] Kconfig: Drop CONFIG_CMD_DFL

2017-04-26 Thread Simon Glass
This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- include/configs/armadillo-800eva.h | 1 - include/configs/rcar-gen2-common.h | 1 - include/configs/rcar-gen3-common.h | 1 - include/configs/sh7752evb.h| 1 - include/configs/sh7753evb.h| 1 - scripts/co

[U-Boot] [PATCH 25/28] Convert CONFIG_CMD_DIAG to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_DIAG Signed-off-by: Simon Glass --- cmd/Kconfig | 8 configs/MiniFAP_defconfig| 1 + configs/TQM5200S_HIGHBOOT_defconfig | 1 + configs/TQM5200S_defconfig | 1 + config

[U-Boot] [PATCH 10/28] Convert CONFIG_CMD_BLOB to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_BLOB Signed-off-by: Simon Glass --- arch/arm/include/asm/fsl_secure_boot.h | 1 - arch/powerpc/include/asm/fsl_secure_boot.h | 1 - cmd/Kconfig| 44 ++ cmd/Mak

[U-Boot] [PATCH 07/28] ti816x_evm: Change CONFIG_CMD_ASKEN to CONFIG_CMD_ASKENV

2017-04-26 Thread Simon Glass
This looks like a typo. Fix it. Signed-off-by: Simon Glass --- include/configs/ti816x_evm.h | 2 +- scripts/config_whitelist.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/configs/ti816x_evm.h b/include/configs/ti816x_evm.h index b5af700e38..b7ec200e06 100644 -

[U-Boot] [PATCH 22/28] Kconfig: Drop CONFIG_CMD_DEFAULTENV_VARS

2017-04-26 Thread Simon Glass
This option does not exist in U-Boot. Drop it. Signed-off-by: Simon Glass --- include/configs/km/keymile-common.h | 1 - scripts/config_whitelist.txt| 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h index 40d5

[U-Boot] [PATCH 09/28] Convert CONFIG_CMD_BEDBUG to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_BEDBUG Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 11 +++ configs/motionpro_defconfig | 1 + include/config_cmd_all.h | 1 - include/configs/dbau1x00.h | 1 - include/

[U-Boot] [PATCH 08/28] Convert CONFIG_CMD_BAT to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_BAT Signed-off-by: Simon Glass --- board/ti/sdp4430/Kconfig| 3 +++ configs/omap4_sdp4430_defconfig | 1 + include/configs/omap4_sdp4430.h | 3 --- scripts/config_whitelist.txt| 1 - 4 files changed, 4 insertions(+), 4 deletions(

[U-Boot] [PATCH 23/28] Convert CONFIG_CMD_DEKBLOB to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_DEKBLOB Note: This option does not seem to actually be enabled by any board. Signed-off-by: Simon Glass --- arch/arm/imx-common/Kconfig | 8 include/configs/mx6_common.h | 1 - include/configs/mx7_common.h | 1 - scripts/config_wh

[U-Boot] [PATCH 03/28] power: Convert CONFIG_PMIC_AS3722 to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_PMIC_AS3722 Signed-off-by: Simon Glass --- configs/apalis-tk1_defconfig | 1 + configs/cei-tk1-som_defconfig | 1 + configs/jetson-tk1_defconfig | 1 + configs/nyan-big_defconfig| 1 + drivers/power/pmic/Kconfig| 8 include/co

[U-Boot] [PATCH 05/28] power: Drop CONFIG_PMIC

2017-04-26 Thread Simon Glass
This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- include/configs/arndale.h| 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/arndale.h b/include/configs/arndale.h index e6f2422f03..4d770e6077 100644 --- a/includ

[U-Boot] [PATCH 04/28] power: Drop CONFIG_I2C_PMIC

2017-04-26 Thread Simon Glass
This is only used by one board and should not be a CONFIG option. Instead it should use the driver model pmic framework. For now, just move the setting into the only board that uses it. Signed-off-by: Simon Glass --- board/gateworks/gw_ventana/common.c | 7 --- include/configs/gw_ventana.h

[U-Boot] [PATCH 06/28] Convert CONFIG_CMD_AES et al to Kconfig

2017-04-26 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_AES CONFIG_AES Signed-off-by: Simon Glass --- cmd/Kconfig | 9 + configs/seaboard_defconfig| 1 + include/configs/amcore.h | 1 - include/configs/seaboard.h| 1 - include/configs/topic_miami.h |

[U-Boot] [PATCH 00/28] Kconfig: Convert some commands to Kconfig

2017-04-26 Thread Simon Glass
We plan to convert all CONFIG options to Kconfig by the end of 2017. This series contributes to that effort by converting most of the commands from A to D to Kconfig. Some invalid or bogus ones are removed. Two filesystem commands are split so there are separate options to enable the filesystem a

[U-Boot] [PATCH 02/28] power: Move as3722 pmic to pmic/ directory

2017-04-26 Thread Simon Glass
Most of the PMICs are in the drivers/power/pmic/ directory. Move this one there. Signed-off-by: Simon Glass --- drivers/power/Makefile| 1 - drivers/power/pmic/Makefile | 1 + drivers/power/{ => pmic}/as3722.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename drivers

[U-Boot] [PATCH 01/28] power: Rename CONFIG_AS3722_POWER to CONFIG_PMIC_AS3722

2017-04-26 Thread Simon Glass
Before converting this to Kconfig, rename it to match the other PMICs. Signed-off-by: Simon Glass --- arch/arm/mach-tegra/board2.c | 2 +- drivers/power/Makefile| 2 +- include/configs/apalis-tk1.h | 2 +- include/configs/cei-tk1-som.h | 2 +- include/configs/jetson-tk1.h | 2 +- inc

Re: [U-Boot] [PATCH] mmc: sdhci: Fix maximum clock for programmable clock mode

2017-04-26 Thread Jaehoon Chung
Hi Wenyou, On 04/26/2017 10:32 AM, Wenyou Yang wrote: > In the programmable clock mode, the SDCLK frequency is incorrectly > assigned when the maximum clock has been assigned during probe, > this causes the SDHCI not work well. > > In the programmable clock mode, when calculating the SDCLK Freque

Re: [U-Boot] [PATCH 2/2] rockchip: mmc: handle deprecation of 'clock-freq-min-max'

2017-04-26 Thread Jaehoon Chung
On 04/25/2017 04:52 PM, Philipp Tomsich wrote: > The 'clock-freq-min-max' property was deprecated in the upstream > (i.e. Linux) DTS bindings in favor of the 'max-frequency' property. It's difference wit Linux kernel. "clock-freq-min-max" was deprecated in Linux. Linux kernel is supporting to find

Re: [U-Boot] [PATCH] power: twl4030: Add CONFIG_CMD_POWEROFF support

2017-04-26 Thread Jaehoon Chung
Hi Adam On 04/25/2017 03:34 AM, Adam Ford wrote: > With the addition of twl4030_power_off(), let's allow the 'poweroff' command > to run this function when CONFIG_CMD_POWEROFF is enabled. > > Tested on a DM3730 with twl4030 PMIC. > > Signed-off-by: Adam Ford Reviewed-by: Jaehoon Chung > > d

Re: [U-Boot] [PATCH v7 00/16] Add Intel Arria 10 SoC support

2017-04-26 Thread Dinh Nguyen
On 04/25/2017 05:46 AM, Marek Vasut wrote: > On 04/25/2017 08:44 PM, Ley Foon Tan wrote: >> This is the 7th version of patchset to adds support for Intel Arria 10 SoC. >> This is initial patchset enables the basic support for Arria 10 and other >> features will come after this. >> >> This series

Re: [U-Boot] [PATCH v7 00/16] Add Intel Arria 10 SoC support

2017-04-26 Thread Dalon Westergreen
On Tue, 2017-04-25 at 12:46 +0200, Marek Vasut wrote: > On 04/25/2017 08:44 PM, Ley Foon Tan wrote: > > This is the 7th version of patchset to adds support for Intel Arria 10 SoC. > > This is initial patchset enables the basic support for Arria 10 and other > > features will come after this. > > >

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

2017-04-26 Thread York Sun
On 04/26/2017 12:47 AM, Suresh Gupta wrote: -Original Message- From: Jagan Teki [mailto:jagannadh.t...@gmail.com] Sent: Wednesday, April 26, 2017 1:01 PM To: Suresh Gupta Cc: u-boot@lists.denx.de; Jagan Teki ; york sun ; Yao Yuan Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase

[U-Boot] [PATCH 3/4] rockchip: board: puma_rk3399: add support for serial# and cpuid# via efuses

2017-04-26 Thread Philipp Tomsich
With our efuse driver for the RK3399 ready, we can add the board-specific code that consumes the cpuid from the efuse block and postprocesses it into the system serial (using the same CRC32 based derivation as in Linux). We expose the cpuid via two distinct environment variables: serial# - the

[U-Boot] [PATCH 0/4] rockchip: Add a read-only efuse driver for the RK3399 (and derive serial# from fuses on the RK3399-Q7)

2017-04-26 Thread Philipp Tomsich
As the RK3399-Q7 (Puma) differs from our previous modules in how we can force an external boot (on the RK3399-Q7 this holds the eMMC and SPI in reset, until an external signal is removed) through the 'BIOS disable'-signal of the Qseven specification, we can't derive the unique board id reliably fr

[U-Boot] [PATCH 2/4] rockchip: efuse: add (misc) driver for RK3399 non-secure efuse block

2017-04-26 Thread Philipp Tomsich
This adds a simple driver for reading the efuse block of the RK3399. It should be easy enough to add drivers for other devices (e.g. the RK3328, RK3368, etc.) by passing the device details via driver_data. Unlike the kernel driver (using the nvmem subsystem), we don't expose the efuse as multiple

[U-Boot] [PATCH 4/4] rockchip: defconfig: puma-rk3399: enable RK3399 efuse driver

2017-04-26 Thread Philipp Tomsich
With everything in place (i.e. the new efuse driver, the clk-support for the non-secure efuse block, and the board-specific functions to derive 'serial#' from the cpu-id within the efuses), enable this in the RK3399-Q7 defconfig. Signed-off-by: Philipp Tomsich Tested-by: Klaus Goger --- confi

[U-Boot] [PATCH 1/4] rockchip: clk: rk3399: allow requests for PCLK_EFUSE1024NS

2017-04-26 Thread Philipp Tomsich
The (non-secure) efuse node in the DTS requests PCLK_EFUSE1024NS. To allow us to add a efuse-driver (and more importantly, to allow probes of such a driver to succeed), we need need to accept requests for PCLK_EFUSE1024NS and return a non-error result. As PCLK_EFUSE1024NS is enabled by default (i.

Re: [U-Boot] [PATCH] armv8: layerscape: Fix DDR size calcuation for SPL build

2017-04-26 Thread York Sun
On 04/20/2017 04:04 PM, York Sun wrote: Commit 088454cd dropped return value from initram(), setting gd->ram_size directly. Three boards were missed for SPL boot. Signed-off-by: York Sun --- board/freescale/ls1043aqds/ddr.c | 4 +++- board/freescale/ls1046aqds/ddr.c | 4 +++- board/freescale/

Re: [U-Boot] [PATCH v3] arm: psci: make psci usable on single core socs

2017-04-26 Thread York Sun
On 04/18/2017 10:42 PM, Yuantian Tang wrote: PSCI can be used on both multiple and single core socs. Current implementation only allows PSCI to work on multiple core socs. This patch removes this restriction so that PSCI can work on single core socs as well. Signed-off-by: Chenhui Zhao Signed-o

Re: [U-Boot] [PATCH v2 1/3] fsl-ppa: Kconfig: Support to load PPA hdr from eMMC/SD and NAND Flash

2017-04-26 Thread York Sun
On 04/19/2017 05:16 AM, Sumit Garg wrote: Add support to load PPA hdr from eMMC/SD and NAND Flash in Kconfig Signed-off-by: Sumit Garg Signed-off-by: Udit Agarwal Tested-by: Vinitha Pillai --- Changes in v2: Changed order of patch 1 & 2. Also moved assignment of ppa_esbc_hdr to CONFIG_SYS_LS

Re: [U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate FSL PPA

2017-04-26 Thread York Sun
On 04/14/2017 12:03 AM, Zhiqiang Hou wrote: From: Hou Zhiqiang The PPA is a EL3 firmware, which support PSCI, hotplug, power-management features etc. Signed-off-by: Hou Zhiqiang --- board/freescale/ls1043aqds/ls1043aqds.c | 5 + 1 file changed, 5 insertions(+) This set (except the last

Re: [U-Boot] [PATCH][v2] board: ls2080ardb: Add phy number for serdes1 protocol 0x4b

2017-04-26 Thread York Sun
On 04/13/2017 02:58 AM, Santan Kumar wrote: Signed-off-by: Santan Kumar Signed-off-by: Priyanka Jain --- Changes for v2: Changed the subject board/freescale/ls2080ardb/eth_ls2080rdb.c | 7 +++ 1 file changed, 7 insertions(+) Applied to fsl-qoriq master. Thanks. York

[U-Boot] [PATCH 4/4] sunxi: Enable DM_I2C for A64/H3/H5

2017-04-26 Thread Jernej Skrabec
This commits enable DM I2C support for A64/H3/H5 SoCs. It is not enabled globaly for all sunxi SoCs, because some boards use PMICs which are connected through I2C. In order to keep same functionality, PMIC drivers needs to be ported to DM too. Signed-off-by: Jernej Skrabec --- board/sunxi/Kcon

[U-Boot] [PATCH 3/4] sunxi: i2c: Add support for DM I2C

2017-04-26 Thread Jernej Skrabec
This commit adds support for DM I2C on sunxi platform. It can coexist with old style sunxi I2C driver, because it is still used in SPL and by some SoCs. Because sunxi platform doesn't yet support DM clk, reset and pinctrl driver, workaround is needed to enable clocks and set resets and pinctrls. T

[U-Boot] [PATCH 2/4] sunxi: Move function for later convenience

2017-04-26 Thread Jernej Skrabec
This commit only moves i2c_init_board() function almost to the top and doesn't have any functional changes. This is needed for a temporary workaround in next commit when support for DM I2C will be introduced. Signed-off-by: Jernej Skrabec --- board/sunxi/board.c | 188 +

[U-Boot] [PATCH 1/4] sunxi: power: Compile sy8106a driver only during SPL build

2017-04-26 Thread Jernej Skrabec
Driver for that regulator is used only in SPL and it uses old I2C interface. If we want to use DM I2C in U-Boot proper, compilation of this driver has to be limited only to SPL. Signed-off-by: Jernej Skrabec --- drivers/power/sy8106a.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drive

[U-Boot] [PATCH 0/4] sunxi: i2c: Add DM I2C support for A64/H3/H5

2017-04-26 Thread Jernej Skrabec
This series implements DM I2C support, but allows old I2C to be selected when needed. Patch 1 makes sure that sy8106a driver is compiled only during SPL build. Patch 2 moves i2c_init_board() function to more convenient place for follow up patch. It doens't do any functional change. Patch 3 intro

[U-Boot] [PATCH v3 0/3] DS1307 RTC update

2017-04-26 Thread Chris Packham
The first patch is a cleanup that can be dropped if it's not wanted, The second patch is the addition of a KConfig option for the date command. The third patch is the change I really want to see. As it allows me to switch a board I'm working on over to the driver model. I've tried to replicate t

[U-Boot] [PATCH v3 3/3] rtc: Add DM support to ds1307

2017-04-26 Thread Chris Packham
Add an implementation of the ds1307 driver that uses the driver model i2c APIs. Signed-off-by: Chris Packham --- Changes in v3: None Changes in v2: None drivers/rtc/Kconfig | 7 ++ drivers/rtc/ds1307.c | 196 ++- 2 files changed, 184 insertio

Re: [U-Boot] [PATCH v2 1/2] cmd: add Kconfig option for 'date' command

2017-04-26 Thread Simon Glass
On 25 April 2017 at 23:19, Chris Packham wrote: > > Signed-off-by: Chris Packham > > --- > As requested I've run moveconfig.py to update the defconfigs > > Changes in v2: > - run moveconfig.py Looks good! Can you please also remove this option from config_whitelist? Perhaps we should update the

[U-Boot] [PATCH 2/2] board:ls1088aqds: Add support of EC1 and EC2

2017-04-26 Thread Amrita Kumari
From: Prabhakar Kushwaha EC1 and EC2 are RGMII interface on ls1088aqds platform. This patch add support of RGMII with PHY and MDIO Signed-off-by: Prabhakar Kushwaha Signed-off-by: Amrita Kumari --- board/freescale/ls1088a/eth_ls1088aqds.c | 35 1 file changed,

Re: [U-Boot] [PATCH v2 1/2] cmd: add Kconfig option for 'date' command

2017-04-26 Thread Andrew F. Davis
On 04/26/2017 12:19 AM, Chris Packham wrote: > Signed-off-by: Chris Packham > > --- > As requested I've run moveconfig.py to update the defconfigs > > Changes in v2: > - run moveconfig.py > > cmd/Kconfig | 6 ++ > configs/B4420QDS_NAND_defconfig

[U-Boot] [PATCH 1/2] armv8-fsl-layerscape:Kconfig: Support to RGMII for ls1088aqds

2017-04-26 Thread Amrita Kumari
Add support RGMII protocol Freescale's LDPAA2 support RGMII protocol. LS1088A is the first Soc supporting both RGMII and SGMII. Signed-off-by: Prabhakar Kushwaha Signed-off-by: Amrita Kumari --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 14 +++ arch/arm/cpu/armv8/fsl-layersc

[U-Boot] [PATCH v3 1/3] configs: sync P101x, P102x, P202x defconfgs

2017-04-26 Thread Chris Packham
In preparation for the next change that adds a new option. Signed-off-by: Chris Packham --- This isn't strictly needed. I did this so the next patch only touched CONFIG_CMD_DATE and I figured I may as well send this out so it can be applied if desired. Changes in v3: None Changes in v2: None

Re: [U-Boot] [PATCH v2 1/2] cmd: add Kconfig option for 'date' command

2017-04-26 Thread Chris Packham
On Thu, Apr 27, 2017 at 8:24 AM, Tom Rini wrote: > On Thu, Apr 27, 2017 at 05:55:18AM +1200, Chris Packham wrote: >> (drop long Cc list to stop mailman complaining) >> >> On Thu, Apr 27, 2017 at 5:22 AM, Simon Glass wrote: >> > On 25 April 2017 at 23:19, Chris Packham wrote: >> >> >> >> Signed-o

Re: [U-Boot] [PATCH v2 1/2] cmd: add Kconfig option for 'date' command

2017-04-26 Thread Tom Rini
On Thu, Apr 27, 2017 at 05:55:18AM +1200, Chris Packham wrote: > (drop long Cc list to stop mailman complaining) > > On Thu, Apr 27, 2017 at 5:22 AM, Simon Glass wrote: > > On 25 April 2017 at 23:19, Chris Packham wrote: > >> > >> Signed-off-by: Chris Packham > >> > >> --- > >> As requested I'v

Re: [U-Boot] [PATCH 0/2] power: TWL4030: Move CONFIG_TWL4030_POWER to Kconfig

2017-04-26 Thread Tom Rini
On Wed, Apr 26, 2017 at 02:55:08PM -0500, Adam Ford wrote: > On Wed, Apr 26, 2017 at 2:49 PM, Tom Rini wrote: > > On Wed, Apr 26, 2017 at 01:41:30PM -0500, Adam Ford wrote: > > > >> This series will move CONFIG_TWL4030_POWER to Kconfig from > >> include/configs. > >> It will enable it by default

Re: [U-Boot] [PATCH 0/2] power: TWL4030: Move CONFIG_TWL4030_POWER to Kconfig

2017-04-26 Thread Adam Ford
On Wed, Apr 26, 2017 at 2:49 PM, Tom Rini wrote: > On Wed, Apr 26, 2017 at 01:41:30PM -0500, Adam Ford wrote: > >> This series will move CONFIG_TWL4030_POWER to Kconfig from include/configs. >> It will enable it by default when selecting OMAP34XX and remove it from >> a small handful of include/c

Re: [U-Boot] [PATCH 0/2] power: TWL4030: Move CONFIG_TWL4030_POWER to Kconfig

2017-04-26 Thread Tom Rini
On Wed, Apr 26, 2017 at 01:41:30PM -0500, Adam Ford wrote: > This series will move CONFIG_TWL4030_POWER to Kconfig from include/configs. > It will enable it by default when selecting OMAP34XX and remove it from > a small handful of include/config files that are not yet using > ti_omap3_common.h

[U-Boot] [PATCH] rpi: Add a call to fdt_fixup_ethernet()

2017-04-26 Thread Tom Rini
As we no longer have a call to fdt_fixup_ethernet in image_setup_libfdt we need to make a call to fdt_fixup_ethernet ourself somewhere. Do this in ft_board_setup here as we already have other fixups being performed on the board here. Fixes: 3f66149d9fb4 ("Remove extra fdt_fixup_ethernet() call")

Re: [U-Boot] regression: setting the rpi mac address stopped working

2017-04-26 Thread Tom Rini
On Mon, Apr 24, 2017 at 02:12:28PM +0200, Gerd Hoffmann wrote: > Hi, > > > https://www.mail-archive.com/u-boot@lists.denx.de/msg241949.html fixes this > > problem. > > Tested things today, only to figure it doesn't work :( > > Reverting commit "3f66149 Remove extra fdt_fixup_ethernet() call" b

Re: [U-Boot] [PATCH v2 3/8] ti: common: board_detect: Introduce function to set the address length.

2017-04-26 Thread Tom Rini
On Thu, Apr 20, 2017 at 10:25:44AM -0500, Franklin S Cooper Jr wrote: > Reading from the I2C EEPROM used typically requires using an address length > of 2. However, when using DM for I2C the default address length used is 1. > To fix this introduce a new function that allows the address length to

Re: [U-Boot] [PATCH v2 2/8] drivers: i2c: davinci_i2c: Update davinci i2c driver to driver model

2017-04-26 Thread Tom Rini
On Thu, Apr 20, 2017 at 10:25:43AM -0500, Franklin S Cooper Jr wrote: > Convert davinci i2c driver to driver model. > > Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot maili

Re: [U-Boot] [PATCH v2 6/8] ARM: dts: keystone2: add I2C aliases for davinci I2C nodes

2017-04-26 Thread Tom Rini
On Thu, Apr 20, 2017 at 10:25:47AM -0500, Franklin S Cooper Jr wrote: > Add aliases for I2C nodes required for the DM framework to probe the > davinci-i2c driver. > > Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH v2 7/8] ARM: dts: keystone-k2g-evm: Enable I2C0 and I2C1

2017-04-26 Thread Tom Rini
On Thu, Apr 20, 2017 at 10:25:48AM -0500, Franklin S Cooper Jr wrote: > Enable I2C0 and I2C1 which is needed to enable usage of DM I2C. > > Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 8/8] ARM: keystone: Enable DM_I2C by default

2017-04-26 Thread Tom Rini
On Thu, Apr 20, 2017 at 10:25:49AM -0500, Franklin S Cooper Jr wrote: > Enable by default DM_I2C for all Texas Instruments Keystone 2 based > evms. > > Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 1/8] i2c: davinci: Split functions into two parts for future DM support

2017-04-26 Thread Tom Rini
On Thu, Apr 20, 2017 at 10:25:42AM -0500, Franklin S Cooper Jr wrote: > The i2c driver will be converted to support device model. In preparation > for that change split the various functions into two parts. This will > allow device model specific driver to reuse the majority of the code from > the

Re: [U-Boot] Pull request: u-boot-sunxi/master

2017-04-26 Thread Tom Rini
On Wed, Apr 26, 2017 at 12:26:41AM +0530, Jagan Teki wrote: > Hi Tom, > > Please take this PR, probably the last PR for the release. > > thanks! > Jagan. > > The following changes since commit f6c1df44b815a08585e7fd3805a1db51a5955d09: > > Prepare v2017.05-rc2 (2017-04-17 18:16:49 -0400) > >

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2017-04-26 Thread Tom Rini
On Tue, Apr 25, 2017 at 08:44:10AM -0700, York Sun wrote: > Tom, > > The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2017-04-18 11:36:06 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boo

Re: [U-Boot] arm: dts: imx: add aliases for usbotg nodes

2017-04-26 Thread Tom Rini
On Tue, Apr 25, 2017 at 12:20:52AM +0300, Alexey Ignatov wrote: > Aliases must be present for USB gadget with DM_USB. Without this, > usb_setup_ehci_gadget() fails because it can't find required devices > in UCLASS_USB. > > Signed-off-by: Alexey Ignatov > --- > arch/arm/dts/imx6qdl.dtsi | 1 + >

Re: [U-Boot] [PATCH] power: twl4030: Add CONFIG_CMD_POWEROFF support

2017-04-26 Thread Adam Ford
On Tue, Apr 25, 2017 at 7:51 PM, Adam Ford wrote: > On Tue, Apr 25, 2017 at 3:10 PM, Tom Rini wrote: >> On Mon, Apr 24, 2017 at 01:34:43PM -0500, Adam Ford wrote: >> >>> With the addition of twl4030_power_off(), let's allow the 'poweroff' command >>> to run this function when CONFIG_CMD_POWEROFF

[U-Boot] [PATCH 2/2] power: twl4030: Remove CONFIG_TWL4030_POWER from include/configs

2017-04-26 Thread Adam Ford
With the addition of Kconfig now having CONFIG_TWL4030_POWER and with that being the default when OMAP34XX is selected, this is no longer needed in include/configs and can be removed from the whitelist. This has only been tested on logic PD DM3730 using ti_omap3_common.h Signed-off-by: Adam Ford

[U-Boot] [PATCH 1/2] power: twl4030: Move CONFIG_TWL4030_POWER to Kconfig

2017-04-26 Thread Adam Ford
As requested, I added the CONFIG_TWL4030_POWER to Kconfig and made it the implied default when selecting OMAP34XX as a platform. Signed-off-by: Adam Ford diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7812f21..f9ecded 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -702,6 +702,7

[U-Boot] [PATCH 0/2] power: TWL4030: Move CONFIG_TWL4030_POWER to Kconfig

2017-04-26 Thread Adam Ford
This series will move CONFIG_TWL4030_POWER to Kconfig from include/configs. It will enable it by default when selecting OMAP34XX and remove it from a small handful of include/config files that are not yet using ti_omap3_common.h as well as ti_omap3_common.h. I do not have the other hardware, but

Re: [U-Boot] [PATCH v2 1/2] cmd: add Kconfig option for 'date' command

2017-04-26 Thread Chris Packham
(drop long Cc list to stop mailman complaining) On Thu, Apr 27, 2017 at 5:22 AM, Simon Glass wrote: > On 25 April 2017 at 23:19, Chris Packham wrote: >> >> Signed-off-by: Chris Packham >> >> --- >> As requested I've run moveconfig.py to update the defconfigs >> >> Changes in v2: >> - run moveco

Re: [U-Boot] [PATCH] MAINTAINERS: Update for Keystone2 secure devices

2017-04-26 Thread Andrew F. Davis
On 04/26/2017 01:05 AM, Lokesh Vutla wrote: > Update Keystone2 secure device configs under > "TI SYSTEM SECURITY". Without this buildman keeps complaining > about the status of these boards. > > Signed-off-by: Lokesh Vutla > --- Acked-by: Andrew F. Davis > MAINTAINERS | 3 +++ > 1 file change

Re: [U-Boot] [PATCH 2/3] common: dfu: ignore reset for spl-dfu

2017-04-26 Thread B, Ravi
Hi Tom >> >> The SPL-DFU will load and execute u-boot.img from RAM. If we issue >> dfu-reset (-R switch), this leads to cpu-reset and we lost the purpose >> of SPL-DFU itself. Hence dfu-reset issue shall not be issued for >> SPL-DFU. >> >> I agree, the dfu-reset is needed in u-boot, after f

Re: [U-Boot] [PATCH 2/3] common: dfu: ignore reset for spl-dfu

2017-04-26 Thread Tom Rini
On Wed, Apr 26, 2017 at 03:58:27PM +, B, Ravi wrote: > Hi Tom > > >> The SPL-DFU feature enable to load and execute u-boot over usb from PC > >> using dfu-util. > >> Hence dfu-reset should not be issued > >> when dfu-util -R switch is issued. > >> > >> Signed-off-by: Ravi Babu > >> --- > >>

Re: [U-Boot] [PATCH 2/3] common: dfu: ignore reset for spl-dfu

2017-04-26 Thread B, Ravi
Hi Tom >> The SPL-DFU feature enable to load and execute u-boot over usb from PC >> using dfu-util. >> Hence dfu-reset should not be issued >> when dfu-util -R switch is issued. >> >> Signed-off-by: Ravi Babu >> --- >> common/dfu.c | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git

Re: [U-Boot] [u-boot-release] [PATCH 2/2][v5] nxp/ls2080ardb: Add QSPI-boot support

2017-04-26 Thread York Sun
On 04/25/2017 11:15 PM, Priyanka Jain wrote: QSPI-boot is verified on LS2088ARDB RevF board with LS2088A SoC. LS2088ARDB RevF Board has limitation that QIXIS can not be access, so QIXIS flag is kept disabled Signed-off-by: Priyanka Jain Signed-off-by: Suresh Gupta --- Changes for v5: Renamed

Re: [U-Boot] [PATCH 1/2][v5] board: freescale: ls2080ardb: Update QIXIS code

2017-04-26 Thread York Sun
On 04/25/2017 11:13 PM, Priyanka Jain wrote: Update QIXIS related code to be executed only if CONFIG_FSL_QIXIS flag is enabled As per board documentation, default sysclk is 100MHz. In case QIXIS code is not enabled, update default sysclk value to 100MHz Signed-off-by: Priyanka Jain --- Change

Re: [U-Boot] [u-boot-release] [PATCH 2/2][v5] nxp/ls2080ardb: Add QSPI-boot support

2017-04-26 Thread York Sun
On 04/25/2017 11:15 PM, Priyanka Jain wrote: QSPI-boot is verified on LS2088ARDB RevF board with LS2088A SoC. LS2088ARDB RevF Board has limitation that QIXIS can not be access, so QIXIS flag is kept disabled Signed-off-by: Priyanka Jain Signed-off-by: Suresh Gupta --- Changes for v5: Renamed

[U-Boot] [PATCH 12/12] sunxi: add a defconfig for SoPine w/ official baseboard

2017-04-26 Thread Icenowy Zheng
The SoPine is a SoM by Pine64, with an Allwinner A64 SoC, a LPDDR3 DRAM chip, an AXP803 PMIC, a SPI NOR Flash and a MicroSD slot. The card detect pin of the MicroSD slot is broken, however, it doesn't matter as the design of SoPine didn't allow hot-swapping the MicroSD card (The MicroSD slot is at

[U-Boot] [PATCH 10/12] sunxi: add LPDDR3 DRAM type support for DesignWare-like DRAM controller

2017-04-26 Thread Icenowy Zheng
From: Icenowy Zheng Some A64 boards (SoPine and Pinebook production batch) use LPDDR3 DRAM chips. Add support for LPDDR3 DRAM in the DesignWare-like DRAM controller code. Real LPDDR3 chips' support is not added yet in this commit. Signed-off-by: Icenowy Zheng --- arch/arm/mach-sunxi/dram_sun

[U-Boot] [PATCH 09/12] sunxi: enable DRAM initialization and SPL for V3s SoC

2017-04-26 Thread Icenowy Zheng
As we have already support for the DesignWare DRAM controller and the integrated DDR2 chip of V3s, let's enable the SPL support for V3s. This patch also contains the default DRAM configuration for V3s. Signed-off-by: Icenowy Zheng --- board/sunxi/Kconfig | 7 ++- 1 file changed, 6 insertion

[U-Boot] [PATCH 11/12] sunxi: add LPDDR3 timing from stock boot0

2017-04-26 Thread Icenowy Zheng
From: Icenowy Zheng As we added LPDDR3 support in the former patch, we need a set of timing info to really enable it. Add the timing info used by stock boot0. Signed-off-by: Icenowy Zheng --- arch/arm/mach-sunxi/dram_timings/Makefile | 1 + arch/arm/mach-sunxi/dram_timings/lpddr3_stock

[U-Boot] [PATCH 05/12] sunxi: Add selective DRAM type and timing

2017-04-26 Thread Icenowy Zheng
From: Icenowy Zheng DRAM chip varies, and one code cannot satisfy all DRAMs. Add options to select a timing set. Currently only DDR3-1333 (the original set) is added into it. Signed-off-by: Icenowy Zheng --- arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h | 30 ++ arch/arm/mach-sunxi/Ma

[U-Boot] [PATCH 04/12] sunxi: add bank detection code to H3 DRAM initialization code

2017-04-26 Thread Icenowy Zheng
From: Icenowy Zheng Some DDR2 DRAM have only four banks, not eight. Add code to detect this situation. Signed-off-by: Icenowy Zheng --- arch/arm/mach-sunxi/dram_sunxi_dw.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-sunxi/dram_sunxi_d

  1   2   >