[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

[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

[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

[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

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

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

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

[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

[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

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

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

[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

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

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

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 >

[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

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

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

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

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

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

[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

[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

[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

[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

[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

[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

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

[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

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

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

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

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

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

[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

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

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

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

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 >

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

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

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

Re: [U-Boot] [PATCH v3 01/12] i2c: Drop use of CONFIG_I2C_HARD

2017-05-14 Thread Heiko Schocher
Hello Simon, Am 13.05.2017 um 05:09 schrieb Simon Glass: This option is pretty old. It predates CONFIG_SYS_I2C which is itself deprecated in favour of driver model. Disable it for all boards. Also drop I2C options which depend on this. Signed-off-by: Simon Glass ---

Re: [U-Boot] [PATCH 2/2][v5] armv8: ls2080aqds: Add support for SD boot

2017-05-14 Thread Santan Kumar
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Friday, May 12, 2017 9:31 PM > To: Santan Kumar ; u-boot@lists.denx.de > Cc: Priyanka Jain ; Abhimanyu Saini > > Subject: Re: [PATCH 2/2][v5]

[U-Boot] [PATCH] ARM: dts: uniphier: sync DT with Linux

2017-05-14 Thread Masahiro Yamada
Fix the following DTC warnings: Warning (simple_bus_reg): Node /soc/system-bus@58c0/support_card@1,1f0/ethernet@ simple-bus unit address format error, expected "0" Warning (simple_bus_reg): Node /soc/system-bus@58c0/support_card@1,1f0/uart@000b simple-bus unit

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

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:

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

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

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

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 >

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

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

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

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

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 |

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

[U-Boot] [PATCH 01/33] mmc: select the available type from host_caps and card_caps

2017-05-14 Thread Ziyuan Xu
The original implementation select HS timing by default, add available type selection for higher speed mode compatibility, such as hs200, hs400, hs400es. By the way, we assume that card run at 1.8V or 1.2V I/O when its timing is ddr52/hs200/hs400(es). Signed-off-by: Ziyuan Xu

[U-Boot] [PATCH 03/33] mmc: xenon_sdhci: drop redundant timing definitions

2017-05-14 Thread Ziyuan Xu
Remove the redundant mmc timing definitions which have defined in mmc.h. Signed-off-by: Ziyuan Xu --- drivers/mmc/xenon_sdhci.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/mmc/xenon_sdhci.c b/drivers/mmc/xenon_sdhci.c index 2a0d8b4..f0a33c1

[U-Boot] [PATCH 04/33] mmc: rework high speed mode selection

2017-05-14 Thread Ziyuan Xu
Select timing parameter for the host since HS mode switch is completed. Signed-off-by: Ziyuan Xu --- drivers/mmc/mmc.c | 16 ++-- include/mmc.h | 6 ++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/mmc.c

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

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

Re: [U-Boot] [PATCH 14/22] mmc: add power cyle support in mmc core

2017-05-14 Thread Simon Glass
Hi, On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > mmc/sd specification requires vdd to be disabled for 1 ms > and then enabled again during power cycle. Add a > function in mmc core to perform power cycle and set > the io signal to it's initial state. > > Signed-off-by:

Re: [U-Boot] [PATCH 15/22] mmc: add a new mmc parameter to disable mmc clock

2017-05-14 Thread Simon Glass
Hi, On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > mmc clock has to be disabled in certain cases like during > the voltage switch sequence. Modify mmc_set_clock function > to take disable as an argument that signifies if the > clock has to be enabled or disabled. > >

Re: [U-Boot] [PATCH 05/22] mmc: introduces mmc modes.

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: Subject: drop the period at the end Also I think 'mmc: Introduce MMC modes' is better (imperative tense) > no functionnal changes. > In order to add the support for the high speed SD and MMC modes, it is > useful to track

Re: [U-Boot] [PATCH 11/22] mmc: make mmc_set_ios() return status

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > set_ios callback has a return value of 'int' but the mmc_set_ios() > function ignore this. Modify mmc_set_ios() and the callers of mmc_set_ios() to > to return the error status. > > Signed-off-by: Jean-Jacques Hiblot

Re: [U-Boot] [PATCH 10/22] mmc: refactor MMC 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 MMC startup process currently handles 4 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

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

2017-05-14 Thread Heiko Schocher
Hello Simon, Am 13.05.2017 um 05:09 schrieb Simon Glass: This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None README | 6 -- common/board_r.c | 17 -

Re: [U-Boot] [PATCH v3 10/12] i2c: Drop CONFIG_SYS_I2C_BOARD_LATE_INIT

2017-05-14 Thread Heiko Schocher
Hello Simon, Am 13.05.2017 um 05:09 schrieb Simon Glass: This option is not used by any boards. Drop it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None README | 11 --- drivers/i2c/fsl_i2c.c| 9 -

Re: [U-Boot] [PATCH v2] mmc: sdhci-cadence: import updates from Linux 4.12

2017-05-14 Thread Jaehoon Chung
On 05/09/2017 03:52 PM, Masahiro Yamada wrote: > This driver is a counterpart of drivers/mmc/host/sdhci-cadence.c > from Linux. Some updates for v4.12-rc1 can be imported to U-Boot. > > - Fix value of SDHCI_CDNS_HRS04_RDATA_SHIFT > - Add polling for ACK bit to be sure that data are written to

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

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

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

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

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

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

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

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

[U-Boot] [GIT PULL] Please pull u-boot-mmc master

2017-05-14 Thread Jaehoon Chung
Dear Tom, Could you pull these patches into u-boot/master? If there are problems, let me knows. The following changes since commit 22f3368e71321db1e0e15dfbf54b052367890ec7: Merge branch 'master' of git://git.denx.de/u-boot-mips (2017-05-13 16:45:35 -0400) are available in the git

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

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

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

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

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

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

Re: [U-Boot] [PATCH 18/22] mmc: add HS200 support in MMC core

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > Add HS200 to the list of supported modes and introduce tuning in the MMC > startup process. > > Signed-off-by: Kishon Vijay Abraham I > Signed-off-by: Jean-Jacques Hiblot > --- >

[U-Boot] [USB]USB2.0 device timeout issue.

2017-05-14 Thread Terry Zhou
+ Nadav Haklai. Best Regards, Terry From: Terry Zhou Sent: 2017年5月11日 9:02 To: 'u-boot@lists.denx.de' ; 'ma...@denx.de' Cc: 'Stefan Roese' ; 'Simon Glass' ; 'ma...@denx.de' Subject: [U-boot][USB]]USB2.0

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

2017-05-14 Thread Heiko Schocher
Hello Simon, Am 13.05.2017 um 05:09 schrieb Simon Glass: Drop use of this long-deprecated option for powerpc. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/powerpc/cpu/mpc512x/Makefile | 1 - arch/powerpc/cpu/mpc512x/i2c.c | 386

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

2017-05-14 Thread Heiko Schocher
Hello Simon, Am 13.05.2017 um 05:09 schrieb Simon Glass: Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None board/pdm360ng/pdm360ng.c | 30 -- 1 file changed, 30 deletions(-)

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

2017-05-14 Thread Heiko Schocher
Hello Simon, Am 13.05.2017 um 05:09 schrieb Simon Glass: Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None board/cm5200/cm5200.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Thanks! Applied

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

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

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

Re: [U-Boot] [PATCH v3 08/12] i2c: Finish dropping use of CONFIG_I2C_HARD

2017-05-14 Thread Heiko Schocher
Hello Simon, Am 13.05.2017 um 05:09 schrieb Simon Glass: Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- Changes in v3: - Update commit message so that it is unique in the series - Fix up #ifdef in cmd/eeprom.c - Drop changes to include/config

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

2017-05-14 Thread Heiko Schocher
Hello simon, Am 13.05.2017 um 05:09 schrieb Simon Glass: Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None board/keymile/km82xx/km82xx.c | 5 - board/keymile/km_arm/km_arm.c | 4 2 files changed, 9

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

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

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

Re: [U-Boot] [PATCH 02/17] omap24xx_i2c.c: Drop references to CONFIG_OMAP243X

2017-05-14 Thread Heiko Schocher
Hello Tom, Am 13.05.2017 um 04:33 schrieb Tom Rini: We have nothing defining CONFIG_OMAP243X since we dropped the omap243x platforms, drop these tests. Signed-off-by: Tom Rini --- drivers/i2c/omap24xx_i2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

  1   2   >