Re: [U-Boot] [PATCH V2 5/6] power: regulator: add pfuze100 support

2015-08-05 Thread Peng Fan
On Tue, Aug 04, 2015 at 09:14:17PM +0800, Peng Fan wrote: >On Tue, Aug 04, 2015 at 07:21:05AM -0600, Simon Glass wrote: >>Hi, >> >>On 4 August 2015 at 07:10, Przemyslaw Marczak wrote: >>> Hello Peng, >>> >>> >>> On 08/04/2015 07:32 AM, Peng Fan wrote: 1. Add new regulator driver pfuze100

Re: [U-Boot] [PATCH 2/4] net: fec: do not access reserved register for i.MX6UL

2015-08-05 Thread Peng Fan
Hi Nikolay, On Wed, Aug 05, 2015 at 05:31:27PM +0300, Nikolay Dimitrov wrote: >Hi Peng, > >On 08/03/2015 01:06 PM, Peng Fan wrote: >>The MIB RAM and FIFO receive start register does not exist on >>i.MX6UL. Accessing these register will cause enet not work well. >> >>Signed-off-by: Peng Fan >>Signe

[U-Boot] [PATCH] imx: mx6 move TARGET_xx Kconfig option to mx6 specific Kconfig file

2015-08-05 Thread Peng Fan
Move TARGET_xx Kconfig option based on mx6 to arch/arm/cpu/armv7/mx6/Kconfig. Add enable "CONFIG_ARCH_MX6" for boards based on mx6. Then we can choose target boards using "make ARCH=arm menuconfig" with ARCH_MX6 defined. If using original way, we have no chance to enable ARCH_MX6 when "make menuco

[U-Boot] [PATCH] imx: mx6ul_14x14_evk discard redefined CONFIG_MX6

2015-08-05 Thread Peng Fan
Discard CONFIG_MX6 in mx6ul_14x14_evk.h, since it is already defined in mx6_common.h. Tested on mx6ul_14x14_evk board. Signed-off-by: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- include/configs/mx6ul_14x14_evk.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/mx6ul_14x

Re: [U-Boot] [PATCH v2 3/3] x86: Show the un-relocated IP address in exceptions

2015-08-05 Thread Bin Meng
Hi Simon, On Mon, Aug 3, 2015 at 8:15 AM, Simon Glass wrote: > When trying to figure out where an exception has occured, the relocated > address is not a lot of help. Its value depends on various factors. Show > the un-relocated IP as well. This can be looked up in System.map directly. > > Signed

Re: [U-Boot] [PATCH v2 2/3] x86: Convert minnowmax to use CONFIG_DM_USB

2015-08-05 Thread Bin Meng
Hi Simon, On Mon, Aug 3, 2015 at 8:15 AM, Simon Glass wrote: > Move to driver model for USB on minnowmax. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > configs/minnowmax_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configs/minnowmax_defconfig b/configs

Re: [U-Boot] [PATCH v2 1/3] x86: Convert minnowmax to use CONFIG_DM_NET

2015-08-05 Thread Bin Meng
Hi Simon, On Mon, Aug 3, 2015 at 8:15 AM, Simon Glass wrote: > Move to driver model for networking on minnowmax. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > board/intel/minnowmax/minnowmax.c | 6 -- > configs/minnowmax_defconfig | 1 + > 2 files changed, 1 inserti

Re: [U-Boot] board_pci_pre_scan() and board_pci_post_scan()

2015-08-05 Thread Bin Meng
Hi Simon, On Tue, Aug 4, 2015 at 2:52 AM, Simon Glass wrote: > Hi Bin, > > On 2 August 2015 at 20:03, Bin Meng wrote: >> Hi Simon, >> >> On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 27 July 2015 at 01:45, Bin Meng wrote: Hi Simon, With driver model p

Re: [U-Boot] [PATCH 3/5] x86: queensbay: Support pre-relocation dm pci

2015-08-05 Thread Bin Meng
Hi Simon, On Thu, Aug 6, 2015 at 10:55 AM, Simon Glass wrote: > Hi Bin, > > On 5 August 2015 at 20:48, Bin Meng wrote: >> Hi Simon, >> >> On Wed, Aug 5, 2015 at 10:39 PM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 2 August 2015 at 19:52, Bin Meng wrote: Hi Simon, On Mon, Aug 3, 2

Re: [U-Boot] [PATCH 3/5] x86: queensbay: Support pre-relocation dm pci

2015-08-05 Thread Simon Glass
Hi Bin, On 5 August 2015 at 20:48, Bin Meng wrote: > Hi Simon, > > On Wed, Aug 5, 2015 at 10:39 PM, Simon Glass wrote: >> Hi Bin, >> >> On 2 August 2015 at 19:52, Bin Meng wrote: >>> Hi Simon, >>> >>> On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote: Hi Bin, On 27 July 2015 at

[U-Boot] Wrong release date for v2015.10 on the denx.de

2015-08-05 Thread Bin Meng
Hi Wolfgang, By checking http://www.denx.de/wiki/U-Boot/ReleaseCycle, it says: "Release "v2015.10" is scheduled in 66 days — on Aug 12, 2015." This Aug 12 date is wrong. Could you please fix it? Also I noticed that there is no statistics for v2015.07 release on this page. Is it coming? Regards

Re: [U-Boot] [PATCH 4/5] x86: Explicitly trigger pci bus configuration with driver model

2015-08-05 Thread Simon Glass
Hi Bin, On 5 August 2015 at 20:41, Bin Meng wrote: > Hi Simon, > > On Thu, Aug 6, 2015 at 10:36 AM, Simon Glass wrote: >> Hi Bin, >> >> On 5 August 2015 at 20:22, Bin Meng wrote: >>> Hi Simon, >>> >>> On Wed, Aug 5, 2015 at 10:40 PM, Simon Glass wrote: Hi Bin, On 2 August 2015 a

Re: [U-Boot] [PATCH 3/5] x86: queensbay: Support pre-relocation dm pci

2015-08-05 Thread Bin Meng
Hi Simon, On Wed, Aug 5, 2015 at 10:39 PM, Simon Glass wrote: > Hi Bin, > > On 2 August 2015 at 19:52, Bin Meng wrote: >> Hi Simon, >> >> On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 27 July 2015 at 01:33, Bin Meng wrote: Increase CONFIG_MALLOC_F_LEN so that d

Re: [U-Boot] [PATCH 4/5] x86: Explicitly trigger pci bus configuration with driver model

2015-08-05 Thread Bin Meng
Hi Simon, On Thu, Aug 6, 2015 at 10:36 AM, Simon Glass wrote: > Hi Bin, > > On 5 August 2015 at 20:22, Bin Meng wrote: >> Hi Simon, >> >> On Wed, Aug 5, 2015 at 10:40 PM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 2 August 2015 at 19:54, Bin Meng wrote: Hi Simon, On Mon, Aug 3, 2

Re: [U-Boot] [PATCH 4/5] x86: Explicitly trigger pci bus configuration with driver model

2015-08-05 Thread Simon Glass
Hi Bin, On 5 August 2015 at 20:22, Bin Meng wrote: > Hi Simon, > > On Wed, Aug 5, 2015 at 10:40 PM, Simon Glass wrote: >> Hi Bin, >> >> On 2 August 2015 at 19:54, Bin Meng wrote: >>> Hi Simon, >>> >>> On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote: Hi Bin, On 27 July 2015 at

Re: [U-Boot] [PATCH 4/5] x86: Explicitly trigger pci bus configuration with driver model

2015-08-05 Thread Bin Meng
Hi Simon, On Wed, Aug 5, 2015 at 10:40 PM, Simon Glass wrote: > Hi Bin, > > On 2 August 2015 at 19:54, Bin Meng wrote: >> Hi Simon, >> >> On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 27 July 2015 at 01:33, Bin Meng wrote: With driver model, probing pci bus is

Re: [U-Boot] [PATCH 1/2] gpio: Add DW APB GPIO driver

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 04:39:33 PM, Simon Glass wrote: > Hi Marek, Hi Simon, > On 2 August 2015 at 18:16, Marek Vasut wrote: > > On Monday, August 03, 2015 at 01:38:28 AM, Simon Glass wrote: > >> Hi Marek, > > > > Hi Simon, > > > > [...] > > > >> >> > + if (!fdtdec_get

Re: [U-Boot] [PATCH v3 16/16] tegra: nand: disable subpage writes

2015-08-05 Thread Scott Wood
On Thu, 2015-08-06 at 00:47 +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Disable subpage writes as we do not provide ecc->hwctl. > > Signed-off-by: Marcel Ziswiler > --- > drivers/mtd/nand/tegra_nand.c | 3 +++ > 1 file changed, 3 insertions(+) Acked-by: Scott Wood -Scott

Re: [U-Boot] [PATCH v3 08/16] tegra: nand: fix read_byte required for proper onfi detection

2015-08-05 Thread Scott Wood
On Thu, 2015-08-06 at 00:47 +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Fix PIO read_byte() implementation not only used for the legacy READ ID > but also the PARAM command required for proper ONFI detection. > > This fix is inspired by Lucas Stach's Linux Tegra NAND driver of late

Re: [U-Boot] [PATCH v3 00/16] assortment of tegra fixes/enhancements

2015-08-05 Thread Marcel Ziswiler
On 6 August 2015 01:40:05 CEST, Tom Warren wrote: >Looks like almost all of these have been Acked-by StephenW and/or >Reviewed-by SimonG. Only a couple are missing those tags - the NAND one >and one other (can't think of it now). > >I'll apply them to u-boot-tegra/next. I've got u-boot-tegra/ma

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-08-05 Thread Simon Glass
Hi Stephen, On 5 August 2015 at 12:22, Stephen Warren wrote: > On 08/04/2015 10:08 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 3 August 2015 at 12:20, Stephen Warren wrote: >>> >>> On 08/03/2015 09:52 AM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 09:12, St

Re: [U-Boot] [PATCH v3 00/16] assortment of tegra fixes/enhancements

2015-08-05 Thread Tom Warren
Looks like almost all of these have been Acked-by StephenW and/or Reviewed-by SimonG. Only a couple are missing those tags - the NAND one and one other (can't think of it now). I'll apply them to u-boot-tegra/next. I've got u-boot-tegra/master in pretty good shape for a PR. Do you object if I

Re: [U-Boot] [PATCH v5 5/5] usb: lpc32xx: add host USB driver

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 11:59:39 PM, Vladimir Zapolskiy wrote: > Hi Sylvain, Hi! [...] > > +static struct otg_regs *otg = (struct otg_regs *)USB_BASE; > > +static struct clk_pm_regs *clk_pwr = (struct clk_pm_regs *)CLK_PM_BASE; > > + > > +static int wait_for_bit(void *reg, const u32 mas

[U-Boot] [PATCH v3 07/16] colibri_t20: disable PMIC sleep mode on low supply voltage

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler The Colibri T20's PMIC enters a sleep mode on low supply voltage < 3.0V ±2.5% (2.92...3.08V). Rising the main supply voltage again does not bring it back to regular operation. Not even a full reset does bring the module back. A full power cycle was required to reboot the sys

[U-Boot] [PATCH v3 15/16] apalis/colibri_t30: fix usb dm regression

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Unfortunately currently both Apalis T30 as well as Colibri T30 crash upon starting USB host support. This is due to the following patch not having taken into account that our T30 device trees were defaulting to peripheral only mode instead of otg: commit ddb9a502d18008e845d

[U-Boot] [PATCH v3 01/16] ARM: tegra: allow custom usb manufacturer/product/vendor ids/strings

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow for optional custom USB gadget manufacturer/product/vendor IDs/strings to be specified. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass Acked-by: Stephen Warren --- include/configs/tegra-common-usb-gadget.h | 6 ++ 1 file changed, 6 insertions(+) diff

[U-Boot] [PATCH v3 04/16] colibri_t20: fix device-tree compatible node

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Use toradex,colibri_t20 as the device-tree compatible node value rather than toradex,t20 in accordance to our Apalis/Colibri T30 products. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass Acked-by: Stephen Warren --- arch/arm/dts/tegra20-colibri.dts | 2 +- 1 fil

[U-Boot] [PATCH v3 05/16] colibri_t20: add lcd display support

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Add LCD display support defaulting to VESA VGA resolution. Different resolutions configurable via device tree. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass Acked-by: Stephen Warren --- Changes in v2: fixed PWM instance arch/arm/dts/tegra20-colibri.dts

[U-Boot] [PATCH v3 14/16] colibri_t20: fix reset out pin

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Make sure SODIMM pin 87 nRESET_OUT is released properly by explicitly setting its pin mux function to GMI. This solves some issues with e.g. USB not being fully operational on carrier boards with USB hubs connected to reset if U-Boot got loaded via recovery mode aka rcm. Si

[U-Boot] [PATCH v3 13/16] apalis/colibri_t20/30: clean-up

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Various clean-ups either in comments, order or spacing without any functional impact: - Add some comments in the device trees resp. reorder some parameters for consistency across all our modules. - Sort some include files alphabetically (while leaving common.h on top of

[U-Boot] [PATCH v3 12/16] apalis/colibri_t20/t30: increase tftp blocksize

2015-08-05 Thread Marcel Ziswiler
From: Max Krummenacher Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384. This increases the tftp download speed considerably. While at it enable CONFIG_TFTP_TSIZE which limits the progress bar to fifty '#' independent of the downloaded file size. Signed-off-by: Max Krummenacher S

[U-Boot] [PATCH v3 16/16] tegra: nand: disable subpage writes

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Disable subpage writes as we do not provide ecc->hwctl. Signed-off-by: Marcel Ziswiler --- drivers/mtd/nand/tegra_nand.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/nand/tegra_nand.c b/drivers/mtd/nand/tegra_nand.c index 723d0ec..debad4f 100644 ---

[U-Boot] [PATCH v3 11/16] colibri_t20: enable ubi/ubifs support

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Now as all is in place actually enable UBI/UBIFS support to be able to boot the Linux kernel and root file system from NAND. Signed-off-by: Marcel Ziswiler Acked-by: Stephen Warren --- include/configs/colibri_t20.h | 8 1 file changed, 8 insertions(+) diff --gi

[U-Boot] [PATCH v3 08/16] tegra: nand: fix read_byte required for proper onfi detection

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix PIO read_byte() implementation not only used for the legacy READ ID but also the PARAM command required for proper ONFI detection. This fix is inspired by Lucas Stach's Linux Tegra NAND driver of late (not mainline yet but getting there soon I hope). I vaguely remember

[U-Boot] [PATCH v3 10/16] colibri_t20: enable mtdparts support

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable mtdparts aka dynamic MTD partition support. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass Acked-by: Stephen Warren --- Changes in v2: Actually set mtdparts environment variable as part of the board extra ones. include/configs/colibri_t20.h | 14 +++

[U-Boot] [PATCH v3 09/16] mtd/nand/tegra: alignment workaround

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Integrate cache alignment bounce buffer to workaround issues as follows: Loading file '/boot/zImage' to addr 0x0100 with size 4499152 (0x0044a6d0)... ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108 ERROR: v7_dcache_inval_range - stop address is

[U-Boot] [PATCH v3 03/16] apalis/colibri_t20/t30: integrate recovery mode detection

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Allow detecting whether or not U-Boot was launched through the recovery mode of the resp. NVIDIA SoC. Make use of a board specific arch_misc_init() and enable the same via CONFIG_ARCH_MISC_INIT configuration option. Signed-off-by: Marcel Ziswiler Acked-by: Stephen Warren

[U-Boot] [PATCH v3 06/16] colibri_t20: add i2c support

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Add I2C support in order to subsequently allow disabling the PMIC sleep mode on low supply voltage. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass Acked-by: Stephen Warren --- arch/arm/dts/tegra20-colibri.dts | 28 include/configs/c

[U-Boot] [PATCH v3 02/16] ARM: tegra: allow reading recovery mode boot type

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler Add defines to allow reading recovery mode (RCM) boot type from the boot information table (BIT) written by the boot ROM (BR) to the IRAM. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass Acked-by: Stephen Warren --- Changes in v2: Reword commit mesage as per Simo

[U-Boot] [PATCH v3 00/16] assortment of tegra fixes/enhancements

2015-08-05 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch set is an assortment of tegra fixes/enhancements distilled straight from our downstream integration work. Changes in v3: - dropped apalis/colibri_t20/t30 specific raw initrd support enablement (formerly 12) - drop unrelated subpage writes disabling in (8) to be

Re: [U-Boot] [PATCH v2 09/16] mtd/nand/tegra: alignment workaround

2015-08-05 Thread Scott Wood
On Wed, 2015-08-05 at 22:12 +, Marcel Ziswiler wrote: > On Tue, 2015-07-28 at 03:55 +0200, Marcel Ziswiler wrote: > > > > On 27 July 2015 21:57:14 CEST, Scott Wood > > wrote: > > > > - writel(virt_to_phys(buf), &info->reg->data_block_ptr); > > > > + writel((u32)bbstate.bounce_buffer,

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

2015-08-05 Thread Vladimir Zapolskiy
Hi Joe, On 06.07.2015 10:55, Vladimir Zapolskiy wrote: > Hello Albert, > > On 06.07.2015 09:46, Albert ARIBAUD (3ADEV) wrote: >> Hello Vladimir, >> >> On Mon, 6 Jul 2015 07:22:09 +0300, Vladimir Zapolskiy >> wrote: >>> This is an update to LPC32xx MAC driver, which needs to have small >>> quirk

Re: [U-Boot] [PATCH] net: lpc32xx: connect MAC to phy with CONFIG_PHY_ADDR id

2015-08-05 Thread Vladimir Zapolskiy
Hi Joe, On 29.06.2015 23:37, Joe Hershberger wrote: > Hi Vladimir, > > On Sun, Jun 28, 2015 at 7:35 PM, Vladimir Zapolskiy wrote: >> The lpc32xx_eth_phylib_init() function is capable to connect LPC32XX >> MAC to some specified phy by phy id, by chance the single user of >> lpc32xx_eth has CONFIG

Re: [U-Boot] [PATCH v2 09/16] mtd/nand/tegra: alignment workaround

2015-08-05 Thread Marcel Ziswiler
On Tue, 2015-07-28 at 03:55 +0200, Marcel Ziswiler wrote: > > On 27 July 2015 21:57:14 CEST, Scott Wood > wrote: > > > - writel(virt_to_phys(buf), &info->reg->data_block_ptr); > > > + writel((u32)bbstate.bounce_buffer, &info->reg > > > ->data_block_ptr); > > > > Why are you converting u

Re: [U-Boot] [PATCH] net: lpc32xx: correct command register reset value

2015-08-05 Thread Vladimir Zapolskiy
Hi Joe, On 29.06.2015 23:38, Joe Hershberger wrote: > Hi Vladimir, > > On Sat, Jun 27, 2015 at 10:03 PM, Vladimir Zapolskiy wrote: >> According to LPC32x0 User Manual the following bits in Command >> register 0x3106_0100 are defined: >> >> BitSymbol >> 2 - Unused >> 3 RegReset >>

Re: [U-Boot] [PATCH v5 5/5] usb: lpc32xx: add host USB driver

2015-08-05 Thread Vladimir Zapolskiy
Hi Sylvain, On 05.08.2015 21:31, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > 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 update

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

2015-08-05 Thread Vladimir Zapolskiy
Hi Sylvain, On 05.08.2015 21:31, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > Incorporate NAND SLC hardware ECC support from legacy > LPCLinux NXP BSP. > The code taken from the legacy patch is: > - lpc32xx SLC NAND driver (hardware ECC support) > - lpc3250 header file missing SLC

Re: [U-Boot] [PATCH 3/3][v2] imx: usb: ehci-mx6: add usb support for imx7d soc

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 11:03:36 PM, Adrian Alonso wrote: > Extend ehci-mx6 usb driver to support imx7d usb > > Signed-off-by: Adrian Alonso > --- > Changes for V2: > Add usb_power_config and usb_phy_mode for usb otg id detection for imx7d > > drivers/usb/host/Makefile | 1 + > driv

Re: [U-Boot] [PATCH 2/3][v2] imx: usb: ehci-mx6: document board specific functions

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 11:03:35 PM, Adrian Alonso wrote: > Document target board specific functions > > board_ehci_hcd_init - override usb phy mode > board_ehci_hcd_init - set usb vbus voltage > board_ehci_power - enables/disables usb vbus voltage > > Signed-off-by: Adrian Alonso > ---

Re: [U-Boot] [PATCH 1/3][v2] imx: usb: ehci-mx6: reg accessor cleanups

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 11:03:34 PM, Adrian Alonso wrote: > Cleanup read/write register access, use clr/set bits_le32 > > Signed-off-by: Adrian Alonso > --- > Changes for V2: > Split from patch imx: usb: ehci-mx6: add usb support for imx7d soc Acked-by: Marek Vasut btw ... > drivers

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

2015-08-05 Thread Tom Warren
Both of these applied to u-boot-tegra/next. PTAL. I'll issue a PR for this (and the other 11 outstanding Tegra patches from you, me and Alex) when I get a green light. > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, August 05, 2015 10:52 AM

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

2015-08-05 Thread Tom Rini
On Wed, Aug 05, 2015 at 12:06:19PM -0600, Simon Glass wrote: > Hi Tom, > > This includes the EFI support, updates for baytrail and minnowmax, > plus multi-cpu support for qemu-x86. There are a few small fixes also. > > The following changes since commit e22b1a54942d9003b10564325a34e3cf767556ce:

Re: [U-Boot] [PATCH] configs: Remove CONFIG_SERIAL_MULTI

2015-08-05 Thread Tom Rini
On Wed, Aug 05, 2015 at 11:51:38AM -0600, Stephen Warren wrote: > From: Stephen Warren > > This config option isn't used anywhere at all. Remove all places that > define/enable the option. > > Signed-off-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom signature.asc Description

Re: [U-Boot] [PULL] u-boot-usb/master

2015-08-05 Thread Tom Rini
On Wed, Aug 05, 2015 at 05:23:12PM +0200, Marek Vasut wrote: > The following changes since commit e22b1a54942d9003b10564325a34e3cf767556ce: > > Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2015-08-04 > 12:21:45 -0400) > > are available in the git repository at: > > git://gi

[U-Boot] [PATCH 1/3][v2] imx: usb: ehci-mx6: reg accessor cleanups

2015-08-05 Thread Adrian Alonso
Cleanup read/write register access, use clr/set bits_le32 Signed-off-by: Adrian Alonso --- Changes for V2: Split from patch imx: usb: ehci-mx6: add usb support for imx7d soc drivers/usb/host/ehci-mx6.c | 51 - 1 file changed, 18 insertions(+), 33 dele

[U-Boot] [PATCH 3/3][v2] imx: usb: ehci-mx6: add usb support for imx7d soc

2015-08-05 Thread Adrian Alonso
Extend ehci-mx6 usb driver to support imx7d usb Signed-off-by: Adrian Alonso --- Changes for V2: Add usb_power_config and usb_phy_mode for usb otg id detection for imx7d drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-mx6.c | 99 - 2 files c

[U-Boot] [PATCH 2/3][v2] imx: usb: ehci-mx6: document board specific functions

2015-08-05 Thread Adrian Alonso
Document target board specific functions board_ehci_hcd_init - override usb phy mode board_ehci_hcd_init - set usb vbus voltage board_ehci_power - enables/disables usb vbus voltage Signed-off-by: Adrian Alonso --- Changes for V2: Split from patch imx: usb: ehci-mx6: add usb support for imx7d soc

Re: [U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-05 Thread Vladimir Zapolskiy
Hi Sylvain, On 05.08.2015 21:31, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > 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 update

Re: [U-Boot] GCC 5.2 issue on imx28

2015-08-05 Thread Jörg Krause
Dear Måns Rullgård, Otavio Salvador, On Di, 2015-07-28 at 14:39 +0100, Måns Rullgård wrote: > Otavio Salvador writes: [snip] > There are two errors reports: > > 1. An undefined reference to the symbol "lowlevel_init" > 2. A complaint about the ".rel.plt" section not being handled by the >l

Re: [U-Boot] [PATCH 1/6] arm: socfpga: scan: Clean up scan_chain_engine_is_idle()

2015-08-05 Thread Marek Vasut
On Monday, August 03, 2015 at 04:22:08 PM, Marek Vasut wrote: > Rework this function so it's clear that it is only polling for certain > bits to be cleared. Add kerneldoc. Fix it's return value to be either > 0 on success and -ETIMEDOUT on error and propagate this through the > scan manager code. >

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

2015-08-05 Thread Tom Warren
Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, August 05, 2015 12:52 PM > To: Tom Warren > Cc: u-boot@lists.denx.de; Thierry Reding; Stephen Warren; > tomcwarren3...@gmail.com > Subject: Re: [U-Boot] [PATCH] Tegra: Allow TZ writes to

Re: [U-Boot] [PATCH] ddr: altera: sequencer: add RW_MGR_MEM_NUMBER_OF_RANKS

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 05:12:32 AM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Fix build error for socfpga_cyclone5_defconfig: > > board/altera/socfpga/wrap_sdram_config.c:245:26: error: > ‘RW_MGR_MEM_NUMBER_OF_RANKS’ undeclared here (not in a function) make[2]: > *

Re: [U-Boot] [PATCH 00/28] socfpga: sdram.c cleanups

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 06:26:18 PM, Dinh Nguyen wrote: > On 8/1/15 4:34 PM, Marek Vasut wrote: > > This entire series focuses solely on cleaning up the > > drivers/ddr/altera/sdram.c file. After this series, this one file is > > totally checkpatch clean and does not pull in any weird qts-

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

2015-08-05 Thread Stephen Warren
On 07/29/2015 10:24 AM, Tom Warren wrote: 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. Acked-by: Stephen Wa

Re: [U-Boot] [PATCH v2 3/3] x86: Document how to write PIRQ information in the device tree

2015-08-05 Thread Simon Glass
On 5 August 2015 at 08:40, Simon Glass wrote: > On 2 August 2015 at 21:33, Bin Meng wrote: >> Document the development flow on figuring out PIRQ information >> during the U-Boot porting. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v2: >> - New patch to document how to write PIRQ inf

Re: [U-Boot] [PATCH v2 2/3] pci: Remove DEBUG from pci_compat.c

2015-08-05 Thread Simon Glass
On 5 August 2015 at 08:40, Simon Glass wrote: > On 2 August 2015 at 21:33, Bin Meng wrote: >> Remove DEBUG in drivers/pci/pci_compat.c. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v2: >> - New patch to remove DEBUG from pci_compat.c >> >> drivers/pci/pci_compat.c | 1 - >> 1 file c

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

2015-08-05 Thread Simon Glass
On 5 August 2015 at 11:52, Stephen Warren wrote: > From: Stephen Warren > > P2371- is a P2581 or P2530 CPU board married to a P2595 I/O > board. The combination contains SoC, DRAM, eMMC, SD card slot, > HDMI, USB micro-B port, Ethernet via USB3, USB3 host port, SATA, > a GPIO expansion header

Re: [U-Boot] [PATCH] ARM: tegra: p2571: remove another unused define

2015-08-05 Thread Simon Glass
On 5 August 2015 at 11:51, Stephen Warren wrote: > From: Stephen Warren > > CONFIG_MAX77620_POWER isn't used anywhere. Don't define it in p2571.h. > > Signed-off-by: Stephen Warren > --- > include/configs/p2571.h | 3 --- > 1 file changed, 3 deletions(-) > Reviewed-by: Simon Glass ___

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

2015-08-05 Thread Tom Warren
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, August 05, 2015 12:27 PM > To: Tom Warren > Cc: u-boot@lists.denx.de; Simon Glass; Stephen Warren; Thierry Reding; > Marcel Ziswiler > Subject: Re: [U-Boot] [PATCH] ARM: tegra: restrict usable RAM

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

2015-08-05 Thread Stephen Warren
On 08/05/2015 01:22 PM, Tom Warren wrote: -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, August 05, 2015 11:33 AM To: Tom Warren Cc: u-boot@lists.denx.de; Simon Glass; Stephen Warren; Thierry Reding Subject: Re: [U-Boot] [PATCH] ARM: tegra: restric

Re: [U-Boot] GCC 5.2 issue on imx28

2015-08-05 Thread Måns Rullgård
Jörg Krause writes: > Dear Måns Rullgård, Otavio Salvador, > > On Di, 2015-07-28 at 14:39 +0100, Måns Rullgård wrote: >> Otavio Salvador writes: > > [snip] > >> There are two errors reports: >> >> 1. An undefined reference to the symbol "lowlevel_init" >> 2. A complaint about the ".rel.plt" sec

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

2015-08-05 Thread Tom Warren
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, August 05, 2015 11:33 AM > To: Tom Warren > Cc: u-boot@lists.denx.de; Simon Glass; Stephen Warren; Thierry Reding > Subject: Re: [U-Boot] [PATCH] ARM: tegra: restrict usable RAM size further > > O

Re: [U-Boot] [PATCH v5 5/5] usb: lpc32xx: add host USB driver

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 08:31:57 PM, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > 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 drive

Re: [U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-05 Thread Marek Vasut
On Wednesday, August 05, 2015 at 08:31:54 PM, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > 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 drive

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

2015-08-05 Thread Stephen Warren
On 07/29/2015 01:47 PM, Stephen Warren wrote: From: Stephen Warren 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. Restri

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

2015-08-05 Thread slemieux . tyco
From: Sylvain Lemieux 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: https://git.kernel.org/cgit/linux/kernel/git/s

[U-Boot] [PATCH v5 5/5] usb: lpc32xx: add host USB driver

2015-08-05 Thread slemieux . tyco
From: Sylvain Lemieux 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 and clean-up as part of the integration with the latest u-boot. Signed-off-by

[U-Boot] [PATCH v5 2/5] nand: lpc32xx: add hardware ECC support

2015-08-05 Thread slemieux . tyco
From: Sylvain Lemieux Incorporate NAND SLC hardware ECC support from legacy LPCLinux NXP BSP. The code taken from the legacy patch is: - lpc32xx SLC NAND driver (hardware ECC support) - lpc3250 header file missing SLC NAND registers definition The legacy driver code was updated to integrate with

[U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-05 Thread slemieux . tyco
From: Sylvain Lemieux 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 and clean-up as part of the integration with the latest u-boot. Signed-off-by

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-08-05 Thread Stephen Warren
On 08/04/2015 10:08 PM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 12:20, Stephen Warren wrote: On 08/03/2015 09:52 AM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 09:12, Stephen Warren wrote: On 08/02/2015 06:13 PM, Simon Glass wrote: This reverts commit 5b34436035fc86

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

2015-08-05 Thread Simon Glass
Hi Tom, This includes the EFI support, updates for baytrail and minnowmax, plus multi-cpu support for qemu-x86. There are a few small fixes also. The following changes since commit e22b1a54942d9003b10564325a34e3cf767556ce: Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2015-08-04

Re: [U-Boot] [PATCH v3 27/28] efi: Add a README to explain how things work

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:34, Simon Glass wrote: > Add some documentation on the EFI implementation in U-Boot. > > Signed-off-by: Ben Stoltz > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v3: None > Changes in v2: > - Drop patch "Add a link script entry for U-Boot as a p

Re: [U-Boot] [PATCH v3 23/28] x86: Add helper code for running from EFI

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:34, Simon Glass wrote: > When U-Boot is running from EFI some of the x86 init is replaced with > EFI-specific init. For example, since DRAM has already been set up, we only > need to find it, not init it. Add these functions so that boards can easily > allow booting from EFI

Re: [U-Boot] [PATCH v3 26/28] x86: Gracefully disable the vesa driver when running from EFI

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:34, Simon Glass wrote: > We cannot use this driver when running from EFI as we have no direct hardware > access. In fact coreboot uses a different driver which uses tables provided > by coreboot. So far it does not seem possible to use a normal video driver > when booting fr

Re: [U-Boot] [PATCH v3 28/28] Allow device tree relocation to be disabled

2015-08-05 Thread Simon Glass
On 5 August 2015 at 02:07, Bin Meng wrote: > Hi Simon, > > On Wed, Aug 5, 2015 at 11:38 AM, Simon Glass wrote: >> Hi Bin, >> >> On 4 August 2015 at 12:34, Simon Glass wrote: >>> This was missed in the patch 'Add a way to skip relocation'. Add it in now. >>> >>> I hope to squash this patch into t

Re: [U-Boot] [PATCH v3 25/28] x86: qemu: Support operation as an EFI payload

2015-08-05 Thread Simon Glass
On 5 August 2015 at 02:19, Bin Meng wrote: > On Wed, Aug 5, 2015 at 2:34 AM, Simon Glass wrote: >> Disable a few things which interfere with the EFI init. This allows QEMU to >> to boot into EFI, load a U-Boot payload then boot to the U-Boot prompt. >> >> Signed-off-by: Simon Glass >> Reviewed-b

Re: [U-Boot] [PATCH v3 24/28] x86: baytrail: Support operation as an EFI payload

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:34, Simon Glass wrote: > Disable a few things which interfere with the EFI init. This allows the > Minnowboard MAX to boot into EFI, load a U-Boot payload then boot to the > U-Boot prompt. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v3: None

Re: [U-Boot] [PATCH v3 22/28] x86: Handle running as EFI payload

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:34, Simon Glass wrote: > When U-Boot runs as an EFI payload it needs to avoid setting up the CPU > again. Also U-Boot currently does not handle interrupts for many devices, so > run with interrupts disabled. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > >

Re: [U-Boot] [PATCH v3 20/28] efi: Add functions for decoding the EFI tables

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:33, Simon Glass wrote: > The EFI stub can pass a table to U-Boot with information about the memory map > Potentially other things will follow. Add a way to access this table. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v3: None > Changes in

Re: [U-Boot] [PATCH v3 18/28] efi: Add 64-bit payload support

2015-08-05 Thread Simon Glass
On 5 August 2015 at 02:02, Bin Meng wrote: > On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: >> Most EFI implementations use 64-bit. Add a way to build U-Boot as a 64-bit >> EFI payload. The payload unpacks a (32-bit) U-Boot and starts it. This can >> be enabled for x86 boards at present. >> >

Re: [U-Boot] [PATCH v3 16/28] x86: Add an enum for some commonly-used GDT bits

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:33, Simon Glass wrote: > Rather than add these as open-coded values, create an enum with the commonly > used flags. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v3: None > Changes in v2: > - Add descriptor bits for the base and limit > - Rena

Re: [U-Boot] [PATCH v3 15/28] x86: Support building the EFI stub

2015-08-05 Thread Simon Glass
On 5 August 2015 at 06:20, Bin Meng wrote: > On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: >> Add support for building a 32/64-bit EFI stub for x86. This involves >> building the startup and relocation code for either i386 or x86_64. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in

Re: [U-Boot] [PATCH v3 21/28] efi: Add a command to display the memory map

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:33, Simon Glass wrote: > The EFI memory map is passed from the stub to U-Boot in a table. Add a > command to display it in a vaguely readable fashion. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > Tested on QEMU > Tested-by: Bin Meng > --- > > Changes in v3: No

Re: [U-Boot] [PATCH v3 17/28] x86: Add a way to call 32-bit code from 64-bit mode

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:33, Simon Glass wrote: > The procedure to drop from 64-bit mode to 32-bit is a bit messy. Add a > function to take care of it. It requires identity-mapped pages and that > the calling code is running below 4GB. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- >

Re: [U-Boot] [PATCH v3 19/28] x86: Add support for passing tables into U-Boot

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:33, Simon Glass wrote: > The EFI stub provides information to U-Boot in a table. This includes the > memory map which is needed to decide where to relocate U-Boot. Collect this > information in the early init code and store it in global_data. > > Fix up the BIST code at the

Re: [U-Boot] [PATCH v2 32/47] x86: Add definitions for the x86-efi board and plumb it in

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:35, Simon Glass wrote: > Hi Bin, > > On 3 August 2015 at 23:20, Bin Meng wrote: >> Hi Simon, >> >> On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote: >>> From: Ben Stoltz >>> >>> Add configuration and Kconfig changes for this board. >>> >>> Signed-off-by: Ben Stoltz >>

Re: [U-Boot] [PATCH v3 11/28] x86: Allow relocation code to build without text base

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:33, Simon Glass wrote: > This code currently requires CONFIG_SYS_TEXT_BASE but this should be > unnecessary. As a first step, remove the build-time limitation and report an > error instead. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v3: Non

Re: [U-Boot] [PATCH v3 10/28] x86: dts: Add a device tree file for EFI

2015-08-05 Thread Simon Glass
On 5 August 2015 at 01:41, Bin Meng wrote: > On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: >> This contains just enough to bring up the serial UART. >> >> Signed-off-by: Simon Glass >> Reviewed-by: Bin Meng >> --- >> >> Changes in v3: None >> Changes in v2: >> - Remove extraneous '+' in co

Re: [U-Boot] [PATCH v3 14/28] efi: Add support for loading U-Boot through an EFI stub

2015-08-05 Thread Simon Glass
On 5 August 2015 at 01:59, Bin Meng wrote: > On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: >> It is useful to be able to load U-Boot onto a board even if is it already >> running EFI. This can allow access to the U-Boot command interface, flexible >> booting options and easier development. >

Re: [U-Boot] [PATCH v3 13/28] x86: Add relocation and link script for a 64-bit EFI application

2015-08-05 Thread Simon Glass
On 4 August 2015 at 12:33, Simon Glass wrote: > Add a linker script and relocation code for building 64-bit EFI > applications. This can be used for the EFI stub. > > Signed-off-by: Simon Glass > Improvements to how the payload is built: > Signed-off-by: Bin Meng > Reviewed-by: Bin Meng > --- >

  1   2   3   >