Re: [U-Boot] [PATCH] drivers/crypto/fsl : Allocate output ring with size aligned to CACHELNE SIZE

2016-02-02 Thread Ulises Cardenas
Ok to push From: Ruchika Gupta Sent: Friday, January 22, 2016 4:42 AM To: u-boot@lists.denx.de; york sun; Ulises Cardenas Cc: Ruchika Gupta; Saksham Jain; Ruchika Gupta Subject: [PATCH] drivers/crypto/fsl : Allocate output ring with

Re: [U-Boot] [PATCH 1/2] imx: mx6sx: Fix issue in LCDIF clock enablement

2016-02-02 Thread Stefano Babic
On 26/01/2016 15:01, Ye Li wrote: > Wrong checking for the base_addr paramter with LCDIF1 and LCDIF2. Always > enter the -EINVAL return. > > Signed-off-by: Ye Li > --- > arch/arm/cpu/armv7/mx6/clock.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff

Re: [U-Boot] [PATCH 2/2] imx: mx6ul/sx: Fix issue in LCDIF clock dividers calculation

2016-02-02 Thread Stefano Babic
On 26/01/2016 15:01, Ye Li wrote: > The checking with max frequency supported is not correct, because the temp > is calculated by max pre and post dividers. We can decrease any divider to > meet the max frequency limitation. Actually, the calculation below the codes > is doing this way to find

Re: [U-Boot] [PATCH] mx6slevk: Remove CONFIG_ETHPRIME option

2016-02-02 Thread Stefano Babic
On 01/02/2016 17:24, Fabio Estevam wrote: > From: Fabio Estevam > > As mx6slevk has only one Ethernet port, we don't need > to declare CONFIG_ETHPRIME, so just remove it. > > Signed-off-by: Fabio Estevam > --- > include/configs/mx6slevk.h | 1 -

Re: [U-Boot] [PATCH v3 1/2] mx6: soc: Add ENET2 mac address support

2016-02-02 Thread Stefano Babic
Hi Ye, On 01/02/2016 03:41, Ye Li wrote: > The i.MX6SX and i.MX6UL has two ENET controllers, add support for reading > MAC address from fuse for ENET2. > > Signed-off-by: Ye Li > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

[U-Boot] [PATCH] imx: Refactoring CAAM Job Ring structure and Secure Memory for imx7

2016-02-02 Thread Ulises Cardenas
Refactored data structure for CAAM's job ring and Secure Memory to support i.MX7. The new memory map use macros to resolve SM's offset by version. This will solve the versioning issue caused by the new version of secure memory of i.MX7 Signed-off-by: Ulises Cardenas ---

Re: [U-Boot] [PATCH v3 2/2] imx: mx6sxsabreauto: Add support for mx6sx SABREAUTO board

2016-02-02 Thread Stefano Babic
Hi Ye, On 01/02/2016 03:41, Ye Li wrote: > Initial version for mx6sx SABREAUTO board support with features: > PMIC, QSPI, NAND flash, SD/MMC, USB, Ethernet, I2C, IO Expander. > > Signed-off-by: Ye Li > --- > Changes for v3: > - None > Changes for v2: > - None > >

Re: [U-Boot] [PATCH] test/py: make each unit test a pytest

2016-02-02 Thread Stephen Warren
On 01/29/2016 01:11 PM, Simon Glass wrote: > Hi Stephen, > > On 29 January 2016 at 11:48, Stephen Warren wrote: >> On 01/29/2016 11:23 AM, Simon Glass wrote: >>> >>> Hi Stephen, >>> >>> On 28 January 2016 at 22:08, Stephen Warren wrote: On

Re: [U-Boot] [PATCH V2 2/4] common: env_mmc: support loading env from different cards

2016-02-02 Thread Stefano Babic
Hi Peng, On 17/12/2015 05:43, Peng Fan wrote: > Some boards support booting from different SD card slots. > For example, mx6dpsabresd board supports booting from SD2, > SD3, EMMC4, using different boot switch. And the index > numbers are SD2(0), SD3(1), EMMC4(2). > But CONFIG_SYS_MMC_ENV_DEV is

Re: [U-Boot] [PATCH] imx: mx6sxsabresd: Add MCIMX28LCD display support

2016-02-02 Thread Stefano Babic
On 26/01/2016 15:09, Ye Li wrote: > The i.MX6SX SABRESD board supports MCIMX28LCD (800x480x24) at LCDIF1 > port, enable this display feature by adding relevant BSP codes > and configurations. > > Signed-off-by: Ye Li > --- > board/freescale/mx6sxsabresd/mx6sxsabresd.c | 61 >

Re: [U-Boot] [PATCH] tools: mxsboot: Use more portable cpu_to_le32()

2016-02-02 Thread Stefano Babic
On 25/01/2016 04:38, Bin Meng wrote: > Currently when building mxsboot on certain machines it reports: > > HOSTCC tools/mxsboot > tools/mxsboot.c: In function 'mx28_create_sd_image': > tools/mxsboot.c:560: warning: implicit declaration of function 'htole32' > /tmp/cchLIV6q.o: In

[U-Boot] [PATCH V2 2/2] test/py: run all "ut" subtests

2016-02-02 Thread Stephen Warren
From: Stephen Warren Invoke each "ut"-based unit test as a separate pytest. Now that the DM unit test runs under test/py, remove the manual shell script that invokes it. Signed-off-by: Stephen Warren --- v2: - Only run "ut"-based tests, not other

[U-Boot] [PATCH V2 1/2] Makefile: generate symbol list from u-boot

2016-02-02 Thread Stephen Warren
From: Stephen Warren This information may be useful for both debugging, and processes that want to perform simple forms of introspection on the U-Boot binary, such as determining the set of "ut" subtests that are compiled in. Signed-off-by: Stephen Warren

Re: [U-Boot] [PATCHv4 0/9] Migrate NXP/Freescale Vybrid based boards to support pure DT

2016-02-02 Thread Stefano Babic
On 27/01/2016 06:01, Bhuvanchandra DV wrote: > Changes since v3: > - Add missing space in device tree. > - Reorder the patchset to avoid broken state. > > Changes since v2: > - Split the patch for updating the license string. > - Reorder the patchset to avoid broken state. > > Changes since

Re: [U-Boot] [PATCH] mx6slevk: Fix the reset delay for the the LAN8720 PHY

2016-02-02 Thread Stefano Babic
On 01/02/2016 14:15, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit 59370f3fcd1350 ("net: phy: delay only if reset handler is > registered") Ethernet is no longer functional. > > This commit does not have an issue in itself, but it revelead a problem > with

Re: [U-Boot] [PATCH] tqma6_wru4: Fix the reset delay for the the LAN8720 PHY

2016-02-02 Thread Stefano Babic
On 01/02/2016 14:19, Fabio Estevam wrote: > From: Fabio Estevam > > According to the LAN8720 datasheet tpurstd (time that reset line should > stay asserted) is 25ms. > > So do as suggested by the LAN8720 datasheet. > > Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH V2] imx: MX6DQ{P}/DL:SABRESD Fix bmode eMMC failure

2016-02-02 Thread Stefano Babic
On 30/01/2016 04:53, Peng Fan wrote: > From: Ye Li > > The BOOTCFG value used by bmode for SABRESD eMMC boot are actually for SD > card. > Fixed the value to correct one. > > Signed-off-by: Ye Li > Signed-off-by: Peng Fan > Reviewed-by:

Re: [U-Boot] 64-bit x86 U-Boot?

2016-02-02 Thread Simon Glass
Hi Bin, On 2 February 2016 at 08:02, Bin Meng wrote: > Hi Albert, > > On Tue, Feb 2, 2016 at 5:53 PM, Albert ARIBAUD > wrote: >> Hello Bin and Simon, >> >> On Tue, 2 Feb 2016 15:25:48 +0800, Bin Meng wrote: >>> Hi Simon, >>>

Re: [U-Boot] [PATCH 03/23] spi: ich: Change PCHV_ to ICHV_

2016-02-02 Thread Bin Meng
On Wed, Feb 3, 2016 at 12:01 AM, Jagan Teki wrote: > On 1 February 2016 at 21:49, Simon Glass wrote: >> On 1 February 2016 at 02:40, Bin Meng wrote: >>> The ICH SPI controller supports two variants, one of which is ICH7 >>> compatible

Re: [U-Boot] [PATCH 02/23] spi: ich: Use compatible strings to distinguish controller version

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 11:55 PM, Jagan Teki wrote: > On 1 February 2016 at 21:49, Simon Glass wrote: >> On 1 February 2016 at 02:40, Bin Meng wrote: >>> At present ich spi driver gets the controller version information via >>> pch, but

Re: [U-Boot] [PATCH 01/23] spi: ich: Some clean up

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 11:54 PM, Jagan Teki wrote: > On 1 February 2016 at 21:49, Simon Glass wrote: >> On 1 February 2016 at 02:40, Bin Meng wrote: >>> >>> This cleans up the ich spi driver a little bit: >>> - Remove struct

Re: [U-Boot] [PATCH 09/23] x86: pch: Implement get_gpio_base op

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:19 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> Implement get_gpio_base op for bd82x6x, pch7 and pch9 drivers. >> >> Signed-off-by: Bin Meng >> --- >> >>

Re: [U-Boot] [PATCH 08/23] dm: pch: Add get_gpio_base op

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:19 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> x86 GPIO registers are accessed via I/O port whose base address is >> configured in a PCI configuration register on the PCH device. Add >> an op

Re: [U-Boot] [PATCH 05/23] x86: quark: Drop unprotect_spi_flash()

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:19 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> Unprotecting SPI flash is now handled in the SPI controller driver, >> via a call to the PCH driver. Drop the ad-hoc version. >> >> Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH 06/23] dm: pch: Remove pch_get_version op

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:19 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> pch_get_version op was only used by the ich spi controller driver, >> and does not really provide a good identification of pch controller >> so far, since

Re: [U-Boot] [PATCH 10/23] dm: pch: Add get_io_base op

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:19 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> On some newer chipset (eg: BayTrail), there is an IO base address >> register on the PCH device which configures the base address of a >> memory-mapped I/O

Re: [U-Boot] [PATCH 04/23] x86: tnc: Drop unprotect_spi_flash()

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:19 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> Unprotecting SPI flash is now handled in the SPI controller driver, >> via a call to the PCH driver. Drop the ad-hoc version. >> >> Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH 07/23] dm: pch: Rename get_sbase op to get_spi_base

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:19 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> Spell out 'sbase' to 'spi_base' so that it looks clearer. >> >> Signed-off-by: Bin Meng >> --- >> >> arch/x86/cpu/ivybridge/bd82x6x.c

Re: [U-Boot] [PATCH 13/23] x86: Drop asm/arch/gpio.h

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> asm/arch/gpio.h is not needed anymore as we get the GPIO base from >> PCH driver. >> >> Signed-off-by: Bin Meng >> --- >> >>

Re: [U-Boot] [PATCH 19/23] x86: tnc: Use DM PCI API in disable_igd()

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> Once we get udevice of IGD and SDVO, we can use its udevice to >> access PCI configuration space with dm_pci_write_config32(). >> >> Signed-off-by: Bin

Re: [U-Boot] [PATCH 17/23] x86: irq: Convert to use DM PCI API

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> Now that we have irq router's udevice passed as a parameter, it's >> time to start using the DM PCI API instead of those legacy ones. >> >> Signed-off-by:

Re: [U-Boot] [PATCH 12/23] x86: ich6_gpio: Convert to use proper DM API

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> At present this GPIO driver still uses the legacy PCI API. Now that >> we have proper PCH drivers we can use those to obtain the information >> we need.

Re: [U-Boot] [PATCH 15/23] x86: irq: Get irq_router's bdf via dm_pci_get_bdf()

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> There is no need to parse PCH's property as we have already >> a DM PCI API dm_pci_get_bdf() that can handle this. >> >> Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH 14/23] x86: minnowmax: Drop io-base property in the pch_pinctrl node

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> IOBASE is now obtained from PCH driver, drop this property. >> >> Signed-off-by: Bin Meng >> --- >> >> arch/x86/dts/minnowmax.dts |

Re: [U-Boot] [PATCH 18/23] x86: tnc: Change disable_igd() to have a return value

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> So far disable_igd() does not have any return value, but we may need >> that in the future. >> >> Signed-off-by: Bin Meng >> --- >> >>

Re: [U-Boot] [PATCH 11/23] x86: pch9: Implement get_io_base op

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:19 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> IO_BASE is only seen on PCH9 device, implement the get_io_base op. >> >> Signed-off-by: Bin Meng >> --- >> >> drivers/pch/pch9.c | 17

Re: [U-Boot] [PATCH 16/23] x86: irq: Move irq_router to a per driver priv

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> At present irq_router is declared as a static struct irq_router in >> arch/x86/cpu/irq.c. Since it's a driver control block, it makes sense >> to move it

Re: [U-Boot] [PATCH 23/23] x86: pci: Drop legacy PCI APIs

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> Now that we have converted all x86 codes to use DM PCI APIs, >> drop those legacy ones. >> >> Signed-off-by: Bin Meng >> >> --- >> >>

Re: [U-Boot] [PATCH 21/23] x86: qemu: Convert to use DM PCI API

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> Use pci_[read|write]_config intead of x86_pci_[read|write]_config. >> >> Signed-off-by: Bin Meng >> --- >> >>

Re: [U-Boot] [PATCH 22/23] x86: pci: Use DM PCI APIs in pci_assign_irqs()

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng wrote: >> Drop legacy PCI APIs usage in pci_assign_irqs() as well. >> >> Signed-off-by: Bin Meng >> --- >> >> arch/x86/cpu/pci.c | 6 +++--- >>

Re: [U-Boot] [PATCH 20/23] x86: tnc: Remove IGD and SDVO devices from driver model

2016-02-02 Thread Bin Meng
On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > Hi Bin, > > On 1 February 2016 at 02:40, Bin Meng wrote: >> With recent DM PCI changes to vesa_fb driver, external graphics >> card does not work any more. This is because: after setting the >> function

Re: [U-Boot] 64-bit x86 U-Boot?

2016-02-02 Thread Bin Meng
Hi Simon, On Wed, Feb 3, 2016 at 12:31 PM, Simon Glass wrote: > Hi Bin, > > On 2 February 2016 at 08:02, Bin Meng wrote: >> Hi Albert, >> >> On Tue, Feb 2, 2016 at 5:53 PM, Albert ARIBAUD >> wrote: >>> Hello Bin and Simon, >>>

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-02 Thread Hannes Schmelzer
Hi there, i can osberve same strange thing on Xilinx ZYNQ. But really strange is: I'm having a couple of USB-sticks on my desk, about 5pcs. Exactly one of them is working without any trouble. My testfile is ~16MB, with the magic usb-stick i can read the whole 16MB without errors. With all

Re: [U-Boot] [PATCH 2/2] atmel_nand: Add 32 bit ecc support for sama5d2 chip

2016-02-02 Thread Andreas Bießmann
On 24.11.2015 09:34, Josh Wu wrote: > Also if minimum ecc requirment is bigger then what we support, then just > use our maxium pmecc support. > But it is not safe, so we'll output a warning about this. > > Signed-off-by: Josh Wu Reviewed-by: Andreas Bießmann

[U-Boot] [PATCH] fastboot: sparse: fix chunk write offset calculation

2016-02-02 Thread Jeffy Chen
We should count skipped blocks in when calculating write offset. Signed-off-by: Jeffy Chen --- common/image-sparse.c | 31 --- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/common/image-sparse.c b/common/image-sparse.c

Re: [U-Boot] [PATCH] fdt: __of_translate_address(): check parent's 'ranges' before translate

2016-02-02 Thread Przemyslaw Marczak
Hello, On 01/29/2016 07:23 PM, Simon Glass wrote: Hi Przymyslaw, On 15 January 2016 at 09:35, Stephen Warren wrote: On 01/15/2016 03:41 AM, Przemyslaw Marczak wrote: Hello Simon, On 01/14/2016 06:17 PM, Simon Glass wrote: Hi Przemyslaw, Stephen, On 13 January

Re: [U-Boot] [PATCH 2/2] pinctrl: imx: Support i.MX7D

2016-02-02 Thread Peng Fan
Hi Simon, On Mon, Feb 01, 2016 at 05:05:18PM -0700, Simon Glass wrote: >Hi Peng, > >On 31 January 2016 at 22:38, Peng Fan wrote: >> Introudce i.MX7 pinctrl driver support. >> For now only i.MX7D supported. >> There are two iomux controllers in i.MX7D, iomuxc and

Re: [U-Boot] [PATCH 1/2] atmel_nand_ecc: update pmecc registers according to sama5d2 chip

2016-02-02 Thread Andreas Bießmann
On 24.11.2015 09:34, Josh Wu wrote: > 1. add the pmecc register mapping for sama5d2. > 2. add the pmecc error location register mapping for sama5d2. > 3. add some new field that is different from old ip. > 4. add sama5d2 pmecc ip version number. > > Signed-off-by: Josh Wu

Re: [U-Boot] [RESEND PATCH v3 2/5] ARM: at91: clock: add a new file to handle clock

2016-02-02 Thread Andreas Bießmann
Hi Wenyou, On 02.02.2016 03:31, Wenyou Yang wrote: > To reduce the duplicated code, add a new file to accommodate > the peripheral's and system's clock handle code, shared with > the SoCs with different ARM core. > > Signed-off-by: Wenyou Yang > Tested-by: Heiko Schocher

Re: [U-Boot] [PATCH v2] board: atmel: sama5d2_xplained: add SPL support

2016-02-02 Thread Andreas Bießmann
On 01.02.2016 11:18, Wenyou Yang wrote: > The sama5d2 Xplained SPL supports the boot medias: spi flash > and SD Card. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > This patch is base on [U-Boot] [PATCH v3 0/3] arm:

Re: [U-Boot] [PATCH 1/2] pinctrl: imx: Introduce pinctrl driver for i.MX6

2016-02-02 Thread Peng Fan
Hi Simon, On Mon, Feb 01, 2016 at 05:05:05PM -0700, Simon Glass wrote: >Hi Peng, > >On 31 January 2016 at 22:38, Peng Fan wrote: >> Introduce pinctrl for i.MX6 >> 1. pinctrl-imx.c is for common usage. It's used by i.MX6/7. >> 2. Add PINCTRL_IMX PINCTRL_IMX6 Kconfig entry.

Re: [U-Boot] [PATCH 04/16] efi_loader: Add boot time services

2016-02-02 Thread Leif Lindholm
On Tue, Feb 02, 2016 at 03:45:02AM +0100, Alexander Graf wrote: > When an EFI application runs, it has access to a few descriptor and callback > tables to instruct the EFI compliant firmware to do things for it. The bulk > of those interfaces are "boot time services". They handle all object >

Re: [U-Boot] [PATCH 2/2] net: phy: micrel: fix divisor value for KSZ9031 phy skew

2016-02-02 Thread Dinh Nguyen
On 01/27/2016 07:26 PM, Måns Rullgård wrote: > writes: > >> From: Dinh Nguyen >> >> The picoseconds to register value divisor(ps_to_regval) should be 60 and not >> 200. Linux has KSZ9031_PS_TO_REG defined to be 60 as well. 60 is

[U-Boot] 9c11135 breaks bootz

2016-02-02 Thread Matthias Weißer
Hi 9c11135 image: fix getenv_bootm_size() function breaks the bootz command for me on a custom hardware (very similar to mx6sxsabresd but with only 256MB RAM). I don't have bootm_size or bootm_low defined. After reading zImage and dtb from serial flash I run => bootz 0x8080 - 0x8300

Re: [U-Boot] 64-bit x86 U-Boot?

2016-02-02 Thread Bin Meng
Hi Albert, On Tue, Feb 2, 2016 at 5:53 PM, Albert ARIBAUD wrote: > Hello Bin and Simon, > > On Tue, 2 Feb 2016 15:25:48 +0800, Bin Meng wrote: >> Hi Simon, >> >> On Tue, Feb 2, 2016 at 11:58 AM, Simon Glass wrote: >> > +Bin

Re: [U-Boot] 64-bit x86 U-Boot?

2016-02-02 Thread Albert ARIBAUD
Hello Bin and Simon, On Tue, 2 Feb 2016 15:25:48 +0800, Bin Meng wrote: > Hi Simon, > > On Tue, Feb 2, 2016 at 11:58 AM, Simon Glass wrote: > > +Bin (sorry, meant to copy you before) > >>> For non-FSP devices we don't init the RAM until much later - >

Re: [U-Boot] [PATCH] spl: define BOOT_DEVICE_USB

2016-02-02 Thread Albert ARIBAUD
Hello Masahiro, On Tue, 2 Feb 2016 15:45:13 +0900, Masahiro Yamada wrote: > This macro is referenced from common/spl/spl.c Nitpick: not a macro, but an enum value. Amicalement, -- Albert. ___ U-Boot mailing list

Re: [U-Boot] [RFC PATCH v1] dfu: introduce dfu_mtd support

2016-02-02 Thread Lukasz Majewski
Hi Heiko, Please find below comments. > With the new dfu_mtd layer, now dfu supports reading/writing > to mtd partitions, found on mtd devices. With this approach > it is also possible to read/write to concatenated mtd > devices. > > Signed-off-by: Heiko Schocher > > --- > This

[U-Boot] [PATCH v3 5/8] defconfig: k2l_evm_defconfig: enable net driver model

2016-02-02 Thread Mugunthan V N
enable net driver model for k2l evm as keystone_net supports driver model Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- configs/k2l_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH v3 6/8] defconfig: k2e_evm_defconfig: enable net driver model

2016-02-02 Thread Mugunthan V N
enable net driver model for k2e evm as keystone_net supports driver model Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- configs/k2e_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH v2 0/1] Fix patman Series-notes handling for buildman

2016-02-02 Thread Albert ARIBAUD
Creating a branch with a Series-notes and running buildman on that branch results in a buildman error of the form "TypeError: cannot concatenate 'str' and 'list' objects". This "series" fixes that by initializing series.notes as an array, not a scalar. This is a single and short patch which would

[U-Boot] [PATCH v2] spl: define BOOT_DEVICE_USB

2016-02-02 Thread Masahiro Yamada
This enum is referenced from common/spl/spl.c. Signed-off-by: Masahiro Yamada --- Changes in v2: - s/macro/enum/ arch/arm/include/asm/spl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/spl.h b/arch/arm/include/asm/spl.h index

Re: [U-Boot] [PATCH] spl: define BOOT_DEVICE_USB

2016-02-02 Thread Masahiro Yamada
2016-02-02 19:03 GMT+09:00 Albert ARIBAUD : > Hello Masahiro, > > On Tue, 2 Feb 2016 15:45:13 +0900, Masahiro Yamada > wrote: >> This macro is referenced from common/spl/spl.c > > Nitpick: not a macro, but an enum value. > > Amicalement,

Re: [U-Boot] [U-Boot, v2] board: atmel: sama5d2_xplained: add SPL support

2016-02-02 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >The sama5d2 Xplained SPL supports the boot medias: spi flash >and SD Card. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- >This patch is base on [U-Boot] [PATCH

Re: [U-Boot] [U-Boot, v3, 3/3] arm: at91/spl: mpddrc: use IP version to check configuration

2016-02-02 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >To remove the unnecessary #ifdef-endif, use the mpddrc IP version >to check whether or not the interleaved decoding type is supported. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann

Re: [U-Boot] [PATCH] patman: fix series-notes handling for buildman

2016-02-02 Thread Albert ARIBAUD
Hello Simon, > >> Hmm, actually I've had to drop this as it breaks 'Series-version'. > >> That currently does not expect a list. > > > > Hmm, I can't reproduce this here. How do you trigger the Series-version > > break? > > I created a commit with a Series-version: in it. Then, running patman >

Re: [U-Boot] [RESEND PATCH v3 2/5] ARM: at91: clock: add a new file to handle clock

2016-02-02 Thread Yang, Wenyou
Hi Andreas, > -Original Message- > From: Andreas Bießmann [mailto:andreas.de...@googlemail.com] > Sent: 2016年2月2日 16:23 > To: Yang, Wenyou ; U-Boot Mailing List b...@lists.denx.de> > Cc: Heiko Schocher ; andreas.de...@googlemail.com > Subject: Re:

[U-Boot] [PATCH v2] patman: fix series-notes handling for buildman

2016-02-02 Thread Albert ARIBAUD
A patman series with a 'Series-notes' section causes buildman to crash with: self.series.notes += self.section TypeError: cannot concatenate 'str' and 'list' objects Fix by initializing series.notes as a one-element array rather than a scalar. Signed-off-by: Albert ARIBAUD

Re: [U-Boot] [PATCH] spl: define BOOT_DEVICE_USB

2016-02-02 Thread Masahiro Yamada
Hi Tom, I want to use this patch as a prerequisite of my next patch series. This patch is trivial enough, so can you apply it to u-boot/master soon? Or, may I include this in my series? 2016-02-02 15:45 GMT+09:00 Masahiro Yamada : > This macro is referenced from

[U-Boot] [PATCH v3 7/8] ARM: dts: k2g: Add keystone net dts files

2016-02-02 Thread Mugunthan V N
Add keystone net DT support for k2g evm. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- arch/arm/dts/k2g-evm.dts| 12 arch/arm/dts/k2g-netcp.dtsi | 151

[U-Boot] [PATCH v3 8/8] defconfig: k2g_evm_defconfig: enable net driver model

2016-02-02 Thread Mugunthan V N
enable net driver model for k2g evm as keystone_net supports driver model Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- configs/k2g_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff

Re: [U-Boot] [U-Boot, 1/2] atmel_nand_ecc: update pmecc registers according to sama5d2 chip

2016-02-02 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >1. add the pmecc register mapping for sama5d2. >2. add the pmecc error location register mapping for sama5d2. >3. add some new field that is different from old ip. >4. add sama5d2 pmecc ip version number. > >Signed-off-by: Josh Wu

Re: [U-Boot] [U-Boot, v3, 2/3] arm: at91/spl: mpddrc: add mpddrc DDR3-SDRAM initialization

2016-02-02 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >The DDR3-SDRAM initialization sequence is implemented in >accordance with the DDR3-SRAM/DDR3L-SDRAM initialization section >described in the SAMA5D2 datasheet. > >Add registers and definitions of mpddrc controller, which is used >to

Re: [U-Boot] [U-Boot, 2/2] atmel_nand: Add 32 bit ecc support for sama5d2 chip

2016-02-02 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >Also if minimum ecc requirment is bigger then what we support, then just >use our maxium pmecc support. >But it is not safe, so we'll output a warning about this. > >Signed-off-by: Josh Wu >Acked-by: Scott Wood

Re: [U-Boot] [U-Boot, v3, 1/3] arm: at91/spl: mpddrc: add struct atmel_mpddrc_config

2016-02-02 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Add struct atmel_mpddrc_config to accommodate the mpddrc register >configurations, not using the mpddrc register map structure, >struct atmel_mpddrc, in order to increase readability and reduce >run-time memory use. > >Signed-off-by:

[U-Boot] [PATCH] mtd, ubi: set free_count to zero before walking through erase list

2016-02-02 Thread Heiko Schocher
Set free_count to zero before walking through ai->erase list in wl_init(). As U-Boot has no workqueue/threads, it immediately calls erase_worker(), which increase for each erased block free_count. Without this patch, free_count gets after this initialized to zero in wl_init(), so the free_count

[U-Boot] [PATCH v3 3/8] drivers: net: keystone_net: convert driver to adopt device driver model

2016-02-02 Thread Mugunthan V N
Adopt keystone_net driver to adopt device driver model Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- drivers/net/keystone_net.c | 473 + 1 file changed, 433 insertions(+), 40 deletions(-) diff --git

[U-Boot] [PATCH v3 1/8] board: ti: ks2_evm: remove board_eth_init when CONFIG_DM_ETH is defined

2016-02-02 Thread Mugunthan V N
remove board_eth_init when CONFIG_DM_ETH is defined Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- board/ti/ks2_evm/board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH v3 4/8] defconfig: k2hk_evm_defconfig: enable net driver model

2016-02-02 Thread Mugunthan V N
enable net driver model for k2hk evm as keystone_net supports driver model Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- configs/k2hk_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH v3 0/8] driver model bring-up of keystone net on k2hk, k2l, k2e and k2g evm

2016-02-02 Thread Mugunthan V N
This patch series enables keystone net to adopt driver model. This has been tested on the following evms (logs [1]) by tftp zImage from server. * k2hk evm * k2l evm * k2e evm * k2g evm Also pushed a branch for testing [2] Changes from v2: * Added driver remove to cleanup MDIO allocations * added

[U-Boot] [PATCH v3 2/8] drivers: net: phy: micrel: fix build errors with CONFIG_DM_ETH

2016-02-02 Thread Mugunthan V N
When Micrel phy is selected without CONFIG_PHY_MICREL_KSZ9031 or CONFIG_PHY_MICREL_KSZ9021 there is a build error. Fixing this by adding proper ifdefs drivers/net/phy/micrel.c:370:39: error: array type has incomplete element type static const struct ksz90x1_reg_field ksz9031_ctl_grp[] =

Re: [U-Boot] [RFC PATCH v1] dfu: introduce dfu_mtd support

2016-02-02 Thread Heiko Schocher
Hello Lukasz, Am 02.02.2016 um 11:06 schrieb Lukasz Majewski: Hi Heiko, Please find below comments. With the new dfu_mtd layer, now dfu supports reading/writing to mtd partitions, found on mtd devices. With this approach it is also possible to read/write to concatenated mtd devices.

[U-Boot] Issue with USB mass storage (thumb drives)

2016-02-02 Thread Schrempf Frieder
Hello, I'm using U-Boot on a custom i.MX6 board and I'm having problems while reading (large) files from USB thumb drives. I wouldn't really mind if this only happened with some specific USB device, but the problem occurs with 3 out of 4 tested thumb drives while loading a 100M test file. The

Re: [U-Boot] [PATCHv4 0/9] Migrate NXP/Freescale Vybrid based boards to support pure DT

2016-02-02 Thread Bhuvanchandra DV
Ping! On 01/27/2016 10:31 AM, Bhuvanchandra DV wrote: Changes since v3: - Add missing space in device tree. - Reorder the patchset to avoid broken state. Changes since v2: - Split the patch for updating the license string. - Reorder the patchset to avoid broken state. Changes since v1: -

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2016-02-02 Thread Tom Rini
On Tue, Feb 02, 2016 at 02:41:09AM +, york sun wrote: > Tom, > > The following changes since commit 8cdae1dacde7dbe74d53a8ac1a05761a53c4f191: > > video: Correct 'tor' typo in comment (2016-01-30 10:58:47 +0100) > > are available in the git repository at: > >

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

2016-02-02 Thread Tom Rini
On Tue, Feb 02, 2016 at 12:52:49PM +0100, Andreas Bießmann wrote: > Hi Tom, > > please pull these changes into u-boot/master ... eventually before tagging > rc1 ;) > > Andreas > > The following changes since commit 9e4de7fd4acc8f99b6d383c711d21c0159849629: > > Merge branch 'master' of

Re: [U-Boot] [PATCHv2 5/8] arm: vybrid: Drop enabling GPIO, UART and SPI in legacy mode

2016-02-02 Thread Jagan Teki
On 25 January 2016 at 22:33, Bhuvanchandra DV wrote: > Remove the legacy way of enabling UART, GPIO and SPI on Vybrid > based boards since these driver's now only supports DT mode. > > Signed-off-by: Bhuvanchandra DV Reviewed-by: Jagan

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-02 Thread Marek Vasut
On Tuesday, February 02, 2016 at 05:28:42 PM, Fabio Estevam wrote: > Adding Marek in case he has any ideas. > > On Tue, Feb 2, 2016 at 8:35 AM, Schrempf Frieder > > wrote: > > Hello, > > > > I'm using U-Boot on a custom i.MX6 board and I'm having problems while > >

Re: [U-Boot] [PATCH 12/16] efi_loader: Add DCACHE_OFF support for arm64

2016-02-02 Thread Alexander Graf
> Am 02.02.2016 um 18:28 schrieb Tom Rini : > >> On Tue, Feb 02, 2016 at 03:55:17PM +, Mark Rutland wrote: >>> On Tue, Feb 02, 2016 at 03:45:10AM +0100, Alexander Graf wrote: >>> On arm64, boards can declare that they want to run with dcache disabled. >>> >>> However,

Re: [U-Boot] Converting serial_s3c24x0.c to driver model

2016-02-02 Thread ELSOFT AG
Hello Simon Glass wrote: > I'm sorry if you have not heard about this before. I sent out an email > to all maintainers some months ago. > You are listed as the maintainer of a few boards which use the > serial_s3c24x0.c serial driver. We are trying to convert all of these > drivers to driver

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-02 Thread Fabio Estevam
Adding Marek in case he has any ideas. On Tue, Feb 2, 2016 at 8:35 AM, Schrempf Frieder wrote: > Hello, > > I'm using U-Boot on a custom i.MX6 board and I'm having problems while > reading (large) files from USB thumb drives. > I wouldn't really mind if this only

[U-Boot] [PATCH 03/13] ARM: uniphier: add missing static qualifier

2016-02-02 Thread Masahiro Yamada
This function is for local use in the file. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/boot-mode/boot-mode-proxstream2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-uniphier/boot-mode/boot-mode-proxstream2.c

[U-Boot] [PATCH 08/13] ARM: dts: uniphier: add device nodes for Peripheral control block

2016-02-02 Thread Masahiro Yamada
This block provides clock and reset control for peripherals such as UART, I2C, IC card, etc. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-common32.dtsi| 6 ++ arch/arm/dts/uniphier-ph1-ld4.dtsi | 6 ++

[U-Boot] [PATCH 10/13] ARM: dts: uniphier: switch to use clock drivers

2016-02-02 Thread Masahiro Yamada
Specify clocks properties to the EHCI nodes. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ph1-ld4.dtsi | 3 +++ arch/arm/dts/uniphier-ph1-pro4.dtsi | 2 ++ arch/arm/dts/uniphier-ph1-sld3.dtsi | 4 arch/arm/dts/uniphier-ph1-sld8.dtsi | 3 +++ 4

[U-Boot] [PATCH 00/13] ARM: uniphier: a collection of clean-ups and new clock driver

2016-02-02 Thread Masahiro Yamada
Masahiro Yamada (13): ARM: uniphier: change stack pointer address for SPL ARM: uniphier: create early page table at run-time ARM: uniphier: add missing static qualifier ARM: uniphier: support USB boot mode for ProXstream2 / PH1-LD6b SoC clk: uniphier: add Media I/O clock driver for

[U-Boot] [PATCH 07/13] ARM: dts: uniphier: add device nodes for system control blocks

2016-02-02 Thread Masahiro Yamada
This is a system control block mainly used for clock and reset control. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-common32.dtsi| 8 arch/arm/dts/uniphier-ph1-ld4.dtsi | 4 arch/arm/dts/uniphier-ph1-pro4.dtsi| 4

[U-Boot] [PATCH 11/13] usb: remove UniPhier EHCI driver

2016-02-02 Thread Masahiro Yamada
Currently, what this driver does is just to set the base address and reset/clock handling. The latter is cared by the clock driver now. There is nothing special for this EHCI controller. I want to use the generic-ehci driver rather than bothering to convert this driver to Driver Model.

Re: [U-Boot] [PATCH 11/13] usb: remove UniPhier EHCI driver

2016-02-02 Thread Marek Vasut
On Tuesday, February 02, 2016 at 01:11:38 PM, Masahiro Yamada wrote: > Currently, what this driver does is just to set the base address and > reset/clock handling. The latter is cared by the clock driver now. > There is nothing special for this EHCI controller. > > I want to use the generic-ehci

[U-Boot] [PATCH 09/13] ARM: dts: uniphier: add device nodes for MIO control block

2016-02-02 Thread Masahiro Yamada
This block provides clock and reset control for MIO (Media I/O) hardware blocks such as USB2.0, SD card, eMMC, etc. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-common32.dtsi| 6 ++ arch/arm/dts/uniphier-ph1-ld4.dtsi | 6 ++

[U-Boot] [PATCH 13/13] ARM: uniphier: drop unneeded EHCI pin mux settings

2016-02-02 Thread Masahiro Yamada
These pin mux settings are cared by the pinctrl driver. Remove the ad-hoc code. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/pinctrl/pinctrl-ph1-ld4.c | 9 - arch/arm/mach-uniphier/pinctrl/pinctrl-ph1-pro4.c | 7 ---

  1   2   >