Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-18 Thread Vikas MANOCHA
Hi, > On Aug 18, 2017, at 6:31 PM, Robert Nelson wrote: > >> On Fri, Aug 18, 2017 at 4:28 PM, Vikas MANOCHA wrote: >> Hi Bo, >> >>> -Original Message- >>> From: Bo Shen [mailto:voice.s...@gmail.com] >>> Sent: Thursday, August 17, 2017

Re: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point

2017-08-18 Thread Tom Rini
On Tue, Aug 15, 2017 at 03:21:15PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20170815113952.GE20467@bill-the-cat> you wrote: > > > > What CONFIG_STANDALONE_LOAD_ADDR is, is the location that we want > > hello_world, or other example stand alone applications loaded into > > memory

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-18 Thread Robert Nelson
On Fri, Aug 18, 2017 at 4:28 PM, Vikas MANOCHA wrote: > Hi Bo, > >> -Original Message- >> From: Bo Shen [mailto:voice.s...@gmail.com] >> Sent: Thursday, August 17, 2017 10:07 PM >> To: Robert Nelson ; Vikas MANOCHA >>

Re: [U-Boot] SPDX License status

2017-08-18 Thread Tom Rini
On Thu, Aug 17, 2017 at 10:09:10AM +0200, Wolfgang Denk wrote: > Dear Tom, > > a quick check reveals that we have a very large number (4,300+) files > in the U-Boot tree have no SPDX license tags, or - even worse - no > license information at all. > > I think this should be cleaned up. And I

Re: [U-Boot] [PATCHv2 2/2] igep00x0: merge igep0020 and igep0030 defconfigs to igep00x0_defconfig

2017-08-18 Thread Pau Pajuelo
Tested-by: Pau Pajuelo 2017-08-17 3:09 GMT+02:00 Ladislav Michl : > From: Pau Pajuelo > > Update igep00x0 code with the following features: > - Add board and revision detection for the boards: > - IGEP0020-RF > - IGEP0020-RC > -

Re: [U-Boot] [PATCH 1/2] igep00x0: move SPL routines into separate file

2017-08-18 Thread Pau Pajuelo
Tested-by: Pau Pajuelo 2017-08-17 3:06 GMT+02:00 Ladislav Michl : > Avoid cluttering board file with CONFIG_SPL_BUILD ifdefs > by moving SPL related functions into separate file. > > Signed-off-by: Ladislav Michl > --- >

Re: [U-Boot] [PATCH 0/2] igep00x0: defconfig merge

2017-08-18 Thread Pau Pajuelo
Hi ladis, 2017-08-17 3:05 GMT+02:00 Ladislav Michl : > Hi Pau, > > code with your patch "igep00x0: merge igep0020 and igep0030 defconfigs to > igep00x0_defconfig" applied no longer fits to sram (and patch even does > not apply anymore), so here's an update: > - move spl

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

2017-08-18 Thread York Sun
On 08/18/2017 01:37 AM, Madalin Bucur wrote: > Signed-off-by: Madalin Bucur > --- > board/freescale/ls1043aqds/eth.c | 1 + > board/freescale/ls1046aqds/eth.c | 1 + > 2 files changed, 2 insertions(+) > Together with https://patchwork.ozlabs.org/patch/803094/, this

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

2017-08-18 Thread York Sun
On 08/18/2017 01:36 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

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-18 Thread Vikas MANOCHA
Hi Bo, > -Original Message- > From: Bo Shen [mailto:voice.s...@gmail.com] > Sent: Thursday, August 17, 2017 10:07 PM > To: Robert Nelson ; Vikas MANOCHA > > Cc: U-Boot-Denx ; Christophe PRIOUZEAU >

Re: [U-Boot] [PATCH v2 00/15] dm: sata: mmc: Convert a sunxi board to driver model for MMC, SATA

2017-08-18 Thread Peter Robinson
Hi Simon On Fri, Jul 28, 2017 at 1:27 PM, Jaehoon Chung wrote: > Dear Simon, > > On 07/05/2017 04:31 AM, Simon Glass wrote: >> At present SCSI support for driver model works only with PCI controllers. >> >> This series makes the following changes: >> >> - Adjusts

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

2017-08-18 Thread Laurent Pinchart
Hi Hannes, On Friday 18 Aug 2017 10:07:19 Hannes Schmelzer wrote: > Laurent Pinchart schrieb am 04.08.2017 23:23:19: > > Hi Laurent, > > as told a few days ago i'm now coming back to this issue. Thank you. > > (I'm not subscribed to the list, please keep me CC'ed on replies) > > subscribing

Re: [U-Boot] [PATCH v1 1/1] net: phy: Add AFE settings to the Broadcom Cygnus phy

2017-08-18 Thread JD Zheng
On 07/19/2017 03:34 PM, Arun Parameswaran wrote: > Added the AFE (Analog Front End) settings for stability to the > Broadcom Cygnus phy. This improves the time take to perform > auto negotiation. > > Signed-off-by: Arun Parameswaran > --- >

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

2017-08-18 Thread Paweł Jarosz
Hi, W dniu 18.08.2017 o 14:45, Philipp Tomsich pisze: 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.

Re: [U-Boot] [PATCH v3 1/8] armv8: Add workaround for USB erratum A-009008

2017-08-18 Thread York Sun
On 08/18/2017 10:16 AM, Marek Vasut wrote: > On 08/17/2017 09:31 AM, Ran Wang wrote: >> USB High Speed (HS) EYE Height Adjustment >> USB HS speed eye diagram fails with the default value at >> many corners, particularly at a high temperature >> >> Optimal eye at TXREFTUNE value to 1001 is

Re: [U-Boot] [PATCH v3 1/8] armv8: Add workaround for USB erratum A-009008

2017-08-18 Thread Marek Vasut
On 08/18/2017 06:12 PM, York Sun wrote: > +Marek > > Marek, > > This patch set is to add errata workarounds for FSL SoCs, not to USB > driver. I intend to merge them for next release. It'd be nice to see the patch too ... > On 08/17/2017 12:48 AM, Ran Wang wrote: >> USB High Speed (HS) EYE

Re: [U-Boot] [PATCH v3 1/8] armv8: Add workaround for USB erratum A-009008

2017-08-18 Thread Marek Vasut
On 08/17/2017 09:31 AM, Ran Wang wrote: > USB High Speed (HS) EYE Height Adjustment > USB HS speed eye diagram fails with the default value at > many corners, particularly at a high temperature > > Optimal eye at TXREFTUNE value to 1001 is observed, change > set the same value. > >

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 > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot,1/5] rockchip: rk322x: update dram bank size

2017-08-18 Thread Philipp Tomsich
> The DRAM start address is not 0, so need to update the last bank size > as: > DRAM start addr + DRAM_SIZE - last bank start addr > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich

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 > 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 > Acked-by: Philipp Tomsich

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 > Acked-by: Philipp Tomsich > --- > > Changes in v2: None > >

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 > Acked-by: Philipp Tomsich > --- > > arch/arm/mach-rockchip/rk3399-board-spl.c | 1 -

Re: [U-Boot] [U-Boot, 16/18] rockchip: gpio: remove outdate/misleading comment

2017-08-18 Thread Philipp Tomsich
> Remove a comment claiming that this driver only supports the RK3288, > as we also use it on the RK3368, RK3399 and (most likely) on other > variants. > > Signed-off-by: Philipp Tomsich > --- > > drivers/gpio/rk_gpio.c | 1 - > 1 file changed, 1

Re: [U-Boot] [U-Boot, 18/18] rockchip: lion-rk3368: defconfig: resync w/ OF_LIVE and BOOTSTAGE enabled

2017-08-18 Thread Philipp Tomsich
> This adds OF_LIVE and BOOTSTAGE support for the RK3368-uQ7 and > regenerates the defconfig (picking up a few changes/reorderings) from > upstream Kconfig changes. > > Signed-off-by: Philipp Tomsich > --- > > configs/lion-rk3368_defconfig | 9 +++-- >

Re: [U-Boot] [U-Boot, 10/18] rockchip: pinctrl: rk3368: Convert to livetree

2017-08-18 Thread Philipp Tomsich
> Update the pinctrl driver for the RK3368 to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/pinctrl/rockchip/pinctrl_rk3368.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot,15/18] rockchip: gpio: convert to livetree

2017-08-18 Thread Philipp Tomsich
> Update the Rockchip GPIO-bank driver to support a live tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/gpio/rk_gpio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 17/18] rockchip: dts: rk3368-lion: add /chosen/tick-timer

2017-08-18 Thread Philipp Tomsich
> To support bootstage recording, we want to mark our DM timer as the > tick-timer; this triggers the support for 'trying harder' to read the > timer in the Rockchip DM timer driver, even if the device model isn't > ready yet. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [U-Boot,14/18] rockchip: i2c: Convert to livetree

2017-08-18 Thread Philipp Tomsich
> Update the Rockchip I2C driver to support livetree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/i2c/rk_i2c.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-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

Re: [U-Boot] [U-Boot,11/18] rockchip: spi: Convert to livetree

2017-08-18 Thread Philipp Tomsich
> Update the Rockchip SPI driver to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/spi/rk_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] rockchip: rk322x: enable fastboot to set boot mode tag

2017-08-18 Thread Philipp Tomsich
> To support fastboot "fastboot reboot-bootloader" cmd. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/mach-rockchip/rk322x-board.c | 15 +++ > 1 file changed, 15 insertions(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot,12/18] rockchip: sdhci: Convert to livetree

2017-08-18 Thread Philipp Tomsich
> Update the Rockchip SDHCI wrapper to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/mmc/rockchip_sdhci.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 13/18] rockchip: rk8xx: remove unused header includes

2017-08-18 Thread Philipp Tomsich
> Remove header file includes that have been left over after the > conversion to livetree-support. > > Signed-off-by: Philipp Tomsich > --- > > drivers/power/pmic/rk8xx.c | 2 -- > 1 file changed, 2 deletions(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 07/18] rockchip: timer: implement timer_get_boot_us

2017-08-18 Thread Philipp Tomsich
> To make the Rockchip DM timer driver useful for the timing of > bootstages, we need a few enhancements: > - This implements timer_get_boot_us. > - This avoids reinitialising the timer, if it has already been >set up (e.g. by our TPL and SPL stages). Now, we have a single >timebase

Re: [U-Boot] [U-Boot, RFC, 2/4] rockchip: timer: update for 32/64bit-aware OF_PLATDATA

2017-08-18 Thread Philipp Tomsich
> With dtoc emitting fdt64_t for addresses (and region sizes), the array > indices for accessing the reg[] array needs to be adjusted. This > adjusts the Rockchip DM timer driver to correctly handle OF_PLATDATA > given this new structure layout. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH v3 2/8] armv8: Add workaround for USB erratum A-009798

2017-08-18 Thread York Sun
On 08/17/2017 12:48 AM, Ran Wang wrote: > The default setting for USB High Speed Squelch Threshold results > in a threshold close to or lower than 100mV. This leads to Receiver > Compliance test failure for a 100mV threshold. > > The changes shift the threshold from ~100mV woards ~130mV resulting

Re: [U-Boot] [U-Boot, 01/18] bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL

2017-08-18 Thread Philipp Tomsich
> For timing our bootstages on the RK3368, which has a minimal TPL > (and where we consequently don't want to time the bootstages) and a > full-featured SPL (where we can bootstage recording), we need to > adjust the Makefile. > > Use the $(SPL_TPL_) macro in the Makefile for bootstage.o > >

Re: [U-Boot] [U-Boot, RFC, 1/4] rockchip: clk: rk3368: update for 32/64bit-aware OF_PLATDATA

2017-08-18 Thread Philipp Tomsich
> With dtoc emitting fdt64_t for addresses (and region sizes), the > array indices for accessing the reg[] array needs to be adjusted. > This adjusts the clk_rk3368 driver to correctly handle OF_PLATDATA > given this new structure layout. > > Signed-off-by: Philipp Tomsich

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 >

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 >

Re: [U-Boot] [U-Boot, RFC, 3/4] rockchip: rk3368: adjust DMC driver for 32/64bit-aware OF_PLATDATA

2017-08-18 Thread Philipp Tomsich
> With the new 32/64bit-aware dtoc, the type of reg is fdt64_t and the > OF_PLATDATA structure layout changes. This adjusts the DMC driver for > the RK3368 to track these changes. > > For the time being (i.e. until regmap_init_mem_platdata works for the > 64bit case), we won't use

Re: [U-Boot] [PATCH v3 1/8] armv8: Add workaround for USB erratum A-009008

2017-08-18 Thread York Sun
+Marek Marek, This patch set is to add errata workarounds for FSL SoCs, not to USB driver. I intend to merge them for next release. On 08/17/2017 12:48 AM, Ran Wang wrote: > USB High Speed (HS) EYE Height Adjustment > USB HS speed eye diagram fails with the default value at > many corners,

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

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

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 ++

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

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 > --- > >

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] 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 > --- > >

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 > --- > >

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 >

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

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 > --- >

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 > >

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 > >

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

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: > -

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(+) >

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 +++ >

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 > >

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,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: > -

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 > >

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, 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 > >

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

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

[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

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 >>

[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

[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

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 >

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 --

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:

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

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 > > --- >

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

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

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(+) >

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,

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

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?

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 +++ >

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 > >

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: > -

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 > >

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

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: > -

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 > >

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, 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

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, 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: > -

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: > -

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] 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 > --- > >

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 >

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

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

  1   2   >