Re: [U-Boot] [PATCH v6 07/18] disk: part: add support of GPT partitioning over MTD

2017-05-14 Thread Simon Glass
Hi Patrick, On 11 May 2017 at 01:51, Patrick Delaunay wrote: > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v6: > - invalid offset my_lba in is_secondary_gpt_valid_mtd() > the secondary GPT header wasn't detected > - add comment for functions > > Chan

Re: [U-Boot] [PATCH v6 17/18] distro: add boot for UBI in GPT over MTD

2017-05-14 Thread Simon Glass
On 11 May 2017 at 01:52, Patrick Delaunay wrote: > Now that we can expose boot for UBI partition on MTD devices > (NOR and NAND). > > This patch adds the distro script to automatically > payloads from UBI volume called boot detected in a bootable partition > in GPT partition in the MTD device. > >

Re: [U-Boot] [PATCH] rockchip: board: puma_rk3399: build FIT image via u-boot.itb

2017-05-14 Thread Simon Glass
On 5 May 2017 at 11:22, Philipp Tomsich wrote: Commit message? > Signed-off-by: Philipp Tomsich > --- > > board/theobroma-systems/puma_rk3399/README | 5 ++--- > configs/puma-rk3399_defconfig | 1 + > 2 files changed, 3 insertions(+), 3 deletions(-) > Acked-by: Simon Glass _

Re: [U-Boot] [PATCH v5 12/14] usb: extend generic OHCI with clock, reset and phy

2017-05-14 Thread Simon Glass
On 10 May 2017 at 10:09, wrote: > From: Patrice Chotard > > Make this driver more generic as echi-generic > > Signed-off-by: Patrice Chotard > --- > > v5: _ add clock, reset and generic phy support > > drivers/usb/host/ohci-generic.c | 48 > +++-- > 1 fil

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

2017-05-14 Thread Simon Glass
On 5 May 2017 at 11:21, Philipp Tomsich wrote: > With everything in place (i.e. the new efuse driver, the clk-support > for the non-secure efuse block, and the board-specific functions to > derive 'serial#' from the cpu-id within the efuses), enable this in > the RK3399-Q7 defconfig. > > Signed-of

Re: [U-Boot] [PATCH v3 4/8] rockchip: dts: rk3399: enable HDMI output in the DTS

2017-05-14 Thread Simon Glass
Hi Philipp, On 5 May 2017 at 13:48, Philipp Tomsich wrote: > This commit enables HDMI output in the DTS by adding the necessary > nodes to vopl/vopb and by adding the HDMI node. > > Signed-off-by: Philipp Tomsich > > --- > > Changes in v3: > - enable both hdmi and vopb (as both VOPs are now disa

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

2017-05-14 Thread Simon Glass
On 5 May 2017 at 11:21, Philipp Tomsich wrote: > With our efuse driver for the RK3399 ready, we can add the > board-specific code that consumes the cpuid from the efuse block and > postprocesses it into the system serial (using the same CRC32 based > derivation as in Linux). > > We expose the cpui

Re: [U-Boot] [PATCH v3 2/8] rockchip: video: rk3399: enable HDMI output (from the rk_vop) for the RK3399

2017-05-14 Thread Simon Glass
Hi Philipp, On 5 May 2017 at 13:48, Philipp Tomsich wrote: > This commit enables RK3399 support for HDMI through the following > changes: > - adds a driverdata structure to mirror some subtle version > differences between the RK3399 VOPs and those in the RK3288 > (e.g. the pin-polarity config

Re: [U-Boot] [PATCH] rockchip: rk8xx: allocate priv structure for driver

2017-05-14 Thread Simon Glass
On 5 May 2017 at 00:50, Kever Yang wrote: > The rk8xx_priv structure need to allocate for driver, or else > it will cause data abort when CPU access it. > > This is a bug fix for below patch set: > https://www.mail-archive.com/u-boot@lists.denx.de/msg247345.html > > Signed-off-by: Kever Yang > --

Re: [U-Boot] [PATCH v3 3/8] rockchip: video: rk3399: add HDMI TX support on the RK3399

2017-05-14 Thread Simon Glass
Hi Philipp, On 5 May 2017 at 13:48, Philipp Tomsich wrote: > This commit enables the RK3399 HDMI TX, which is very similar to the > one found on the RK3288. As requested by Simon, this splits the HDMI > driver into a SOC-specific portion (rk3399_hdmi.c, rk3288_hdmi.c) and > a common portion (rk_

Re: [U-Boot] [PATCH v3 6/8] rockchip: board: puma_rk3399: enable BMP_16BPP, BMP_24BPP and BMP_32BPP

2017-05-14 Thread Simon Glass
Hi Philipp, On 5 May 2017 at 13:48, Philipp Tomsich wrote: > With video output support for the RK3399-Q7 (Puma) available, we want > CMD_BMP enabled and the support for 16bit, 24bit and 32bit BMPs > defined. > > Signed-off-by: Philipp Tomsich > > --- > > Changes in v3: None > Changes in v2: > -

Re: [U-Boot] [PATCH v3 7/8] rockchip: defconfig: puma-rk3399: enable RK808 support

2017-05-14 Thread Simon Glass
On 5 May 2017 at 13:48, Philipp Tomsich wrote: > Signed-off-by: Philipp Tomsich > > --- > > Changes in v3: > - enable RK8XX support instead to RK808 support (rebased to sjg/next) > > Changes in v2: None > > configs/puma-rk3399_defconfig | 3 +++ > 1 file changed, 3 insertions(+) Acked-by: Simon

Re: [U-Boot] [PATCH v3 8/8] rockchip: defconfig: puma-rk3399: update defconfig with video-support

2017-05-14 Thread Simon Glass
On 5 May 2017 at 13:48, Philipp Tomsich wrote: > With HDMI output for the RK3399 working, this update the RK3399-Q7 > (Puma) defconfig for the new functionality: > 1. enables PMIC command (to check if the HDMI voltages are correct) > +CONFIG_CMD_PMIC=y > +CONFIG_CMD_REGULATOR=y > 2. en

Re: [U-Boot] [PATCH] Enable PXE boot on meson-gxbb.

2017-05-14 Thread Simon Glass
On 5 May 2017 at 15:11, Vagrant Cascadian wrote: > Enable distro_bootcmd PXE functions on meson-gxbb systems. > > Signed-off-by: Vagrant Cascadian > --- > > include/configs/meson-gxbb-common.h | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Simon Glass __

Re: [U-Boot] [U-Boot 3/3] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-14 Thread Simon Glass
Hi Eddie, On 4 May 2017 at 19:15, Eddie Cai wrote: > 2017-05-05 0:49 GMT+08:00 Simon Glass : >> Hi, >> >> On 4 May 2017 at 03:19, Lukasz Majewski wrote: >>> Hi Eddie, Simon, >>> Hi Simon 2017-05-03 18:09 GMT+08:00 Simon Glass : > Hi Eddie, > > On 2 May 2017 at 04:37

Re: [U-Boot] [PATCH v4 15/20] sunxi: defconfig: add supported DT list for Pine64

2017-05-14 Thread Simon Glass
On 25 April 2017 at 18:32, Andre Przywara wrote: > When a board uses a FIT image to load U-Boot proper, it requires a list > of supported device trees to be supplied in CONFIG_OF_LIST, from which it > chooses the right one at runtime. > For boards with just one possible DT (like the OrangePi PC2)

Re: [U-Boot] [PATCH] rockchip; rk3399: disable SRAM security region

2017-05-14 Thread Simon Glass
On 4 May 2017 at 21:01, Kever Yang wrote: > Some host like SD and eMMC may use DMA to transter data to SRAM, > set memory to non-secure to make sure the address can be accessed. > > The security of SRAM in OS suppose to initialized in ATF bl31, and > the SPL is before the bl31. > > Signed-off-by:

Re: [U-Boot] [PATCH v4] spl: add support to booting with ATF

2017-05-14 Thread Simon Glass
On 4 May 2017 at 21:47, Kever Yang wrote: > ATF(ARM Trusted Firmware) is used by ARM arch64 SoCs, find more infomation > about ATF at: https://github.com/ARM-software/arm-trusted-firmware > > SPL is considered as BL2 in ATF terminology, it needs to load other parts > of ATF binary like BL31, BL32,

Re: [U-Boot] [PATCH V5 1/4] usb: rockchip: add the rockusb gadget

2017-05-14 Thread Simon Glass
On 7 May 2017 at 20:38, Eddie Cai wrote: > this patch implement rockusb protocol on the device side. this is based on USB > download gadget infrastructure. the rockusb function implements the rd, wl, > rid > commands. it can work with rkdeveloptool > > Signed-off-by: Eddie Cai > > Changes in v5:

Re: [U-Boot] [PATCH] power: rk808: fix ldo register offset

2017-05-14 Thread Simon Glass
On 6 May 2017 at 13:21, Heiko Stuebner wrote: > Till now get_ldo_reg did a return &rk808_ldo[num - 1]; to return > the ldo register offset but didn't take into account that its > calling functions already created the ldo as ldo = dev->driver_data - 1. > > This resulted in the setting for ldo8 writ

Re: [U-Boot] [PATCH V5 2/4] usb: rockchip: add rockusb command

2017-05-14 Thread Simon Glass
On 7 May 2017 at 20:38, Eddie Cai wrote: > this patch add rockusb command. the usage is > rockusb > e.g. rockusb 0 mmc 0 > > Signed-off-by: Eddie Cai > Reviewed-by: Simon Glass > > Changes in v5: > -none > > Changes in v4: > -move USB_FUNCTION_ROCKUSB to drivers/usb/gadget/Kconfig > -modify t

Re: [U-Boot] [PATCH V5 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-14 Thread Simon Glass
On 7 May 2017 at 20:38, Eddie Cai wrote: > this patch enable rockusb support on rk3288 based device. > > Signed-off-by: Eddie Cai > > Changes in v5: > -none > > Changes in v4: > -move to rk3288_common.h > > Changes in v3: > -move to defconfig > > --- > include/configs/rk3288_common.h | 4 >

Re: [U-Boot] [PATCH] power: rk8xx: fix auto-allocation of priv

2017-05-14 Thread Mark Kettenis
> The recent changes to the RK808 driver caused our BSP to sync-abort in > the regulator framework, when setting (or rather 'auto-setting') some > of the LDOs. > > Turns out that the auto-allocation of the priv-structure in the rk8xx > driver was never properly wired up... this commit fixes this i

[U-Boot] PPC440 SDRAM Chip Select

2017-05-14 Thread Amin Sahebi
Dear all, Hi, Regarding to my hardware restriction on routing and specific design considerations, I need to set SDRAM0_CFG0 , SDRAM0_CFG1 , SDRAM0_B0CR and probably other registers to make PPC440 to initialize SDRAM always and set SDRAM chip select Electrically directly to the DGND, I made some m

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-05-14 Thread Peter Senna Tschudin
On Fri, May 12, 2017 at 05:25:22PM -0300, Fabio Estevam wrote: > Hi Tim, > > On Fri, May 12, 2017 at 4:58 PM, Tim Harvey wrote: > > There is no dedicated reset signal wired up for the MX6QDL thus if the > > bootloader enables the link we need some special handling to get the core > > back into a

Re: [U-Boot] [PATCH v4] spl: add support to booting with ATF

2017-05-14 Thread Tom Rini
On Fri, May 05, 2017 at 11:47:45AM +0800, Kever Yang wrote: > ATF(ARM Trusted Firmware) is used by ARM arch64 SoCs, find more infomation > about ATF at: https://github.com/ARM-software/arm-trusted-firmware > > SPL is considered as BL2 in ATF terminology, it needs to load other parts > of ATF bina

Re: [U-Boot] [PATCH] ARMv8/sec_firmware : Update chosen/kaslr-seed

2017-05-14 Thread Tom Rini
On Sat, May 13, 2017 at 05:37:05AM +0530, Ruchika Gupta wrote: > kASLR support in kernel requires a random number to be passed via > chosen/kaslr-seed propert. sec_firmware generates this random seed > which can then be passed in the device tree node > > sec_firmware reserves JR3 for it's own usa

Re: [U-Boot] [PATCH v3 6/8] rockchip: board: puma_rk3399: enable BMP_16BPP, BMP_24BPP and BMP_32BPP

2017-05-14 Thread Dr. Philipp Tomsich
Changes in v3: - SYS_WHITE_ON_BLACK has been migrated to KConfig (upstream) and is on by default. > On 14 May 2017, at 11:13, Simon Glass wrote: > > Hi Philipp, > > On 5 May 2017 at 13:48, Philipp Tomsich > > wrote: >> With video output support f

Re: [U-Boot] [PATCH 2/3] orion_wdt: Support for the Orion Watchdog

2017-05-14 Thread Tom Rini
On Fri, May 12, 2017 at 04:10:07PM +0200, Marek Behún wrote: > This watchdog can be found on some Armada chips. > > Signed-off-by: Marek Behun > --- > drivers/watchdog/Kconfig | 7 +++ > drivers/watchdog/Makefile| 1 + > drivers/watchdog/orion_wdt.c | 128 >

Re: [U-Boot] [PATCH] power: twl4030: Add imply CMD_POWEROFF when TWL4030 is enabled

2017-05-14 Thread Tom Rini
On Sat, May 13, 2017 at 07:02:24AM -0500, Adam Ford wrote: > Now that CMD_POWEROFF can turn off the twl4030, let's imply that > just incase someone wants to disable it. > > Signed-off-by: Adam Ford Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH] omap3: omap3_logic: switch to using TI_COMMON_CMD_OPTION

2017-05-14 Thread Tom Rini
On Sat, May 13, 2017 at 08:14:37AM -0500, Adam Ford wrote: > Enable TI_COMMON_CMD_OPTIONS and remove similar options > from the defconfig. Updated with savedefconfig > > CMD_USB isn't enabled yet. I have some testing to do with > musb. > > Signed-off-by: Adam Ford > > diff --git a/board/logic

[U-Boot] [PATCH] block: sata: ceva: drop extraneous netdev.h include

2017-05-14 Thread Peter Robinson
Drop include of netdev.h as it's a SATA driver not a network driver. Signed-off-by: Peter Robinson --- drivers/block/sata_ceva.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/block/sata_ceva.c b/drivers/block/sata_ceva.c index 9b5466483a..9ac195bac2 100644 --- a/drivers/block/sata_c

Re: [U-Boot] [U-Boot 3/3] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-14 Thread Lukasz Majewski
Dear Simon, Eddie, > >> > >> Let's convert them soon! > > Does it means i can keep it in rk3288_common.h? > > Anything new you add must go into defconfig. If it depends on a > non-Kconfig option, then just leave out the depend. We cannot add new > things to the config whitelist, so you should

[U-Boot] [PATCH] mx6sabresd: Remove non-SPL targets

2017-05-14 Thread Fabio Estevam
From: Fabio Estevam Now that mx6sabresd_spl_defconfig can be used to boot all mx6sabresd variants, the non-SPL targets can be safely removed. Signed-off-by: Fabio Estevam --- This patch depends on my previous series where mx6dlsabresd SPL support has been added. board/freescale/mx6sabresd/mx6

[U-Boot] [PATCH] mx6sabresd: Remove non-SPL targets

2017-05-14 Thread Fabio Estevam
From: Fabio Estevam Now that mx6sabresd_spl_defconfig can be used to boot all mx6sabresd variants, the non-SPL targets can be safely removed. Signed-off-by: Fabio Estevam --- This patch depends on my previous series where mx6dlsabresd SPL support has been added. board/freescale/mx6sabresd/mx6

[U-Boot] [PATCH] meson-gxbb: Add NanoPi K2

2017-05-14 Thread Andreas Färber
The FriendlyARM NanoPi K2 is a single-board computer. The Device Tree is taken from the v1 kernel patchset. Cc: techsupp...@friendlyarm.com Signed-off-by: Andreas Färber --- arch/arm/dts/meson-gxbb-nanopi-k2.dts | 152 ++ arch/arm/mach-meson/Kconfig |

Re: [U-Boot] [PATCH 00/22] mmc: Add support for HS200 and UHS modes

2017-05-14 Thread Jaehoon Chung
Hi Jean, On 05/13/2017 03:16 AM, Jean-Jacques Hiblot wrote: > This series brings support for HS200 and UHS modes to the mmc core. > It has been tested with the hsmmc driver on several platforms (DRA7, > AM57x, AM437x, beaglebone black). Some modifications are required in > the host driver to take

[U-Boot] [PATCH 01/15] armv7: Add workaround for USB erratum A-009008

2017-05-14 Thread yinbo . zhu
From: Suresh Gupta USB High Speed (HS) EYE Height Adjustment This patch is adding the erratum for LS1021. Signed-off-by: Sriram Dash Signed-off-by: yinbo.zhu --- arch/arm/cpu/armv7/ls102xa/soc.c | 12 arch/arm/include/asm/arch-ls102xa/config.h| 4 a

[U-Boot] [PATCH 02/15] armv7: Add workaround for USB erratum A-009798

2017-05-14 Thread yinbo . zhu
From: Suresh Gupta USB High Speed Squelch Threshold Adjustment This patch is adding the erratum for LS1021. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: yinbo.zhu --- arch/arm/cpu/armv7/ls102xa/soc.c | 10 ++ arch/arm/include/asm/arch-ls102x

[U-Boot] [PATCH 03/15] armv7: Add workaround for USB erratum A-008997

2017-05-14 Thread yinbo . zhu
From: Suresh Gupta USB3 LFPS Peak-Peak Differential Output Voltage Adjustment This patch is adding the erratum for LS1021. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: yinbo.zhu --- arch/arm/cpu/armv7/ls102xa/soc.c | 16 arch/arm/in

[U-Boot] [PATCH 07/15] armv8: Add workaround for USB erratum A-009007

2017-05-14 Thread yinbo . zhu
From: Suresh Gupta USB3PHY Observing Intermittent Failure in Rx This patch is adding the erratum for LS1043 and LS2080 SoCs. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: yinbo.zhu --- arch/arm/cpu/armv8/fsl-layerscape/soc.c| 43 ++ ar

[U-Boot] [PATCH 04/15] armv7: Add workaround for USB erratum A-009007

2017-05-14 Thread yinbo . zhu
From: Suresh Gupta USB3PHY Observing Intermittent Failure in Rx This patch is adding the erratum for LS1021. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: yinbo.zhu --- arch/arm/cpu/armv7/ls102xa/soc.c | 12 arch/arm/include/asm/arch-ls1

[U-Boot] [PATCH 08/15] USB: config: fix compiler problem for ls1021atwr

2017-05-14 Thread yinbo . zhu
remove erratum config from ls102xa for fix compiled issue because this config was redefined Signed-off-by: Sriram Dash Signed-off-by: yinbo.zhu --- arch/arm/include/asm/arch-ls102xa/config.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/arm/include/asm/arch-ls102xa/config.h b/

[U-Boot] [PATCH 12/15] armv8: Add workaround for USB erratum A-009008

2017-05-14 Thread yinbo . zhu
From: Suresh Gupta USB High Speed (HS) EYE Height Adjustment This patch is adding the erratum for LS1043 and LS2080 SoCs. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: yinbo.zhu --- arch/arm/cpu/armv8/fsl-layerscape/soc.c| 26 ++ arch/

[U-Boot] [PATCH 10/15] usb: ums: support multiple controllers using controller_index

2017-05-14 Thread yinbo . zhu
From: Rajesh Bhagat Adds a new field in fsg_common namely controller_index to support multiple controllers usb gadget support. Signed-off-by: Rajat Srivastava Signed-off-by: Rajesh Bhagat Acked-by: Lukasz Majewski --- cmd/usb_mass_storage.c | 2 +- drivers/usb/gadget/f_mass_sto

[U-Boot] [PATCH 14/15] drivers:usb:xhci:fsl: Implement Erratum A-010151 for FSL USB3 controller

2017-05-14 Thread yinbo . zhu
From: Sriram Dash Currently the controller by default enables the Receive Detect feature in P3 mode in USB 3.0 PHY. However, USB 3.0 PHY does not reliably support receive detection in P3 mode. Enabling the USB3 controller to configure USB in P2 mode whenever the Receive Detect feature is required

[U-Boot] [PATCH 06/15] armv8: Add workaround for USB erratum A-008997

2017-05-14 Thread yinbo . zhu
From: Suresh Gupta USB3 LFPS Peak-Peak Differential Output Voltage Adjustment This patch is adding the erratum for LS1043 and LS2080 SoCs. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: yinbo.zhu --- arch/arm/cpu/armv8/fsl-layerscape/soc.c| 29

[U-Boot] [PATCH 15/15] uboot: Kconfig: add ERRATUM config to Kconfig for solve compile issue.

2017-05-14 Thread yinbo . zhu
add erratum config to Kconfig and instead of config.h's config for solve ls2080rdb compiling issue Signed-off-by: Sriram Dash Signed-off-by: yinbo.zhu --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 arch/arm/include/asm/arch-fsl-layerscape/config.h | 7 --- arch/ar

[U-Boot] [PATCH 11/15] config: ls1012aqds: Add USB EHCI support for ls1012aqds

2017-05-14 Thread yinbo . zhu
From: Rajesh Bhagat Add USB EHCI support for ls1012aqds platform Signed-off-by: Rajat Srivastava Signed-off-by: Rajesh Bhagat --- arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 1 + include/configs/ls1012aqds.h | 2 ++ include/usb/ehci-ci.h

[U-Boot] [PATCH 09/15] usb: dwc3: Add helper functions to enable snooping and burst settings

2017-05-14 Thread yinbo . zhu
From: Rajat Srivastava Adds helper functions to enable snooping and outstanding burst beat settings. Signed-off-by: Rajat Srivastava Signed-off-by: Rajesh Bhagat --- drivers/usb/dwc3/core.c | 45 + drivers/usb/dwc3/core.h | 7 +++ 2 files chang

[U-Boot] [PATCH 13/15] armv8/fsl-layerscape: add dwc3 gadget driver support

2017-05-14 Thread yinbo . zhu
From: Rajat Srivastava Implements the dwc3 gadget driver support for LS1043 platform, and performs below operations: 1. Enables snooping support for DWC3 controller. 2. Enables cache coherency in LS1043 platform. Signed-off-by: Rajat Srivastava Signed-off-by: Rajesh Bhagat Signed-off-by: yinbo

[U-Boot] [PATCH 05/15] armv8: Add workaround for USB erratum A-009798

2017-05-14 Thread yinbo . zhu
From: Suresh Gupta USB High Speed Squelch Threshold Adjustment This patch is adding the erratum for LS1043 and LS2080 SoCs. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: yinbo.zhu --- arch/arm/cpu/armv8/fsl-layerscape/soc.c| 22 ++ arc

Re: [U-Boot] [PATCH 1/2] x86: ich6_gpio: Add use-lvl-write-cache for I/O access mode

2017-05-14 Thread Simon Glass
On 7 May 2017 at 20:52, Bin Meng wrote: > Add a device-tree property use-lvl-write-cache that will cause > writes to lvl to be cached instead of read from lvl before each > write. This is required on some platforms that have the register > implemented as dual read/write (such as Baytrail). > > Pri

Re: [U-Boot] [PATCH 2/2] x86: minnowmax: Remove incorrect pad-offset of several pins

2017-05-14 Thread Simon Glass
On 7 May 2017 at 20:52, Bin Meng wrote: > Remove 'pad-offset' of soc_gpio_s5_0, soc_gpio_s5_1, soc_gpio_s5_2, > pin_usb_host_en0 and pin_usb_host_en1. These offsets are actually > wrong. Correct value should be added by 0x2000, but since they > are supposed to be 'mode-gpio', 'pad-offset' is not n

Re: [U-Boot] [PATCH v5 01/14] mmc: sti_sdhci: Rework sti_mmc_core_config()

2017-05-14 Thread Simon Glass
On 10 May 2017 at 10:09, wrote: > From: Patrice Chotard > > Use struct udevice* as input parameter. Previous > parameters are retrieved through plat and priv data. > > This to prepare to use the reset framework. > > Signed-off-by: Patrice Chotard > Reviewed-by: Jaehoon Chung > --- > v5: _

Re: [U-Boot] [PATCH] rockchip: Add basic support for phyCORE-RK3288 SoM based carrier board

2017-05-14 Thread Simon Glass
Hi, On 8 May 2017 at 07:18, Wadim Egorov wrote: > The phyCORE-RK3288 is a SoM (System on Module) containing a RK3288 SoC. > The module can be connected to different carrier boards. > It can be also equipped with different RAM, SPI flash and eMMC variants. > The Rapid Development Kit option is usi

Re: [U-Boot] USB2.0 device timeout issue.

2017-05-14 Thread Simon Glass
+Marek Hi Terry, On 10 May 2017 at 01:09, Terry Zhou wrote: > Hi all, > > This is Terry from Marvell BSP team in ShangHai China. > > We got one issue in USB like below: > > > > 1) When reading large files(larger than 32M ) from USB2.0 u-disk, two > of the disks got the timeout error like be

Re: [U-Boot] [PATCH v5 06/14] usb: dwc3: Add dwc3 glue driver support for STi

2017-05-14 Thread Simon Glass
Hi Patrice, On 10 May 2017 at 10:09, wrote: > From: Patrice Chotard > > This patch adds the ST glue logic to manage the DWC3 HC > on STiH407 SoC family. It configures the internal glue > logic and syscfg registers. > > Part of this code been extracted from kernel.org driver > (drivers/usb/dwc3/

Re: [U-Boot] [PATCH v5 02/14] ARM: dts: stih410-family: Add missing reset_names for mmc1 node

2017-05-14 Thread Simon Glass
On 10 May 2017 at 10:09, wrote: > From: Patrice Chotard > > reset-names property is needed to use the reset > API for STi sdhci driver. > > Signed-off-by: Patrice Chotard > Reviewed-by: Jaehoon Chung > --- > > v5: _ none > v4: _ none > v3: _ none > v2: _ none > > arch/arm/dts/

Re: [U-Boot] [PATCH 2/5] x86: baytrail: Add fsp-header verification for secure boot fsp

2017-05-14 Thread Simon Glass
On 11 May 2017 at 09:14, Anatolij Gustschin wrote: > From: Markus Valentin > > Introduce a new Kconfig variable for secure boot on baytrail based > platforms. If this variable is set the build process tries to use > fsp-sb.bin instead of fsp.bin (-sb is the secure boot enabled fsp). > > Also chec

Re: [U-Boot] [PATCH 5/5 v2] spi: ich: Configure SPI BIOS parameters for Linux upon U-Boot exit

2017-05-14 Thread Simon Glass
Hi Jagan, On 9 May 2017 at 18:47, Bin Meng wrote: > On Tue, May 9, 2017 at 7:20 PM, Stefan Roese wrote: >> (Added Simon to Cc) > > Really added Simon :-) > >> >> >> On 09.05.2017 13:14, Jagan Teki wrote: >>> >>> On Mon, Apr 24, 2017 at 1:18 PM, Stefan Roese wrote: This patch adds a re

Re: [U-Boot] [PATCH v2 05/71] dm: Add a function to create a 'live' device tree

2017-05-14 Thread Simon Glass
Hi Lothar, On 11 May 2017 at 08:59, Lothar Waßmann wrote: > Hi, > > On Wed, 10 May 2017 08:20:44 -0600 Simon Glass wrote: >> This function converts the flat device tree into a hierarchical one with >> C structures and pointers. This is easier to access. >> >> Signed-off-by: Simon Glass >> --- >>

Re: [U-Boot] [PATCH v5 07/14] board: STiH410-B2260: add OHCI and XHCI related defines

2017-05-14 Thread Simon Glass
On 10 May 2017 at 10:09, wrote: > From: Patrice Chotard > > Signed-off-by: Patrice Chotard > --- > > v5: _ none > v4: _ none > v3: _ none > v2: _ none > > include/configs/stih410-b2260.h | 4 > 1 file changed, 4 insertions(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 1/3] sunxi: video: Split out TVE code

2017-05-14 Thread Simon Glass
On 10 May 2017 at 10:46, Jernej Skrabec wrote: > Newer SoCs use same TV encoder unit. Split it out so it can be reused > with new DM video driver. > > Signed-off-by: Jernej Skrabec > --- > > arch/arm/include/asm/arch-sunxi/display.h | 107 > arch/arm/include/asm/arch-sun

Re: [U-Boot] [PATCH v5 08/14] board: STiH410-B2260: add fastboot support

2017-05-14 Thread Simon Glass
On 10 May 2017 at 10:09, wrote: > From: Patrice Chotard > > Add usb_gadget_handle_interrupts(), board_usb_init(), > board_usb_cleanup() and g_dnl_board_usb_cable_connected() > callbacks needed for FASTBOOT support > > Signed-off-by: Patrice Chotard > --- > v5: _ none > v4: _ none > v3:

Re: [U-Boot] [PATCH] rockchip: rk3368: Set fdtfile

2017-05-14 Thread Simon Glass
Hi Andreas, On 9 May 2017 at 02:05, Andreas Färber wrote: > Hi Simon, > > Am 08.05.2017 um 18:38 schrieb Simon Glass: >> On 1 May 2017 at 11:48, Andreas Färber wrote: >>> Am 01.05.2017 um 19:41 schrieb Andreas Färber: diff --git a/configs/geekbox_defconfig b/configs/geekbox_defconfig i

Re: [U-Boot] [PATCH 5/5] doc: x86: Add section about secure boot on Baytrail

2017-05-14 Thread Simon Glass
On 11 May 2017 at 09:14, Anatolij Gustschin wrote: > From: Markus Valentin > > Signed-off-by: Markus Valentin > [agust: slightly reworded and fixed alignment] > Signed-off-by: Anatolij Gustschin > --- > doc/README.x86 | 41 + > 1 file changed, 41 inserti

Re: [U-Boot] [PATCH v5 03/14] mmc: sti_sdhci: Use reset framework

2017-05-14 Thread Simon Glass
Hi Patrice, On 10 May 2017 at 10:09, wrote: > From: Patrice Chotard > > Signed-off-by: Patrice Chotard > Reviewed-by: Jaehoon Chung > --- > > v5: _ none > v4: _ none > v3: _ none > v2: _ none > > > drivers/mmc/sti_sdhci.c | 31 ++- > 1 file changed

Re: [U-Boot] [PATCH v2 1/5] reset: add reset_request()

2017-05-14 Thread Simon Glass
On 12 May 2017 at 11:27, wrote: > From: Patrice Chotard > > This is needed in error path to assert previously deasserted > reset by using a saved reset_ctl reference. > > Signed-off-by: Patrice Chotard > --- > drivers/reset/reset-uclass.c | 9 + > include/reset.h | 9 +

Re: [U-Boot] [PATCH 3/3] sunxi: video: Add H3/H5 TV out driver

2017-05-14 Thread Simon Glass
Hi, On 12 May 2017 at 10:06, Maxime Ripard wrote: > Hi Jernej, > > The patch content looks fine, but there's a few things that would need > to be addressed. > > On Wed, May 10, 2017 at 06:46:30PM +0200, Jernej Skrabec wrote: >> This commit adds support for TV (composite) output. >> >> Signed-off-

Re: [U-Boot] [PATCH v5 09/14] STiH410-B2260: enable USB Host Networking

2017-05-14 Thread Simon Glass
On 10 May 2017 at 10:09, wrote: It's a good idea to always have a commit message. > From: Patrice Chotard > > Signed-off-by: Patrice Chotard > --- > > v5: _ none > v4: _ none > v3: _ none > v2: _ none > > > include/configs/stih410-b2260.h | 12 > 1 file changed,

Re: [U-Boot] [PATCH 3/5] x86: baytrail: secureboot: Add functions for verification of u-boot

2017-05-14 Thread Simon Glass
Hi, On 11 May 2017 at 09:14, Anatolij Gustschin wrote: > From: Markus Valentin > > Introduce functions that check the integrity of u-boot by utilising the > hashes stored in the oem-data block. U-Boot > > The verification functions get called in fsp_init() > > Signed-off-by: Markus Valentin >

Re: [U-Boot] [PATCH v2 3/5] usb: host: extend generic EHCI driver with PHY

2017-05-14 Thread Simon Glass
Hi Patrice, On 12 May 2017 at 11:27, wrote: > From: Patrice Chotard > > Add support of generic PHY framework > > Signed-off-by: Patrice Chotard > --- > > v2: _ split previous path 1, add generic PHY framework > > drivers/usb/host/ehci-generic.c | 11 +++ > 1 file changed, 11 inser

Re: [U-Boot] [PATCH v5 14/14] STiH410-B2260: enable USB, fastboot, reset related flags

2017-05-14 Thread Simon Glass
On 10 May 2017 at 10:09, wrote: > From: Patrice Chotard > > Signed-off-by: Patrice Chotard > --- > v5: _ remove CONFIG_USB_OHCI_STI and CONFIG_USB_EHCI_STI > _ enable CONFIG_USB_EHCI_GENERIC and CONFIG_USB_OHCI_GENERIC > > v4: _ enable CONFIG_PHY and CONFIG_STI_USB_PHY > > v3:

Re: [U-Boot] [PATCH] rockchip: rk3036: clock: code clean

2017-05-14 Thread Simon Glass
Hi Kever, On 9 May 2017 at 06:11, Kever Yang wrote: > Embeded the shift in mask MACRO, and a few fix btw: > - hclk/pclk_div range use '<=' instead of '<' > - use GPLL for pd_bus > - peri HCLK/PCLK clock rate should not bigger than ACLK Can you please split out a patch that changes the shift/mask

Re: [U-Boot] [PATCH v2 2/5] usb: host: add error path and remove callback in ehci-generic

2017-05-14 Thread Simon Glass
Hi Patrice, On 12 May 2017 at 11:27, wrote: > From: Patrice Chotard > > Add error path to disable enabled clocks and to assert > deasserted resets > Populate the remove callback > > Signed-off-by: Patrice Chotard > --- > v2: _ split previous path 1, add error path and .remove callback > >

Re: [U-Boot] [PATCH] sandbox: Fix comparison of unsigned enum expression warning

2017-05-14 Thread Simon Glass
On 13 May 2017 at 18:11, Tom Rini wrote: > In os_dirent_get_typename() we are checking that type falls within the > known values of the enum os_dirent_t. With clang-3.8 testing this value > as being >= 0 results in a warning as it will always be true. This > assumes of course that we are only gi

Re: [U-Boot] [PATCH 1/5] x86: congatec: add secureboot enabled defconfig for conga-qeval20-qa3-e3845

2017-05-14 Thread Simon Glass
On 11 May 2017 at 09:14, Anatolij Gustschin wrote: > From: Markus Valentin > > Signed-off-by: Markus Valentin > [agust: rebased, fixed to build with v2017.05] > Signed-off-by: Anatolij Gustschin > --- > ...0-qa3-e3845-internal-uart-secure-boot_defconfig | 77 > ++ > 1 file

Re: [U-Boot] [PATCH v5 11/14] ARM: DTS: STiH410: rework ehci nodes

2017-05-14 Thread Simon Glass
On 10 May 2017 at 10:09, wrote: > From: Patrice Chotard > > Update the compatible string in order to use ehci-generic > driver instead of a STi specific one > > Reverse the order of resets, due to the fact that softreset > must be deasserted first. > > Signed-off-by: Patrice Chotard > --- > > v

Re: [U-Boot] [PATCH v5 13/14] ARM: DTS: STiH410: rework ohci nodes

2017-05-14 Thread Simon Glass
On 10 May 2017 at 10:09, wrote: > From: Patrice Chotard > > Update the compatible string in order to use ehci-generic > driver instead of a STi specific one > > Signed-off-by: Patrice Chotard > --- > > v5: _ update compatible to fit with ohci-generic driver > > arch/arm/dts/stih410.dtsi | 4

Re: [U-Boot] [PATCH 4/5] tools: add secure_boot_helper.py

2017-05-14 Thread Simon Glass
Hi, On 11 May 2017 at 09:14, Anatolij Gustschin wrote: > From: Markus Valentin > > This script should be used for simple creation of secure bootable > images for baytrail platforms > > Signed-off-by: Markus Valentin > --- > tools/secure_boot_helper.py | 313 > +

Re: [U-Boot] [PATCH v2] mmc: atmel_sdhci: Enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD

2017-05-14 Thread Simon Glass
On 10 May 2017 at 18:25, Wenyou Yang wrote: > To fix the timeout of sending the write command, enable the quirk > SDHCI_QUIRK_WAIT_SEND_CMD. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - Add missed this quirk in atmel_sdhci_init(). > > drivers/mmc/atmel_sdhci.c | 4 ++-- > 1 file

Re: [U-Boot] [PATCH v2 4/5] usb: host: replace printf() by error() in ehci-generic

2017-05-14 Thread Simon Glass
On 12 May 2017 at 14:51, Marek Vasut wrote: > On 05/12/2017 07:27 PM, patrice.chot...@st.com wrote: >> From: Patrice Chotard > > Commit message does not explain WHY this change is needed. In fact ... > commit message is missing altogether ... Yes it really helps to have a commit message! > >> S

Re: [U-Boot] [PATCH 02/22] mmc: move the MMC startup for version above v4.0 in a separate function

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > no functionnal change. This is only to further reduce the size o > mmc_startup(). > > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/mmc/mmc.c | 316 > -- > 1 file changed, 165 insertio

Re: [U-Boot] [PATCH 01/22] mmc: split mmc_startup()

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > No functionnal change here. The function is really big and can be split. > The part related to bus configuration are put in 2 separate functions: one > for MMC and one for SD. > > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/mmc/mmc.c |

Re: [U-Boot] [PATCH 21/22] mmc: Change mode when switching to a boot partition

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > Boot partitions do not support HS200. Changing to a lower performance mode > is required to access them. > mmc_select_mode_and_width() and sd_select_mode_and_width() are modified to > make it easier to call them outside of the initialization co

Re: [U-Boot] [PATCH 09/22] mmc: refactor SD startup to make it easier to support new modes

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > The SDcard startup process currently handles only 2 modes. To make it > easier to add support for more modes, let's make the process more generic > and use a list of the modes to try. > The major functional change is that when a mode fails we t

Re: [U-Boot] [PATCH 04/22] mmc: add a function to read and test the ext csd (mmc >= 4)

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > This will be reused later in the selection of high speed and ddr modes. > > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/mmc/mmc.c | 49 + > 1 file changed, 29 insertions(+), 20 deletions(

Re: [U-Boot] [PATCH v2 5/5] usb: host: extend generic OHCI with CLOCK, RESET and PHY

2017-05-14 Thread Simon Glass
On 12 May 2017 at 11:27, wrote: > From: Patrice Chotard > > Add CLOCK, RESET and generic PHY frameworks support > > Signed-off-by: Patrice Chotard > --- > > v2: _ add error path management > _ add .remove callback > > drivers/usb/host/ohci-generic.c | 99 >

Re: [U-Boot] [PATCH 07/22] mmc: use mmc modes to select the correct bus speed

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: Please add commit message which what is happening and motivation. > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/mmc/mmc.c | 40 +--- > 1 file changed, 29 insertions(+), 11 deletions(-) Reviewed-by:

Re: [U-Boot] [PATCH 12/22] mmc: Enable signal voltage to be selected from mmc core

2017-05-14 Thread Simon Glass
Hi Jen-Jacques, On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > Add a new function *mmc_set_signal_voltage* in mmc core > which can be used during mmc initialization to select the > signal voltage. Platform driver should use the set_ios > callback function

Re: [U-Boot] [PATCH 17/22] mmc: Add a execute_tuning() callback to the mmc operations.

2017-05-14 Thread Simon Glass
Hi, On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > Tuning is a mandatory step in the initialization of SDR104 and HS200 modes. > This callback execute the tuning process. > > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/mmc/mmc-uclass.c | 14 ++ > drivers/mmc/mmc.c

Re: [U-Boot] [PATCH 08/22] cmd: mmc: display the mode name and current bus speed in the mmc info

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > Display the mode name when the user execute 'mmc info'. Also instead of > displaying tran_speed, display the actual bus speed. > > Signed-off-by: Jean-Jacques Hiblot > --- > cmd/mmc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [U-Boot] [PATCH 22/22] mmc: Retry some MMC cmds on failure

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > From: Vignesh R > > With certain SD cards like Kingston 8GB/16GB UHS card, it is seen that > MMC_CMD_ALL_SEND_CID cmd fails on first attempt, but succeeds > subsequently. Therefore, retry MMC_CMD_ALL_SEND_CID cmd at least thrice > as done in L

Re: [U-Boot] [PATCH 16/22] mmc: disable the mmc clock during power off

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > There is no point in having the mmc clock enabled during > power off. Disable the mmc clock. This is similar to how it's > programmed in Linux Kernel. > > Signed-off-by: Kishon Vijay Abraham I > Signed-off-by:

Re: [U-Boot] [PATCH 03/22] mmc: make ext_csd part of struct mmc

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > The ext csd is used for comparison many times. Keep a reference content > of the ext csd in the struct mmc to avoid reading multiple times > > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/mmc/mmc.c | 22 +- > include

Re: [U-Boot] [PATCH 19/22] mmc: Add a new callback function to check if the card is busy

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > Add a new callback function *card_busy* which can be used to check if the > card is busy. This is useful during UHS voltage switching to check if the > switch was successful. Not all controllers may support this, so it's > optional and when not

Re: [U-Boot] [PATCH 06/22] mmc: Add a fonction to dump the mmc capabilities

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > This adds a simple helper function to display information (bus width and > mode) based on a capability mask. Useful for debug. > > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/mmc/mmc.c | 17 + > include/mmc.h | 1 +

Re: [U-Boot] [PATCH 13/22] mmc: Add a new callback function to enable/disable vdd

2017-05-14 Thread Simon Glass
Hi, On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > Add a new callback function *set_vdd* which can be used > by the platform mmc driver to enable or disable vdd. > The mmc core can use *mmc_set_vdd* in order to invoke > the callback function. This will be

Re: [U-Boot] [PATCH 20/22] mmc: Add support for UHS modes

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > Add UHS modes to the list of supported modes, get the UHS capabilites of > the SDcard and implement the procedure to switch the voltage (UHS modes > use 1v8 IO lines) > During the voltage switch procedure, DAT0 is used by the card to signal > w

  1   2   >