Re: [U-Boot] [PATCH v4 14/19] mmc: dw_mmc: support transfer mode autodetection

2017-08-18 Thread Jaehoon Chung
On 08/17/2017 10:15 PM, =?UTF-8?q?Pawe=C5=82=20Jarosz?= wrote: > dw_mmc supports two transfer modes in u-boot: idma and fifo. > This patch adds autodetection of transfer mode and eliminates setting this in > host config struct > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none >

Re: [U-Boot] [PATCH v4 15/19] mmc: dw_mmc: rockchip: add support for rk3066 sdmmc

2017-08-18 Thread Jaehoon Chung
On 08/17/2017 10:15 PM, =?UTF-8?q?Pawe=C5=82=20Jarosz?= wrote: > This patch enables support for the Rockchip RK3066 SD/MMC controller, which > is based on Designware IP. The device supports SD, SDIO, MMC and eMMC. > > Signed-off-by: Paweł Jarosz Reviewed-by: Jaehoon Chung > --- > Changes sinc

Re: [U-Boot] [PATCH] fsl_esdhc: fix warning if CONFIG_DM_REGULATOR is not set

2017-08-18 Thread Jaehoon Chung
Hi Stefano. On 08/16/2017 08:16 PM, Stefano Babic wrote: > Warning appears when i.MX6 (icore) boards are built. ommit 9bb272e90acf7182311dc524df69b125eac92a53 Author: York Sun Date: Tue Aug 8 15:45:13 2017 -0700 driver: mmc: fsl_esdhc: Fix compiling warning Commit 4483b7eb added vari

Re: [U-Boot] [PATCH v4 1/1] mmc: Add MMC support for stm32h7 Socs

2017-08-18 Thread Jaehoon Chung
Hi Patrice. On 08/11/2017 11:35 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This patch adds SD/MMC support for STM32H7 SoCs. > > Here is an extraction of SDMMC main features, embedded in > STM32H7 SoCs. > The SD/MMC block include the following: > _ Full compliance with MultiM

Re: [U-Boot] [PATCH] fastboot: mmc: fix pointer size warning in 64bit system

2017-08-18 Thread Jaehoon Chung
On 08/14/2017 12:35 AM, Simon Glass wrote: > On 7 August 2017 at 02:14, Kever Yang wrote: >> To fix warning in ARM64: >> common/fb_mmc.c: In function ‘fb_mmc_update_zimage’: >> common/fb_mmc.c:216:13: warning: cast from pointer to integer of >> different size [-Wpointer-to-int-cast] >> hdr_addr

Re: [U-Boot] [PATCH] drivers: mmc: Avoid memory leak in case of failure

2017-08-18 Thread Jaehoon Chung
On 08/04/2017 06:34 PM, Suniel Mahesh wrote: > On Monday 17 July 2017 04:38 PM, Jaehoon Chung wrote: >> On 06/20/2017 01:53 AM, suni...@techveda.org wrote: >>> From: Suniel Mahesh >>> >>> priv pointer should be freed before returning with an error value >>> from exynos_dwmci_get_config(). >>> >>>

Re: [U-Boot] [PATCH] drivers: mmc: Change buffer type in ALLOC_CACHE_ALIGN_BUFFER macro

2017-08-18 Thread Jaehoon Chung
On 08/04/2017 06:33 PM, Suniel Mahesh wrote: > On Monday 17 July 2017 04:38 PM, Jaehoon Chung wrote: >> On 06/19/2017 04:33 PM, suni...@techveda.org wrote: >>> From: Suniel Mahesh >>> >>> __be32_to_cpu() accepts argument of type __be32. This patch changes type of >>> the buffer in ALLOC_CACHE_ALIG

Re: [U-Boot] [PATCH v2 0/5] rockchip: rk3229: add sdram and sd support

2017-08-18 Thread Dr. Philipp Tomsich
> On 18 Aug 2017, at 08:26, Kever Yang wrote: > > Philipp, > > > On 08/17/2017 04:34 PM, Dr. Philipp Tomsich wrote: >>> On 17 Aug 2017, at 09:17, Kever Yang wrote: >>> >>> >>> Add sdram driver for rk3229 and other fix like pinctrl and sd node. >>> >>> >>> Changes in v2: >>> - split this p

Re: [U-Boot] cmd/fdt: support single value replacement within an array

2017-08-18 Thread Hannes Schmelzer
Laurent Pinchart schrieb am 04.08.2017 23:23:19: > Hi Hannes, Hi Laurent, as told a few days ago i'm now coming back to this issue. > > (I'm not subscribed to the list, please keep me CC'ed on replies) subscribing to the list would be a great idea, so you're always up to date whats going on

[U-Boot] [PATCH] net: phy: realtek: fix enabling of the TX-delay for RTL8211F

2017-08-18 Thread Madalin Bucur
The old logic always enabled the TX-delay when the phy-mode was set to PHY_INTERFACE_MODE_RGMII. With this patch we enable the TX delay for PHY_INTERFACE_MODE_RGMII_ID and PHY_INTERFACE_MODE_RGMII_TXID and disable it for PHY_INTERFACE_MODE_RGMII. Based on a similar change made in the Linux Realtek

[U-Boot] [PATCH] armv8: ls1043/ls1046aqds: add support for RGMII_TXID

2017-08-18 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- board/freescale/ls1043aqds/eth.c | 1 + board/freescale/ls1046aqds/eth.c | 1 + 2 files changed, 2 insertions(+) diff --git a/board/freescale/ls1043aqds/eth.c b/board/freescale/ls1043aqds/eth.c index bf26376..3411bed 100644 --- a/board/freescale/ls1043aqds/eth.c

Re: [U-Boot] [EXTERNAL] Re: [U-Boot, v3] regulator: pbias: Add PBIAS regulator for proper voltage switching on MMC1

2017-08-18 Thread Jean-Jacques Hiblot
Hi Jaehoon, On 18/08/2017 08:52, Jaehoon Chung wrote: Dear JJ, On 08/07/2017 06:43 PM, Jean-Jacques Hiblot wrote: In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1 IO cells. Without this bias voltage these I/O cells can not function properly. The PBIAS cell is controlle

Re: [U-Boot] [EXTERNAL] Re: [U-Boot, v3] regulator: pbias: Add PBIAS regulator for proper voltage switching on MMC1

2017-08-18 Thread Jaehoon Chung
Hi JJ, On 08/18/2017 05:41 PM, Jean-Jacques Hiblot wrote: > Hi Jaehoon, > > > On 18/08/2017 08:52, Jaehoon Chung wrote: >> Dear JJ, >> >> On 08/07/2017 06:43 PM, Jean-Jacques Hiblot wrote: >>> In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1 >>> IO cells. Without this bia

Re: [U-Boot] [PATCH 1/1] efi_loader: efi_set_watchdog_timer return EFI_SUCCESS

2017-08-18 Thread Alexander Graf
On 17.08.17 19:18, Heinrich Schuchardt wrote: The UEFI standard requires a watchdog timer that is preset to five minutes. After this period the system is reset. The watchdog shall be disabled by ExitBootServices. An EFI application can call efi_set_watchdog_timer to either reset the watchdog

[U-Boot] [PULL 0/6] efi patch queue 2017-08-18

2017-08-18 Thread Alexander Graf
Hi Tom, This is my current patch queue for efi. Please pull. Alex The following changes since commit b24065c4ef21687787a74eef22dfa9232096f965: Merge git://git.denx.de/u-boot-i2c (2017-08-10 07:22:59 -0400) are available in the git repository at: git://github.com/agraf/u-boot.git tags/si

Re: [U-Boot] [PATCH v4 14/19] mmc: dw_mmc: support transfer mode autodetection

2017-08-18 Thread Paweł Jarosz
Hi, W dniu 18.08.2017 o 09:02, Jaehoon Chung pisze: On 08/17/2017 10:15 PM, =?UTF-8?q?Pawe=C5=82=20Jarosz?= wrote: dw_mmc supports two transfer modes in u-boot: idma and fifo. This patch adds autodetection of transfer mode and eliminates setting this in host config struct Signed-off-by: Pawe

[U-Boot] [PATCH 1/1] board/ls2081ardb: Update display information during boot

2017-08-18 Thread Santan Kumar
This patch modifies checkboard() for below changes: -Remove Board Arch print Arch contains Qixis architecture version This field is more relevant for QDS boards. For RDB boards it is always constant as '1'. -Correct the QMAP information. QMAP controls hows QSPI_A chi

[U-Boot] [PATCH 1/1] board/ls2080ardb: Remove CONFIG_DISPLAY_BOARDINFO_LATE

2017-08-18 Thread Santan Kumar
CONFIG_DISPLAY_BOARDINFO_LATE config is used to delay the prints of boardinfo late in cycle during uboot boot. This feature is not required in case of QSPI_BOOT. Signed-off-by: Santan Kumar Signed-off-by: Priyanka Jain --- This patch is split version of another patch https://patchwork.ozlabs.or

[U-Boot] [PATCH 1/1] board/ls2081ardb: Update QSPI flash type from n25q512a to s25fs512s

2017-08-18 Thread Santan Kumar
As per updated board design, different QSPI flash is connected on boards, hence change QSPI flash type from Micron n25q512a device to spansion s25fs512s device in dts and config. Signed-off-by: Santan Kumar Signed-off-by: Yogesh Gaur Signed-off-by: Priyanka Jain --- This patch is split vers

Re: [U-Boot] [PATCH] fastboot: mmc: fix pointer size warning in 64bit system

2017-08-18 Thread Sam Protsenko
On 18 August 2017 at 10:28, Jaehoon Chung wrote: > On 08/14/2017 12:35 AM, Simon Glass wrote: >> On 7 August 2017 at 02:14, Kever Yang wrote: >>> To fix warning in ARM64: >>> common/fb_mmc.c: In function ‘fb_mmc_update_zimage’: >>> common/fb_mmc.c:216:13: warning: cast from pointer to integer of

[U-Boot] [PATCH v1] env: Sort selection of default choices

2017-08-18 Thread Andy Shevchenko
It would be easier to catch out which platform is using which default. Signed-off-by: Andy Shevchenko --- env/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/env/Kconfig b/env/Kconfig index 748f534d11..20321f862e 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -3,

Re: [U-Boot] [PATCH 1/1] board/ls2081ardb: Update display information during boot

2017-08-18 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Santan > Kumar > Sent: Friday, August 18, 2017 3:21 PM > To: u-boot@lists.denx.de; York Sun > Cc: Priyanka Jain > Subject: [U-Boot] [PATCH 1/1] board/ls2081ardb: Update display information > during boo

Re: [U-Boot] [PATCH 1/1] board/ls2081ardb: Update QSPI flash type from n25q512a to s25fs512s

2017-08-18 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Santan > Kumar > Sent: Friday, August 18, 2017 3:21 PM > To: u-boot@lists.denx.de; York Sun > Cc: Priyanka Jain > Subject: [U-Boot] [PATCH 1/1] board/ls2081ardb: Update QSPI flash type from > n25q512a

Re: [U-Boot] [PATCH 1/1] board/ls2080ardb: Remove CONFIG_DISPLAY_BOARDINFO_LATE

2017-08-18 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Santan > Kumar > Sent: Friday, August 18, 2017 3:21 PM > To: u-boot@lists.denx.de; York Sun > Cc: Priyanka Jain > Subject: [U-Boot] [PATCH 1/1] board/ls2080ardb: Remove > CONFIG_DISPLAY_BOARDINFO_LATE

[U-Boot] REGRESSION: After rc2 Edison is not capable to get environment

2017-08-18 Thread Andy Shevchenko
Hi! Do not have time to find a culprit (pretty sure it's env patch series from Simon). v2017-09.rc2: --- 8< --- 8< --- Hit any key to stop autoboot: 0 => => printenv audio_codec_name=audio_codec="dummy" boot_edsboot=zboot 0x10 0 0x300 0x100 boot_target_cmd=run do_flash_os;run do_pro

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

2017-08-18 Thread Ashish Kumar
This patch adds support for RGMII protocol NXP'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 Signed-off-by: Ashish Kumar --- depends upon base platform patches This is v2 for https://pa

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

2017-08-18 Thread Ashish Kumar
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 --- depends upon base platform patches v2: for https://patchwork.ozlabs.org/patch/755618/ Make fu

Re: [U-Boot] [PATCH 1/1] board/ls2080ardb: Remove CONFIG_DISPLAY_BOARDINFO_LATE

2017-08-18 Thread Poonam Aggrwal
-Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Prabhakar Kushwaha Sent: Friday, August 18, 2017 3:53 PM To: Santan Kumar ; u-boot@lists.denx.de; York Sun Cc: Priyanka Jain Subject: Re: [U-Boot] [PATCH 1/1] board/ls2080ardb: Remove CONFIG_DISPLAY_BO

Re: [U-Boot] [PATCH v2 0/5] rockchip: rk3229: add sdram and sd support

2017-08-18 Thread Kever Yang
On 08/18/2017 03:36 PM, Dr. Philipp Tomsich wrote: On 18 Aug 2017, at 08:26, Kever Yang wrote: Philipp, On 08/17/2017 04:34 PM, Dr. Philipp Tomsich wrote: On 17 Aug 2017, at 09:17, Kever Yang wrote: Add sdram driver for rk3229 and other fix like pinctrl and sd node. Changes in v2: - s

Re: [U-Boot] [U-Boot, v4, 04/19] rockchip: rk3066: add clock driver for rk3066 soc

2017-08-18 Thread Philipp Tomsich
On Thu, 17 Aug 2017, Paweł Jarosz wrote: Add clock driver for rk3066 platform. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks - moved clk init to tpl Changes since v2: - none Changes since v3: - none arch/arm/include/asm/arch-rockch

Re: [U-Boot] [PATCH 1/1] board/ls2081ardb: Update QSPI flash type from n25q512a to s25fs512s

2017-08-18 Thread Santan Kumar
> -Original Message- > From: Prabhakar Kushwaha > Sent: Friday, August 18, 2017 3:52 PM > To: Santan Kumar ; u-boot@lists.denx.de; York > Sun > Cc: Priyanka Jain > Subject: RE: [U-Boot] [PATCH 1/1] board/ls2081ardb: Update QSPI flash type > from n25q512a to s25fs512s > > > > -Orig

Re: [U-Boot] [PATCH v2 1/3] arm: omap: Define command for booting Android from eMMC

2017-08-18 Thread Jaehoon Chung
On 08/16/2017 09:55 PM, Sam Protsenko wrote: > If SD card is present -- try to boot from it first. If no -- try to boot > Android from eMMC. Well, i didn't know exactly..but is it working? > > Signed-off-by: Sam Protsenko > --- > Changes in v2: > - Do not remove the attempt to boot regular Lin

Re: [U-Boot] [U-Boot,v4,06/19] rockchip: rk3066: add core support

2017-08-18 Thread Philipp Tomsich
On Thu, 17 Aug 2017, Paweł Jarosz wrote: Add core skeleton for rk3066 Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich See below for a few comments. --- Changes since v1: - updated to shifted masks - moved syscon.h below spl.h - changed error to debug a

Re: [U-Boot] [U-Boot,v4,08/19] rockchip: rk3066: add sdram driver

2017-08-18 Thread Philipp Tomsich
On Thu, 17 Aug 2017, Paweł Jarosz wrote: Add rockchip rk3066 sdram driver Signed-off-by: Paweł Jarosz Acked-by: Simon Glass Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes since v1: - use common rockchip_sdram_size - moved sdram init from sdram_init.c I am still u

[U-Boot] [PATCH] fdt: fix 'prop (...) not found!' error in 'fdt set' command

2017-08-18 Thread Hannes Schmelzer
This commit brings things back to the well known working state of the command. - With commit 9620d87259572ef21f0df60988d9a932ca673779 (cmd/fdt: support single value replacement within an array) there was an error introduced modifying (inserting) a property to a device-tree node. fdt_getprop(...) r

Re: [U-Boot] [U-Boot, v4, 10/19] mtd: nand: add the rockchip nand controller driver

2017-08-18 Thread Philipp Tomsich
On Thu, 17 Aug 2017, Paweł Jarosz wrote: Add basic Rockchip nand driver. Driver in current state has 16, 24, 40, 60 per 1024B BCH/ECC ability and 8 bit asynchronous flash interface support. Other features will come later. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes si

Re: [U-Boot] [U-Boot, v4, 11/19] rockchip: mkimage: add support for rockchip nand boot image

2017-08-18 Thread Philipp Tomsich
On Thu, 17 Aug 2017, Paweł Jarosz wrote: The Rockchip boot ROM requires a particular file format for booting from NAND: * It starts with 512-byte, rc4 encoded header and is aligned to nand page size * Then first 2KB of first stage loader (tpl) aligned to nand page size * n empty pages * sec

[U-Boot] Antwort: Re: cmd/fdt: support single value replacement within an array

2017-08-18 Thread Hannes Schmelzer
Laurent Pinchart schrieb am 18.08.2017 10:14:39: > Von: Laurent Pinchart > > Hi Hannes, Hi Laurent, i will provide some patch for fixing this issue. cheers, Hannes > > On Friday 18 Aug 2017 10:07:19 Hannes Schmelzer wrote: > > Laurent Pinchart schrieb am 04.08.2017 23:23:19: > > > > Hi L

Re: [U-Boot] [U-Boot, v4, 14/19] mmc: dw_mmc: support transfer mode autodetection

2017-08-18 Thread Philipp Tomsich
On Thu, 17 Aug 2017, Paweł Jarosz wrote: dw_mmc supports two transfer modes in u-boot: idma and fifo. This patch adds autodetection of transfer mode and eliminates setting this in host config struct Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes

Re: [U-Boot] [U-Boot, v4, 16/19] armv7: support rk3066 early back to bootrom in vector.S

2017-08-18 Thread Philipp Tomsich
On Thu, 17 Aug 2017, Paweł Jarosz wrote: Rockchip bootrom first reads 1KB data from nand at offset 0x10080C00 and executes it. Then waits for back to bootrom and loads another 32KB to sram which also executes. Sdram initialisation code needs to be in one of these two steps. Then bootloader loa

Re: [U-Boot] [U-Boot, v3, 15/19] mmc: dw_mmc: rockchip: add support for rk3066 sdmmc

2017-08-18 Thread Philipp Tomsich
> This patch enables support for the Rockchip RK3066 SD/MMC controller, which > is based on Designware IP. The device supports SD, SDIO, MMC and eMMC. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - dropped OF_PLATDATA > > Changes since v2: > - none > > drivers/mmc/rockchip_dw_

Re: [U-Boot] rockchip: rk322x: update MACRO for mmc clksel reg

2017-08-18 Thread Philipp Tomsich
> The description for eMMC/SDIO/SDMMC src is not correct, > update the CRU_CLKSEL11_CON value definition according to TRM. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > arch/arm/include/asm/arch-rockchip/cru_rk322x.h | 9 +++-- > 1 file changed, 3 insertions(+), 6 del

Re: [U-Boot] [U-Boot,v2,2/2] armv8: mmu: add space around operator

2017-08-18 Thread Philipp Tomsich
> Add space around operator "+", make it > match the coding style. > > Signed-off-by: Andy Yan > --- > > Changes in v2: None > > arch/arm/include/asm/armv8/mmu.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich __

Re: [U-Boot] [U-Boot, v4, 02/19] rockchip: rk3066: add rk3066 pinctrl driver

2017-08-18 Thread Philipp Tomsich
> Add driver supporting pin multiplexing on rk3066 platform. > > Signed-off-by: Paweł Jarosz > Acked-by: Philipp Tomsich > --- > Changes since v1: > - updated to shifted masks > - added nand support > > Changes since v2: > - none > > Changes since v3: > - none > > arch/arm/include/asm/arch-

Re: [U-Boot] [U-Boot, v4, 01/19] rockchip: rk3066: add grf header file

2017-08-18 Thread Philipp Tomsich
> grf is needed by various drivers for rk3066 soc. > > Signed-off-by: Paweł Jarosz > Acked-by: Philipp Tomsich > --- > Changes since v1: > - updated to shifted masks > > Changes since v2: > - none > > Changes since v3: > - none > > arch/arm/include/asm/arch-rockchip/grf_rk3066.h | 621 > ++

Re: [U-Boot] [U-Boot, v2, 4/5] rockchip: rk322x: pinctrl: fix IO MASK error on sdcard pin

2017-08-18 Thread Philipp Tomsich
> Fix the IOMUX setting for SDcard CMD pin at the same time. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > drivers/pinctrl/rockchip/pinctrl_rk322x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich _

Re: [U-Boot] [U-Boot, v4, 03/19] rockchip: rk3066: add sysreset driver

2017-08-18 Thread Philipp Tomsich
> Add support for system reset for rk3066 socs. > > Signed-off-by: Paweł Jarosz > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > Changes since v1: > - updated to shifted masks > > Changes since v2: > - none > > Changes since v3: > - none > > drivers/sysreset/Makefile

Re: [U-Boot] [U-Boot, v4, 12/19] rockchip: board: rk3066: convert board_usb_init to live tree functions

2017-08-18 Thread Philipp Tomsich
> Use live tree functions to fill dwc2_plat_otg_data structure in > board_usb_init. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - none > > arch/arm/mach-rockchip/rk3066-board.c | 52 > +---

Re: [U-Boot] [U-Boot, v4, 09/19] mtd: nand: add support for the Sandisk SDTNQGAMA chip

2017-08-18 Thread Philipp Tomsich
> Sandisk SDTNQGAMA is a 8GB size, 3.3V 8 bit chip with 16KB page size, 1KB > write size and 40 bit ecc support > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - none > > drivers/mtd/nand/nand_ids.c | 3 +++ > 1 file

Re: [U-Boot] [U-Boot, v4, 15/19] mmc: dw_mmc: rockchip: add support for rk3066 sdmmc

2017-08-18 Thread Philipp Tomsich
> This patch enables support for the Rockchip RK3066 SD/MMC controller, which > is based on Designware IP. The device supports SD, SDIO, MMC and eMMC. > > Signed-off-by: Paweł Jarosz > Reviewed-by: Jaehoon Chung > --- > Changes since v1: > - dropped OF_PLATDATA > > Changes since v2: > - none

Re: [U-Boot] [U-Boot, v2, 3/5] rockchip: rk322x: pinctrl: using compatible name same with dts

2017-08-18 Thread Philipp Tomsich
> The dts from kernel is using rk3228-pinctrl as compatible name, > need to sync with it to make the driver work. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - split this patch in two patches > > drivers/pinctrl/rockchip/pinctrl_rk322x.c | 6 +++--- > 1 file changed, 3 insertions(

Re: [U-Boot] [U-Boot, v4, 13/19] ARM: dts: rockchip: prefer u-boot, dm-pre-reloc rather than u-boot, dm-spl

2017-08-18 Thread Philipp Tomsich
> rk3xxx.dtsi is used by rk3188 and rk3066. rk3188 uses alocated data in spl > but rk3066 needs it in tpl. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - none > > arch/arm/dts/rk3xxx.dtsi | 8 > 1 file cha

Re: [U-Boot] [U-Boot,v4,18/19] dfu: fix spl build

2017-08-18 Thread Philipp Tomsich
> In current state dfu depends on cmd/mtdparts.c which isn't build in SPL. > This patch resolves it by cutting out unwanted code in SPL build. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - removed unneded space > >

Re: [U-Boot] [U-Boot, v4, 19/19] mtd: nand: spl: allow build nand_bbt, nand_ids and nand_util

2017-08-18 Thread Philipp Tomsich
> This patch allows building of nand_bbt, nand_ids, nand_util for nand drivers > that need it. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - none > > drivers/mtd/nand/Makefile | 3 +++ > 1 file changed, 3 insertio

Re: [U-Boot] [U-Boot, v4, 17/19] rockchip: sysreset: deduplicate rk3066 and rk3188 sysreset drivers

2017-08-18 Thread Philipp Tomsich
> Sysreset drivers for rk3066 and rk3188 contain common elements which can be > reused. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - none > > .../include/asm/arch-rockchip/sysreset_common.h| 20 +++ >

Re: [U-Boot] rockchip: i2c: fix >32 byte reads

2017-08-18 Thread Philipp Tomsich
On Thu, 3 Aug 2017, Wadim Egorov wrote: The hw can read up to 32 bytes at a time. If we need more than one chunk, we have to enter the plain RX mode. Why does this need to be in 'plain RX' mode for more than 32 bytes? What happens if someone wants to write/transmit more than 32 bytes? Sig

Re: [U-Boot] [U-Boot, v3] rockchip: rk3288: Add reset reason detection

2017-08-18 Thread Philipp Tomsich
On Thu, 3 Aug 2017, Wadim Egorov wrote: Sometimes it's helpful to know the reset reason caused in the SoC. Add reset reason detection for the RK3288 SoC. This will set an environment variable which represents the reset reason. Signed-off-by: Wadim Egorov Acked-by: Philipp Tomsich --- Change

Re: [U-Boot] [U-Boot, 1/3] rockchip: evb-rk3399: add ethaddr and serial# init

2017-08-18 Thread Philipp Tomsich
Kever, On Thu, 27 Jul 2017, Kever Yang wrote: Sync the code from puma-rk3399: 8adc9d1 rockchip: board: puma_rk3399: derive ethaddr from cpuid 9415b9a rockchip: board: puma_rk3399: add support for serial# and cpuid# via efuses I am not keen on duplicating this code all over the place. Can we f

Re: [U-Boot] [U-Boot, 2/3] rockchip: firefly-rk3399: enable EFUSE driver

2017-08-18 Thread Philipp Tomsich
On Thu, 27 Jul 2017, Kever Yang wrote: Enable the EFUSE driver for get the cpuid and serial. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich R --- configs/firefly-rk3399_defconfig | 2 ++ include/configs/evb_rk3399.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/configs

Re: [U-Boot] [U-Boot, 2/3] rockchip: firefly-rk3399: enable EFUSE driver

2017-08-18 Thread Philipp Tomsich
> Enable the EFUSE driver for get the cpuid and serial. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > configs/firefly-rk3399_defconfig | 2 ++ > include/configs/evb_rk3399.h | 3 +++ > 2 files changed, 5 insertions(+) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 3/3] rockchip: firefly-rk3399: enable ATF and dwmmc

2017-08-18 Thread Philipp Tomsich
> enable the ATF option and SDCard in defconfig. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > configs/firefly-rk3399_defconfig | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > Reviewed-by: Philipp Tomsich ___

Re: [U-Boot] rockchip: enable rk322x sysreset driver

2017-08-18 Thread Philipp Tomsich
> The sysreset driver for rk322x is ready but not enabled, > add it to Makefile to make sure it's enabled. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > drivers/sysreset/Makefile | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] rockchip: rk322x: Disable integrated macphy for saving power consuming

2017-08-18 Thread Philipp Tomsich
> Unfortunately, the integrated macphy default is enabled, which will > increase power consuming, if we do not use this PHY. So let's disable > it at first, which will save power consuming. If we really use it, then > enable it in driver level. > > Signed-off-by: David Wu > Reviewed-by: Kever Yan

Re: [U-Boot] rockchip: dts: rk3399-evb: remove redundant gmac node

2017-08-18 Thread Philipp Tomsich
> There are two same gmac node, remove one. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/dts/rk3399-evb.dts | 16 > 1 file changed, 16 deletions(-) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing l

Re: [U-Boot] [U-Boot, v2] rockchip: phycore: Read configuration EEPROM & set ethaddr in late init

2017-08-18 Thread Philipp Tomsich
> Read SoM information from EEPROM and set ethaddr in late init. > > Signed-off-by: Wadim Egorov > Acked-by: Philipp Tomsich > --- > Changes in v2: > - Fixed fdt_path_offset() error handling > > --- > board/phytec/phycore_rk3288/phycore-rk3288.c | 62 > > board/ph

Re: [U-Boot] rockchip: dts: rk3399-evb: remove redundant gmac node

2017-08-18 Thread Philipp Tomsich
> There are two same gmac node, remove one. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > Reviewed-by: Philipp Tomsich > --- > > arch/arm/dts/rk3399-evb.dts | 16 > 1 file changed, 16 deletions(-) > Acked-by: Philipp Tomsich ___

Re: [U-Boot] [PATCH v5 01/30] Makefile: Rename 'env' target to 'environ'

2017-08-18 Thread Måns Rullgård
Simon Glass writes: > This target stops us using 'env' as a subdirectory. It is not mentioned in > the help so seems to be an internal target. Rename it. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in

Re: [U-Boot] [PATCH] common/board_f.c: remove CONFIG_SYS_GENERIC_GLOBAL_DATA

2017-08-18 Thread Simon Glass
On 15 August 2017 at 15:11, Thomas Petazzoni wrote: > CONFIG_SYS_GENERIC_GLOBAL_DATA is no longer used by any board or > platform, so support for it can be dropped. > > Signed-off-by: Thomas Petazzoni > --- > README | 6 -- > common/board_f.c | 27 -

Re: [U-Boot] [PATCH] doc: license: Add license header to the README.dfutftp file

2017-08-18 Thread Wolfgang Denk
Dear Lukasz, In message <1503004378-4745-1-git-send-email-lu...@denx.de> you wrote: > Signed-off-by: Lukasz Majewski > --- > doc/README.dfutftp | 8 > 1 file changed, 8 insertions(+) Thanks! Reviewed-by: Wolfgang Denk Best regards, Wolfgang Denk -- DENX Software Engineering GmbH

Re: [U-Boot] [PATCH] armv8: ls1043/ls1046aqds: add support for RGMII_TXID

2017-08-18 Thread Joe Hershberger
On Fri, Aug 18, 2017 at 3:37 AM, Madalin Bucur wrote: > Signed-off-by: Madalin Bucur Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] net: phy: realtek: fix enabling of the TX-delay for RTL8211F

2017-08-18 Thread Joe Hershberger
On Fri, Aug 18, 2017 at 3:35 AM, Madalin Bucur wrote: > The old logic always enabled the TX-delay when the phy-mode was set to > PHY_INTERFACE_MODE_RGMII. With this patch we enable the TX delay for > PHY_INTERFACE_MODE_RGMII_ID and PHY_INTERFACE_MODE_RGMII_TXID and > disable it for PHY_INTERFACE_M

[U-Boot] [PATCH v2 1/1] efi_loader: allow return value in EFI_CALL

2017-08-18 Thread Heinrich Schuchardt
Macro EFI_CALL was introduced to call an UEFI function. Unfortunately it does not support return values. Most UEFI functions have a return value. So let's rename EFI_CALL to EFI_CALL_VOID and introduce a new EFI_CALL macro that supports return values. Cc: Rob Clark Signed-off-by: Heinrich Schuch

[U-Boot] [PATCH v4 1/1] efi_loader: write protocol GUID in OpenProtocol

2017-08-18 Thread Heinrich Schuchardt
To understand what is happening in OpenProtocol or LocateProtocol it is necessary to know the protocol interface GUID. Let's write a debug message. Cc: Rob Clark Signed-off-by: Heinrich Schuchardt --- v4: use %pUl format string correct indention of output v3: commit messa

Re: [U-Boot] [U-Boot, v2] rockchip: phycore: Read configuration EEPROM & set ethaddr in late init

2017-08-18 Thread Dr. Philipp Tomsich
Wadim, > On 18 Aug 2017, at 15:28, Philipp Tomsich > wrote: > >> Read SoM information from EEPROM and set ethaddr in late init. >> >> Signed-off-by: Wadim Egorov >> Acked-by: Philipp Tomsich >> --- >> Changes in v2: >> - Fixed fdt_path_offset() error handling >> This patch breaks the build

[U-Boot] [PATCH] Fix 'notes' typos

2017-08-18 Thread Anatolij Gustschin
s/notes/nodes Signed-off-by: Anatolij Gustschin --- lib/Kconfig| 4 ++-- tools/dtoc/dtb_platdata.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Kconfig b/lib/Kconfig index 8163617..d73052d 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -185,7 +185,7

Re: [U-Boot] [U-Boot, v2, 4/5] rockchip: rk322x: pinctrl: fix IO MASK error on sdcard pin

2017-08-18 Thread Philipp Tomsich
> Fix the IOMUX setting for SDcard CMD pin at the same time. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2: None > > drivers/pinctrl/rockchip/pinctrl_rk322x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v2, 3/5] rockchip: rk322x: pinctrl: using compatible name same with dts

2017-08-18 Thread Philipp Tomsich
> The dts from kernel is using rk3228-pinctrl as compatible name, > need to sync with it to make the driver work. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > Changes in v2: > - split this patch in two patches > > drivers/pinctrl/rockchip/pinctrl_rk322x.c | 6 +++---

Re: [U-Boot] [U-Boot, v4, 09/19] mtd: nand: add support for the Sandisk SDTNQGAMA chip

2017-08-18 Thread Philipp Tomsich
> Sandisk SDTNQGAMA is a 8GB size, 3.3V 8 bit chip with 16KB page size, 1KB > write size and 40 bit ecc support > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - none > > drivers/mtd/nand/nand_ids.c | 3 +++ > 1 file

Re: [U-Boot] [U-Boot, v4, 11/19] rockchip: mkimage: add support for rockchip nand boot image

2017-08-18 Thread Philipp Tomsich
> The Rockchip boot ROM requires a particular file format for booting from NAND: > > * It starts with 512-byte, rc4 encoded header and is aligned to nand page size > > * Then first 2KB of first stage loader (tpl) aligned to nand page size > * n empty pages > > * second 2KB of first stage loader

Re: [U-Boot] [U-Boot, v4, 10/19] mtd: nand: add the rockchip nand controller driver

2017-08-18 Thread Philipp Tomsich
> Add basic Rockchip nand driver. > > Driver in current state has 16, 24, 40, 60 per 1024B BCH/ECC ability and 8 > bit asynchronous flash interface support. Other features will come later. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - fixed corre

Re: [U-Boot] [U-Boot,v4,18/19] dfu: fix spl build

2017-08-18 Thread Philipp Tomsich
> In current state dfu depends on cmd/mtdparts.c which isn't build in SPL. > This patch resolves it by cutting out unwanted code in SPL build. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - removed unneded space > >

Re: [U-Boot] [U-Boot, v4, 12/19] rockchip: board: rk3066: convert board_usb_init to live tree functions

2017-08-18 Thread Philipp Tomsich
> Use live tree functions to fill dwc2_plat_otg_data structure in > board_usb_init. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - none > > arch/arm/mach-rockchip/rk3066-board.c | 52 > +---

Re: [U-Boot] [U-Boot, v4, 13/19] ARM: dts: rockchip: prefer u-boot, dm-pre-reloc rather than u-boot, dm-spl

2017-08-18 Thread Philipp Tomsich
> rk3xxx.dtsi is used by rk3188 and rk3066. rk3188 uses alocated data in spl > but rk3066 needs it in tpl. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - none > > arch/arm/dts/rk3xxx.dtsi | 8 > 1 file cha

Re: [U-Boot] [U-Boot, v4, 19/19] mtd: nand: spl: allow build nand_bbt, nand_ids and nand_util

2017-08-18 Thread Philipp Tomsich
> This patch allows building of nand_bbt, nand_ids, nand_util for nand drivers > that need it. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - none > > drivers/mtd/nand/Makefile | 3 +++ > 1 file changed, 3 insertio

Re: [U-Boot] [U-Boot, 2/3] ARM: dts: rockchip: add USB nodes for evb-rv1108

2017-08-18 Thread Philipp Tomsich
> This patch adds USB OTG/EHCI/OHCI nodes for evb-rv1108 USB ports. > > Signed-off-by: William Wu > --- > arch/arm/dts/rv1108-evb.dts | 22 ++ > arch/arm/dts/rv1108.dtsi| 24 > 2 files changed, 46 insertions(+) > Acked-by: Philipp Tomsich _

Re: [U-Boot] [U-Boot, v4, 15/19] mmc: dw_mmc: rockchip: add support for rk3066 sdmmc

2017-08-18 Thread Philipp Tomsich
> This patch enables support for the Rockchip RK3066 SD/MMC controller, which > is based on Designware IP. The device supports SD, SDIO, MMC and eMMC. > > Signed-off-by: Paweł Jarosz > Reviewed-by: Jaehoon Chung > --- > Changes since v1: > - dropped OF_PLATDATA > > Changes since v2: > - none

Re: [U-Boot] [U-Boot, 3/3] rockchip: rk3399: enable preboot for boot mode detect

2017-08-18 Thread Philipp Tomsich
> We need to get into preboot once we detect that we are not > get into normal boot. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > include/configs/rk3399_common.h | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Philipp Tomsich _

Re: [U-Boot] [U-Boot, v4, 17/19] rockchip: sysreset: deduplicate rk3066 and rk3188 sysreset drivers

2017-08-18 Thread Philipp Tomsich
> Sysreset drivers for rk3066 and rk3188 contain common elements which can be > reused. > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - none > > .../include/asm/arch-rockchip/sysreset_common.h| 20 +++ >

Re: [U-Boot] [U-Boot, v4, 14/19] mmc: dw_mmc: support transfer mode autodetection

2017-08-18 Thread Philipp Tomsich
> dw_mmc supports two transfer modes in u-boot: idma and fifo. > This patch adds autodetection of transfer mode and eliminates setting this in > host config struct > > Signed-off-by: Paweł Jarosz > --- > Changes since v1: > - none > > Changes since v2: > - none > > Changes since v3: > - none

Re: [U-Boot] [U-Boot, 2/3] ARM: dts: rockchip: add USB nodes for evb-rv1108

2017-08-18 Thread Philipp Tomsich
> This patch adds USB OTG/EHCI/OHCI nodes for evb-rv1108 USB ports. > > Signed-off-by: William Wu > Reviewed-by: Simon Glass > --- > arch/arm/dts/rv1108-evb.dts | 22 ++ > arch/arm/dts/rv1108.dtsi| 24 > 2 files changed, 46 insertions(+) > Acke

Re: [U-Boot] [U-Boot, 1/3] configs: rockchip: add USB configs for evb-rv1108 board

2017-08-18 Thread Philipp Tomsich
> This patch adds USB configs to support the USB OTG port(consist > of DWC2 controller) and the USB Host port(consist of EHCI and OHCI > controllers) on evb-rv1108 board, and also support fastboot over > USB and USB mass storage. > > Signed-off-by: William Wu > --- > configs/evb-rv1108_defconfig

Re: [U-Boot] [U-Boot, 3/3] rockchip: evb-rv1108: add usb init function for dwc2 gadget

2017-08-18 Thread Philipp Tomsich
> This patch implements board_usb_init() for dwc2 gadget, it > generally called from do_fastboot to do dwc2 udc probe and > support fastboot over USB. > > Signed-off-by: William Wu > --- > board/rockchip/evb_rv1108/evb_rv1108.c | 47 > ++ > 1 file changed, 47 ins

Re: [U-Boot] [U-Boot,1/3] rockchip: rk3399: detect boot mode

2017-08-18 Thread Philipp Tomsich
> U-Boot fastboot, kernel may reboot with parameter which require > bootloader to get into different boot mode, detect it and enter > proper mode. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/mach-rockchip/rk3399/Kconfig | 1 + > arch/arm/mach-rockchip/rk3399/r

Re: [U-Boot] rockchip: enable rk322x sysreset driver

2017-08-18 Thread Philipp Tomsich
> The sysreset driver for rk322x is ready but not enabled, > add it to Makefile to make sure it's enabled. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > Reviewed-by: Philipp Tomsich > --- > > drivers/sysreset/Makefile | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Philipp

Re: [U-Boot] rockchip: rk3399: spl: remove unused header inclusion

2017-08-18 Thread Philipp Tomsich
> fdtdec.h is included, but not used in rk3399-board-spl.c: remove the > '#include'-statement. > > Signed-off-by: Philipp Tomsich > --- > > arch/arm/mach-rockchip/rk3399-board-spl.c | 1 - > 1 file changed, 1 deletion(-) > Acked-by: Philipp Tomsich ___

Re: [U-Boot] [U-Boot, 4/4] rockchip: dts: rk3368: reduce the number of nodes seen in TPL

2017-08-18 Thread Philipp Tomsich
> The RK3368 TPL stage always returns to the BootROM, so it has no need > for the eMMC, SD and SPI nodes. This marks those nodes (that should > be included in SPL, but not TPL) as 'u-boot,dm-spl'. > > Signed-off-by: Philipp Tomsich > --- > > arch/arm/dts/rk3368-lion-u-boot.dtsi | 8 >

Re: [U-Boot] [U-Boot, 09/18] rockchip: clk: rk3368: Convert to livetree

2017-08-18 Thread Philipp Tomsich
> Update the clock driver for the RK3368 to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/clk/rockchip/clk_rk3368.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich ___ U-Boot ma

Re: [U-Boot] [U-Boot, 2/3] rockchip: rk3399: enable fastboot to set boot mode tag

2017-08-18 Thread Philipp Tomsich
> fastboot have a command "reboot-bootloader" which require the boot > loader to reboot and get into fastboot mode again. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/mach-rockchip/rk3399/rk3399.c | 14 ++ > 1 file changed, 14 insertions(+) > Acked-

Re: [U-Boot] [U-Boot,06/18] rockchip: mmc: convert to livetree

2017-08-18 Thread Philipp Tomsich
> Update the Rockchip-specific wrapper for the Designware driver to > support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/mmc/rockchip_dw_mmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich ___

Re: [U-Boot] [U-Boot,08/18] rockchip: timer: Convert to livetree

2017-08-18 Thread Philipp Tomsich
> Update the Rockchip timer driver to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/timer/rockchip_timer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich ___ U-Boot mailing lis

  1   2   >