[U-Boot] [PATCH] Tegra: Allow TZ writes to VPR aperature regs

2015-07-29 Thread Tom Warren
VPR (Video Protect Region) may be reconfigured from secure code in the kernel/OS. Set the ALLOW_TZ_WRITE_ACCESS bit in REG_CTRL to allow this. Also used common CONFIG option (CONFIG_LOCK_VPR) in T124/T210 builds to enable VPR setup. Signed-off-by: Tom Warren twar...@nvidia.com ---

[U-Boot] [PATCH] T210: P2571: Turn CPU fan on

2015-07-29 Thread Tom Warren
CPU board (E2530) has a fan - turn it on via GPIO to keep the SoC cool. Signed-off-by: Tom Warren twar...@nvidia.com --- arch/arm/mach-tegra/board2.c | 3 +++ board/nvidia/p2571/p2571.c | 12 2 files changed, 15 insertions(+) diff --git a/arch/arm/mach-tegra/board2.c

[U-Boot] [PATCH] T210: P2571: Enable SD-card power via PMIC LDO2

2015-07-29 Thread Tom Warren
This was done in the 32-bit AVP loader (SPL) but is board-specific so should be moved to the CPU portion. Signed-off-by: Tom Warren twar...@nvidia.com --- board/nvidia/p2571/Makefile| 1 - board/nvidia/p2571/max77620_init.c | 85 --

[U-Boot] [PATCH] T210: P2571: Restore USB gadget mode (ums)

2015-07-29 Thread Tom Warren
The tegra-common-usb-gadget.h include was causing some build problems in ci_udc.c with a 64-bit gcc in an earlier version of the T210 patches, but it is working fine now, so restore it. Signed-off-by: Tom Warren twar...@nvidia.com --- include/configs/p2571.h | 1 + 1 file changed, 1 insertion(+)

Re: [U-Boot] [PATCH v3 1/2] arch: Make board selection choices optional

2015-07-29 Thread Alexey Brodkin
Hi Joe, On Wed, 2015-05-13 at 10:11 +0900, Masahiro Yamada wrote: Hi Joe, 2015-05-13 7:12 GMT+09:00 Tom Rini tr...@konsulko.com: diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index c044ad4..85fddd2 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -132,6 +132,7 @@ config

Re: [U-Boot] [PATCH V3 6/6] T210: Add support for 64-bit T210-based P2571 board

2015-07-29 Thread Stephen Warren
On 07/29/2015 05:07 AM, Thierry Reding wrote: On Tue, Jul 28, 2015 at 01:27:07PM -0600, Stephen Warren wrote: On 07/24/2015 04:01 PM, Tom Warren wrote: Based on Venice2, incorporates Stephen Warren's latest P2571 pinmux table. With Thierry Reding's 64-bit build fixes, this will build and and

Re: [U-Boot] [PATCH v2 2/4] nand: lpc32xx: add hardware ECC support

2015-07-29 Thread Marek Vasut
On Wednesday, July 29, 2015 at 06:14:08 PM, slemieux.t...@gmail.com wrote: Hi! [...] +#if defined(CONFIG_DMA_LPC32XX) !defined(CONFIG_SPL_BUILD) +/* Prepares DMA descriptors for NAND RD/WR operations */ +/* If the size is 256 Bytes then it is assumed to be + * an OOB transfer */ +static

Re: [U-Boot] [PATCH v2 1/4] dma: lpc32xx: add DMA driver

2015-07-29 Thread Marek Vasut
On Wednesday, July 29, 2015 at 06:14:07 PM, slemieux.t...@gmail.com wrote: From: Sylvain Lemieux slemi...@tycoint.com Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. The

Re: [U-Boot] [PATCH v2 1/4] dma: lpc32xx: add DMA driver

2015-07-29 Thread Marek Vasut
On Wednesday, July 29, 2015 at 07:07:44 PM, LEMIEUX, SYLVAIN wrote: Hi Marek, Thanks for the feedback; I will look into it and submit an updated version once I get feedback for the other patches. Thanks :) Wait a bit for further feedback please . Best regards, Marek Vasut

Re: [U-Boot] [PATCH v2 2/4] nand: lpc32xx: add hardware ECC support

2015-07-29 Thread Vladimir Zapolskiy
Hi Marek, Sylvain, On 29.07.2015 19:50, Marek Vasut wrote: On Wednesday, July 29, 2015 at 06:14:08 PM, slemieux.t...@gmail.com wrote: [snip] static void lpc32xx_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) { +#if defined(CONFIG_DMA_LPC32XX) !defined(CONFIG_SPL_BUILD) I'm

Re: [U-Boot] Please pull u-boot-x86

2015-07-29 Thread Tom Rini
On Tue, Jul 28, 2015 at 11:42:22AM -0600, Simon Glass wrote: Hi Tom, Here are some more PCI driver model improvements and better interrupt support on x86. The following changes since commit 66d10c18bf2c34698362b6fe1891bcc6e8755243: Merge branch 'zynq' of

[U-Boot] [PATCH v2 4/4] usb: lpc32xx: add host USB driver

2015-07-29 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. The legacy driver was updated to integrate with the latest u-boot. Signed-off-by:

Re: [U-Boot] [PATCH] mpc85xx/T104xRDB: Remove vbank check redundant code

2015-07-29 Thread York Sun
On 07/29/2015 01:31 AM, Jain Priyanka-B32167 wrote: -Original Message- From: Sun York-R58495 Sent: Tuesday, July 28, 2015 12:37 AM To: Jain Priyanka-B32167; u-boot@lists.denx.de Subject: Re: [PATCH] mpc85xx/T104xRDB: Remove vbank check redundant code On 05/17/2015 11:31 PM,

Re: [U-Boot] [PATCH V3 6/6] T210: Add support for 64-bit T210-based P2571 board

2015-07-29 Thread Tom Warren
-Original Message- From: Thierry Reding Sent: Wednesday, July 29, 2015 4:08 AM To: Stephen Warren Cc: Tom Warren; u-boot@lists.denx.de; Stephen Warren; tomcwarren3...@gmail.com Subject: Re: [U-Boot] [PATCH V3 6/6] T210: Add support for 64-bit T210-based P2571 board On Tue, Jul

Re: [U-Boot] [PATCH v2 00/11] USB and sunxi Kconfig and config changes leading up to fastboot support

2015-07-29 Thread Marek Vasut
On Wednesday, July 29, 2015 at 04:41:53 PM, Hans de Goede wrote: Hi, Hi! On 29-07-15 15:32, Paul Kocialkowski wrote: This series is based off the following patch: * drivers: hierarchize drivers Kconfig menu that was sent to the list earlier. Please pick it up as well when merging

Re: [U-Boot] [PATCH v2 1/4] dma: lpc32xx: add DMA driver

2015-07-29 Thread LEMIEUX, SYLVAIN
Hi Marek, Thanks for the feedback; I will look into it and submit an updated version once I get feedback for the other patches. From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Marek Vasut On Wednesday, July 29, 2015 at 06:14:07 PM, slemieux.t...@gmail.com wrote: From:

[U-Boot] [PATCH v2 2/4] nand: lpc32xx: add hardware ECC support

2015-07-29 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate NAND SLC hardware ECC support from legacy LPCLinux NXP BSP. The code taken from the legacy patch are: - lpc32xx SLC NAND driver (hardware ECC support) - lpc3250 header file missing SLC NAND registers definition The legacy driver code was

[U-Boot] [PATCH v2 3/4] nand: lpc32xx: add ECC layout for small page NAND

2015-07-29 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate ECC layout for small page NAND from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (ECC layout for small page) This layout is matching the lpc32xx NAND SLC Kernel driver:

[U-Boot] [PATCH v2 0/4] lpc32xx: add legacy NXP BSP drivers

2015-07-29 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com This series of patches bring the legacy NXP LPC32xx BSP drivers SLC NAND (hardware ECC), DMA USB into the latest u-boot. Refer to each individual patches for details on the change done to integrate the driver into the latest u-boot. The legacy BSP

[U-Boot] [PATCH v2 1/4] dma: lpc32xx: add DMA driver

2015-07-29 Thread slemieux . tyco
From: Sylvain Lemieux slemi...@tycoint.com Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. The legacy driver was updated to integrate with the latest u-boot. Signed-off-by:

[U-Boot] Driver for SD card in Odroid-X2

2015-07-29 Thread Humberto López León
Hi community, my team and I are working on the implementation of a driver for SD cards in the ODROID-X2 (exynos4412). This driver we want to incorporate into the framework GenodeOS, but we have some doubts in implementation. Below I list a few: 1- We are implementing the controller DWMMC.

Re: [U-Boot] [PATCH 2/2] net: lpc32xx: add RMII phy mode support

2015-07-29 Thread LEMIEUX, SYLVAIN
From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Vladimir Zapolskiy Sent: 6-Jul-15 12:22 AM LPC32xx MAC and clock control configuration requires some minor quirks to deal with a phy connected by RMII. It's worth to mention that the kernel and legacy BSP from NXP sets

Re: [U-Boot] [PATCH 2/2] ARM: tegra: Add p2371-0000 board

2015-07-29 Thread Tom Warren
Stephen, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, July 29, 2015 12:49 PM To: u-boot@lists.denx.de; Simon Glass; Tom Warren; Stephen Warren Cc: Thierry Reding Subject: [PATCH 2/2] ARM: tegra: Add p2371- board From: Stephen Warren

Re: [U-Boot] [PATCH v2 3/6] hi6553: Add register definition and bitfield header for 6553 pmic

2015-07-29 Thread Peter Griffin
Hi Simon, On 18 July 2015 at 15:37, Simon Glass s...@chromium.org wrote: Hi Peter, On 8 July 2015 at 09:57, Peter Griffin peter.grif...@linaro.org wrote: This pmic is used on the 96boards consumer edition HiKey board. Signed-off-by: Peter Griffin peter.grif...@linaro.org ---

[U-Boot] [PATCH v3 2/8] dm: gpio: hi6220: Add a hi6220 GPIO driver model driver.

2015-07-29 Thread Peter Griffin
This patch adds support for the GPIO perif found on hi6220 SoC. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/include/asm/arch-hi6220/gpio.h | 29 ++ drivers/gpio/Makefile | 2 + drivers/gpio/hi6220_gpio.c | 95

[U-Boot] [PATCH v3 1/8] usb: dwc2: Call board_usb_init() from usb_lowlevel_init()

2015-07-29 Thread Peter Griffin
This patch makes the dwc2 controller like ehci / ohci / xhci controllers by calling the board_usb_init() function from usb_lowlevel_init. This can then be implemented by specific platforms to initialise their USB hardware (phys / clocks etc). Signed-off-by: Peter Griffin peter.grif...@linaro.org

[U-Boot] [PATCH v3 3/8] ARM: hi6220: Add register and bitfield definition header files.

2015-07-29 Thread Peter Griffin
This patch adds the header files which will be used in the subsquent board / drivers to enable support for hi6220 hikey board. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/include/asm/arch-hi6220/hi6220.h | 387 +++

[U-Boot] [PATCH v3 4/8] hisilicon: hi6220: Add a hi6220 pinmux driver.

2015-07-29 Thread Peter Griffin
This patch adds basic pinmux support for the hi6220 SoC, which is found on the hikey board. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/cpu/armv8/Makefile | 1 + arch/arm/cpu/armv8/hisilicon/Makefile | 9 ++ arch/arm/cpu/armv8/hisilicon/pinmux.c |

[U-Boot] [PATCH v3 5/8] pmic: pmic_hi6553: Add a driver for the hi6553 pmic found on hikey board.

2015-07-29 Thread Peter Griffin
This adds a simple pmic driver for the hi6553 pmic which is used in conjunction with the hi6220 SoC on the hikey board. Eventually this driver will be updated to be a proper UCLASS PMIC driver which can parse the voltages direct from device tree. Signed-off-by: Peter Griffin

[U-Boot] [PATCH v3 0/8] Add support for hi6220 SoC and HiKey 96boards CE board.

2015-07-29 Thread Peter Griffin
Hi Albert, This series adds support for the first 96boards consumer edition HiKey board. More information can be found about this board at the following link https://www.96boards.org/products/hikey/. This initial port adds support for: - 1) Serial 2) eMMC and sd card 3) USB 4) GPIO It has been

Re: [U-Boot] [PATCH v2 2/6] ARM: hi6220: Add register and bitfield definition header files.

2015-07-29 Thread Peter Griffin
Hi Simon, On 18 July 2015 at 15:37, Simon Glass s...@chromium.org wrote: Hi Peter, On 8 July 2015 at 09:57, Peter Griffin peter.grif...@linaro.org wrote: This patch adds the header files which will be used in the subsquent board / drivers to enable support for hi6220 hikey board.

[U-Boot] [PATCH v3 6/8] mmc: hi6220_dw_mmc: Add hi6220 glue code for dw_mmc controller.

2015-07-29 Thread Peter Griffin
This patch adds the glue code for hi6220 SoC which has 2x synopsis dw_mmc controllers. This will be used by the hikey board support in subsequent patches. Signed-off-by: Peter Griffin peter.grif...@linaro.org Reviewed-by: Simon Glass s...@chromium.org --- arch/arm/include/asm/arch-hi6220/dwmmc.h

[U-Boot] [PATCH v3 8/8] ARM64: hikey: Add a README for this board.

2015-07-29 Thread Peter Griffin
To help others with compiling and flashing ATF and u-boot add a README for this board. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- board/hisilicon/hikey/README | 160 +++ 1 file changed, 160 insertions(+) create mode 100644

[U-Boot] [PATCH v3 7/8] ARM64: hikey: hi6220: Add u-boot support for the 96boards CE HiKey board.

2015-07-29 Thread Peter Griffin
HiKey is the first 96boards consumer edition compliant board. It features a hi6220 SoC which has eight ARM A53 cpu's. This initial port adds support for: - 1) Serial 2) eMMC / SD card 3) USB 4) GPIO It has been tested with Arm Trusted Firmware running u-boot as the BL33 executable. Notes:

Re: [U-Boot] [PATCH v2 5/6] ARM64: hikey: hi6220: Add u-boot support for the 96boards CE HiKey board.

2015-07-29 Thread Peter Griffin
Hi Rob, On 16 July 2015 at 14:28, Rob Herring robherri...@gmail.com wrote: On Wed, Jul 15, 2015 at 7:41 PM, Peter Griffin peter.grif...@linaro.org wrote: Hi Rob, On Fri, 10 Jul 2015, Rob Herring wrote: On Wed, Jul 8, 2015 at 10:57 AM, Peter Griffin peter.grif...@linaro.org wrote:

Re: [U-Boot] [PATCH v2 2/4] nand: lpc32xx: add hardware ECC support

2015-07-29 Thread LEMIEUX, SYLVAIN
Hi Vladimir, Marek, Thanks for the feedback; see comments below. From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Vladimir Zapolskiy Hi Marek, Sylvain, On 29.07.2015 19:50, Marek Vasut wrote: On Wednesday, July 29, 2015 at 06:14:08 PM, slemieux.t...@gmail.com wrote:

Re: [U-Boot] [PATCH v3 1/2] arch: Make board selection choices optional

2015-07-29 Thread Alexey Brodkin
Hi Joe, Masahiro-san, On Wed, 2015-07-29 at 20:25 +0300, Alexey Brodkin wrote: Hi Joe, On Wed, 2015-05-13 at 10:11 +0900, Masahiro Yamada wrote: Hi Joe, 2015-05-13 7:12 GMT+09:00 Tom Rini tr...@konsulko.com: diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index

[U-Boot] [PATCH 2/2] ARM: tegra: Add p2371-0000 board

2015-07-29 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra210-p2371-.dts | 59 + arch/arm/mach-tegra/tegra210/Kconfig | 6 +

[U-Boot] [PATCH 1/2] ARM: tegra: Add e2220-1170 board

2015-07-29 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra210-e2220-1170.dts | 58 + arch/arm/mach-tegra/tegra210/Kconfig | 6 +

[U-Boot] [PATCH V2 2/2] ARM: tegra: Add p2371-0000 board

2015-07-29 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: Use named constants for PMIC I2C and register addresses. --- arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra210-p2371-.dts | 59 +

[U-Boot] [PATCH V2 1/2] ARM: tegra: Add e2220-1170 board

2015-07-29 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: Use named constants for PMIC I2C and register addresses. --- arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra210-e2220-1170.dts | 58 +

Re: [U-Boot] [PATCH v4 2/4] nand: lpc32xx: add SLC NAND controller support

2015-07-29 Thread LEMIEUX, SYLVAIN
From: Scott Wood [mailto:scottw...@freescale.com] Sent: 27-Jul-15 9:24 PM On Sat, 2015-07-18 at 03:07 +0300, Vladimir Zapolskiy wrote: The change adds support of LPC32xx SLC NAND controller. LPC32xx SoC has two different mutually exclusive NAND controllers to communicate with single

[U-Boot] [PATCH] ARM: tegra: restrict usable RAM size further

2015-07-29 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Additionally, ARM64 devices typically run a secure monitor in EL3 and U-Boot in EL2, and set up some secure RAM carve-outs to contain the EL3 code and data. These carve-outs are located at the top of 32-bit address space. Restrict U-Boot's RAM usage to well

[U-Boot] [PATCH 2/2] Tegra: PLL: use per-SoC pllinfo table instead of PLL_DIVM/N/P, etc.

2015-07-29 Thread Tom Warren
Added PLL variables (dividers mask/shift, lock enable/detect, etc.) to new pllinfo struct for each Soc/PLL. PLLA/C/D/E/M/P/U/X. Used pllinfo struct in all clock functions, validated on T210. Should be equivalent to prior code on T124/114/30/20 but needs test. Corrections to divm mask vs shift

Re: [U-Boot] [PATCH] T210: P2571: Enable SD-card power via PMIC LDO2

2015-07-29 Thread Stephen Warren
On 07/29/2015 10:24 AM, Tom Warren wrote: This was done in the 32-bit AVP loader (SPL) but is board-specific so should be moved to the CPU portion. For: T210: P2571: Enable SD-card power via PMIC LDO2 T210: P2571: Restore USB gadget mode (ums) T210: P2571: Turn CPU fan on Acked-by: Stephen

[U-Boot] [PATCH 1/2] Tegra: clocks: Add 38.4MHz OSC support for T210 use

2015-07-29 Thread Tom Warren
Added 38.4MHz/48MHz entries to pll_x_table for CPU PLL. Needs to be measured - should be close to 700MHz (1.4G/2). Note that some freqs aren't in the PLLU table in T210 TRM (13, 26MHz), so I used the 12MHz table entry for them. They shouldn't be selected since they're not viable T210 OSC freqs.

Re: [U-Boot] [PATCH v3 1/8] usb: dwc2: Call board_usb_init() from usb_lowlevel_init()

2015-07-29 Thread Tom Rini
On Thu, Jul 30, 2015 at 01:36:07AM +0200, Marek Vasut wrote: On Wednesday, July 29, 2015 at 11:39:29 PM, Peter Griffin wrote: This patch makes the dwc2 controller like ehci / ohci / xhci controllers by calling the board_usb_init() function from usb_lowlevel_init. This can then be

Re: [U-Boot] [RFC] am33xx: add 600us wait in DDR3 initialization sequence

2015-07-29 Thread Tom Rini
On Wed, Jul 29, 2015 at 11:57:26AM +, Egli, Samuel wrote: Hi James, thank you for your reply! -Original Message- From: Doublesin, James [mailto:double...@ti.com] Sent: Dienstag, 28. Juli 2015 21:59 To: Egli, Samuel; 'tr...@konsulko.com'; Balbi, Felipe Cc:

Re: [U-Boot] [PATCH v3 1/8] usb: dwc2: Call board_usb_init() from usb_lowlevel_init()

2015-07-29 Thread Marek Vasut
On Wednesday, July 29, 2015 at 11:39:29 PM, Peter Griffin wrote: This patch makes the dwc2 controller like ehci / ohci / xhci controllers by calling the board_usb_init() function from usb_lowlevel_init. This can then be implemented by specific platforms to initialise their USB hardware (phys

Re: [U-Boot] [PATCH 1/2] ARM: tegra: Add e2220-1170 board

2015-07-29 Thread Simon Glass
Hi Stephen, On 29 July 2015 at 13:48, Stephen Warren swar...@wwwdotorg.org wrote: Commit message? From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra210-e2220-1170.dts

Re: [U-Boot] [PATCH V2 1/2] ARM: tegra: Add e2220-1170 board

2015-07-29 Thread Tom Warren
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, July 29, 2015 1:17 PM To: u-boot@lists.denx.de; Simon Glass; Tom Warren; Stephen Warren Cc: Thierry Reding Subject: [PATCH V2 1/2] ARM: tegra: Add e2220-1170 board From: Stephen Warren

Re: [U-Boot] [RFC PATCH 1/7] pinctrl: add pinctrl framework

2015-07-29 Thread Simon Glass
Hi Masahiro, On 15 July 2015 at 02:16, Masahiro Yamada yamada.masah...@socionext.com wrote: Now, a simple pinctrl patch is being proposed by Simon. http://patchwork.ozlabs.org/patch/487801/ In the design above, as you see, the uclass is just like a wrapper layer to invoke .request and

Re: [U-Boot] [PATCH 1/2] ARM: tegra: Add e2220-1170 board

2015-07-29 Thread Tom Warren
Simon, I can respond to your Kconfig questions below. -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Wednesday, July 29, 2015 4:02 PM To: Stephen Warren Cc: U-Boot Mailing List; Tom Warren; Stephen Warren; Thierry Reding Subject:

Re: [U-Boot] [PATCH 28/55] dm: pmic: max77686: Support all BUCK regulators

2015-07-29 Thread Simon Glass
Hi Przemyslaw, On 10 July 2015 at 05:53, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Simon, On 07/03/2015 02:16 AM, Simon Glass wrote: Add support for all BUCK regulators, now that the correct register is accessed for each. Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] driver model is not smp safe

2015-07-29 Thread Bin Meng
Hi Simon, When adding x86 multi-cpu initialization on a board with 4 cores, I found: = cpu list 0: cpu@0 Genuine Intel(R) CPU @ 1.58GHz 1: cpu@1 Genuine Intel(R) CPU @ 1.58GHz 2: cpu@2 Genuine Intel(R) CPU @ 1.58GHz 2:

Re: [U-Boot] [PATCH 14/15] RFC: x86: minnowmax: Add interrupt routing setup

2015-07-29 Thread Bin Meng
Hi Simon, On Wed, Jul 29, 2015 at 9:08 AM, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Wed, Jul 29, 2015 at 8:48 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 28 July 2015 at 18:46, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Wed, Jul 29, 2015 at 8:42 AM, Simon Glass

Re: [U-Boot] Request to host the patman project on kernel.org

2015-07-29 Thread Chris Packham
Hi Simon, On Wed, Jul 29, 2015 at 6:04 AM, Simon Glass s...@chromium.org wrote: [Otavio and others. please weigh in with your comments] Hi, Patman is a patch management utility which supports Linux and U-Boot development. It is described briefly at [1] and documentation here [2]. name:

Re: [U-Boot] [PATCH] mpc85xx/T104xRDB: Remove vbank check redundant code

2015-07-29 Thread Priyanka Jain
-Original Message- From: Sun York-R58495 Sent: Tuesday, July 28, 2015 12:37 AM To: Jain Priyanka-B32167; u-boot@lists.denx.de Subject: Re: [PATCH] mpc85xx/T104xRDB: Remove vbank check redundant code On 05/17/2015 11:31 PM, Priyanka Jain wrote: sw variable in checkboard

Re: [U-Boot] [PATCH v3] patman: add distutils based installer

2015-07-29 Thread Chris Packham
On Wed, Jul 29, 2015 at 10:28 AM, Simon Glass s...@chromium.org wrote: Hi Otavio, On 28 July 2015 at 12:06, Otavio Salvador otavio.salva...@ossystems.com.br wrote: On Tue, Jul 28, 2015 at 3:04 PM, Simon Glass s...@chromium.org wrote: On 28 July 2015 at 11:54, Otavio Salvador

Re: [U-Boot] [RFC] am33xx: add 600us wait in DDR3 initialization sequence

2015-07-29 Thread Egli, Samuel
Hi Tom, -Original Message- From: Tom Rini [mailto:tr...@konsulko.com] Sent: Dienstag, 28. Juli 2015 16:42 To: Egli, Samuel Cc: 'double...@ti.com'; 'ba...@ti.com'; 'u-boot@lists.denx.de'; 'h...@denx.de'; 'Stefan Roese'; Meier, Roger; Senn, Joerg; Oleg Belogolov (o-belogo...@ti.com)

Re: [U-Boot] [PATCH V3 6/6] T210: Add support for 64-bit T210-based P2571 board

2015-07-29 Thread Thierry Reding
On Tue, Jul 28, 2015 at 01:27:07PM -0600, Stephen Warren wrote: On 07/24/2015 04:01 PM, Tom Warren wrote: Based on Venice2, incorporates Stephen Warren's latest P2571 pinmux table. With Thierry Reding's 64-bit build fixes, this will build and and boot in 64-bit on my P2571 (when used with

Re: [U-Boot] [RFC] am33xx: add 600us wait in DDR3 initialization sequence

2015-07-29 Thread Egli, Samuel
Hi James, thank you for your reply! -Original Message- From: Doublesin, James [mailto:double...@ti.com] Sent: Dienstag, 28. Juli 2015 21:59 To: Egli, Samuel; 'tr...@konsulko.com'; Balbi, Felipe Cc: 'u-boot@lists.denx.de'; 'h...@denx.de'; 'Stefan Roese'; Meier, Roger; Senn, Joerg;

[U-Boot] [PATCH] gitignore: Add defconfig and fdtgrep

2015-07-29 Thread Bin Meng
Ignore defconfig and tools/fdtgrep. Signed-off-by: Bin Meng bmeng...@gmail.com --- .gitignore | 1 + tools/.gitignore | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index a40c277..2eac68f 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,7 @@ /LOG

[U-Boot] [PATCH v2 02/11] usb: Generic USB Kconfig option, that fits both host and gadget and comments

2015-07-29 Thread Paul Kocialkowski
There is no particular reason why the USB Kconfig option should be specific to host mode. In prevision of adding MUSB host and gadget to Kconfig, this moves the title and help message of the USB Kconfig option to a more generic format. Adding comments to the usb Kconfig allows for a better

[U-Boot] [PATCH v2 03/11] usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB

2015-07-29 Thread Paul Kocialkowski
USB-related options are usually prefixed with CONFIG_USB and platform-specific adaptation for the MUSB controller already have a CONFIG_USB_MUSB prefix, so this switches all MUSB-related options to a CONFIG_USB_MUSB prefix, for consistency. Signed-off-by: Paul Kocialkowski cont...@paulk.fr ---

[U-Boot] [PATCH v2 04/11] usb: musb-new: Kconfig support for USB_MUSB_HOST and USB_MUSB_GADGET

2015-07-29 Thread Paul Kocialkowski
Having MUSB_HOST and MUSB_GADGET in Kconfig allows more flexibility with regard to what Kconfig options to enable, such as USB_STORAGE or USB_KEYBOARD. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- drivers/usb/Kconfig | 2 ++ drivers/usb/musb-new/Kconfig | 14 ++ 2

Re: [U-Boot] [PATCH 1/4] gpio: UniPhier: add driver for UniPhier GPIO controller

2015-07-29 Thread Simon Glass
Hi Masahiro, On 28 July 2015 at 22:15, Masahiro Yamada yamada.masah...@socionext.com wrote: The previous message was accidentally sent before I finish writing... If there is a reason why you need different size registers in your GPIO driver then I think it's fine to implement it that way.

[U-Boot] [U-Boot PATCH v2 04/10] ARM: OMAP5: Add support for disabling clocks in uboot

2015-07-29 Thread Vignesh R
From: Kishon Vijay Abraham I kis...@ti.com Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Vignesh R vigne...@ti.com ---

[U-Boot] [U-Boot PATCH v2 06/10] ARM: AM43XX: Add functions to enable and disable EDMA3 clocks

2015-07-29 Thread Vignesh R
Adds functions to enable and disable edma3 clocks which can be invoked by drivers using edma3 to control the clocks. Signed-off-by: Vignesh R vigne...@ti.com --- arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 36 1 file changed, 36 insertions(+) diff --git

[U-Boot] [U-Boot PATCH v2 10/10] ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi

2015-07-29 Thread Vignesh R
Enable TI_EDMA3 and SPL_DMA support, so as to reduce boot time. With DMA enabled there is almost 3x improvement in read performance. This helps in reducing boot time in qspiboot mode Also add EDMA3 base address for DRA7XX and AM57XX. Signed-off-by: Vignesh R vigne...@ti.com ---

[U-Boot] [U-Boot PATCH v2 08/10] dma: ti-edma3: Add helper function to support edma3 transfer

2015-07-29 Thread Vignesh R
Signed-off-by: Vignesh R vigne...@ti.com --- arch/arm/include/asm/ti-common/ti-edma3.h | 2 + drivers/dma/ti-edma3.c| 78 +++ 2 files changed, 80 insertions(+) diff --git a/arch/arm/include/asm/ti-common/ti-edma3.h

[U-Boot] [U-Boot PATCH v2 09/10] spi: ti_qspi: Use DMA to read from qspi flash

2015-07-29 Thread Vignesh R
ti_qspi uses memory map mode for faster read. Enabling DMA will increase read speed by 3x @48MHz on DRA74 EVM. Signed-off-by: Vignesh R vigne...@ti.com --- drivers/spi/ti_qspi.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/spi/ti_qspi.c

[U-Boot] [U-Boot PATCH v2 07/10] sf: ops: Add spi_flash_copy_mmap function

2015-07-29 Thread Vignesh R
From: Tom Rini tr...@ti.com When doing a memory mapped copy we may have DMA available and thus need to have this copy abstracted so that the driver can do it, rather than a simple memcpy. Signed-off-by: Tom Rini tr...@ti.com Signed-off-by: Vignesh R vigne...@ti.com --- drivers/mtd/spi/sf_ops.c

Re: [U-Boot] [RFC PATCH 1/7] pinctrl: add pinctrl framework

2015-07-29 Thread Masahiro Yamada
Hi Simon, 2015-07-30 11:06 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 15 July 2015 at 02:16, Masahiro Yamada yamada.masah...@socionext.com wrote: Now, a simple pinctrl patch is being proposed by Simon. http://patchwork.ozlabs.org/patch/487801/ In the design above, as you

Re: [U-Boot] [PATCH v2 4/4] usb: lpc32xx: add host USB driver

2015-07-29 Thread Marek Vasut
On Wednesday, July 29, 2015 at 06:14:10 PM, slemieux.t...@gmail.com wrote: Hi! From: Sylvain Lemieux slemi...@tycoint.com Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition.

Re: [U-Boot] Pull request: u-boot-tegra/master, 2nd try

2015-07-29 Thread Tom Rini
On Tue, Jul 28, 2015 at 10:56:22AM -0700, Tom Warren wrote: Tom, Please pull u-boot-tegra/master into U-Boot/master. Thierry's ARM timer patches have been updated. Thanks! ./MAKEALL -s tegra is OK (all 32-bit builds), and ./MAKEALL -a aarch64 is OK (includes p2571) The following

[U-Boot] [PATCH][v2] mpc85xx/T104xRDB: Remove vbank check redundant code

2015-07-29 Thread Priyanka Jain
sw variable in checkboard function is storing vbank value which can only take 3-bit value. So check of sw value for if greater than 7 is redundant. Signed-off-by: Priyanka Jain priyanka.j...@freescale.com --- Changes for v2: Corrected description to check is for 3-bit value

[U-Boot] [U-Boot PATCH v2 02/10] env: use cache line aligned memory for flash read

2015-07-29 Thread Vignesh R
From: Ravi Babu ravib...@ti.com Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. This is required because, flash drivers may use DMA for read operations and may have to invalidate the buffer before read. Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Vignesh R

[U-Boot] [U-Boot PATCH v2 03/10] ARM: AM43xx: Add support for disabling clocks in uboot

2015-07-29 Thread Vignesh R
From: Kishon Vijay Abraham I kis...@ti.com Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Vignesh R vigne...@ti.com --- arch/arm/cpu/armv7/am33xx/clock.c

[U-Boot] [U-Boot PATCH v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-07-29 Thread Vignesh R
From: Ravi Babu ravib...@ti.com Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. This is required because, flash drivers may use DMA for read operations and may have to invalidate the buffer before read. Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Vignesh R

[U-Boot] [U-Boot PATCH v2 05/10] ARM: OMAP5: Add functions to enable and disable EDMA3 clocks

2015-07-29 Thread Vignesh R
Adds functions to enable and disable edma3 clocks which can be invoked by drivers using edma3 to control the clocks. Signed-off-by: Vignesh R vigne...@ti.com --- arch/arm/cpu/armv7/omap5/hw_data.c | 41 arch/arm/cpu/armv7/omap5/prcm-regs.c | 4

[U-Boot] [U-Boot PATCH v2 00/10] Enable edma support for ti-qspi

2015-07-29 Thread Vignesh R
This patch series enables DMA for QSPI on dra7xx and am43xx. Patch 1 and 2 make sure the buffers are mem aligned for dma operation. Patch 3-6 add support for enabling and disabling of edma3 clocks on am43xx and dra7xx. Patch 7-9 add dma functionality to ti_qspi driver. Patch 10 enable edma3

Re: [U-Boot] [PATCH v2 00/11] USB and sunxi Kconfig and config changes leading up to fastboot support

2015-07-29 Thread Hans de Goede
Hi, On 29-07-15 15:32, Paul Kocialkowski wrote: This series is based off the following patch: * drivers: hierarchize drivers Kconfig menu that was sent to the list earlier. Please pick it up as well when merging this series. The entire series looks good to me: Acked-by: Hans de Goede

Re: [U-Boot] [PATCH v2] x86: baytrail: Configure FSP UPD from device tree

2015-07-29 Thread Bin Meng
Hi Andrew, Simon, On Wed, Jul 22, 2015 at 4:17 AM, Simon Glass s...@chromium.org wrote: Hi Andrew, On 10 July 2015 at 12:24, Andrew Bradford and...@bradfordembedded.com wrote: Hi Simon, On 07/10 06:53, Simon Glass wrote: Hi, On 8 July 2015 at 05:30, Andrew Bradford

[U-Boot] [PATCH v2 01/11] usb: USB_ARCH_HAS_HCD Kconfig option removal

2015-07-29 Thread Paul Kocialkowski
The USB_ARCH_HAS_HCD currently serves no purpose and adds some confusion to the required Kconfig options that are required to have USB support. Dropping it makes things easier and doesn't break anything, since it was unused anyways. Signed-off-by: Paul Kocialkowski cont...@paulk.fr ---

[U-Boot] [PATCH v2 00/11] USB and sunxi Kconfig and config changes leading up to fastboot support

2015-07-29 Thread Paul Kocialkowski
This series is based off the following patch: * drivers: hierarchize drivers Kconfig menu that was sent to the list earlier. Please pick it up as well when merging this series. ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v2 06/11] usb: USB_HCD Kconfig option for host controllers

2015-07-29 Thread Paul Kocialkowski
This introduces a (hidden) USB_HCD Kconfig option that is selected when an USB host controller is enabled. This will allow for selecting other options when such a controller is enabled. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- drivers/usb/Kconfig | 3 +++

[U-Boot] [PATCH v2 10/11] sunxi: MUSB gadget config provisions, with fastboot and USB mass storage support

2015-07-29 Thread Paul Kocialkowski
This adds some config options to the sunxi-common config to enable the USB download gadget and the fastboot and USB mass storage functions. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- include/configs/sunxi-common.h | 30 ++ 1 file changed, 30 insertions(+)

[U-Boot] [PATCH v2 11/11] usb: USB storage-specific part ifdef in uclass

2015-07-29 Thread Paul Kocialkowski
usb_stor_reset is only defined when USB storage support is enabled, thus the function is not declared when such support is missing. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- drivers/usb/host/usb-uclass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH v2 09/11] musb: sunxi: Force EP0 on re-enable

2015-07-29 Thread Paul Kocialkowski
From: Maxime Ripard maxime.rip...@free-electrons.com Currently, the second use of a gadget will fail, while the first one works. Forcing the EP0 at every enable fix this issue. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/usb/musb-new/sunxi.c | 3 +++ 1 file

[U-Boot] [PATCH v2 05/11] sunxi: usb: USB_MUSB_SUNXI move to musb-new Kconfig

2015-07-29 Thread Paul Kocialkowski
Now that the musb-new driver has a Kconfig, we can move Kconfig options to enable controllers to it, so that it's easier in e.g. menuconfig. In addition, this allows declaring support for USB_MUSB_HOST/GADGET in defconfigs instead of the USB_MUSB_SUNXI controller, that will get selected

[U-Boot] [PATCH v2 07/11] usb: USB_KEYBOARD move to usb Kconfig and USB peripherals support on USB_HCD

2015-07-29 Thread Paul Kocialkowski
The USB_KEYBOARD Kconfig is not specific to sunxi, so we can move it to the common USB Kconfig. In addition, USB_KEYBOARD and USB_STORAGE should be enabled when an USB host controller is enabled. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- arch/arm/Kconfig| 1 -

[U-Boot] [PATCH v2 08/11] sunxi: config update to stick with Kconfig changes

2015-07-29 Thread Paul Kocialkowski
Now that some things were updated in Kconfig, they should be reflected on the sunxi-common config too. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- include/configs/sunxi-common.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/configs/sunxi-common.h

Re: [U-Boot] [PATCH v2] x86: baytrail: Configure FSP UPD from device tree

2015-07-29 Thread Simon Glass
Hi Bin, On 29 July 2015 at 08:08, Bin Meng bmeng...@gmail.com wrote: Hi Andrew, Simon, On Wed, Jul 22, 2015 at 4:17 AM, Simon Glass s...@chromium.org wrote: Hi Andrew, On 10 July 2015 at 12:24, Andrew Bradford and...@bradfordembedded.com wrote: Hi Simon, On 07/10 06:53, Simon Glass