Re: [U-Boot] Should MMC drivers use CONFIG_BLK?

2016-08-24 Thread Masahiro Yamada
Hi Simon, 2016-08-24 13:26 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 23 August 2016 at 21:27, Masahiro Yamada > wrote: >> >> Hi Simon, >> >> I was not following the changes in MMC drivers >> added by you. >> >> Recently, I had some time to check those updates >> and convert my driver (driver

Re: [U-Boot] [PATCH v1 2/2] arm: mvebu: Define NAND interface pins for A-38x

2016-08-24 Thread Stefan Roese
Hi Chris, On 24.08.2016 02:24, Chris Packham wrote: On Tue, Aug 23, 2016 at 10:54 PM, Chris Packham wrote: On Tue, Aug 23, 2016 at 6:57 PM, Stefan Roese wrote: Hi Chris, On 22.08.2016 02:38, Chris Packham wrote: From: Chris Packham Add pin control settings for the NAND flash interface.

Re: [U-Boot] [PATCH] ARM: board: cm_fx6: fix mtd partition fixup

2016-08-24 Thread Stefano Babic
On 23/08/2016 16:08, christopher.spinr...@rwth-aachen.de wrote: > From: Christopher Spinrath > > ft_board_setup may return early in the case that the board revision > cannot be obtained. In that case it is assumed that no revision > specific correction in the fdt is neccessary. But the mtd partit

[U-Boot] [PATCH 1/3] x86: efi: payload: Make efi payload build again

2016-08-24 Thread Bin Meng
Since commit 73c5c39 "Makefile: Drop unnecessary -dtb suffixes", EFI payload does not build anymore. This fixes the build. Signed-off-by: Bin Meng --- include/efi.h | 2 +- lib/efi/efi_stub.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/efi.h b/include

[U-Boot] [PATCH 3/3] x86: qemu: efi: Add two boards for EFI 32-bit and 64-bit payload

2016-08-24 Thread Bin Meng
This introduces two board defconfig files for generating EFI 32-bit and 64-bit payloads, to run on QEMU x86 target. With these in place, hopefully buildman will catch any build error with EFI payload support on x86. Signed-off-by: Bin Meng --- configs/qemu-x86_efi_payload32_defconfig | 48 +++

[U-Boot] [PATCH 2/3] x86: efi: payload: Correct BITS_PER_LONG to 32

2016-08-24 Thread Bin Meng
U-Boot itself as EFI payload is still running in 32-bit mode. So BITS_PER_LONG should still be 32. This fixes the warnings when building EFI 64-bit payload. include/asm-generic/bitops/__fls.h:17:2: warning: left shift count >= width of type if (!(word & (~0ul << 32))) {

Re: [U-Boot] [ANN] U-Boot v2016.09-rc2 released

2016-08-24 Thread Lukasz Majewski
Hi Tom, > A non-code change is that now I have Jenkins setup to automatically Jenkins - brrr I've had a really hard time with this "peculiar" piece of SW. Run away from it if you still can I've switched to buildbot a few months ago and that was _REALLY_ good decision. A few pros: - It

Re: [U-Boot] [PATCH 1/3] arm: imx-common: add SECURE_BOOT option to Kconfig

2016-08-24 Thread Gary Bisson
Hi Eric, all, On Tue, Aug 23, 2016 at 05:24:48PM -0700, Eric Nelson wrote: > Nicely done Gary! > > On 08/23/2016 02:55 PM, Gary Bisson wrote: > > So the option can easily be selected through menuconfig. > > > > Signed-off-by: Gary Bisson > > --- > > arch/arm/imx-common/Kconfig | 9 + >

Re: [U-Boot] [PATCH 2/3] arm: imx-common: introduce back usec2ticks

2016-08-24 Thread Gary Bisson
Hi Eric, all, On Tue, Aug 23, 2016 at 05:30:36PM -0700, Eric Nelson wrote: > Hi Gary and Peng, > > On 08/23/2016 02:55 PM, Gary Bisson wrote: > > From: Peng Fan > > > > This commit "2bb014820c49a63902103bac710bc86b5772e843" > > do some clean up to use the code in lib/time.c. > > But usec2ticks

Re: [U-Boot] [PATCH 1/2] fastboot: more support for reboot-bootloader command

2016-08-24 Thread Paul Kocialkowski
Hi, Le mardi 23 août 2016 à 16:38 -0700, Steve Rae a écrit : > The "fastboot reboot-bootloader" command is defined to > re-enter into fastboot mode after rebooting into the > bootloader. > > There is current support for setting the reset flag > via the __weak fb_set_reboot_flag() function. > > T

Re: [U-Boot] [PATCH 3/3] nitrogen6x: add secure boot support

2016-08-24 Thread Gary Bisson
Hi Eric, all, On Tue, Aug 23, 2016 at 05:35:14PM -0700, Eric Nelson wrote: > Hi Gary, > > On 08/23/2016 02:55 PM, Gary Bisson wrote: > > Selecting the proper options to enable the build of the HAB tools. > > > > Also adding a CSF section to the imx final image so it can contain > > the signature

[U-Boot] [PATCH v1] cmd/sf: probe flash with speed of last known flash or speed from devicetree

2016-08-24 Thread Hannes Schmelzer
During probing flashes on the spi bus using the "sf probe" command, a maybe existing flash (from fdt) is unbound and removed to force the 'spi_flash_probe_bus_cs' really scanning the bus. Today the bus is probed with speed 0, this triggers several fall-back mechanism (mostly in the low-level drive

Re: [U-Boot] [PATCH v1] cmd/sf: probe flash with speed of last known flash or speed from devicetree

2016-08-24 Thread Vignesh R
Hi, On Wednesday 24 August 2016 03:35 PM, Hannes Schmelzer wrote: > During probing flashes on the spi bus using the "sf probe" command, a > maybe existing flash (from fdt) is unbound and removed to force the > 'spi_flash_probe_bus_cs' really scanning the bus. > > Today the bus is probed with spee

Re: [U-Boot] [PATCH v1] cmd/sf: probe flash with speed of last known flash or speed from devicetree

2016-08-24 Thread Hannes Schmelzer
On 08/24/2016 12:35 PM, Vignesh R wrote: Hi, Hi Vignesh, On Wednesday 24 August 2016 03:35 PM, Hannes Schmelzer wrote: During probing flashes on the spi bus using the "sf probe" command, a maybe existing flash (from fdt) is unbound and removed to force the 'spi_flash_probe_bus_cs' really scann

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

2016-08-24 Thread 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. Signed-off-by: Sr

Re: [U-Boot] [PATCH v1] cmd/sf: probe flash with speed of last known flash or speed from devicetree

2016-08-24 Thread Vignesh R
On Wednesday 24 August 2016 04:21 PM, Hannes Schmelzer wrote: > On 08/24/2016 12:35 PM, Vignesh R wrote: >> Hi, > Hi Vignesh, >> On Wednesday 24 August 2016 03:35 PM, Hannes Schmelzer wrote: >>> During probing flashes on the spi bus using the "sf probe" command, a >>> maybe existing flash (from f

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-24 Thread vinoth eswaran
On Tue, Aug 23, 2016 at 6:09 PM, Stephen Warren wrote: > On 08/23/2016 06:23 AM, vinoth eswaran wrote: >> >> On Mon, Aug 22, 2016 at 6:15 PM, Stephen Warren >> wrote: >>> >>> >>> On 08/22/2016 08:37 AM, vinoth eswaran wrote: Hello Developers, Currently I am working on a

[U-Boot] [PATCH 0/4] am335x-icev2: Ethernet support

2016-08-24 Thread Roger Quadros
Hi, am335x-icev2 has 2 Ethernet ports that can be used either as CPSW ethernet (RMII mode) or PRUSS ethernet (MII mode) using jumpers placed next to the port on the board. As a different PHY clock is required for RMII mode vs MII mode, we detect the jumper setting and set the PHY clock frequenc

[U-Boot] [PATCH 3/4] board: am335x-icev2: add ethernet phy mode detection logic

2016-08-24 Thread Roger Quadros
Both ethernet ports can be used as CPSW ethernet (RMII mode) or PRU ethernet (MII mode) by setting the jumper near the port. Read the jumper value and set the pinmux, external mux and PHY clock accordingly. As jumper line is overridden by PHY RX_DV pin immediately after bootstrap (power-up/reset),

[U-Boot] [PATCH 4/4] board: am335x: Always set eth/eth1addr environment variable

2016-08-24 Thread Roger Quadros
Ethernet ports might be used in the kernel even if CPSW driver is disabled at u-boot. So always set ethaddr and eth1addr environment variable from efuse. Retain usbnet_devaddr as it is required for SPL USB eth boot. Signed-off-by: Roger Quadros --- board/ti/am335x/board.c | 72 +

[U-Boot] [PATCH 2/4] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-08-24 Thread Roger Quadros
From: Mugunthan V N cpsw driver supports only selection of phy mode in control module but control module has more setting like RGMII ID mode selection, RMII clock source selection. So ported to cpsw-phy-sel driver from kernel to u-boot. [Lokesh Vutla] - Update for am43xx variants. - Use DT data

[U-Boot] [PATCH 1/4] net: enable chip clk for RMII mode.

2016-08-24 Thread Roger Quadros
From: Lokesh Vutla Signed-off-by: Lokesh Vutla --- arch/arm/include/asm/arch-omap5/cpu.h | 3 +++ drivers/net/cpsw.c| 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-omap5/cpu.h b/arch/arm/include/asm/arch-omap5/cpu.h index 683

Re: [U-Boot] [PATCH v1] cmd/sf: probe flash with speed of last known flash or speed from devicetree

2016-08-24 Thread Hannes Schmelzer
On 08/24/2016 01:12 PM, Vignesh R wrote: On Wednesday 24 August 2016 04:21 PM, Hannes Schmelzer wrote: On 08/24/2016 12:35 PM, Vignesh R wrote: Hi, Hi Vignesh, On Wednesday 24 August 2016 03:35 PM, Hannes Schmelzer wrote: During probing flashes on the spi bus using the "sf probe" command, a

Re: [U-Boot] [PATCH 1/4] net: enable chip clk for RMII mode.

2016-08-24 Thread Roger Quadros
On 24/08/16 15:00, Roger Quadros wrote: > From: Lokesh Vutla > > Signed-off-by: Lokesh Vutla > --- > arch/arm/include/asm/arch-omap5/cpu.h | 3 +++ > drivers/net/cpsw.c| 3 ++- > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/include/asm/arch-omap

[U-Boot] [PATCH v2 1/3] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-08-24 Thread Roger Quadros
From: Mugunthan V N cpsw driver supports only selection of phy mode in control module but control module has more setting like RGMII ID mode selection, RMII clock source selection. So ported to cpsw-phy-sel driver from kernel to u-boot. [Lokesh Vutla] - Update for am43xx variants. - Use DT data

[U-Boot] [PATCH v2 2/3] board: am335x-icev2: add ethernet phy mode detection logic

2016-08-24 Thread Roger Quadros
Both ethernet ports can be used as CPSW ethernet (RMII mode) or PRU ethernet (MII mode) by setting the jumper near the port. Read the jumper value and set the pinmux, external mux and PHY clock accordingly. As jumper line is overridden by PHY RX_DV pin immediately after bootstrap (power-up/reset),

[U-Boot] [PATCH v2 0/3] am335x-icev2: Ethernet support

2016-08-24 Thread Roger Quadros
Hi, am335x-icev2 has 2 Ethernet ports that can be used either as CPSW ethernet (RMII mode) or PRUSS ethernet (MII mode) using jumpers placed next to the port on the board. As a different PHY clock is required for RMII mode vs MII mode, we detect the jumper setting and set the PHY clock frequenc

[U-Boot] [PATCH v2 3/3] board: am335x: Always set eth/eth1addr environment variable

2016-08-24 Thread Roger Quadros
Ethernet ports might be used in the kernel even if CPSW driver is disabled at u-boot. So always set ethaddr and eth1addr environment variable from efuse. Retain usbnet_devaddr as it is required for SPL USB eth boot. Signed-off-by: Roger Quadros --- board/ti/am335x/board.c | 72 +

Re: [U-Boot] [PATCH 1/3] x86: efi: payload: Make efi payload build again

2016-08-24 Thread Simon Glass
On 24 August 2016 at 03:31, Bin Meng wrote: > Since commit 73c5c39 "Makefile: Drop unnecessary -dtb suffixes", > EFI payload does not build anymore. This fixes the build. > > Signed-off-by: Bin Meng > --- > > include/efi.h | 2 +- > lib/efi/efi_stub.c | 6 +++--- > 2 files changed, 4 insert

Re: [U-Boot] [PATCH 2/3] x86: efi: payload: Correct BITS_PER_LONG to 32

2016-08-24 Thread Simon Glass
On 24 August 2016 at 03:31, Bin Meng wrote: > U-Boot itself as EFI payload is still running in 32-bit mode. > So BITS_PER_LONG should still be 32. This fixes the warnings > when building EFI 64-bit payload. > > include/asm-generic/bitops/__fls.h:17:2: > warning: left shift count >= width of type

Re: [U-Boot] [PATCH 3/3] x86: qemu: efi: Add two boards for EFI 32-bit and 64-bit payload

2016-08-24 Thread Simon Glass
On 24 August 2016 at 03:31, Bin Meng wrote: > This introduces two board defconfig files for generating EFI 32-bit > and 64-bit payloads, to run on QEMU x86 target. > > With these in place, hopefully buildman will catch any build error > with EFI payload support on x86. > > Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH 1/3] arm: imx-common: add SECURE_BOOT option to Kconfig

2016-08-24 Thread Eric Nelson
Hi Gary, On 08/24/2016 03:12 AM, Gary Bisson wrote: > Hi Eric, all, > > On Tue, Aug 23, 2016 at 05:24:48PM -0700, Eric Nelson wrote: >> Nicely done Gary! >> >> On 08/23/2016 02:55 PM, Gary Bisson wrote: >>> So the option can easily be selected through menuconfig. >>> >>> Signed-off-by: Gary Bisso

Re: [U-Boot] [PATCH] rockchip: Disable SPL_MMC_SUPPORT if ROCKCHIP_SPL_BACK_TO_BROM is enabled.

2016-08-24 Thread Sandy Patterson
On Fri, Aug 12, 2016 at 8:59 PM, Sandy Patterson wrote: > CONFIG_SPL_MMC_SUPPORT is used pretty much for every board except jerry, > so we can refactor the define into rk3288_common.h. Then only define it if > we are using using the Bootrom to load the non SPL U-Boot. > > With this change the SPL

Re: [U-Boot] [PATCH v3 0/3] Modifies the erratum A006261 according to endianness

2016-08-24 Thread york sun
On 08/17/2016 01:17 AM, Marek Vasut wrote: > On 08/17/2016 08:17 AM, Sriram Dash wrote: >> Modifies erratum A006261 implementation due to the fact that P3041, >> P5020, and P5040 are all big endian for the USB PHY registers, but >> they were specified little endian. >> Enables the Phy init settings

Re: [U-Boot] [PATCH v1] cmd/sf: probe flash with speed of last known flash or speed from devicetree

2016-08-24 Thread Hannes Schmelzer
On 08/24/2016 02:21 PM, Hannes Schmelzer wrote: On 08/24/2016 01:12 PM, Vignesh R wrote: On Wednesday 24 August 2016 04:21 PM, Hannes Schmelzer wrote: On 08/24/2016 12:35 PM, Vignesh R wrote: Hi, Hi Vignesh, On Wednesday 24 August 2016 03:35 PM, Hannes Schmelzer wrote: During probing flash

[U-Boot] [PATCH 1/2] configs: ti_omap4_common: Include TWL6030 power and I2C support in SPL

2016-08-24 Thread Paul Kocialkowski
This includes the TWL6030 power driver in SPL, to allow powering up MMC devices. This is especially relevant when the bootrom didn't power any MMC device yet but U-Boot is to be loaded from MMC (e.g. after setting boot mode from the SYS_BOOT pins in peripheral boot). Signed-off-by: Paul Kocialkows

[U-Boot] [PATCH 2/2] panda: Initialize MMC power from TWL6030 in SPL

2016-08-24 Thread Paul Kocialkowski
This adds support for initializing MMC power from TWL6030 in SPL, which is required when the bootrom didn't power the MMC device yet and U-Boot is to be loaded from MMC (e.g. after setting boot mode from the SYS_BOOT pins in peripheral boot). Signed-off-by: Paul Kocialkowski --- board/ti/panda/p

[U-Boot] [RFC PATCH 0/2] RFC: Detect and reject new ad-hoc CONFIG options

2016-08-24 Thread Simon Glass
Despite the availability of Kconfig, the number of ad-hoc CONFIG options in U-Boot is still at over 8000. In February 2015 (commit 741e58e0) there were around 8387 ad-hoc CONFIGs. As of this patch there are about 8336, only a little fewer. One problem is that new ones are still being added, admit

[U-Boot] [RFC PATCH 2/2] Makefile: Give a build error if ad-hoc CONFIG options are added

2016-08-24 Thread Simon Glass
New CONFIG options should be added via Kconfig. To help prevent new ad-hoc CONFIGs from being added, give a build error when these are detected. Signed-off-by: Simon Glass --- Makefile| 10 - scripts/check-config.sh | 55 +

Re: [U-Boot] [PATCH 1/2] configs: ti_omap4_common: Include TWL6030 power and I2C support in SPL

2016-08-24 Thread Tom Rini
On Wed, Aug 24, 2016 at 04:40:41PM +0200, Paul Kocialkowski wrote: > This includes the TWL6030 power driver in SPL, to allow powering up MMC > devices. This is especially relevant when the bootrom didn't power any > MMC device yet but U-Boot is to be loaded from MMC (e.g. after setting > boot mode

Re: [U-Boot] [PATCH 2/2] panda: Initialize MMC power from TWL6030 in SPL

2016-08-24 Thread Tom Rini
On Wed, Aug 24, 2016 at 04:40:42PM +0200, Paul Kocialkowski wrote: > This adds support for initializing MMC power from TWL6030 in SPL, which > is required when the bootrom didn't power the MMC device yet and U-Boot > is to be loaded from MMC (e.g. after setting boot mode from the SYS_BOOT > pins i

[U-Boot] OpenSSL/evp.h fatal error

2016-08-24 Thread Rama Chandra
Hai all, i am using ELDK-5.4 and u-boot-2016.07 version files and ZYNQ_ZC706 board in my system openssl already installed root@caravel:/# apt-cache policy openssl openssl: Installed: 1.0.1f-1ubuntu2.16 Candidate: 1.0.1f-1ubuntu2.19 Version table: 1.0.1f-1ubuntu2.19 0 500 http://a

[U-Boot] OpenSSL/evp.h fatal error

2016-08-24 Thread pc.ramachandra
Hai all, i am using ELDK-5.4 and u-boot-2016.07 version files and ZYNQ_ZC706 board in my system openssl already installed root@caravel:/# apt-cache policy openssl openssl: Installed: 1.0.1f-1ubuntu2.16 Candidate: 1.0.1f-1ubuntu2.19 Version table: 1.0.1f-1ubuntu2.19 0 500 http:/

Re: [U-Boot] [PATCH v2 1/2] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-24 Thread Paul Kocialkowski
Le lundi 22 août 2016 à 08:22 -0400, Tom Rini a écrit : > This series moves the CONFIG_SYS_CACHELINE_SIZE.  First, in nearly all > cases we are mirroring the values used by the Linux Kernel here.  Also, > so long as (and in this case, it is true) we implement flushes in hunks > that are no larger t

Re: [U-Boot] Pull request: u-boot-net.git master

2016-08-24 Thread Tom Rini
On Mon, Aug 22, 2016 at 09:26:53PM -0500, Joe Hershberger wrote: > Hi Tom, > > The following changes since commit c98b171e1098f94b2ff7720c45a25a602882f876: > > Merge branch 'rmobile' of git://git.denx.de/u-boot-sh (2016-08-20 16:40:34 > -0400) > > are available in the git repository at: > >

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-24 Thread Stephen Warren
On 08/24/2016 05:44 AM, vinoth eswaran wrote: On Tue, Aug 23, 2016 at 6:09 PM, Stephen Warren wrote: On 08/23/2016 06:23 AM, vinoth eswaran wrote: On Mon, Aug 22, 2016 at 6:15 PM, Stephen Warren wrote: On 08/22/2016 08:37 AM, vinoth eswaran wrote: Hello Developers, Currently I am wo

Re: [U-Boot] [ANN] U-Boot v2016.09-rc2 released

2016-08-24 Thread Tom Rini
On Wed, Aug 24, 2016 at 09:01:07AM +0200, Lukasz Majewski wrote: > Hi Tom, > > > A non-code change is that now I have Jenkins setup to automatically > > Jenkins - brrr I've had a really hard time with this "peculiar" > piece of SW. > > Run away from it if you still can > > I've switched

Re: [U-Boot] [RFC PATCH 1/2] Kconfig: Add a whitelist of ad-hoc CONFIG options

2016-08-24 Thread Stephen Warren
On 08/24/2016 08:44 AM, Simon Glass wrote: Add a list of ad-hoc CONFIG options that don't use Kconfig. This can be used to check that new ones are not being added. diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt +CONFIG_ Does that indicate a bug in the regex in th

Re: [U-Boot] [RFC PATCH 2/2] Makefile: Give a build error if ad-hoc CONFIG options are added

2016-08-24 Thread Stephen Warren
On 08/24/2016 08:44 AM, Simon Glass wrote: New CONFIG options should be added via Kconfig. To help prevent new ad-hoc CONFIGs from being added, give a build error when these are detected. Acked-by: Stephen Warren Tested-by: Stephen Warren I worried about the increased build time due to find/

Re: [U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Implement Erratum A-010151 for FSL USB3 controller

2016-08-24 Thread Marek Vasut
On 08/24/2016 12:39 PM, Sriram Dash wrote: > 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 Rec

Re: [U-Boot] [PATCH] usb: gadget: ci_udc: fix suspend/resume of USB Mass Storage

2016-08-24 Thread Marek Vasut
On 08/24/2016 07:25 AM, John Tobias wrote: > Hi Marek, Hi! > On Tue, Aug 23, 2016 at 8:29 PM, Marek Vasut wrote: >> On 08/24/2016 03:30 AM, John Tobias wrote: >>> Hi Marek, >> >> Hi, >> >>> On Tue, Aug 23, 2016 at 5:18 PM, Marek Vasut wrote: On 08/24/2016 12:49 AM, Fabio Estevam wrote: >>>

Re: [U-Boot] [PATCH v3 1/7] usb: xhci-rockchip: add rockchip dwc3 controller driver

2016-08-24 Thread Marek Vasut
On 08/24/2016 06:02 AM, Kever Yang wrote: > From: MengDongyang > > This patch add support for rockchip dwc3 controller, which corresponding > to the two type-C port on rk3399 evb. > Only support usb2.0 currently for we have not enable the usb3.0 phy > driver and PD(fusb302) driver. > > Signed-of

Re: [U-Boot] [PATCH v2 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2016-08-24 Thread Marek Vasut
On 08/24/2016 05:46 AM, Kever Yang wrote: > The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY, > add one variable in dwc3/dwc3_device struct to support 16 bit > UTMI+ interface on some SoCs like Rockchip rk3399. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - use a var

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-24 Thread vinoth eswaran
On Wed, Aug 24, 2016 at 6:01 PM, Stephen Warren wrote: > On 08/24/2016 05:44 AM, vinoth eswaran wrote: >> >> On Tue, Aug 23, 2016 at 6:09 PM, Stephen Warren >> wrote: >>> >>> On 08/23/2016 06:23 AM, vinoth eswaran wrote: On Mon, Aug 22, 2016 at 6:15 PM, Stephen Warren wrote:

[U-Boot] [PATCHv3] nand: Fix set_dev checks for no device

2016-08-24 Thread Tony Lindgren
If we do nand device 0 command in u-boot on a device that has NAND support enabled but no NAND chip, we can get data abort at least on omaps. Fix the issue by replacing the check with nand_info[dev] as suggested by Scott Wood. The check for name existed before because before the array-to-pointer c

Re: [U-Boot] [PATCH] nand: Fix set_dev checks for no device

2016-08-24 Thread Tony Lindgren
* Scott Wood [160823 17:05]: > On Tue, 2016-08-23 at 15:21 -0700, Tony Lindgren wrote: > > OK seems to work. Updated patch below. > > > > Regards, > > > > Tony > > 8< - > > From: Tony Lindgren > > Date: Tue, 23 Aug 2016 15:14:26 -0700 > > Subject: [PATCHv2] nand: Fix set_dev che

[U-Boot] [PATCH 02/42] moveconfig: Add an option to commit changes

2016-08-24 Thread Simon Glass
The moveconfig tool is quite clever and generally produces results that are suitable for sending as a patch without further work. The main required step is to add the changes to a commit. Add an option to do this automatically. This allows moveconfig to be used from a script to convert multiple CO

[U-Boot] [PATCH 13/42] Convert CONFIG_SPL_DMA_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am57xx_evm_defconfig| 25 + configs/am57xx_evm_nodt_defconfig | 11 ++- configs/am57xx_hs_evm_defconfig | 26 +- configs/dra7xx_evm

[U-Boot] [PATCH 03/42] Kconfig: Move SPL settings into their own file

2016-08-24 Thread Simon Glass
Move the SPL settings into common/spl where most of the SPL code is kept. Signed-off-by: Simon Glass --- Kconfig| 68 -- common/Kconfig | 2 ++ common/spl/Kconfig | 67 + 3 f

[U-Boot] [PATCH 01/42] moveconfig: Add an option to skip prompts

2016-08-24 Thread Simon Glass
At present it is not easy to use moveconfig from a script since it asks for user input a few times. Add a -y option to skip this and assume that 'y' was entered. Signed-off-by: Simon Glass --- tools/moveconfig.py | 33 +++-- 1 file changed, 19 insertions(+), 14 delet

[U-Boot] [PATCH 04/42] arm: fsl: Adjust ordering of #ifndef CONFIG_SPL_BUILD

2016-08-24 Thread Simon Glass
The secure boot header files incorrectly define SPL options only if CONFIG_SPL_BUILD is defined. This means that the options are only enabled in an SPL build, and not with a normal 'make xxx_defconfig'. This means that moveconfig.py cannot work, since it sees the options as disabled even when they

[U-Boot] [PATCH 07/42] Kconfig: spl: Add SPL support options to Kconfig

2016-08-24 Thread Simon Glass
There are a lot of SPL options in U-Boot to enable various features and drivers. Currently these do not use Kconfig. Add them to Kconfig along with suitable help, and drop them from the README. Signed-off-by: Simon Glass --- README | 49 --- common/spl/Kconfig | 410 +++

[U-Boot] [PATCH 05/42] Drop CONFIG_SPL_RAM_SUPPORT

2016-08-24 Thread Simon Glass
This option does not exist in U-Boot. Drop it. Signed-off-by: Simon Glass --- include/configs/rk3288_common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h index d3d4c68..9b2fe32 100644 --- a/include/configs/rk3288_common.h

[U-Boot] [PATCH 11/42] Convert CONFIG_SPL_CRYPTO_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- arch/arm/include/asm/fsl_secure_boot.h | 1 - arch/powerpc/include/asm/fsl_secure_boot.h | 1 - configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig | 1 + configs/ls1021atwr_sdcard_ifc_SE

[U-Boot] [PATCH 08/42] Kconfig: tpl: Add some TPL support options to Kconfig

2016-08-24 Thread Simon Glass
Some of the SPL options have TPL equivalents. Add these to Kconfig so that we can convert these options over to work from Kconfig. Signed-off-by: Simon Glass --- common/spl/Kconfig | 83 -- 1 file changed, 75 insertions(+), 8 deletions(-) dif

[U-Boot] [PATCH 10/42] Move existing use of CONFIG_SPL_RSA to Kconfig

2016-08-24 Thread Simon Glass
A few boards define this in a header file which is incorrect. It means that Kconfig options that rely on this cannot be used. Move it. Signed-off-by: Simon Glass --- arch/arm/include/asm/fsl_secure_boot.h | 1 - arch/powerpc/include/asm/fsl_secure_boot.h | 1 - confi

[U-Boot] [PATCH 12/42] Convert CONFIG_SPL_HASH_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- arch/arm/include/asm/fsl_secure_boot.h | 1 - arch/powerpc/include/asm/fsl_secure_boot.h | 1 - configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig | 1 + configs/ls1021atwr_sdcard_ifc_SE

[U-Boot] [PATCH 16/42] Convert CONFIG_SPL_ETH_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am43xx_evm_ethboot_defconfig | 3 ++- configs/pcm051_rev1_defconfig| 1 + configs/pcm051_rev3_defconfig| 1 + configs/pengwyn_defconfig| 1 + include/configs/am335x_shc.h

[U-Boot] [PATCH 09/42] Move existing use of CONFIG_SPL_DM to Kconfig

2016-08-24 Thread Simon Glass
A few boards define this in a header file which is incorrect. It means that Kconfig options that rely on this cannot be used. Move it. Note that quite a few boards defined this options but do not appear to actually use SPL: BSC9132QDS_NOR_DDRCLK100_SECURE BSC9132QDS_NOR_DDRCLK133_

[U-Boot] [PATCH 26/42] Convert CONFIG_SPL_MTD_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am335x_baltos_defconfig | 1 + configs/am335x_evm_defconfig | 1 + configs/am335x_evm_nor_defconfig | 1 + configs/am335x_evm_usbspl_defconfig | 1 + configs/am335

[U-Boot] [PATCH 29/42] Convert CONFIG_SPL_NET_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am335x_evm_usbspl_defconfig | 1 + configs/am43xx_evm_ethboot_defconfig | 1 + configs/pcm051_rev1_defconfig| 1 + configs/pcm051_rev3_defconfig| 1 + configs/pengwyn_defconfig

[U-Boot] [PATCH 42/42] Convert CONFIG_SPL_YMODEM_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am335x_baltos_defconfig| 1 + configs/am335x_boneblack_defconfig | 1 + configs/am335x_boneblack_vboot_defconfig | 1 + configs/am335x_evm_defconfig | 1 + configs/a

[U-Boot] [PATCH 27/42] Convert CONFIG_SPL_MUSB_NEW_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am335x_boneblack_defconfig | 1 + configs/am335x_boneblack_vboot_defconfig | 1 + configs/am335x_evm_defconfig | 1 + configs/am335x_evm_nor_defconfig | 1 + configs/am335x_ev

[U-Boot] [PATCH 40/42] Convert CONFIG_SPL_USB_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am43xx_evm_usbhost_boot_defconfig | 1 + include/configs/am43xx_evm.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/co

[U-Boot] [PATCH 30/42] Convert CONFIG_SPL_NOR_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/a3m071_defconfig | 1 + configs/a4m2k_defconfig | 1 + configs/edminiv2_defconfig | 1 + configs/microblaze-generic_defconfig | 1 + configs/uniphier_ld11_defconfig

[U-Boot] [PATCH 39/42] Convert CONFIG_SPL_USB_HOST_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am43xx_evm_usbhost_boot_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/configs/am43xx_evm_usbhost_boot_defconfig index 1325

[U-Boot] [PATCH 38/42] Convert CONFIG_SPL_USBETH_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am335x_evm_usbspl_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig index c37f36e..82ac5b4 10064

[U-Boot] [PATCH 32/42] Convert CONFIG_SPL_PINCTRL_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/chromebook_jerry_defconfig | 1 + configs/evb-rk3288_defconfig | 1 + configs/fennec-rk3288_defconfig| 1 + configs/firefly-rk3288_defconfig | 1 + configs/miniarm-rk3288_defconfig | 1 +

[U-Boot] [PATCH 34/42] Convert CONFIG_SPL_SATA_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/cm_t54_defconfig | 1 + include/configs/cm_t54.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/cm_t54_defconfig b/configs/cm_t54_defconfig index b536f3d..8af5513 100644 --

[U-Boot] [PATCH 31/42] Convert CONFIG_SPL_ONENAND_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/igep0020_defconfig | 1 + configs/igep0030_defconfig | 1 + configs/igep0030_nand_defconfig | 1 + configs/igep0032_defconfig | 1 + include/configs/omap3_igep00x0.h | 1 - 5 files c

[U-Boot] [PATCH 06/42] Use separate options for TPL support

2016-08-24 Thread Simon Glass
At present TPL uses the same options as SPL support. In a few cases the board config enables or disables the SPL options depending on whether CONFIG_TPL_BUILD is defined. With the move to Kconfig, options are determined for the whole build and (without a hack like an #undef in a header file) canno

[U-Boot] [PATCH 18/42] Convert CONFIG_SPL_FAT_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am335x_baltos_defconfig | 1 + configs/am335x_boneblack_defconfig | 1 + configs/am335x_boneblack_vboot_defconfig | 1 + configs/am335x_evm_defconfig

[U-Boot] [PATCH 14/42] Convert CONFIG_SPL_DRIVERS_MISC_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- arch/arm/include/asm/fsl_secure_boot.h | 1 - arch/powerpc/include/asm/fsl_secure_boot.h | 3 --- configs/B4420QDS_NAND_defconfig | 3 ++- configs/B4860QDS_NAND_defcon

[U-Boot] [PATCH 00/42] Kconfig: Move CONFIG_SPL_..._SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
This series moves all the CONFIG_SPL_..._SUPPORT options to Kconfig and fixes up existing boards to continue to build. It also adds a few small but useful features to moveconfig. There is existing work going on in this area, so some of these patches may be superseded. It has taken me a while to g

[U-Boot] [PATCH 22/42] Convert CONFIG_SPL_LIBDISK_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/A10-OLinuXino-Lime_defconfig | 1 + configs/A10s-OLinuXino-M_defconfig | 1 + configs/A13-OLinuXinoM_defconfig | 1 + configs/A13-OLinuXino_defconfig

[U-Boot] [PATCH 15/42] Convert CONFIG_SPL_ENV_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/B4420QDS_NAND_defconfig | 1 + configs/B4860QDS_NAND_defconfig | 1 + configs/C29XPCIE_NAND_defconfig | 1 + configs/P1010RDB-PA_36BIT_NAN

[U-Boot] [PATCH 28/42] Convert CONFIG_SPL_NAND_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/B4420QDS_NAND_defconfig| 1 + configs/B4860QDS_NAND_defconfig| 1 + configs/BSC9131RDB_NAND_SYSCLK100_defconfig| 3 ++- configs/BSC9131RDB_NAND_defconfig

[U-Boot] [PATCH 36/42] Convert CONFIG_SPL_SPI_FLASH_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig | 1 + configs/P1010RDB-PA_SPIFLASH_defconfig | 1 + configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig | 1 + configs/P1010RDB-PB_SPIFLASH_defconfig | 1 + c

[U-Boot] [PATCH 17/42] Convert CONFIG_SPL_EXT_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am335x_baltos_defconfig| 5 +++-- configs/am335x_boneblack_defconfig | 1 + configs/am335x_boneblack_vboot_defconfig | 1 + configs/am335x_evm_defconfig | 13

[U-Boot] [PATCH 41/42] Convert CONFIG_SPL_WATCHDOG_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/am335x_baltos_defconfig | 1 + configs/am335x_boneblack_defconfig | 1 + configs/am335x_boneblack_vboot_defconfig| 1 + configs/am335x_evm_defconfig

[U-Boot] [PATCH 33/42] Convert CONFIG_SPL_POWER_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/A10-OLinuXino-Lime_defconfig | 1 + configs/A10s-OLinuXino-M_defconfig | 1 + configs/A13-OLinuXino_defconfig| 1 + configs/A20-OLinuXino-Lime2_defconfig | 1 + configs/A

[U-Boot] [PATCH 37/42] Convert CONFIG_SPL_SPI_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig | 1 + configs/P1010RDB-PA_SPIFLASH_defconfig | 1 + configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig | 1 + configs/P1010RDB-PB_SPIFLASH_defconfig | 1 + c

Re: [U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-24 Thread Marek Vasut
On 08/24/2016 06:44 PM, york sun wrote: > On 08/23/2016 09:33 PM, Sriram Dash wrote: >>> From: york sun >>> On 08/22/2016 06:54 AM, Marek Vasut wrote: On 08/22/2016 02:25 PM, Sriram Dash wrote: > This is required for better performance, and performs below tuning: > 1. Enable burst leng

[U-Boot] [PATCH 25/42] Convert CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT to Kconfig

2016-08-24 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- configs/B4420QDS_NAND_defconfig | 1 + configs/B4860QDS_NAND_defconfig | 1 + configs/C29XPCIE_NAND_defconfig | 1 + configs/P1010RDB-PA_36BIT_NAND_d

Re: [U-Boot] [PATCH 19/42] Convert CONFIG_SPL_GPIO_SUPPORT to Kconfig

2016-08-24 Thread Maxime Ripard
Hi Simon, On Wed, Aug 24, 2016 at 10:52:03AM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass > --- > > configs/A10-OLinuXino-Lime_defconfig | 3 ++- > configs/A10s-OLinuXino-M_defconfig | 3 ++- > configs/A13

[U-Boot] [PATCH v2 3/3] spl: Rework image header parse to allow abort on raw image and os boot

2016-08-24 Thread Paul Kocialkowski
This reworks spl_set_header_raw_uboot to allow having both os boot (which comes with a valid header) and aborting when no valid header is found (thus excluding raw u-boot.bin images). Signed-off-by: Paul Kocialkowski --- common/spl/spl.c | 11 +++ 1 file changed, 7 insertions(+), 4 delet

[U-Boot] [PATCH v2 1/3] configs: ti_omap4_common: Include TWL6030 power and I2C support in SPL

2016-08-24 Thread Paul Kocialkowski
This includes the TWL6030 power driver in SPL, to allow powering up MMC devices. This is especially relevant when the bootrom didn't power any MMC device yet but U-Boot is to be loaded from MMC (e.g. after setting boot mode from the SYS_BOOT pins in peripheral boot). Signed-off-by: Paul Kocialkows

[U-Boot] [PATCH v2 2/3] panda: Initialize MMC power from TWL6030 in SPL

2016-08-24 Thread Paul Kocialkowski
This adds support for initializing MMC power from TWL6030 in SPL, which is required when the bootrom didn't power the MMC device yet and U-Boot is to be loaded from MMC (e.g. after setting boot mode from the SYS_BOOT pins in peripheral boot). Signed-off-by: Paul Kocialkowski --- board/ti/panda/p

Re: [U-Boot] [PATCH 2/2] panda: Initialize MMC power from TWL6030 in SPL

2016-08-24 Thread Paul Kocialkowski
Le mercredi 24 août 2016 à 11:24 -0400, Tom Rini a écrit : > On Wed, Aug 24, 2016 at 04:40:42PM +0200, Paul Kocialkowski wrote: > > This adds support for initializing MMC power from TWL6030 in SPL, which > > is required when the bootrom didn't power the MMC device yet and U-Boot > > is to be loaded

Re: [U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-24 Thread york sun
Ha! I misunderstood. I read this "Enable burst length set, and define it as 4/8/16" and somehow my brain interpreted it as a date. I must be traveling too much recently. :) York Original Message From: Marek Vasut Sent: Wednesday, August 24, 2016 10:10 AM To: york sun ,Sriram

  1   2   >