[U-Boot] [PATCH 6/9] ARM: tegra: pinmux: support hsm/schmitt on pins

2015-02-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com T210 support HSM and Schmitt options in the pinmux register (previous chips placed these options in the drive group register). Update the code to handle this. Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/cpu/tegra-common/pinmux-common.c |

Re: [U-Boot] [PATCH v2 07/16] ARM: UniPhier: move uniphier_ehci_reset() function

2015-02-24 Thread Marek Vasut
On Friday, February 20, 2015 at 01:43:18 PM, Masahiro Yamada wrote: Because uniphier_ehci_reset() is only called from ehci-uniphier.c, it can be a static function there. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut

Re: [U-Boot] Regarding USB device testing in U-boot release

2015-02-24 Thread Marek Vasut
On Tuesday, February 24, 2015 at 06:59:40 AM, Ramneek Mehresh wrote: Hi Marex, Hi, please keep the list on CC (fixed). Could you please confirm if some USB devices are tested before each U-boot release by Denx? If yes, then I would request you to please share the list of these devices? I

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2015-02-24 Thread Marek Vasut
On Monday, February 23, 2015 at 10:06:08 AM, Lukasz Majewski wrote: Dear Marek, Hi! The following changes since commit d3d087c29c59dbae98c02de098e7e03f29320fe0: usb: musb-new: omap2430: Reset the MUSB controller early (2015-01-22 08:19:18 +0100) are available in the git repository

Re: [U-Boot] [PATCH 1/2] usb: common: provide a _weak board_usb_cleanup() function

2015-02-24 Thread Marek Vasut
On Tuesday, February 24, 2015 at 05:05:29 PM, Lukasz Majewski wrote: Hi Lukasz, Hi Lukasz, is your other self doing good too ? ;-) Hi Marek This patch implement _weak function for board_usb_cleanup. This function (usb_board_cleanup) implementation is board-specific feature.

Re: [U-Boot] [PATCHv1 01/22] arm: socfpga: spl: Add main sdram code

2015-02-24 Thread Marek Vasut
On Monday, February 23, 2015 at 06:00:45 PM, Dinh Nguyen wrote: On 2/23/15 10:57 AM, Marek Vasut wrote: On Monday, February 23, 2015 at 05:39:53 PM, Dinh Nguyen wrote: On 2/23/15 10:37 AM, Dinh Nguyen wrote: On 2/15/15 5:25 PM, Pavel Machek wrote: Hi! +#if ENABLE_BRINGUP_DEBUGGING

Re: [U-Boot] [u-boot 14/40] usb: dwc3: linux-compat: Add header for dwc3 linux compatibiltiy

2015-02-24 Thread Marek Vasut
On Tuesday, February 24, 2015 at 02:21:40 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 23 February 2015 08:29 PM, Marek Vasut wrote: On Monday, February 23, 2015 at 07:19:03 AM, Kishon Vijay Abraham I wrote: Hi, On Monday 16 February 2015 04:02 PM, Lukasz Majewski wrote: Hi

Re: [U-Boot] [PATCH v2 06/16] ARM: UniPhier: remove EHCI platform devices

2015-02-24 Thread Marek Vasut
On Friday, February 20, 2015 at 01:43:17 PM, Masahiro Yamada wrote: Now UniPhier platform highly depends on Device Tree configuration (CONFIG_OF_CONTROL is select'ed by Kconfig). Since the EHCI is only used on main U-Boot, we can drop platform devices of the EHCI controllers. We still keep

Re: [U-Boot] Is anyone working on NAND support for Armada-XP?

2015-02-24 Thread Marek Vasut
On Tuesday, February 24, 2015 at 06:18:00 AM, Chris Packham wrote: Hi, Hi, I find myself in need of a NAND flash controller. I could probably massage the one from Marvell's bootloader into shape which actually appears to be based on the pxa3xx_nand.c driver from Linux. It appears that

Re: [U-Boot] [PATCH] mx6sabre: Enable USB Mass Storage

2015-02-24 Thread Otavio Salvador
On Tue, Feb 24, 2015 at 5:33 PM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com USB Mass Storage is very useful for flashing the on-board eMMC. Add support for it. Signed-off-by: Fabio Estevam fabio.este...@freescale.com ---

[U-Boot] [PATCH 0/9] ARM: tegra: pinmux: Tegra210 support

2015-02-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This series performs a few small cleanups to or parameterizations of the existing Tegra pinmux driver, and adds Tegra210 support. The Tegra210 code isn't actually used yet, since the balance of the Tegra210 support is not yet present. However, it should

Re: [U-Boot] [PATCH 1/3] usb: ci_udc: Fix set address to work with older controllers

2015-02-24 Thread Stephen Warren
On 02/24/2015 10:41 AM, Alban Bedel wrote: On Tue, 24 Feb 2015 10:00:43 -0700 Stephen Warren swar...@wwwdotorg.org wrote: On 02/24/2015 09:44 AM, Alban Bedel wrote: Older controllers don't implement Device Address Advance which allow to pass the device address to the controller when it is

Re: [U-Boot] Is anyone working on NAND support for Armada-XP?

2015-02-24 Thread Marek Vasut
On Tuesday, February 24, 2015 at 09:03:15 PM, Chris Packham wrote: On Wed, Feb 25, 2015 at 8:43 AM, Marek Vasut ma...@denx.de wrote: On Tuesday, February 24, 2015 at 06:18:00 AM, Chris Packham wrote: Hi, Hi, I find myself in need of a NAND flash controller. I could probably

[U-Boot] [PATCH] mx6sabre: Enable USB Mass Storage

2015-02-24 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com USB Mass Storage is very useful for flashing the on-board eMMC. Add support for it. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx6sabre_common.h | 16 1 file changed, 16 insertions(+) diff --git

[U-Boot] [PATCH 1/9] ARM: tegra: pinmux: add note re: drive group field defines

2015-02-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Tegra's drive group registers have a remarkably inconsistent layout. The current U-Boot driver doesn't take this into account at all. Add a comment to describe the issue, so at least anyone debugging the driver will be aware of this. To solve this, we'd

[U-Boot] [PATCH 3/9] ARM: tegra: pinmux: handle feature removal on newer SoCs

2015-02-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com On some future SoCs, some of the per-drive-group features no longer exist. Add some ifdefs to support this. Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/cpu/tegra-common/pinmux-common.c | 24

[U-Boot] [PATCH 7/9] ARM: tegra: pinmux: account for different drivegroup base registers

2015-02-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Tegra210 starts its drive group registers at a different offset from the APB MISC register block that other SoCs. Update the code to handle this. Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/cpu/tegra-common/pinmux-common.c | 2 +-

[U-Boot] [PATCH 4/9] ARM: tegra: pinmux: move some type definitions

2015-02-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com On some future SoCs, some per-drive-group features became per-pin features. Move all type definitions early in the header so they can be enabled irrespective of the setting of TEGRA_PMX_SOC_HAS_DRVGRPS. Signed-off-by: Stephen Warren swar...@nvidia.com ---

[U-Boot] [PATCH 5/9] ARM: tegra: pinmux: partially handle varying register layouts

2015-02-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Tegra210 moves some bits around in the pinmux registers. Update the code to handle this. This doesn't attempt to address the issues with the group-to-group varying drive group register layout mentioned earlier. This patch handles the SoC-to-SoC differences

[U-Boot] [PATCH 2/9] ARM: tegra: pinmux: simplify some defines

2015-02-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Future SoCs have a slightly different combination of pinmux options per pin. This will be simpler to handle if we simply have one define per option, rather than grouping various options together, in combinations that don't align with future chips.

Re: [U-Boot] Is anyone working on NAND support for Armada-XP?

2015-02-24 Thread Chris Packham
On Wed, Feb 25, 2015 at 8:43 AM, Marek Vasut ma...@denx.de wrote: On Tuesday, February 24, 2015 at 06:18:00 AM, Chris Packham wrote: Hi, Hi, I find myself in need of a NAND flash controller. I could probably massage the one from Marvell's bootloader into shape which actually appears to be

Re: [U-Boot] [PATCH] configs: LS1012XA: Modify CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS for LS102XA

2015-02-24 Thread York Sun
Nikhil, On 12/04/2014 05:04 AM, Nikhil Badola wrote: Change CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS value to 2 for LS102XAQDS and LS102XATWR. The XHCI controller has 2 ports; one for 2.0 and the other for 3.0 USB transactions Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com ---

[U-Boot] [PATCH 9/9] ARM: tegra: pinmux: add Tegra210 support

2015-02-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This patch incorporates a few fixes from Tom Warren twar...@nvidia.com. Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/cpu/tegra210-common/pinmux.c | 195 + arch/arm/include/asm/arch-tegra210/pinmux.h | 416

[U-Boot] [PATCH 8/9] ARM: tegra: pinmux: support Tegra210's e_io_hv pin option

2015-02-24 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Tegra210 has a per-pin option named e_io_hv, which indicates that the pin's input path should be configured to be 3.3v-tolerant. Add support for this. Note that this is very similar to previous chip's rcv_sel option. However, since the Tegra TRM names this

Re: [U-Boot] [RFC] m68k: generic board

2015-02-24 Thread Tom Rini
On Thu, Feb 19, 2015 at 10:41:04PM +0100, Angelo Dureghello wrote: On 06/02/2015 17:02, Tom Rini wrote: On Mon, Jan 26, 2015 at 09:39:13AM +, Huan Wang wrote: Hi, Tom, On Thu, Jan 15, 2015 at 04:08:40PM +0100, Angelo Dureghello wrote: Dear all, i would like to post a patch with

Re: [U-Boot] [PATCH v2 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-24 Thread Lukasz Majewski
Hi Dileep, Adds the fastboot erase functionality, to erase a partition specified by name. The erase is performed based on erase group size, to avoid erasing other partitions. The start address and the size is aligned to the erase group size for this. Currently only supports erasing from

[U-Boot] [PATCH] MAINTAINERS: add Driver Model repository information

2015-02-24 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index eef70d0..3604087 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -213,6 +213,7 @@ F: drivers/dfu/ DRIVER MODEL M: Simon Glass

Re: [U-Boot] [PATCH 1/2] sunxi: mmc: Always declare High Capacity capability

2015-02-24 Thread Hans de Goede
Hi, On 23-02-15 18:45, Pantelis Antoniou wrote: Hi Hans, On Feb 19, 2015, at 22:03 , Hans de Goede hdego...@redhat.com wrote: High Capacity (e)MMC cards work fine on sun4i / sun5i, and not having this capability set causes u-boot to not recognize the eMMC on an Utoo P66 A13 tablet, so always

Re: [U-Boot] [PATCH v2 09/12] tegra124: Add PSCI support for Tegra124

2015-02-24 Thread Thierry Reding
On Tue, Feb 24, 2015 at 08:23:55AM +0100, Jan Kiszka wrote: On 2015-02-20 10:36, Jan Kiszka wrote: On 2015-02-19 10:14, Thierry Reding wrote: On Wed, Feb 18, 2015 at 09:34:53AM -0700, Stephen Warren wrote: On 02/17/2015 11:13 PM, Jan Kiszka wrote: On 2015-02-17 22:03, Stephen Warren

[U-Boot] [PATCH 2/2] dreamplug: set CONFIG_BUILD_TARGET to build u-boot.kwb

2015-02-24 Thread Ian Campbell
From: Ian Campbell i...@hellion.org.uk Saves having to remember to ask make for it explicitly. Signed-off-by: Ian Campbell i...@hellion.org.uk Cc: Jason Cooper u-b...@lakedaemon.net --- include/configs/dreamplug.h | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [U-Boot] [PATCH v2 09/12] tegra124: Add PSCI support for Tegra124

2015-02-24 Thread Jan Kiszka
On 2015-02-24 09:18, Thierry Reding wrote: On Tue, Feb 24, 2015 at 08:23:55AM +0100, Jan Kiszka wrote: On 2015-02-20 10:36, Jan Kiszka wrote: On 2015-02-19 10:14, Thierry Reding wrote: On Wed, Feb 18, 2015 at 09:34:53AM -0700, Stephen Warren wrote: On 02/17/2015 11:13 PM, Jan Kiszka wrote:

Re: [U-Boot] [PATCH 1/4] dm: gpio: extend gpio api by dm_gpio_set_pull()

2015-02-24 Thread Przemyslaw Marczak
Hello, On 02/23/2015 06:50 PM, Simon Glass wrote: Hi Przemyslaw, On 23 February 2015 at 09:56, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, On 02/23/2015 04:30 PM, Simon Glass wrote: Hi, On 23 February 2015 at 03:51, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello

[U-Boot] [PATCH v5 7/7] odroid-xu3: defconfig: disable memset at malloc init

2015-02-24 Thread Przemyslaw Marczak
Reduce the boot time of Odroid XU3 by disabling the memset at malloc init. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- Changes v5 - new commit --- configs/odroid-xu3_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/odroid-xu3_defconfig

[U-Boot] [PATCH v5 4/7] dlmalloc: do memset in malloc init as new default config

2015-02-24 Thread Przemyslaw Marczak
This commit introduces new config: CONFIG_SYS_MALLOC_CLEAR_ON_INIT. This config is an expert option and is enabled by default. The all amount of memory reserved for the malloc, is by default set to zero in mem_malloc_init(). When the malloc reserved memory exceeds few MiB, then the boot process

[U-Boot] [PATCH v5 5/7] trats2: defconfig: disable memset at malloc init

2015-02-24 Thread Przemyslaw Marczak
Reduce the boot time of Trats2 by disabling the memset at malloc init. This was tested on Trats2. A quick test with trace. Boot time from start to main_loop() entry: - ~464ms - before this change (arch memset enabled for .bss clear) - ~341ms - after this change Signed-off-by: Przemyslaw Marczak

[U-Boot] [PATCH v5 2/7] arm: relocation: clear .bss section with arch memset if defined

2015-02-24 Thread Przemyslaw Marczak
For ARM architecture, enable the CONFIG_USE_ARCH_MEMSET/MEMCPY, will highly increase the memset/memcpy performance. This is able thanks to the ARM multiple register instructions. Unfortunatelly the relocation is done without the cache enabled, so it takes some time, but zeroing the BSS memory

Re: [U-Boot] [PATCH 1/2] usb: common: provide a _weak board_usb_cleanup() function

2015-02-24 Thread Lukasz Majewski
Hi Marek This patch implement _weak function for board_usb_cleanup. This function (usb_board_cleanup) implementation is board-specific feature. board_usb_cleanup function can be used to clean up after failed board-specific USB initialization. Signed-off-by: Inha Song

Re: [U-Boot] [PATCH] omap3: Variant and revision checks for ARM Cortex-A8 errata workarounds

2015-02-24 Thread Paul Kocialkowski
Le lundi 23 février 2015 à 16:43 -0600, Nishanth Menon a écrit : On Mon, Feb 23, 2015 at 4:21 PM, Tom Rini tr...@ti.com wrote: On Mon, Feb 23, 2015 at 08:16:44PM +0100, Paul Kocialkowski wrote: Not every version and revision of the Cortex-A8 ARM core requires the same errata workarounds.

Re: [U-Boot] [PATCH v2 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-24 Thread Dileep Katta
Thanks Lukasz. Regards, Dileep On 24 February 2015 at 14:44, Lukasz Majewski l.majew...@samsung.com wrote: Hi Dileep, Adds the fastboot erase functionality, to erase a partition specified by name. The erase is performed based on erase group size, to avoid erasing other partitions. The

Re: [U-Boot] [PATCH 1/2] sunxi: mmc: Always declare High Capacity capability

2015-02-24 Thread Hans de Goede
Hi, On 24-02-15 10:02, Hans de Goede wrote: Hi, On 23-02-15 18:45, Pantelis Antoniou wrote: Hi Hans, On Feb 19, 2015, at 22:03 , Hans de Goede hdego...@redhat.com wrote: High Capacity (e)MMC cards work fine on sun4i / sun5i, and not having this capability set causes u-boot to not recognize

Re: [U-Boot] [PATCH v1 1/2] fastboot: Add support to flash u-boot and MLO to QSPI

2015-02-24 Thread Lukasz Majewski
Dear All, First of all I would like to apologize for delay with reviewing/PRs fastboot related patches. I've collected fastboot related patches and push them to u-boot-dfu repo (master branch): http://git.denx.de/?p=u-boot/u-boot-dfu.git;a=summary Please look into this repository and let me

Re: [U-Boot] [PATCH 2/2] usb: invoke board specific USB cleanup interface

2015-02-24 Thread Lukasz Majewski
Hi Inha, This patch invoke board-specific USB cleanup (board_usb_cleanup) interface. Signed-off-by: Inha Song ideal.s...@samsung.com --- common/cmd_dfu.c | 1 + common/cmd_thordown.c | 1 + common/cmd_usb_mass_storage.c | 1 + 3 files changed, 3 insertions(+)

Re: [U-Boot] [PATCH v4 1/9] ARM: remove mx31ads board support

2015-02-24 Thread Fabio Estevam
On Mon, Feb 23, 2015 at 11:54 PM, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Fabio, Thanks for converting some boards. I have dropped 1/9, 2/9, 4/9 and have posted v5. Thanks, Masahiro. BTW, is it possible to use the common linker script instead of

Re: [U-Boot] [PATCH] omap3: Variant and revision checks for ARM Cortex-A8 errata workarounds

2015-02-24 Thread Nishanth Menon
On Tue, Feb 24, 2015 at 6:02 AM, Paul Kocialkowski cont...@paulk.fr wrote: Le lundi 23 février 2015 à 16:43 -0600, Nishanth Menon a écrit : On Mon, Feb 23, 2015 at 4:21 PM, Tom Rini tr...@ti.com wrote: On Mon, Feb 23, 2015 at 08:16:44PM +0100, Paul Kocialkowski wrote: Not every version and

Re: [U-Boot] [PATCH 07/12] imx:mx6 Support LDO bypass

2015-02-24 Thread Tim Harvey
On Fri, Feb 13, 2015 at 12:16 AM, Robin Gong b38...@freescale.com wrote: On Wed, Feb 11, 2015 at 07:47:57AM -0800, Tim Harvey wrote: On Wed, Feb 11, 2015 at 2:49 AM, Robin Gong b38...@freescale.com wrote: snip This is very board dependent. Here you are referring to a board that has a

Re: [U-Boot] [u-boot 14/40] usb: dwc3: linux-compat: Add header for dwc3 linux compatibiltiy

2015-02-24 Thread Kishon Vijay Abraham I
Hi, On Monday 23 February 2015 08:29 PM, Marek Vasut wrote: On Monday, February 23, 2015 at 07:19:03 AM, Kishon Vijay Abraham I wrote: Hi, On Monday 16 February 2015 04:02 PM, Lukasz Majewski wrote: Hi Kishon, Marek Added a header file to include various linux specific APIs like pr_debug,

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

2015-02-24 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 12/16] cros_ec: Remove unused cros_ec_board_init() function

2015-02-24 Thread Simon Glass
Now that driver model handles cros_ec init, we can drop this special code. Signed-off-by: Simon Glass s...@chromium.org --- 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

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

2015-02-24 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 s...@chromium.org --- arch/x86/lib/Makefile | 1 + arch/x86/lib/lpc-uclass.c |

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

2015-02-24 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

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

2015-02-24 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 s...@chromium.org --- drivers/mtd/spi/sf-uclass.c | 16 +++

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

2015-02-24 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 s...@chromium.org --- board/sandbox/sandbox.c | 12 include/configs/sandbox.h | 1 - 2 files changed, 13 deletions(-) diff --git

[U-Boot] [PATCH v5 5/6] ARM: remove tnetv107x board support

2015-02-24 Thread Masahiro Yamada
This is still a non-generic board. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Chan-Taek Park c-p...@ti.com Acked-by: Marek Vasut ma...@denx.de --- arch/arm/Kconfig | 5 - arch/arm/cpu/arm1176/Makefile | 1 -

Re: [U-Boot] [PATCH v2 3/4] kconfig: switch to single .config configuration

2015-02-24 Thread Masahiro Yamada
Hi Ian, On Sat, 21 Feb 2015 10:38:26 + Ian Campbell i...@hellion.org.uk wrote: On Sat, 2015-02-21 at 02:51 +0900, Masahiro YAMADA wrote: 2015-02-20 6:13 GMT+09:00 Stephen Warren swar...@wwwdotorg.org: On 02/19/2015 12:55 AM, Masahiro Yamada wrote: I think the above patch

[U-Boot] [PATCH v5 1/6] ARM: remove jadecpu board support

2015-02-24 Thread Masahiro Yamada
This is still a non-generic board. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Matthias Weisser weiss...@arcor.de Acked-by: Marek Vasut ma...@denx.de --- arch/arm/Kconfig | 5 - arch/arm/cpu/arm926ejs/Makefile | 1 -

[U-Boot] [PATCH v5 1/4] ARM: UniPhier: set CONFIG_SYS_MALLOC_F to the global default value

2015-02-24 Thread Masahiro Yamada
It is true that malloc is necessary for Driver Model before relocation, but there is no good reason to reserve the malloc space more than enough. The default value 0x400 works well. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Reviewed-by: Simon Glass s...@chromium.org --- Changes

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

2015-02-24 Thread Simon Glass
This is not needed now that we have moved to driver model. Signed-off-by: Simon Glass s...@chromium.org --- include/fdtdec.h | 1 - lib/fdtdec.c | 1 - 2 files changed, 2 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index 665d1ef..51a9471 100644 --- a/include/fdtdec.h +++

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

2015-02-24 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 s...@chromium.org --- board/coreboot/coreboot/coreboot.c | 5 - board/google/chromebook_link/link.c | 3 --- 2 files changed, 8 deletions(-) diff --git

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

2015-02-24 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 s...@chromium.org --- include/fdtdec.h | 1 - lib/fdtdec.c | 1 - 2 files changed, 2 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index 51a9471..2732e97 100644

[U-Boot] [PATCH v2] arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD

2015-02-24 Thread Albert ARIBAUD
When building a THumb-1-only target with CONFIG_SYS_THUMB_BUILD, some files fail to build, most of the time because they include mcr instructions, which only exist for Thumb-2. Thos patch introduces a Kconfig option CONFIG_THUMB2 and uses it to select between Thumb-2 and ARM mode for the

[U-Boot] [PATCH v1] fastboot: add support for reboot-bootloader command

2015-02-24 Thread Alexey Firago
The fastboot reboot-bootloader command is defined to re-enter into fastboot mode after rebooting into bootloader. This command is usually used after updating bootloader via fastboot. This commit implements only a generic side of the command - setting of the reset flag and then resetting. Setting

Re: [U-Boot] [PATCH v5 2/7] arm: relocation: clear .bss section with arch memset if defined

2015-02-24 Thread Lukasz Majewski
Hi Przemyslaw, For ARM architecture, enable the CONFIG_USE_ARCH_MEMSET/MEMCPY, will highly increase the memset/memcpy performance. This is able thanks to the ARM multiple register instructions. Unfortunatelly the relocation is done without the cache enabled, so it takes some time, but

Re: [U-Boot] [PATCH v5 4/7] dlmalloc: do memset in malloc init as new default config

2015-02-24 Thread Lukasz Majewski
Hi Przemyslaw, This commit introduces new config: CONFIG_SYS_MALLOC_CLEAR_ON_INIT. This config is an expert option and is enabled by default. The all amount of memory reserved for the malloc, is by default set to zero in mem_malloc_init(). When the malloc reserved memory exceeds few MiB,

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

2015-02-24 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 06/11] usb: dwc3: add a workaround for too small OUT requests

2015-02-24 Thread Kishon Vijay Abraham I
Hi, On Monday 23 February 2015 08:14 PM, Lukasz Majewski wrote: Hi Kishon, Hi, On Monday 23 February 2015 07:32 PM, Lukasz Majewski wrote: From: Marek Szyprowski m.szyprow...@samsung.com DWC3 hangs on OUT requests smaller than maxpacket size, so HACK the request length to be at least equal

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

2015-02-24 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 s...@chromium.org --- configs/chromebook_link_defconfig | 1 + drivers/misc/cros_ec.c| 12 drivers/misc/cros_ec_lpc.c| 29

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

2015-02-24 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 s...@chromium.org --- board/samsung/common/board.c| 12 include/configs/exynos5420-common.h | 2 -- include/configs/snow.h | 1 - 3

Re: [U-Boot] [PATCH] am33xx, spl, siemens: enable debug uart output again

2015-02-24 Thread Simon Glass
Hi Heiko, On 23 February 2015 at 23:18, Heiko Schocher h...@denx.de wrote: a6b541b090: TI ARMv7: Don't use GD before crt0.S has set it moves the init of the debug uart at the very end of SPL code. Enable it for the siemens board earlier, as they print ddr settings ... all debug output before

Re: [U-Boot] [PATCH v5 5/7] trats2: defconfig: disable memset at malloc init

2015-02-24 Thread Lukasz Majewski
Hi Przemyslaw, Reduce the boot time of Trats2 by disabling the memset at malloc init. This was tested on Trats2. A quick test with trace. Boot time from start to main_loop() entry: - ~464ms - before this change (arch memset enabled for .bss clear) - ~341ms - after this change

Re: [U-Boot] [PATCH v5 1/7] exynos: config: enable arch memcpy and arch memset

2015-02-24 Thread Lukasz Majewski
Hi Przemyslaw, This commit enables the following configs: - CONFIG_USE_ARCH_MEMCPY - CONFIG_USE_ARCH_MEMSET This increases the performance of memcpy/memset and also reduces the boot time. This was tested on Trats2. A quick test with trace. Boot time from start to main_loop() entry: -

Re: [U-Boot] [PATCH v5 6/7] odroid: defconfig: disable memset at malloc init

2015-02-24 Thread Lukasz Majewski
Hi Przemyslaw, Reduce the boot time of Odroid X2/U3 by disabling the memset at malloc init. This was tested on Odroid X2. A quick test with checking gpio pin state using the oscilloscope. Boot time from start to bootcmd (change gpio state by memory write command): - ~228ms - before this

Re: [U-Boot] [PATCH v5 7/7] odroid-xu3: defconfig: disable memset at malloc init

2015-02-24 Thread Lukasz Majewski
Hi Przemyslaw, Reduce the boot time of Odroid XU3 by disabling the memset at malloc init. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- Changes v5 - new commit --- configs/odroid-xu3_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

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

2015-02-24 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

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

2015-02-24 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 s...@chromium.org --- arch/x86/cpu/ivybridge/bd82x6x.c | 9 -

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

2015-02-24 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 s...@chromium.org --- drivers/input/i8042.c | 7 +++ 1 file changed, 7 insertions(+) diff

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

2015-02-24 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 s...@chromium.org --- drivers/misc/cros_ec.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/misc/cros_ec.c

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

2015-02-24 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 s...@chromium.org --- README| 8 -- arch/sandbox/Kconfig | 3 - board/samsung/smdk5420/Kconfig| 6 - common/cros_ec.c

[U-Boot] [PATCH v5 2/4] kconfig: Adjust ordering so that defaults work as expected

2015-02-24 Thread Masahiro Yamada
From: Simon Glass s...@chromium.org At present defaults in arch-specific Kconfig files are ignored if the top-level item comes ahead of it in include order. This means that it is not possible to have a U-Boot default that architectures and boards can override. This does not seem very useful.

Re: [U-Boot] [PATCH] MAINTAINERS: add Driver Model repository information

2015-02-24 Thread Simon Glass
On 24 February 2015 at 01:03, Masahiro Yamada yamad...@jp.panasonic.com wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index eef70d0..3604087 100644 --- a/MAINTAINERS +++

Re: [U-Boot] [PATCH v2] arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD

2015-02-24 Thread Albert ARIBAUD
On Tue, 24 Feb 2015 14:53:36 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: When building a THumb-1-only target with CONFIG_SYS_THUMB_BUILD, - fixed a typo in the commit message Drat. :/ If that version gets accepted, whoever commits it please s/THumb/Thumb/. Amicalement, --

Re: [U-Boot] [PATCH] arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD

2015-02-24 Thread Albert ARIBAUD
Hello Stefan, On Tue, 10 Feb 2015 14:36:35 +0100, Stefan Roese s...@denx.de wrote: Hi Albert, Another option would be to remove all the irq_off/_on stuff from the atomic_foo() and the bitops functions. We are running in a single-threaded environment after all in U-Boot. So there should be

Re: [U-Boot] [PATCH v5 0/7] arm: a few steps to improve boot time

2015-02-24 Thread Przemyslaw Marczak
Hello Tom, On 02/24/2015 11:38 AM, Przemyslaw Marczak wrote: This patchset reduces the boot time for ARM architecture, Exynos boards, and (ARM) boards with DFU enabled. For tested Trats2 and Odroid X2/XU3 devices, this was done in four steps. 1. Enable the arch memcpy and memset - ARCH

[U-Boot] [u-boot RFC/RFT PATCH] usb: dwc3: remove linux-compat header file

2015-02-24 Thread Kishon Vijay Abraham I
Removed linux compatibility header file that was added specifically for dwc3. The macro definitions and other functions added in this header file has been moved to more generic linux compatibility header file thats used across u-boot. Found an issue w.r.t duplicate definition in mtd.h so fixed it

Re: [U-Boot] [PATCH v3 6/7] kconfig: remove unneeded dependency on !SPL_BUILD

2015-02-24 Thread Masahiro Yamada
Hi Simon, On Mon, 23 Feb 2015 07:02:25 -0700 Simon Glass s...@chromium.org wrote: Hi Masahiro, On 20 February 2015 at 19:37, Masahiro YAMADA yamad...@jp.panasonic.com wrote: Hi Simon, 2015-02-21 11:28 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 20 February 2015

Re: [U-Boot] [PATCH v3 5/7] kconfig: switch to single .config configuration

2015-02-24 Thread Masahiro Yamada
Hi Scott, On Mon, 23 Feb 2015 19:22:51 -0600 Scott Wood scottw...@freescale.com wrote: On Fri, 2015-02-20 at 14:24 +0900, Masahiro Yamada wrote: When Kconfig for U-boot was examined, one of the biggest issues was how to support multiple images (Normal, SPL, TPL). There were actually two

[U-Boot] [PATCH v5 0/6] ARM: remove non-generic boards

2015-02-24 Thread Masahiro Yamada
Changes in v5: 1/9, 2/9, 4/9 have been dropped. Fabio has posted patches to convert IMX boards. Masahiro Yamada (6): ARM: remove jadecpu board support ARM: remove dkb board support ARM: remove cm4008 and cm41xx board support ARM: remove a320evb board support ARM: remove tnetv107x

[U-Boot] [PATCH v5 3/6] ARM: remove cm4008 and cm41xx board support

2015-02-24 Thread Masahiro Yamada
These are still non-generic boards. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Greg Ungerer greg.unge...@opengear.com Acked-by: Marek Vasut ma...@denx.de --- arch/arm/Kconfig| 10 - arch/arm/cpu/arm920t/Makefile | 1 -

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

2015-02-24 Thread andrej
From: Andrej Rosano and...@inversepath.com 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 and...@inversepath.com --- arch/arm/Kconfig |

[U-Boot] [PATCH v5 0/4] kconfig: turnaround into single .config

2015-02-24 Thread Masahiro Yamada
Masahiro Yamada (3): ARM: UniPhier: set CONFIG_SYS_MALLOC_F to the global default value kconfig: switch to single .config configuration kconfig: remove unneeded dependency on !SPL_BUILD Simon Glass (1): kconfig: Adjust ordering so that defaults work as expected Kconfig

[U-Boot] [PATCH v5 4/4] kconfig: remove unneeded dependency on !SPL_BUILD

2015-02-24 Thread Masahiro Yamada
Now CONFIG_SPL_BUILD is not defined in Kconfig, so !depends on SPL_BUILD and if !SPL_BUILD are redundant. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: - Rebase on u-boot/master (commit ded4bc3a) Changes in v3: None Changes in v2: - Fix a typo in commit

[U-Boot] [PATCH v5 3/4] kconfig: switch to single .config configuration

2015-02-24 Thread Masahiro Yamada
When Kconfig for U-boot was examined, one of the biggest issues was how to support multiple images (Normal, SPL, TPL). There were actually two options, single .config and multiple .config. After some discussions and thought experiments, I chose the latter, i.e. to create .config, spl/.config,

Re: [U-Boot] [PATCH v5 3/7] dfu: mmc: file buffer: remove static allocation

2015-02-24 Thread Lukasz Majewski
Hi Przemyslaw, For writing files, DFU implementation requires the file buffer with the len at least of file size. For big files it requires the same big buffer. Previously the file buffer was allocated as a static variable, so it was a part of U-Boot .bss section. For 32MiB len of buffer

Re: [U-Boot] [PATCH v1] fastboot: add support for reboot-bootloader command

2015-02-24 Thread Rob Herring
On Tue, Feb 24, 2015 at 5:34 AM, Alexey Firago alexey_fir...@mentor.com wrote: The fastboot reboot-bootloader command is defined to re-enter into fastboot mode after rebooting into bootloader. This command is usually used after updating bootloader via fastboot. This commit implements only a

Re: [U-Boot] [PATCH 11/14] usb: UniPhier: add UniPhier on-chip xHCI host driver support

2015-02-24 Thread Simon Glass
Hi Masahiro, On 23 February 2015 at 21:54, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Fri, 20 Feb 2015 10:21:27 -0700 Simon Glass s...@chromium.org wrote: Hi Masahiro, On 20 February 2015 at 05:12, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon,

[U-Boot] [PATCH 1/3] usb: ci_udc: Fix set address to work with older controllers

2015-02-24 Thread Alban Bedel
Older controllers don't implement Device Address Advance which allow to pass the device address to the controller when it is received. To support such controller we need to store the requested address and only apply it after the next IN transfer completed on EP0. Signed-off-by: Alban Bedel

[U-Boot] [PATCH 2/3] ARM: tegra: Fix the USB gadget configuration for T20

2015-02-24 Thread Alban Bedel
The USB controller on T20 doesn't have the HOSTPC feature. As there is not define for the SoC type at this level we use the address of the first USB controller as match. Not very nice but it should do for now. Signed-off-by: Alban Bedel alban.be...@avionic-design.de ---

[U-Boot] [PATCH 3/3] ARM: tegra: usb gadgets: Allow accessing the NAND via DFU

2015-02-24 Thread Alban Bedel
Many T20 boards use NAND instead of MMC, allow accessing it via DFU. Signed-off-by: Alban Bedel alban.be...@avionic-design.de --- include/configs/tegra-common-usb-gadget.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/tegra-common-usb-gadget.h

Re: [U-Boot] rpi_2 builds fine with make, fails with buildman

2015-02-24 Thread Stephen Warren
On 02/24/2015 01:48 AM, Albert ARIBAUD wrote: Hello, Can anyone confirm that on current u-boot/master, rpi_2 build fine with git clean -xfd; make rpi_2_defconfig; make but fails with tools/buildman/buildman rpi_2 with the following error: arm: + rpi_2 +make[3]:

Re: [U-Boot] [PATCH 2/2] dreamplug: set CONFIG_BUILD_TARGET to build u-boot.kwb

2015-02-24 Thread Luka Perkov
Hi Ian, On Tue, Feb 24, 2015 at 08:38:57AM +, Ian Campbell wrote: From: Ian Campbell i...@hellion.org.uk Saves having to remember to ask make for it explicitly. Signed-off-by: Ian Campbell i...@hellion.org.uk Cc: Jason Cooper u-b...@lakedaemon.net --- include/configs/dreamplug.h |

Re: [U-Boot] [PATCH 2/2] usb: invoke board specific USB cleanup interface

2015-02-24 Thread Rob Herring
On Mon, Jan 19, 2015 at 1:07 AM, Inha Song ideal.s...@samsung.com wrote: This patch invoke board-specific USB cleanup (board_usb_cleanup) interface. Signed-off-by: Inha Song ideal.s...@samsung.com --- common/cmd_dfu.c | 1 + common/cmd_thordown.c | 1 +

  1   2   3   >