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

2017-04-27 Thread Suresh Gupta
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Thursday, April 27, 2017 10:18 PM > To: Suresh Gupta ; Jagan Teki > > Cc: u-boot@lists.denx.de; Jagan Teki ; Yao Yuan > >

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

2017-04-27 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

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

2017-04-27 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 v7:

Re: [U-Boot] [PATCH 07/11] i2c: Drop use of CONFIG_I2C_HARD

2017-04-27 Thread Lokesh Vutla
Hi Heiko, On Friday 28 April 2017 10:24 AM, Heiko Schocher wrote: > Hello Simon, > > Am 23.04.2017 um 17:35 schrieb Simon Glass: >> Drop use of this long-deprecated option. >> >> Signed-off-by: Simon Glass >> --- >> >> README | 16 >>

Re: [U-Boot] [PATCH 11/11] Drop use of CONFIG_I2C_SOFT

2017-04-27 Thread Heiko Schocher
Hello Simon, Am 23.04.2017 um 17:35 schrieb Simon Glass: This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- README | 32 +--- 1 file changed, 1 insertion(+), 31 deletions(-) Reviewed-by: Heiko Schocher

Re: [U-Boot] [PATCH 10/11] Drop CONFIG_I2CFAST

2017-04-27 Thread Heiko Schocher
Hello Simon, Am 23.04.2017 um 17:35 schrieb Simon Glass: This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- README | 6 -- common/board_r.c | 17 - scripts/config_whitelist.txt | 1 - 3

Re: [U-Boot] [PATCH 09/11] i2c: Drop CONFIG_SYS_I2C_BOARD_LATE_INIT

2017-04-27 Thread Heiko Schocher
Hello Simon, Am 23.04.2017 um 17:35 schrieb Simon Glass: This option is not used by any boards. Drop it. Signed-off-by: Simon Glass --- README | 11 --- drivers/i2c/fsl_i2c.c| 9 - drivers/i2c/fti2c010.c | 9

Re: [U-Boot] [PATCH 08/11] i2c: README: Drop CONFIG_SYS_I2C_INIT_MPC5XXX

2017-04-27 Thread Heiko Schocher
Hello Simon, Am 23.04.2017 um 17:35 schrieb Simon Glass: This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- README | 2 -- 1 file changed, 2 deletions(-) Reviewed-by: Heiko Schocher Applied to u-boot-i2c/next bye, Heiko diff

Re: [U-Boot] [PATCH 07/11] i2c: Drop use of CONFIG_I2C_HARD

2017-04-27 Thread Heiko Schocher
Hello Simon, Am 23.04.2017 um 17:35 schrieb Simon Glass: Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- README | 16 board/ti/am335x/board.c | 6 +- board/ti/am43xx/board.c | 3 +--

Re: [U-Boot] [PATCH 06/11] i2c: mxc_i2c: Drop use of CONFIG_I2C_HARD

2017-04-27 Thread Heiko Schocher
Hello Simon, Am 23.04.2017 um 17:35 schrieb Simon Glass: Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- drivers/i2c/mxc_i2c.c | 4 1 file changed, 4 deletions(-) Reviewed-by: Heiko Schocher Applied to u-boot-i2c/next bye,

Re: [U-Boot] [PATCH 05/11] i2c: keymile: Drop use of CONFIG_I2C_HARD

2017-04-27 Thread Heiko Schocher
Hello Simon, Am 23.04.2017 um 17:35 schrieb Simon Glass: Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- board/keymile/km82xx/km82xx.c | 5 - board/keymile/km_arm/km_arm.c | 4 2 files changed, 9 deletions(-) Reviewed-by: Heiko

Re: [U-Boot] [PATCH 04/11] i2c: pdm360ng: Drop use of CONFIG_I2C_HARD

2017-04-27 Thread Heiko Schocher
Hello Simon, Am 23.04.2017 um 17:35 schrieb Simon Glass: Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- board/pdm360ng/pdm360ng.c | 30 -- 1 file changed, 30 deletions(-) Reviewed-by: Heiko Schocher

Re: [U-Boot] [PATCH 03/11] i2c: cm5200: Drop use of CONFIG_I2C_HARD

2017-04-27 Thread Heiko Schocher
Hello Simon, Am 23.04.2017 um 17:35 schrieb Simon Glass: Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- board/cm5200/cm5200.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Heiko Schocher Applied to

Re: [U-Boot] [PATCH 02/11] i2c: powerpc: Remove use of CONFIG_HARD_I2C

2017-04-27 Thread Heiko Schocher
Hello Simon, Am 23.04.2017 um 17:35 schrieb Simon Glass: Drop use of this long-deprecated option for powerpc. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc512x/Makefile | 1 - arch/powerpc/cpu/mpc512x/i2c.c | 386 ---

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

2017-04-27 Thread Priyanka Jain
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Thursday, April 27, 2017 10:25 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Suresh Gupta > Subject: Re: [u-boot-release] [PATCH 2/2][v5] nxp/ls2080ardb: Add

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

2017-04-27 Thread Heiko Schocher
Hello Franklin, Am 20.04.2017 um 17:25 schrieb Franklin S Cooper Jr: Enable by default DM_I2C for all Texas Instruments Keystone 2 based evms. Signed-off-by: Franklin S Cooper Jr --- arch/arm/mach-keystone/Kconfig | 4 1 file changed, 4 insertions(+) Reviewed-by:

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

2017-04-27 Thread Heiko Schocher
Hello Franklin, Am 20.04.2017 um 17:25 schrieb Franklin S Cooper Jr: Enable I2C0 and I2C1 which is needed to enable usage of DM I2C. Signed-off-by: Franklin S Cooper Jr --- arch/arm/dts/keystone-k2g-evm.dts | 8 1 file changed, 8 insertions(+) Reviewed-by: Heiko

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

2017-04-27 Thread Heiko Schocher
Hello Franklin, Am 20.04.2017 um 17:25 schrieb Franklin S Cooper Jr: Add aliases for I2C nodes required for the DM framework to probe the davinci-i2c driver. Signed-off-by: Franklin S Cooper Jr --- arch/arm/dts/keystone.dtsi | 3 +++ 1 file changed, 3 insertions(+)

Re: [U-Boot] [PATCH v2 5/8] ARM: dts: k2g: Add I2C nodes to 66AK2Gx

2017-04-27 Thread Heiko Schocher
Hello Franklin, Am 20.04.2017 um 17:25 schrieb Franklin S Cooper Jr: Add I2C nodes to the 66AK2Gx dtsi. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Tom Rini --- arch/arm/dts/keystone-k2g.dtsi | 32 1 file changed,

Re: [U-Boot] [PATCH v2 4/8] ti: common: board_detect: Set alen to expected value before i2c read

2017-04-27 Thread Heiko Schocher
Hello Franklin, Am 20.04.2017 um 17:25 schrieb Franklin S Cooper Jr: In non DM I2C read operations the address length passed in during a read operation will be used automatically. However, in DM I2C the address length is set to a default value of one which causes problems when trying to perform

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

2017-04-27 Thread Heiko Schocher
Hello Franklin, Am 20.04.2017 um 17:25 schrieb Franklin S Cooper Jr: 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 be

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

2017-04-27 Thread Heiko Schocher
Hello Franklin, Am 20.04.2017 um 17:25 schrieb Franklin S Cooper Jr: Convert davinci i2c driver to driver model. Signed-off-by: Franklin S Cooper Jr --- drivers/i2c/davinci_i2c.c | 92 +-- 1 file changed, 90 insertions(+), 2

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

2017-04-27 Thread Heiko Schocher
Hello Franklin, Am 20.04.2017 um 17:25 schrieb Franklin S Cooper Jr: 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 non

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

2017-04-27 Thread Heiko Schocher
Hello Jagan, Am 27.04.2017 um 00:03 schrieb 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

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

2017-04-27 Thread Heiko Schocher
Hello Jernej, Am 27.04.2017 um 00:03 schrieb 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

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

2017-04-27 Thread Heiko Schocher
Hello Jernej, Am 27.04.2017 um 00:03 schrieb 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,

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

2017-04-27 Thread Heiko Schocher
Hello Jernej, Am 27.04.2017 um 00:03 schrieb 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

Re: [U-Boot] [PATCH 2/3] armv8: layerscape: Adjust memory mapping for Flash/SD card on LS1043A

2017-04-27 Thread York Sun
On 04/27/2017 01:08 AM, Alison Wang wrote: This patch is to adjust the memory mapping for FLash/SD card on LS1043AQDS and LS1043ARDB, such as PPA firmware load address, FMAN firmware load address, QE firmware load address, U-Boot start address on serial flash and environment address.

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

2017-04-27 Thread Tom Rini
On Thu, Apr 27, 2017 at 05:24:09PM +, B, Ravi wrote: > Hi Tom > > >> > >> diff --git a/common/dfu.c b/common/dfu.c index 0e9f5f5..546a1ab 100644 > >> --- a/common/dfu.c > >> +++ b/common/dfu.c > >> @@ -88,7 +88,7 @@ exit: > >>board_usb_cleanup(usbctrl_index, USB_INIT_DEVICE); > >> > >>

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

2017-04-27 Thread Tom Rini
On Fri, Apr 28, 2017 at 05:10:33AM +1200, Chris Packham wrote: > Hi Simon, > > On Thu, Apr 27, 2017 at 4:27 PM, Simon Glass wrote: > > This converts the following to Kconfig: > >CONFIG_CMD_AES > >CONFIG_AES > > > > Signed-off-by: Simon Glass > > ---

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

2017-04-27 Thread B, Ravi
Hi Lukasz, >> >> Also changing run_command() to do_reset(). >> >> If (dfu_reset) >> do_reset(NULL, 0, 0, NULL); >+1 >One question - could you write some numbers before SPL dfu tinification and >afterwards? >I'm just curious how much we can save up. I am OOO till May 2nd. Will provide

Re: [U-Boot] [PATCH 3/3] spl: dfu: reduce spl-dfu MLO size

2017-04-27 Thread B, Ravi
Hi Tom >> >> Yes you are correct. >> But what is happening here is, the CONFIG_DFU_ selected >> through Kconfig/Menuconfig is applicable for both SPL and U-Boot. >> Hence CONFIG_DFU_MMC/NAND/SF gets compiled for SPL as well, which needs >> run_command(). Actually CONFIG_DFU_MMC/NAND/etc is

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

2017-04-27 Thread B, Ravi
Hi Tom >> >> diff --git a/common/dfu.c b/common/dfu.c index 0e9f5f5..546a1ab 100644 >> --- a/common/dfu.c >> +++ b/common/dfu.c >> @@ -88,7 +88,7 @@ exit: >> board_usb_cleanup(usbctrl_index, USB_INIT_DEVICE); >> >> if (dfu_reset) >> -run_command("reset", 0); >> +

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

2017-04-27 Thread Chris Packham
Hi Simon, On Thu, Apr 27, 2017 at 4:27 PM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_AES >CONFIG_AES > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 9 + > configs/seaboard_defconfig

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

2017-04-27 Thread York Sun
On 04/26/2017 09:36 PM, Dinh Nguyen wrote: 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

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

2017-04-27 Thread York Sun
On 04/26/2017 09:56 PM, Priyanka Jain wrote: Priyanka, I understand you don't have access to CPLD. Do you still have access to IFC NOR flash? Can you boot from NOR flash, and issue a cpld command to reboot from QSPI? York No, NOR and QSPI are muxed at RCW level. So, IFC is disabled for

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

2017-04-27 Thread York Sun
On 04/26/2017 10:17 PM, Suresh Gupta wrote: Suresh, Did you test your patch after removing CONFIG_SPI_FLASH_BAR? Why doesn't this flash support BAR commands? How did it work before broken? York, the flash s25fs512s support 32 bit address to handle >16M memory access. With and

Re: [U-Boot] [PATCH 2/3] arm, Makefile: Concatenation of u-boot-spl.bin and u-boot.img

2017-04-27 Thread York Sun
On 04/27/2017 02:13 AM, Ashish Kumar wrote: Concatenation of u-boot-spl.bin and u-boot.img for NXP layerscape platform SoC: LS1088A/LS2080A and their variants New Kconfig option added SPL_USE_HEADER for the same I think the logic should be reversed. By default, let's use the image with

Re: [U-Boot] [PATCH 2/3] arm, Makefile: Concatenation of u-boot-spl.bin and u-boot.img

2017-04-27 Thread York Sun
On 04/27/2017 02:13 AM, Ashish Kumar wrote: Concatenation of u-boot-spl.bin and u-boot.img for NXP layerscape platform SoC: LS1088A/LS2080A and their variants New Kconfig option added SPL_USE_HEADER for the same Signed-off-by: Ashish Kumar --- Makefile

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

2017-04-27 Thread Tom Rini
On Thu, Apr 27, 2017 at 09:33:58AM -0500, Adam Ford wrote: > On Wed, Apr 26, 2017 at 3:19 PM, Tom Rini wrote: > > 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

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

2017-04-27 Thread Adam Ford
On Wed, Apr 26, 2017 at 3:19 PM, Tom Rini wrote: > 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

Re: [U-Boot] [PATCH 1/6] board: ti: Define Kconfig symbol for common cmd options

2017-04-27 Thread Adam Ford
On Thu, Apr 27, 2017 at 8:39 AM, Tom Rini wrote: > On Thu, Apr 27, 2017 at 08:21:52AM -0500, Adam Ford wrote: >> On Thu, Apr 27, 2017 at 7:43 AM, Tom Rini wrote: >> > On Thu, Apr 27, 2017 at 03:43:58PM +0530, Lokesh Vutla wrote: >> > >> >> Instead of

[U-Boot] [PATCH] ls1088a: add VID support for QDS and RDB platforms

2017-04-27 Thread Amrita Kumari
This patch adds the support for VID on LS1088AQDS and LS1088ARDB systems. It reads the fusesr register and changes the VDD accordingly by adjusting the voltage via LTC3882 regulator. This patch also takes care of the special case of 0.9V VDD. In that case, it also changes the SERDES voltage by

[U-Boot] [PATCH][v3] driver: net: fsl-mc: Update fsl_mc_ldpaa_exit() path

2017-04-27 Thread Yogesh Gaur
Earlier when MC is loaded but DPL is not deployed results in FDT fix-up code execution hang. For this case now print message on console and returns success instead of return -ENODEV. This update allows to continue fdt fixup execution. Signed-off-by: Yogesh Gaur

[U-Boot] [PATCH] Add ARM errata workaround 852421 and 852423 for Cortex-A17

2017-04-27 Thread Nisal Menuka
ARM errata 852421 and 852423 applies to r1p0, r1p1 and r1p2 revisions of Cortex-A17 processors. These workarounds exist in Linux kernel and I thought it would be better to add them in to U-Boot. Signed-off-by: Nisal Menuka --- arch/arm/Kconfig | 6 ++

Re: [U-Boot] [PATCH 1/6] board: ti: Define Kconfig symbol for common cmd options

2017-04-27 Thread Tom Rini
On Thu, Apr 27, 2017 at 08:21:52AM -0500, Adam Ford wrote: > On Thu, Apr 27, 2017 at 7:43 AM, Tom Rini wrote: > > On Thu, Apr 27, 2017 at 03:43:58PM +0530, Lokesh Vutla wrote: > > > >> Instead of defining command options in every defconfig, > >> define a common Kconfig symbol

Re: [U-Boot] [PATCH 1/6] board: ti: Define Kconfig symbol for common cmd options

2017-04-27 Thread Adam Ford
On Thu, Apr 27, 2017 at 7:43 AM, Tom Rini wrote: > On Thu, Apr 27, 2017 at 03:43:58PM +0530, Lokesh Vutla wrote: > >> Instead of defining command options in every defconfig, >> define a common Kconfig symbol that consolidates all command >> options that are supported by any TI

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

2017-04-27 Thread Lukasz Majewski
Hi Ravi, > Hi Lukasz > > >> > >> +#ifdef CONFIG_SPL_BUILD > >> > >> + dfu_reset = 0; > >> > >> +#endif > >> > > >> > >Why do you only ifdef this part? What problem does this solve? > >> > > >> > Common/dfu.c is common code for SPL and U-boot, for SPL-DFU > >> > dfu_reset should not be

Re: [U-Boot] [PATCH 0/6] configs: ti: consolidate cmd options

2017-04-27 Thread Lokesh Vutla
On Thursday 27 April 2017 03:43 PM, Lokesh Vutla wrote: > This series creates a Kconfig symbol for TI platforms > that includes common command options that are defined > by defconfigs. Also do a savedefconfig once this option > is enabled. Build passed in travis-ci.

Re: [U-Boot] [PATCH v4 00/18] stm32f7: add sdram & gpio drivers

2017-04-27 Thread Tom Rini
On Mon, Apr 24, 2017 at 07:39:55PM +, Vikas MANOCHA wrote: > Hi Tom, > > > -Original Message- > > From: Vikas MANOCHA > > Sent: Monday, April 10, 2017 3:03 PM > > To: u-boot@lists.denx.de > > Cc: Vikas MANOCHA > > Subject: [PATCH v4 00/18] stm32f7: add sdram &

Re: [U-Boot] [PATCH 1/6] board: ti: Define Kconfig symbol for common cmd options

2017-04-27 Thread Tom Rini
On Thu, Apr 27, 2017 at 03:43:58PM +0530, Lokesh Vutla wrote: > Instead of defining command options in every defconfig, > define a common Kconfig symbol that consolidates all command > options that are supported by any TI platform. Also use imply > keyword so that that specific option can be

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

2017-04-27 Thread Tom Rini
On Thu, Apr 27, 2017 at 05:45:20PM +0530, Ravi Babu wrote: > 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

Re: [U-Boot] [PATCH 3/3] spl: dfu: reduce spl-dfu MLO size

2017-04-27 Thread Tom Rini
On Thu, Apr 27, 2017 at 07:22:29AM +, B, Ravi wrote: > Hi Tom > > >> Since spl-dfu does not dfu-reset, there is no need of run_command_cli, > >> hence compiling out cli.c and cli_hush.c to reduce the spl-dfu memory > >> foot print. > >> > >> Signed-off-by: Ravi Babu >

[U-Boot] [PATCH v2 3/3] spl: dfu: reduce spl-dfu MLO size

2017-04-27 Thread Ravi Babu
Since spl-dfu does not dfu-reset, there is no need of run_command_cli, hence compiling out cli.c and cli_hush.c to reduce the spl-dfu memory foot print. Signed-off-by: Ravi Babu --- need better way for how to compile out CONFIG_DFU_MMC common/Makefile | 3 +--

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

2017-04-27 Thread Ravi Babu
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 | 2 +- common/spl/Kconfig | 4 drivers/dfu/dfu.c | 4 3

[U-Boot] [PATCH v2 1/3] spl: Kconfig: dfu: spl-dfu depends on SPL_RAM_SUPPORT

2017-04-27 Thread Ravi Babu
Since SPL_DFU_SUPPORT is depends on SPL_RAM_SUPPORT, hence select SPL_DFU_SUPPORT only when SPL_RAM_SUPPORT is chosen. Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v2 0/3] spl: dfu: misc fixes and reduce MLO foot print

2017-04-27 Thread Ravi Babu
The patch series spl-dfu fixes includes - select spl-dfu only spl-ram supported - ignore the dfu-reset for spl-dfu - reduce the spl-dfu MLO foot print buildman ran for arm targets Change history: v1: - Kconfig fix for dfu-reset for SPL-DFU - compile out

[U-Boot] [PATCH v5 10/10] rockchip: defconfigs: Enable mipi dsi for rk3399

2017-04-27 Thread Eric Gao
Enable mipi dsi by default for rk3399-evb board Signed-off-by: Eric Gao --- Changes in v5: -Regenerate defconfig file using "make savedefconfig" Changes in v4: None Changes in v3: None Changes in v2: -Add defconfigs for mipi display, so that it can be enabled by

[U-Boot] [PATCH v5 08/10] rockchip: dts: Add mipi dsi support for rk3399

2017-04-27 Thread Eric Gao
Add dts config for mipi display, include vop, mipi controller, panel, backlight . And Enable rk808 for lcd_3v3 in another patch. Signed-off-by: Eric Gao --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: -Add dts config for mipi display.

[U-Boot] [PATCH v5 07/10] rockchip: board: evb_rk3399: initialize pwm0 for dispaly backlight

2017-04-27 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v5: None Changes in v4: None Changes in v3: -Add ret value in debug message. Changes in v2: -Add pwm0 pinctrl init for lcd backlight. board/rockchip/evb_rk3399/evb-rk3399.c | 7 +++ 1 file changed, 7 insertions(+) diff

[U-Boot] [PATCH v5 04/10] rockchip: video: vop: Add mipi display mode for rk3399

2017-04-27 Thread Eric Gao
Add mipi display mode for rk3399 vop, so that we can use mipi panel for display. Signed-off-by: Eric Gao --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: -Add mipi display mode for vop. -Add compatible items for rk3399 vop.

[U-Boot] [PATCH v5 09/10] rockchip: configs: rk3399_conmmon: Add vidconsole environment variable

2017-04-27 Thread Eric Gao
Add vidconsole environment variable, so that we can enable log printing to lcd when we need. Signed-off-by: Eric Gao --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/configs/rk3399_common.h | 5 - 1 file changed, 4

[U-Boot] [PATCH v5 05/10] rockchip: video: vop: Set different bitwidth for different display mode

2017-04-27 Thread Eric Gao
Because the bitwidth is different for different display mode, so we need to set them according to demand. Signed-off-by: Eric Gao --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: -Change the bitwidth for different display mode.

[U-Boot] [PATCH v5 06/10] rockchip: video: vop: Reserve enough space for mipi dispaly

2017-04-27 Thread Eric Gao
plat->size here is used to reserve frame buffer space befor relocation. our mipi panel use 24 bitwidth, and vop require 32bit align. So the frame buffer size should be at least 1920*1200*32/8. Signed-off-by: Eric Gao --- Changes in v5: None Changes in v4: None Changes

[U-Boot] [PATCH v5 03/10] rockchip: video: vop: Fix rk_display_init() return error

2017-04-27 Thread Eric Gao
It's caused by the difference of clk_set_rate function implement between rk3288 andd rk3399. clk_set_rate() of rk3288 return 0 in normal condition. clk_set_rate() of rk3399 return input parameter in normal condition. So modify clk_set_rate's return value of rk3399 in keeping with rk3288.

[U-Boot] [PATCH v5 02/10] rockchip: video: Add mipi driver support for rockchip soc

2017-04-27 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v5: -Merge Kconfig and Makefile changes into this patch. Changes in v4: None Changes in v3: -Split mipi dsi driver file and header as a single patch. Changes in v2: None .../include/asm/arch-rockchip/rockchip_mipi_dsi.h | 195

[U-Boot] [PATCH v5 00/10] Add mipi dsi display support for rockchip soc.

2017-04-27 Thread Eric Gao
Changes in v5: -Modify indentation for better readability. -Make all enum variate have explicit value. -Merge Kconfig and Makefile changes into this patch. -Drop previous change, and modify clk_set_rate implement in rk3399. -Regenerate defconfig file using "make savedefconfig" Changes in v4:

[U-Boot] [PATCH v5 01/10] rockchip: include: grf: Add GRF register declaration for mipi dsi

2017-04-27 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v5: -Modify indentation for better readability. -Make all enum variate have explicit value. Changes in v4: None Changes in v3: -Split GRF changes as a single patch Changes in v2: None

[U-Boot] [GIT PULL] Xilinx fixes for v2017.05.

2017-04-27 Thread Michal Simek
Hi Tom, please pull these two small fixes to your tree. Thanks, Michal The following changes since commit 6f008a2e16ec3b618363800e414023569007cd89: Merge git://git.denx.de/u-boot-sunxi (2017-04-25 16:12:42 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH v3 00/13] STiH410-B2260: add reset, usb and fastboot support

2017-04-27 Thread Patrice CHOTARD
Hi It's just a gentle reminder as this series is present on mailing list since one month without any review. Thanks Patrice On 03/28/2017 06:03 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This series adds : > _ update existing sdhci driver to

Re: [U-Boot] [U-boot] use of CONFIG_SYS_EARLY_PCI_INIT with DM PCI

2017-04-27 Thread Suneel Garapati
Hi Tom/Simon, Request to help on below query. Regards, Suneel On Tue, Apr 25, 2017 at 16:25 Suneel Garapati wrote: > Hi Simon, > > Request your inputs on below query - > > Boards I work on have most of the devices on PCI bus, driver model > support enabled, would like

Re: [U-Boot] [PATCH 3/3] spl: dfu: reduce spl-dfu MLO size

2017-04-27 Thread B, Ravi
{Corrected typo u-boot mailing list.} Hi Lukasz >> Since spl-dfu does not dfu-reset, there is no need of >> run_command_cli, hence compiling out cli.c and cli_hush.c to reduce >> the spl-dfu memory foot print. >> [..] >> */ >> -#ifdef CONFIG_DFU_TFTP >> +#if defined(CONFIG_DFU_TFTP) &&

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

2017-04-27 Thread B, Ravi
Hi Lukasz >> > >> +#ifdef CONFIG_SPL_BUILD >> > >> + dfu_reset = 0; >> > >> +#endif >> > >> > >Why do you only ifdef this part? What problem does this solve? >> > >> > Common/dfu.c is common code for SPL and U-boot, for SPL-DFU >> > dfu_reset should not be given. This is must fix. Also

[U-Boot] [PATCH] board: ls2080ardb, ls2080aqds: Adjust memory map for NOR-boot

2017-04-27 Thread Santan Kumar
This patch adjusts memory map for images on LS2080ARDB, LS2080AQDS as per below memry map: Image Flash Offset RCW+PBI 0x Boot firmware (U-Boot) 0x0010 Boot firmware Environment 0x0030 PPA firmware

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

2017-04-27 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

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

2017-04-27 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

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

2017-04-27 Thread Lukasz Majewski
Hi, > On Thu, 27 Apr 2017 08:26:57 + > "B, Ravi" wrote: > > > Lukasz > > > > >> diff --git a/common/dfu.c b/common/dfu.c index 0e9f5f5..fa77526 > > >> 100644 --- a/common/dfu.c > > >> +++ b/common/dfu.c > > >> @@ -87,6 +87,9 @@ exit: > > >> g_dnl_unregister(); > >

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

2017-04-27 Thread Lukasz Majewski
On Thu, 27 Apr 2017 08:26:57 + "B, Ravi" wrote: > Lukasz > > >> diff --git a/common/dfu.c b/common/dfu.c index 0e9f5f5..fa77526 > >> 100644 --- a/common/dfu.c > >> +++ b/common/dfu.c > >> @@ -87,6 +87,9 @@ exit: > >>g_dnl_unregister(); > >>

[U-Boot] [PATCH 10/11] board: ls2080a: Initialize eth before mcinitcmd

2017-04-27 Thread Bogdan Purcareata
The mcinitcmd usually boots the MC, and also patches the DPC with u-boot environment MAC addresses for the MAC phy interfaces. In order for this to work, the board phy interfaces must be initialized before this point. Signed-off-by: Bogdan Purcareata ---

[U-Boot] [PATCH 11/11] drivers: net: fsl-mc: Write MAC address in eth_device

2017-04-27 Thread Bogdan Purcareata
MC might boot before MAC addresses are assigned to eth_devices from the u-boot environment. Write them when booting the MC so that they are available for the DPC fixup. Signed-off-by: Bogdan Purcareata --- drivers/net/fsl-mc/mc.c | 8 1 file changed, 8

[U-Boot] [PATCH 4/6] configs: am57xx: Enable TI_COMMON_CMD_OPTIONS

2017-04-27 Thread Lokesh Vutla
Enable TI_COMMON_CMD_OPTIONS on all am57xx platforms. Also sync with savedefconfig Signed-off-by: Lokesh Vutla --- configs/am57xx_evm_defconfig| 23 ++- configs/am57xx_hs_evm_defconfig | 22 +- 2 files changed, 3 insertions(+), 42

[U-Boot] [PATCH 6/6] configs: ks2: Enable TI_COMMON_CMD_OPTIONS

2017-04-27 Thread Lokesh Vutla
Enable TI_COMMON_CMD_OPTIONS on all keystone2 platforms. Also sync with savedefconfig. Signed-off-by: Lokesh Vutla --- configs/k2e_evm_defconfig | 21 + configs/k2e_hs_evm_defconfig | 19 --- configs/k2g_evm_defconfig | 21

[U-Boot] [PATCH 0/6] configs: ti: consolidate cmd options

2017-04-27 Thread Lokesh Vutla
This series creates a Kconfig symbol for TI platforms that includes common command options that are defined by defconfigs. Also do a savedefconfig once this option is enabled. Lokesh Vutla (6): board: ti: Define Kconfig symbol for common cmd options configs: am335x: Enable

[U-Boot] [PATCH 3/6] configs: am43xx: Enable TI_COMMON_CMD_OPTIONS

2017-04-27 Thread Lokesh Vutla
Enable TI_COMMON_CMD_OPTIONS on all am43xx platforms. Also sync with savedefconfig. Signed-off-by: Lokesh Vutla --- configs/am43xx_evm_defconfig| 25 + configs/am43xx_hs_evm_defconfig | 24 +--- 2 files changed, 2

[U-Boot] [PATCH 5/6] configs: dra7xx: Enable TI_COMMON_CMD_OPTIONS

2017-04-27 Thread Lokesh Vutla
Enable TI_COMMON_CMD_OPTIONS on all dra7xx platforms. Also sync with savedefconfig. Signed-off-by: Lokesh Vutla --- configs/dra7xx_evm_defconfig| 25 ++--- configs/dra7xx_hs_evm_defconfig | 23 +-- 2 files changed, 3 insertions(+),

[U-Boot] [PATCH 2/6] configs: am335x: Enable TI_COMMON_CMD_OPTIONS

2017-04-27 Thread Lokesh Vutla
Enable TI_COMMON_CMD_OPTIONS on all am335x platforms. Also sync with savedefconfig. Signed-off-by: Lokesh Vutla --- configs/am335x_evm_defconfig| 12 +--- configs/am335x_hs_evm_defconfig | 13 + 2 files changed, 2 insertions(+), 23 deletions(-) diff

[U-Boot] [PATCH 1/6] board: ti: Define Kconfig symbol for common cmd options

2017-04-27 Thread Lokesh Vutla
Instead of defining command options in every defconfig, define a common Kconfig symbol that consolidates all command options that are supported by any TI platform. Also use imply keyword so that that specific option can be disabled if not required. Signed-off-by: Lokesh Vutla

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

2017-04-27 Thread Marek Vasut
On 04/27/2017 12:07 PM, Ley Foon Tan wrote: > On Thu, Apr 27, 2017 at 6:04 PM, Marek Vasut wrote: >> On 04/27/2017 12:00 PM, Ley Foon Tan wrote: >>> On Thu, Apr 27, 2017 at 5:35 PM, Marek Vasut wrote: On 04/27/2017 07:54 AM, Ley Foon Tan wrote: > On Thu,

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

2017-04-27 Thread Ley Foon Tan
On Thu, Apr 27, 2017 at 6:04 PM, Marek Vasut wrote: > On 04/27/2017 12:00 PM, Ley Foon Tan wrote: >> On Thu, Apr 27, 2017 at 5:35 PM, Marek Vasut wrote: >>> On 04/27/2017 07:54 AM, Ley Foon Tan wrote: On Thu, Apr 27, 2017 at 11:15 AM, Dinh Nguyen

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

2017-04-27 Thread Marek Vasut
On 04/27/2017 12:00 PM, Ley Foon Tan wrote: > On Thu, Apr 27, 2017 at 5:35 PM, Marek Vasut wrote: >> On 04/27/2017 07:54 AM, Ley Foon Tan wrote: >>> On Thu, Apr 27, 2017 at 11:15 AM, Dinh Nguyen wrote: On 04/25/2017 05:46 AM, Marek Vasut wrote:

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

2017-04-27 Thread Ley Foon Tan
On Thu, Apr 27, 2017 at 5:35 PM, Marek Vasut wrote: > On 04/27/2017 07:54 AM, Ley Foon Tan wrote: >> 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:

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

2017-04-27 Thread Marek Vasut
On 04/27/2017 07:54 AM, Ley Foon Tan wrote: > 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

[U-Boot] [PATCH 2/2][v2] board: ls2080ardb: Add LS2081ARDB board support

2017-04-27 Thread Priyanka Jain
LS2081ARDB board is similar to LS2080ARDB board with few differences like It hosts LS2081A SoC Default boot source is QSPI-boot It does not have IFC interface RTC and QSPI flash device are different It provides QIXIS access via I2C Signed-off-by: Priyanka Jain

[U-Boot] [PATCH 1/2][v2] armv8: fsl-layerscape: Add NXP LS2081A, LS2041A SoC support

2017-04-27 Thread Priyanka Jain
The QorIQ LS2081A SoC has eight 64-bit ARM v8 Cortex A-72 CPUs and is built on layerscape architecture. It is 40-pin derivative of LS2084A (non-AIOP personality of LS2088A). So feature-wise it is same as LS2084A. LS2081A has one more similar personality which has four CPUs: LS2041A

[U-Boot] [PATCH 2/3] arm, Makefile: Concatenation of u-boot-spl.bin and u-boot.img

2017-04-27 Thread Ashish Kumar
Concatenation of u-boot-spl.bin and u-boot.img for NXP layerscape platform SoC: LS1088A/LS2080A and their variants New Kconfig option added SPL_USE_HEADER for the same Signed-off-by: Ashish Kumar --- Makefile | 14 +-

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

2017-04-27 Thread B, Ravi
Lukasz >> > >> > 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. >It seems like a valid use case - maybe it

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

2017-04-27 Thread B, Ravi
Lukasz >> > >> > 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. >It seems like a valid use case - maybe it

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

2017-04-27 Thread B, Ravi
Lukasz >> diff --git a/common/dfu.c b/common/dfu.c index 0e9f5f5..fa77526 100644 >> --- a/common/dfu.c >> +++ b/common/dfu.c >> @@ -87,6 +87,9 @@ exit: >> g_dnl_unregister(); >> board_usb_cleanup(usbctrl_index, USB_INIT_DEVICE); >> >> +#ifdef CONFIG_SPL_BUILD >> +dfu_reset = 0; >>

[U-Boot] [PATCH 2/3] armv8: layerscape: Adjust memory mapping for Flash/SD card on LS1043A

2017-04-27 Thread Alison Wang
This patch is to adjust the memory mapping for FLash/SD card on LS1043AQDS and LS1043ARDB, such as PPA firmware load address, FMAN firmware load address, QE firmware load address, U-Boot start address on serial flash and environment address. Signed-off-by: Alison Wang ---

[U-Boot] [PATCH 1/3] arm: ls1021a: Adjust memory mapping for Flash/SD card on LS1021AQDS/TWR

2017-04-27 Thread Alison Wang
This patch is to adjust the memory mapping for FLash/SD card on LS1021AQDS and LS1021ATWR, such as U-Boot start address on serial Flash, QE firmware load address and environment address. Signed-off-by: Alison Wang --- include/configs/ls1021aqds.h | 10 +-

  1   2   >