Re: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-03-26 Thread Bo Shen
Hi Hans, On 03/27/2015 03:08 AM, Hans de Goede wrote: Hi, First of all I'm not sure this is a regression, but I'm afraid I do not have time to dig deeper so I thought I should report it anyways and then others can try to reproduce it. I'm seeing the following happen when using a usb stick with

[U-Boot] [PATCH v2 4/4] ARM: atmel: at91sam9n12ek: enable spl support

2015-03-26 Thread Bo Shen
Enable SPL support for at91sam9n12ek boards, now it supports boot up from NAND flash, serial flash. Signed-off-by: Bo Shen --- Changes in v2: - Remove the meaningless prefix "+S:" in configuration file. arch/arm/mach-at91/Kconfig | 1 + arch/arm/mach-at91/Makefile

[U-Boot] [PATCH v2 1/4] ARM: atmel: arm926ejs: fix clock configuration

2015-03-26 Thread Bo Shen
Config MCKR according to the datasheet sequence, or else it will cause the MCKR configuration failed. Remove timeout checking for clock configuration, if configure the clock failed, let the system hang while not run in wrong clock configuration. Signed-off-by: Bo Shen Tested-by: Heiko Schocher

[U-Boot] [PATCH v2 2/4] ARM: atmel: at91sam9m10g45ek: enable spl support

2015-03-26 Thread Bo Shen
Supports boot up from NAND flash with software ECC eanbled. And supports boot up from SD/MMC card with FAT file system. As the boot from SD/MMC card with FAT file system, the BSS segment is too big to fit into SRAM, so, use the lds to put it into SDRAM. Signed-off-by: Bo Shen --- Changes in v2:

[U-Boot] [PATCH v2 3/4] ARM: atmel: at91sam9x5ek: enable spl support

2015-03-26 Thread Bo Shen
Enable SPL support for at91sam9x5ek board. Now, it supports boot up from NAND flash and SPI flash. Signed-off-by: Bo Shen --- Changes in v2: - Remove the meaningless prefix "+S:" in configuration file. arch/arm/mach-at91/Kconfig | 1 + arch/arm/mach-at91/Makefile

[U-Boot] [PATCH v2 0/4] ARM: atmel: boards: enable SPL support

2015-03-26 Thread Bo Shen
This patch series enable SPL support for following boards: - at91sam9m10g45ek - NAND flash boot support - SD card boot support - at91sam9n12ek - NAND flash boot support - SPI flash boot support - at91sam9x5ek - NAND flash boot support - SPI flash boot support Changes

[U-Boot] [PATCH] fsl/pci: Set CFG_READY for PCIe v3.0 and later

2015-03-26 Thread Minghuan Lian
Freescale PCIe controllers v3.0 and later need to set bit CFG_READY to allow all inbound configuration transactions to be processed normally when in EP mode. However, bit CFG_READY has been moved from PCIe configuration space to CCSR PCIe configuration register comparing previous version. The patch

[U-Boot] [PATCH 3/3 v1] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-03-26 Thread Haikun Wang
From: Haikun Wang Enable Driver Model SPI for ls1021atwr board. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang --- include/configs/ls1021atwr.h | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/configs/ls1021atwr.h b/includ

[U-Boot] [PATCH 1/3 v1] arm: ls102xa: Enable CONFIG_DEFAULT_DEVICE_TREE to defconfig for ls1021a

2015-03-26 Thread Haikun Wang
Define CONFIG_DEFAULT_DEVICE_TREE for ls1021a series boards. Signed-off-by: Haikun Wang --- configs/ls1021aqds_ddr4_nor_defconfig| 1 + configs/ls1021aqds_nand_defconfig| 1 + configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 1 + configs/ls1021aqds_nor_defconfig | 1

[U-Boot] [PATCH 2/3 v1] arm: ls102xa: Enable Driver Model SPI for ls1021aqds

2015-03-26 Thread Haikun Wang
From: Haikun Wang Enable Driver Model SPI for ls1021aqds board. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by: Haikun Wang --- include/configs/ls1021aqds.h | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/include/configs/ls1021aqds.h b/inc

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-26 Thread Rob Herring
On Thu, Mar 26, 2015 at 4:11 AM, Paul Kocialkowski wrote: > Le jeudi 26 mars 2015 à 09:53 +0100, Hans de Goede a écrit : >> Hi, >> >> On 25-03-15 23:35, Paul Kocialkowski wrote: >> > Le mardi 24 mars 2015 à 09:01 +0100, Hans de Goede a écrit : >> >> Hi, >> >> >> >> On 24-03-15 00:12, Rob Herring w

[U-Boot] [PATCH] drivers:usb:fsl: Implement Erratum A-009116 for XHCI controller

2015-03-26 Thread Nikhil Badola
This adjusts (micro)frame length to appropriate value thus avoiding USB devices to time out over a longer run Signed-off-by: Nikhil Badola --- Depends on fsl/usb: Add USB XHCI support http://patchwork.ozlabs.org/patch/373593/ drivers/usb/host/xhci-fsl.c | 9 + include/linux/usb/dwc3.h

Re: [U-Boot] NAND Flash with Internal Hardware ECC

2015-03-26 Thread Josh Wu
Hello, Dave On 3/26/2015 4:45 PM, Rajiv Dave wrote: Hi, We are using an Atmel AT91SAM9263 processor which supports 1 Bit ECC flash devices that have Block 0 Valid with no ECC. These devices are now obsolete. We have fitted a board with a MT29F2G08ABAEWP-E-E, which has an internal Hardware ECC

Re: [U-Boot] [PATCH v2 0/2] ARM: tegra: pinmux/colibri_t20: fix nand pinmux

2015-03-26 Thread Stephen Warren
On 03/26/2015 06:31 PM, Marcel Ziswiler wrote: > Fix FUNCMUX_NDFLASH_KBC_8_BIT and pingroup ATC clashing. > > Please note that the first patch has already been submitted once but > based on feedback from Stephen I now split it up into a generic fix > part plus a board specific ATC pingroup clashin

[U-Boot] [PATCH 2/3] kbuild: remove redundant line from (generic-)asm-offsets.h

2015-03-26 Thread Masahiro Yamada
From: Masahiro Yamada This line produces an extra comment line for generic-asm-offsets.h and asm-offsets.h. Signed-off-by: Masahiro Yamada Signed-off-by: Michal Marek [ imported from Linux Kernel, commit 343d3e6cc861, with modification of commit description ] Signed-off-by: Masahiro Yamada

[U-Boot] [PATCH 3/3] kbuild: Don't reset timestamps in include/generated if not needed

2015-03-26 Thread Masahiro Yamada
From: Michal Marek Use filechk to generate asm-offsets.h and generic-asm-offsets.h. Based on a patch by Valdis Kletnieks. Reported-by: Valdis Kletnieks Acked-by: Valdis Kletnieks Reviewed-by: Masahiro Yamada Signed-off-by: Michal Marek [ imported from Linux Kernel, commit 70a4fd6c56d0, wit

[U-Boot] [PATCH 1/3] kbuild: merge generic-asm-offsets.h and asm-offsets.h rules

2015-03-26 Thread Masahiro Yamada
The rules "cmd_generic-offsets" and "cmd_offsets" are almost the same. (The difference is only the include guards.) They can be merged. This commit is mostly inspired by the following commit of Linux. commit 39664e2f3cdef98f42437e903159a6044a1d99d6 Author: Masahiro Yamada Date: Mon

[U-Boot] [PATCH 0/3] kbuild: refactor ./Kbuild

2015-03-26 Thread Masahiro Yamada
Masahiro Yamada (2): kbuild: merge generic-asm-offsets.h and asm-offsets.h rules kbuild: remove redundant line from (generic-)asm-offsets.h Michal Marek (1): kbuild: Don't reset timestamps in include/generated if not needed Kbuild | 73 +--

[U-Boot] [PATCH v2 1/2] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2015-03-26 Thread Marcel Ziswiler
From: Lucas Stach Even the 8-bit case needs KBCB configured, as pin D7 is located in this pingroup. Please note that pingroup ATC seems to come out of reset with its config set to NAND so one needs to explicitly configure some other function to this group in order to avoid clashing settings whic

[U-Boot] [PATCH v2 0/2] ARM: tegra: pinmux/colibri_t20: fix nand pinmux

2015-03-26 Thread Marcel Ziswiler
Fix FUNCMUX_NDFLASH_KBC_8_BIT and pingroup ATC clashing. Please note that the first patch has already been submitted once but based on feedback from Stephen I now split it up into a generic fix part plus a board specific ATC pingroup clashing workaround. That's why I call this series already v2 to

[U-Boot] [PATCH v2 2/2] ARM: tegra: colibri_t20: fix nand pinmux

2015-03-26 Thread Marcel Ziswiler
Pingroup ATC seems to come out of reset with config set to NAND, so we need to explicitly configure some other function to this group in order to avoid clashing settings. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri_t20/colibri_t20.c | 6 ++ 1 file changed, 6 insertions(+) diff

Re: [U-Boot] [PATCH 1/2] mpc85xx gpio related header files changes to compile common cmd_gpio.c

2015-03-26 Thread Joakim Tjernlund
On Thu, 2015-03-26 at 17:16 -0400, Oleksandr G Zhadan wrote: > From: Oleksandr Zhadan > > Signed-off-by: Oleksandr Zhadan > Signed-off-by: Michael Durrant > --- > > arch/powerpc/include/asm/arch-mpc85xx/gpio.h |2 ++ > arch/powerpc/include/asm/mpc85xx_gpio.h |6 -- > 2 fil

[U-Boot] [PATCH 2/3] sunxi: promote CONFIG_CLK_FULL_SPEED to be selectable through Kconfig

2015-03-26 Thread Iain Paton
in order to allow for this to be set differently per board, remove the define from the associated soc headers and allow the user to choose a value through a Kconfig setting Signed-off-by: Iain Paton --- board/sunxi/Kconfig | 8 include/configs/sun4i.h | 1 - include/configs/sun5i.h

[U-Boot] [PATCH 3/3] sunxi: a10-LIME set the cpu clock at boot to 912MHz

2015-03-26 Thread Iain Paton
following kernel patches to reduce the cpu clock to 912MHz due to reported instability at 1008MHz, select 912MHz as the boot speed for the a10-lime Signed-off-by: Iain Paton --- configs/A10-OLinuXino-Lime_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/A10-OLinuXino-Lime_de

[U-Boot] [PATCH 1/3] sunxi: sun4i: add missing 912MHz clock divisors

2015-03-26 Thread Iain Paton
clock divisors table was missing an entry for 912MHz. The same table is used for sun7i where the default boot clock is 912MHz, resulting in A20 boards being overclocked to 960MHz Signed-off-by: Iain Paton --- arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 1 + 1 file changed, 1 insertion(+) diff --gi

Re: [U-Boot] [PATCH 1/1] ARM: mxs: get boot mode from OTP

2015-03-26 Thread Jörg Krause
On Do, 2015-03-26 at 10:39 +0100, Jörg Krause wrote: > Reading the GPIOs for getting the boot mode does not show the correct result > for USB boot mode in case the recovery switch, eg. BM2 for switching from NAND > to USB boot mode, is hold down while plugging in USB and released before > U-Boot >

[U-Boot] [PATCH 1/1] ARM: mxs: Get boot mode from OCRAM

2015-03-26 Thread Jörg Krause
Reading the boot mode pins after power-up does not necessarily represent the boot mode used by the ROM loader. For example the state of a pin may have changed because a recovery switch which was pressed to enter USB mode is already released after plugging in USB. The ROM loader stores the value a

[U-Boot] [PATCH 1/2] mpc85xx gpio related header files changes to compile common cmd_gpio.c

2015-03-26 Thread Oleksandr G Zhadan
From: Oleksandr Zhadan Signed-off-by: Oleksandr Zhadan Signed-off-by: Michael Durrant --- arch/powerpc/include/asm/arch-mpc85xx/gpio.h |2 ++ arch/powerpc/include/asm/mpc85xx_gpio.h |6 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/as

[U-Boot] Adding support for red pitaya zynq board; is zynq working?

2015-03-26 Thread Jeremy Herbert
Hi all, I just tried to build the latest master mainline u-boot for a xilinx zynq 7010 board called the red pitaya. I'm not affiliated at all with the board, just trying to use it with a recent version of u-boot (and linux). Unfortunately it gets stuck in a reset loop (I wasn't able to nail down w

[U-Boot] [PATCH 2/2] Add new Arcturus Networks Inc. board support - uCP1020

2015-03-26 Thread Oleksandr G Zhadan
From: Oleksandr Zhadan Signed-off-by: Oleksandr Zhadan Signed-off-by: Michael Durrant --- arch/powerpc/cpu/mpc85xx/Kconfig |4 + board/Arcturus/ucp1020/Kconfig | 44 ++ board/Arcturus/ucp1020/MAINTAINERS |7 + board/Arcturus/ucp1020/Makefile | 33 + board/Arcturu

Re: [U-Boot] [PATCH v3 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-26 Thread Nikita Kiryanov
Hi Hannes, On 03/25/2015 11:24 PM, Hannes Petermaier wrote: +static void console_calc_rowcol(struct console_t *pcons) +{ +pcons->cols = pcons->lcdsizex / VIDEO_FONT_WIDTH; +#if defined(CONFIG_LCD_LOGO) && !defined(CONFIG_LCD_INFO_BELOW_LOGO) +pcons->rows = (pcons->lcdsizey - BMP_LOGO_HEI

[U-Boot] NAND Flash with Internal Hardware ECC

2015-03-26 Thread Rajiv Dave
Hi, We are using an Atmel AT91SAM9263 processor which supports 1 Bit ECC flash devices that have Block 0 Valid with no ECC. These devices are now obsolete. We have fitted a board with a MT29F2G08ABAEWP-E-E, which has an internal Hardware ECC engine. Would you know how provide support for this dev

Re: [U-Boot] [PATCH v4 0/2] ARM: mx5: add support for USB armory board

2015-03-26 Thread Chris Kuethe
On Thu, Mar 26, 2015 at 3:23 PM, Andrej Rosano wrote: > Please note that the patch is prepared against imx tree and not the > mainline one, where the "arch/board approach" is not yet merged. OK, it all works for me. -- GDB has a 'break' feature; why doesn't it have 'fix' too?

Re: [U-Boot] [PATCH v4 0/2] ARM: mx5: add support for USB armory board

2015-03-26 Thread Andrej Rosano
Hi Chris, On Thu, Mar 26, 2015 at 02:53:58PM -0700, Chris Kuethe wrote: > On Thu, Mar 26, 2015 at 4:49 AM, wrote: > > From: Andrej Rosano > > > > Hello, > > > > this series adds support for USB armory board. The patches are > > prepared against imx tree as it uses the new arch/board approach. >

Re: [U-Boot] [PATCH] T104xD4: Add Secure boot support for T104xD4RDB platforms.

2015-03-26 Thread Scott Wood
On Thu, 2015-03-26 at 15:52 +0530, Gaurav Rana wrote: > defconfig files are added and SFP version for these platforms > is updated. > > Signed-off-by: Gaurav Rana > --- > arch/powerpc/include/asm/config_mpc85xx.h | 1 + > arch/powerpc/include/asm/fsl_secure_boot.h | 2 ++ > board/freescale/t104

Re: [U-Boot] [PATCH v4 0/2] ARM: mx5: add support for USB armory board

2015-03-26 Thread Chris Kuethe
On Thu, Mar 26, 2015 at 4:49 AM, wrote: > From: Andrej Rosano > > Hello, > > this series adds support for USB armory board. The patches are > prepared against imx tree as it uses the new arch/board approach. > > The first patch add introduces the arch/board approach for mx5, > as already done fo

Re: [U-Boot] [PATCH v4 1/2] ARM: mx5: move to a standard arch/board approach

2015-03-26 Thread Chris Kuethe
On Thu, Mar 26, 2015 at 4:49 AM, wrote: > > From: Andrej Rosano > > Move the MX5 based boards to arch/arm/cpu/armv7/mx5, following the > commit: 89ebc82137bebb11a8191f8b9cbf08f2533ae8bc > > Signed-off-by: Andrej Rosano > Cc: Stefano Babic > Cc: Vagrant Cascadian Tested-by: Chris Kuethe --

Re: [U-Boot] [PATCH 2/2] Add new Arcturus Networks Inc. board support - uCP1020

2015-03-26 Thread York Sun
On 03/26/2015 02:14 PM, Oleksandr G Zhadan wrote: > From: Oleksandr Zhadan > Please add commit message to explain what you are doing. Please run checkpatch before sending it. You have tons of issues there. York ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [PATCH 1/2] mpc85xx gpio related header files changes to compile common cmd_gpio.c

2015-03-26 Thread York Sun
On 03/26/2015 02:16 PM, Oleksandr G Zhadan wrote: > From: Oleksandr Zhadan Please add commit message to explain why and what you are changing. > > Signed-off-by: Oleksandr Zhadan > Signed-off-by: Michael Durrant > --- If you resend the same patch, please add a comment under the --- line. I

Re: [U-Boot] [PATCH v4 2/2] ARM: mx5: add support for USB armory board

2015-03-26 Thread Vagrant Cascadian
On 2015-03-26, and...@inversepath.com wrote: > From: Andrej Rosano > > Add support for Inverse Path USB armory board, an open source > flash-drive sized computer based on Freescale i.MX53 SoC. > > http://inversepath.com/usbarmory Tested-By: Vagrant Cascadian live well, vagrant signature.as

Re: [U-Boot] [PATCH v2 0/80] dm: Add USB support

2015-03-26 Thread Marek Vasut
On Wednesday, March 25, 2015 at 07:21:48 PM, Simon Glass wrote: > This series adds driver model support to USB. The intent is to permit the > various subsystems (OHCI, EHCI, XHCI) to co-exist and allow any number of > USB ports of different types. > > With the RFC series, only USB controllers had

Re: [U-Boot] [PATCH v2 15/80] dm: usb: Drop the legacy USB init sequence

2015-03-26 Thread Marek Vasut
On Wednesday, March 25, 2015 at 07:22:03 PM, Simon Glass wrote: > This CONFIG is not used anywhere in U-Boot, so drop it. > > Signed-off-by: Simon Glass Acked-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http

[U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-03-26 Thread Hans de Goede
Hi, First of all I'm not sure this is a regression, but I'm afraid I do not have time to dig deeper so I thought I should report it anyways and then others can try to reproduce it. I'm seeing the following happen when using a usb stick with a musb-new otg controller in host mode on an allwinner

Re: [U-Boot] [PATCH v2] ARM: tegra: update colibri_t20 configuration

2015-03-26 Thread Marcel Ziswiler
On 26 March 2015 15:18:56 CET, Stephen Warren wrote: >I assume all the white-space and line reordering changes are so that a >diff of colibri_t20.h and colibri_t30.h shows minimal differences? Exactly. >> -#define CONFIG_CMD_NFS >> -#define CONFIG_CMD_PING > >It might warrant some explanation

Re: [U-Boot] {PATH] Arcturus Networks Inc. new board support (uCP1020) patches.

2015-03-26 Thread York Sun
Oleks, Each patch should be sent as a separated plain text email, not an attachment. without MIME encoding. The point is reviewers can reply and comment in line. You see when I reply your email, the attachment is lost. Try to use git send-email utility. It would be a good idea to send to yourself

Re: [U-Boot] [PATCH 1/1] ARM: mxs: get boot mode from OTP

2015-03-26 Thread Jörg Krause
Hi Stefano, On Do, 2015-03-26 at 13:31 +0100, Stefano Babic wrote: > Hi Jörg, > > On 26/03/2015 10:39, Jörg Krause wrote: > > Reading the GPIOs for getting the boot mode does not show the correct result > > for USB boot mode in case the recovery switch, eg. BM2 for switching from > > NAND > > to

Re: [U-Boot] Arcturus Networks Inc. new board support (uCP1020) patches.

2015-03-26 Thread York Sun
Oleks, Please resend the patches in plain text to the mailing list so reviewers can comment inline. Thanks. York On 03/26/2015 07:58 AM, Oleksandr G Zhadan wrote: > Hi, > > Please review and add next patches: > > [PATCH 1/2] Modify MPC85XX gpio related header files to fix common/cmd_gpio.c

[U-Boot] [PATCH v2 09/17] sandbox: cros_ec: Drop unnecessary init

2015-03-26 Thread Simon Glass
Since driver model will probe the EC when it is first used, we do not need to init it explicitly. Signed-off-by: Simon Glass --- Changes in v2: None board/sandbox/sandbox.c | 12 include/configs/sandbox.h | 1 - 2 files changed, 13 deletions(-) diff --git a/board/sandbox/sandb

[U-Boot] [PATCH v2 04/17] dm: x86: Add a uclass for an Low Pin Count (LPC) device

2015-03-26 Thread Simon Glass
On x86 systems this device is commonly used to provide legacy port access. It is sort-of a replacement for the old ISA bus. Add a uclass for this, and allow it to have child devices. Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/lib/Makefile | 1 + arch/x86/lib/lpc-uclass.c

[U-Boot] [PATCH v2 11/17] exynos: cros_ec: Drop unnecessary init

2015-03-26 Thread Simon Glass
Since driver model will probe the EC when it is first used, we do not need to init it explicitly. Signed-off-by: Simon Glass --- Changes in v2: None board/samsung/common/board.c| 12 include/configs/exynos5420-common.h | 2 -- include/configs/smdk5250.h | 1 - i

[U-Boot] [PATCH v2 03/17] dm: x86: Add a uclass for a Platform Controller Hub

2015-03-26 Thread Simon Glass
Add a simple uclass for this chip which is often found in x86 systems where the CPU is a separate device. The device can have children, so make it scan the device tree for these. Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/cpu/ivybridge/bd82x6x.c | 9 - arch/x86/lib/M

[U-Boot] [PATCH v2 14/17] fdt: Drop LPC compatible string in fdtdec

2015-03-26 Thread Simon Glass
This is not needed now that we have moved chromebook_link and cros_ec to driver model. Signed-off-by: Simon Glass --- Changes in v2: None include/fdtdec.h | 1 - lib/fdtdec.c | 1 - 2 files changed, 2 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index a5f4bcd..e29a380 100

[U-Boot] [PATCH v2 16/17] sandbox: cros_ec: Add Kconfig for sandbox EC config

2015-03-26 Thread Simon Glass
Move CONFIG_CROS_EC_SANDBOX to Kconfig. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to move CONFIG_CROS_EC_SANDBOX to Kconfig drivers/misc/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 1ec9b22..0e571d9 1

[U-Boot] [PATCH v2 15/17] cros_ec: exynos: Match up device tree with kernel version

2015-03-26 Thread Simon Glass
The U-Boot device trees are slightly different in a few places. Adjust them to remove most of the differences. Note that U-Boot does not support the concept of interrupts as distinct from GPIOs, so this difference remains. For sandbox, use the same keyboard file as for ARM boards and drop the host

[U-Boot] [PATCH v2 06/17] dm: cros_ec: Convert cros_ec LPC driver to driver model

2015-03-26 Thread Simon Glass
This is the last driver to be converted. It requires an LPC bus and a special check_version() method. Signed-off-by: Simon Glass --- Changes in v2: - Support pre-driver-model too so we can rebase on dm/next configs/chromebook_link_defconfig | 1 + drivers/misc/cros_ec.c| 12 ++

[U-Boot] [PATCH v2 13/17] fdt: cros_ec: Drop compatible string in fdtdec

2015-03-26 Thread Simon Glass
This is not needed now that we have moved to driver model. Signed-off-by: Simon Glass --- Changes in v2: None include/fdtdec.h | 1 - lib/fdtdec.c | 1 - 2 files changed, 2 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index 814be1c..a5f4bcd 100644 --- a/include/fdtdec.h +

[U-Boot] [PATCH v2 17/17] i8042: Add keyboard enable logic in kbd_reset()

2015-03-26 Thread Simon Glass
This code appears to be missing a piece that is needed on some keyboards to enable the keyboard. Add this in. This makes the keyboard work correctly on chromebook_link. Signed-off-by: Simon Glass --- Changes in v2: - Rebase to dm/next drivers/input/i8042.c | 7 +++ 1 file changed, 7 inser

[U-Boot] [PATCH v2 07/17] cros_ec: Reinit the cros_ec device when 'crosec init' is used

2015-03-26 Thread Simon Glass
This command is supposed to reinit the device. At present with driver model is does nothing. Implement this feature. Signed-off-by: Simon Glass --- Changes in v2: None drivers/misc/cros_ec.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/misc/cros_ec.c b

[U-Boot] [PATCH v2 08/17] cros_ec: Drop unused CONFIG_DM_CROS_EC

2015-03-26 Thread Simon Glass
Since all supported boards enable this option now, we can remove it along with the old code. Signed-off-by: Simon Glass --- Changes in v2: None arch/sandbox/Kconfig | 3 - board/samsung/smdk5420/Kconfig | 6 -- common/cros_ec.c | 30 +- configs/sandbox_defconfi

[U-Boot] [PATCH v2 12/17] cros_ec: Remove unused cros_ec_board_init() function

2015-03-26 Thread Simon Glass
Now that driver model handles cros_ec init, we can drop this special code. Signed-off-by: Simon Glass --- Changes in v2: None common/cros_ec.c | 5 - include/cros_ec.h | 7 --- 2 files changed, 12 deletions(-) diff --git a/common/cros_ec.c b/common/cros_ec.c index f9c74ca..7a4f785 10

[U-Boot] [PATCH v2 05/17] x86: chromebook_link: dts: Add PCH and LPC devices

2015-03-26 Thread Simon Glass
The PCH (Platform Controller Hub) is on the PCI bus, so show it as such. The LPC (Low Pin Count) and SPI bus are inside the PCH, so put these in the right place also. Rename the compatible strings to be more descriptive since this board is the only user. Once we are using driver model fully on x86

[U-Boot] [PATCH v2 01/17] dm: sf: Add driver model read/write/erase methods

2015-03-26 Thread Simon Glass
Permit use of a udevice to talk to SPI flash. Ultimately we would like to retire the use of 'struct spi_flash' for this purpose, so create the new API for those who want to move to it. Signed-off-by: Simon Glass --- Changes in v2: None drivers/mtd/spi/sf-uclass.c | 16 +++ include/

[U-Boot] [PATCH v2 10/17] x86: cros_ec: Drop unnecessary init

2015-03-26 Thread Simon Glass
Since driver model will probe the EC when it is first used, we do not need to init it explicitly. Signed-off-by: Simon Glass --- Changes in v2: None board/coreboot/coreboot/coreboot.c | 5 - board/google/chromebook_link/link.c | 3 --- 2 files changed, 8 deletions(-) diff --git a/board/c

[U-Boot] [PATCH v2 02/17] dm: x86: spi: Convert ICH SPI driver to driver model

2015-03-26 Thread Simon Glass
Convert this driver over to use driver model. Since all x86 platforms use it, move x86 to use driver model for SPI and SPI flash. Adjust all dependent code and remove the old x86 spi_init() function. Note that this does not make full use of the new PCI uclass as yet. We still scan the bus looking

[U-Boot] [PATCH v2 0/17] dm: x86: Convert x86 to use driver model more fully

2015-03-26 Thread Simon Glass
At present x86 does not use driver model for SPI or LPC (low-pin-count, a bus used to talk to the EC on Chromebooks). This series: - moves the ICH SPI driver over to driver model - moves the cros_ec LPC driver to driver model - removes non-driver-model cros_ec code (since now I2C, SPI and LPC are

Re: [U-Boot] [PATCH v2] ARM: tegra: update colibri_t20 configuration

2015-03-26 Thread Stephen Warren
On 03/25/2015 07:17 PM, Marcel Ziswiler wrote: Bring the Colibri T20 configuration in-line with Apalis/Colibri T30. I assume all the white-space and line reordering changes are so that a diff of colibri_t20.h and colibri_t30.h shows minimal differences? diff --git a/include/configs/colibri_

Re: [U-Boot] [PATCH v2] ARM: tegra: fix colibri_t20 asix reset

2015-03-26 Thread Stephen Warren
On 03/25/2015 07:17 PM, Marcel Ziswiler wrote: Fix ASIX USB to Ethernet chip reset. Acked-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 0/2] rename colibri_t20

2015-03-26 Thread Stephen Warren
On 03/25/2015 06:31 PM, Marcel Ziswiler wrote: In accordance with our other modules supported by U-Boot and as agreed upon for Apalis/Colibri T30 [1] get rid of the carrier board post fix in the board/configuration/device-tree naming. [1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/1

Re: [U-Boot] [PATCH 0/4] Add support for stm32f429-discovery board

2015-03-26 Thread Tom Rini
On Thu, Mar 26, 2015 at 02:47:17PM +0100, Kamil Lulko wrote: > On 25/03/15 17:58, Tom Rini wrote: > >On Wed, Mar 25, 2015 at 01:07:47PM +0900, Chanwoo Choi wrote: > >>Hi Kamil, > >> > >>I tested this patch-set in STM32 Discovery board. After applied this > >>patch-set on latest u-boot, I could not

Re: [U-Boot] [PATCH 0/4] Add support for stm32f429-discovery board

2015-03-26 Thread Kamil Lulko
On 25/03/15 17:58, Tom Rini wrote: On Wed, Mar 25, 2015 at 01:07:47PM +0900, Chanwoo Choi wrote: Hi Kamil, I tested this patch-set in STM32 Discovery board. After applied this patch-set on latest u-boot, I could not see the normal u-boot log. I saw broken console log. I used the USART1 port (pa

Re: [U-Boot] [PATCH 1/3] dm: i2c soft: enable driver model for software i2c driver

2015-03-26 Thread Przemyslaw Marczak
Hello Simon, On 03/24/2015 12:38 AM, Simon Glass wrote: Hi Przemyslaw, On 10 March 2015 at 04:30, Przemyslaw Marczak wrote: This change adds driver model support to software emulated i2c bus driver. To bind the driver, proper device-tree node must be defined, with the following attributes: -

Re: [U-Boot] [PATCH 3/3] Kconfig: i2c: add entry for driver-model software i2c

2015-03-26 Thread Przemyslaw Marczak
Hello Masahiro, On 03/25/2015 04:35 AM, Masahiro Yamada wrote: Hi. 2015-03-10 19:30 GMT+09:00 Przemyslaw Marczak : Signed-off-by: Przemyslaw Marczak Cc: Masahiro Yamada I am no longer working for Panasonic. The old email address will get unavailable at the end of March. Going forward, p

Re: [U-Boot] [PATCH 2/3] Kconfig: i2c: remove wrong help message related to dm i2c

2015-03-26 Thread Przemyslaw Marczak
Hello Simon, On 03/24/2015 12:39 AM, Simon Glass wrote: Hi, On 10 March 2015 at 04:30, Przemyslaw Marczak wrote: Signed-off-by: Przemyslaw Marczak Cc: Masahiro Yamada Cc: Mike Frysinger Cc: Simon Glass Cc: Heiko Schocher --- drivers/i2c/Kconfig | 11 +-- 1 file changed, 1 inse

Re: [U-Boot] [PATCH 1/3] dm: i2c soft: enable driver model for software i2c driver

2015-03-26 Thread Przemyslaw Marczak
Hello, On 03/24/2015 07:01 AM, Heiko Schocher wrote: Hello Simon, Przemyslaw, Am 24.03.2015 00:38, schrieb Simon Glass: Hi Przemyslaw, On 10 March 2015 at 04:30, Przemyslaw Marczak wrote: This change adds driver model support to software emulated i2c bus driver. To bind the driver, proper d

Re: [U-Boot] [PATCH 1/1] ARM: mxs: get boot mode from OTP

2015-03-26 Thread Stefano Babic
Hi Jörg, On 26/03/2015 10:39, Jörg Krause wrote: > Reading the GPIOs for getting the boot mode does not show the correct result > for USB boot mode in case the recovery switch, eg. BM2 for switching from NAND > to USB boot mode, is hold down while plugging in USB and released before > U-Boot > is

Re: [U-Boot] [PATCH] sunxi: set GMAC TX delay = 0x1 on Cubietruck.

2015-03-26 Thread Hans de Goede
Hi, On 25-03-15 14:39, Ian Campbell wrote: Of 4 boards in our automated test system 2 do not have reliable networking with the default TX delay of 0x0. Increasing to 0x1 seems to make things reliable on all 4 boards. Some previous ad-hpoc tests with tx delay set to 0, 1, 2 and 3 on one of the p

Re: [U-Boot] [PATCH] sunxi: axp209: fix incorrect limits on ldo3

2015-03-26 Thread Hans de Goede
Hi, On 25-03-15 17:03, Iain Paton wrote: board/sunxi/board.c tries to set ldo3 to 2.8v however drivers/power/axp209.c contains an incorrect limit on ldo3 of 2.275v The origin of the incorrect limit seems likely due to some inconsistencies in the axp209 datasheet. ldo3 is described with differen

[U-Boot] Please pull u-boot-sunxi master

2015-03-26 Thread Hans de Goede
Hi Tom, Please pull u-boot-sunxi/master into master for a small 2 bugfixes for v2015.04: The following changes since commit f643d9294f45487f22e8f33d6572530f17eff4e9: config_distro_bootcmd.h: Prefer booting from bootable paritions (2015-03-25 12:15:18 -0400) are available in the git reposito

[U-Boot] [PATCH v4 0/2] ARM: mx5: add support for USB armory board

2015-03-26 Thread andrej
From: Andrej Rosano Hello, this series adds support for USB armory board. The patches are prepared against imx tree as it uses the new arch/board approach. The first patch add introduces the arch/board approach for mx5, as already done for mx6. The second patch adds basic support for USB armor

[U-Boot] [PATCH v4 2/2] ARM: mx5: add support for USB armory board

2015-03-26 Thread andrej
From: Andrej Rosano Add support for Inverse Path USB armory board, an open source flash-drive sized computer based on Freescale i.MX53 SoC. http://inversepath.com/usbarmory Signed-off-by: Andrej Rosano Cc: Stefano Babic Cc: Chris Kuethe Cc: Fabio Estevam Cc: Vagrant Cascadian --- arch/arm

[U-Boot] [PATCH v4 1/2] ARM: mx5: move to a standard arch/board approach

2015-03-26 Thread andrej
From: Andrej Rosano Move the MX5 based boards to arch/arm/cpu/armv7/mx5, following the commit: 89ebc82137bebb11a8191f8b9cbf08f2533ae8bc Signed-off-by: Andrej Rosano Cc: Stefano Babic Cc: Vagrant Cascadian --- arch/arm/Kconfig |6 ++ arch/arm/cpu/armv7/mx5/Kconfig | 16

Re: [U-Boot] [PATCH 1/2 v1] sf: probe: Add support Atmel AT45DB series devices special commands

2015-03-26 Thread Peng Fan
On 3/26/2015 6:50 PM, Wang Haikun-B53464 wrote: On 3/26/2015 11:05 AM, Fan Peng-B51431 wrote: Hi Haikun, On 3/26/2015 10:39 AM, Wang Haikun-B53464 wrote: On 3/25/2015 10:10 PM, Fan Peng-B51431 wrote: Hi Haikun, On 3/25/2015 8:35 PM, Haikun Wang wrote: From: Haikun Wang Atmel AT45DB seri

Re: [U-Boot] [PATCH 1/2 v1] sf: probe: Add support Atmel AT45DB series devices special commands

2015-03-26 Thread haikun.w...@freescale.com
On 3/26/2015 11:05 AM, Fan Peng-B51431 wrote: > Hi Haikun, > > On 3/26/2015 10:39 AM, Wang Haikun-B53464 wrote: >> On 3/25/2015 10:10 PM, Fan Peng-B51431 wrote: >>> Hi Haikun, >>> >>> On 3/25/2015 8:35 PM, Haikun Wang wrote: From: Haikun Wang Atmel AT45DB series devices commands is

[U-Boot] [PATCH 1/1] ARM: mxs: get boot mode from OTP

2015-03-26 Thread Jörg Krause
Reading the GPIOs for getting the boot mode does not show the correct result for USB boot mode in case the recovery switch, eg. BM2 for switching from NAND to USB boot mode, is hold down while plugging in USB and released before U-Boot is loaded by mxsldr. This state is stored in the HW_OCOTP_ROM0

[U-Boot] [PATCH] T104xD4: Add Secure boot support for T104xD4RDB platforms.

2015-03-26 Thread Gaurav Rana
defconfig files are added and SFP version for these platforms is updated. Signed-off-by: Gaurav Rana --- arch/powerpc/include/asm/config_mpc85xx.h | 1 + arch/powerpc/include/asm/fsl_secure_boot.h | 2 ++ board/freescale/t104xrdb/MAINTAINERS | 2 ++ configs/T1040D4RDB_SECURE_BOOT_defconfi

Re: [U-Boot] [PATCH] config: peach: Correct memory layout environment settings

2015-03-26 Thread Sjoerd Simons
On Wed, 2015-03-25 at 16:49 -0400, Tom Rini wrote: > On Wed, Mar 25, 2015 at 08:54:16PM +0100, Sjoerd Simons wrote: > > On Wed, 2015-03-25 at 12:58 -0400, Tom Rini wrote: > > > On Wed, Mar 25, 2015 at 09:32:45AM +0100, Sjoerd Simons wrote: > > > > On Wed, 2015-03-25 at 01:11 -0400, Tom Rini wrote:

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-26 Thread Paul Kocialkowski
Le jeudi 26 mars 2015 à 10:11 +0100, Paul Kocialkowski a écrit : > Le jeudi 26 mars 2015 à 09:53 +0100, Hans de Goede a écrit : > > Hi, > > > > On 25-03-15 23:35, Paul Kocialkowski wrote: > > > Le mardi 24 mars 2015 à 09:01 +0100, Hans de Goede a écrit : > > >> Hi, > > >> > > >> On 24-03-15 00:12,

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-26 Thread Paul Kocialkowski
Le jeudi 26 mars 2015 à 09:53 +0100, Hans de Goede a écrit : > Hi, > > On 25-03-15 23:35, Paul Kocialkowski wrote: > > Le mardi 24 mars 2015 à 09:01 +0100, Hans de Goede a écrit : > >> Hi, > >> > >> On 24-03-15 00:12, Rob Herring wrote: > >>> On Mon, Mar 23, 2015 at 6:30 AM, Hans de Goede > >>>

Re: [U-Boot] [PATCH v2 57/80] dm: usb: tegra: Remove the port_addr_clear_csc variable

2015-03-26 Thread Jim Lin
Please ignore my question because it is answered by [PATCH v2 34/80]. On 03/26/2015 11:38 AM, Jim Lin wrote: -Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Simon Glass Sent: Thursday, March 26, 2015 2:23 AM To: U-Boot Mailing List Cc: Marek Vasut; Step

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-26 Thread Hans de Goede
Hi, On 25-03-15 23:35, Paul Kocialkowski wrote: Le mardi 24 mars 2015 à 09:01 +0100, Hans de Goede a écrit : Hi, On 24-03-15 00:12, Rob Herring wrote: On Mon, Mar 23, 2015 at 6:30 AM, Hans de Goede wrote: Hi, On 22-03-15 22:01, Rob Herring wrote: There is already "serial-number" (a s

Re: [U-Boot] [PATCH] watchdog/imx_watchdog: do not set WCR_WDW

2015-03-26 Thread Stefano Babic
Hi Sebastian, On 26/03/2015 09:02, Sebastian Andrzej Siewior wrote: > On 03/25/2015 04:53 PM, Stefano Babic wrote: >> On 03/03/2015 17:45, Sebastian Andrzej Siewior wrote: >>> with WCR_WDW set, the watchdog won't trigger if we bootet linux and idle >>> around while the watchdog is not triggered. I

[U-Boot] [PATCH v3] T2080QDS/PCIe: Soft Reset PCIe on T2080QDS for down-training issue

2015-03-26 Thread Zhao Qiang
T2080QDS PEX1/Slot#1 will down-train from x4 to x2, with SRDS_PRTCL_S1 = 0x66 and SRDS_PRTCL_S2 = 0x15. Soft reset PCIe can fix this issue. Signed-off-by: Zhao Qiang --- changes for v2 - modify the commit message changes for v3 - use CONFIG_FSL_PCIE_RESET instead of CONFIG_FSL_PCI

Re: [U-Boot] [PATCH] watchdog/imx_watchdog: do not set WCR_WDW

2015-03-26 Thread Sebastian Andrzej Siewior
On 03/25/2015 04:53 PM, Stefano Babic wrote: > On 03/03/2015 17:45, Sebastian Andrzej Siewior wrote: >> with WCR_WDW set, the watchdog won't trigger if we bootet linux and idle >> around while the watchdog is not triggered. It seems the timer makes >> progress very slowly if at all. I managed to re

Re: [U-Boot] [PATCH v3] arm: mx5: Add support for USB armory board

2015-03-26 Thread Stefano Babic
On 25/03/2015 21:24, Vagrant Cascadian wrote: > On 2015-03-25, Stefano Babic wrote: >>> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig >>> index b9ebee1..a490084 100644 >>> --- a/arch/arm/Kconfig >>> +++ b/arch/arm/Kconfig >>> @@ -462,6 +462,10 @@ config TARGET_MX53SMD >>> bool "Support mx53s