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

2016-04-24 Thread Heiko Schocher
Hello Boris, Am 22.04.2016 um 14:21 schrieb Boris Brezillon: On Fri, 22 Apr 2016 13:53:00 +0200 Heiko Schocher wrote: An alternative approach would be not executing work directly while scheduling it but in produce_free_peb(). UBI is designed to work with the worker being

[U-Boot] Pull request: u-boot-ubi/master

2016-04-24 Thread Heiko Schocher
Hello Tom, please pull from u-boot-ubi.git master This pull request contains 2 bugfixes for UBI/UBIFS, so I think, they should go into the next release. The following changes since commit ee8b25fa354da7cfaafe0e6781e873c74c29bbad: Prepare v2016.05-rc2 (2016-04-21 09:37:33 -0400) are

[U-Boot] [PATCH] dm: at91: Add driver model support for the spi driver

2016-04-24 Thread Wenyou Yang
Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: Wenyou Yang --- drivers/spi/Kconfig | 9 ++ drivers/spi/atmel_spi.c | 254

[U-Boot] [PATCH] ARM: dts: zynq: describe SLCR as simple-mfd rather than simple-bus

2016-04-24 Thread Masahiro Yamada
Commit 9f56917ab88a ("dm: core: make simple-bus compatible to simple-mfd") made possible to import the following commit: Linux commit: bc5ba9b98435bf76d92e0954da1784695aa449f1 The SLCR (System-Level Control Registers) block is an MFD (Multi Function Device) rather than a bus. "simple-mfd" seems

Re: [U-Boot] SAMA5D2 xplained SD/eMMC boot

2016-04-24 Thread Yang, Wenyou
Hi Marek, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: 2016年4月22日 20:18 > To: Yang, Wenyou > Cc: u-boot@lists.denx.de > Subject: Re: SAMA5D2 xplained SD/eMMC boot > > On 04/22/2016 02:54 AM, Yang, Wenyou wrote: > > Hi Marek, > > Hi! >

[U-Boot] [PATCH V4, 1/6] dm: gpio: add a default gpio xlate routine

2016-04-24 Thread Eric Nelson
Many drivers use a common form of offset + flags for device tree nodes. e.g.: < 2 GPIO_ACTIVE_LOW> This patch adds a common implementation of this type of parsing and calls it when a gpio driver doesn't supply its' own xlate routine. This will allow removal of the driver-specific

Re: [U-Boot] [RESEND PATCH V3 1/6] dm: gpio: add a default gpio xlate routine

2016-04-24 Thread Eric Nelson
Thanks Stephen, On 04/21/2016 10:03 AM, Stephen Warren wrote: > On 04/20/2016 09:37 AM, Eric Nelson wrote: >> Many drivers use a common form of offset + flags for device >> tree nodes. e.g.: >> < 2 GPIO_ACTIVE_LOW> >> >> This patch adds a common implementation of this type of parsing >> and

[U-Boot] [PATCH v3 2/2] m68k: add DM model serial driver

2016-04-24 Thread Angelo Dureghello
Boards can now use DM serial driver, or still legacy mcf uart driver version. Signed-off-by: Angelo Dureghello --- Changes for v2: - remove while loops in putc and getc, replacing with return -EAGAIN - remove unneeded ifdef Changes for v3: - no changes ---

[U-Boot] [PATCH v3 1/2] m68k: add malloc memory for early malloc

2016-04-24 Thread Angelo Dureghello
To use serial uclass and DM, CONFIG_SYS_MALLOC_F must be used. So CONFIG_SYS_GENERIC_GLOBAL_DATA has been undefined and call to board_init_f_mem() is added for all cpu's. Signed-off-by: Angelo Dureghello --- Changes for v2: - none Changes for v3: - fix start.S using new

[U-Boot] [U-BOOT] [RFC PATCH] EMAC driver for H3/A64

2016-04-24 Thread Amit Singh Tomar
Hello I wanted to contribute and in the process trying to add support for the driver for EMAC controller found on H3/A64 based SoC. Sorry, I don't want to post it at this moment but I am kind of stuck from last few days. What is working: - Able to establish the link between

[U-Boot] Problem: loading U-Boot from NAND while running SPL from SRAM

2016-04-24 Thread Ahmed Samir
Hello, Please, I'd like to ask for help/suggestions regarding the following problem that I have: The problem is regarding making SPL (in SRAM) to booting U-boot from 16 bit NAND. While configuring & debugging, I did run SPL from address in the SDRAM, & it worked fine & loaded U-boot

[U-Boot] [PATCH 2/4] configs: Re-sync CONFIG_USB_MUSB_HOST

2016-04-24 Thread Tom Rini
With CONFIG_USB_MUSB_HOST being in Kconfig, move to defconfig files. Signed-off-by: Tom Rini --- configs/am335x_baltos_defconfig | 1 + configs/am335x_boneblack_defconfig | 1 + configs/am335x_boneblack_vboot_defconfig | 1 + configs/am335x_evm_defconfig

[U-Boot] [PATCH 0/4] configs and cmd/Kconfig: Re-sync

2016-04-24 Thread Tom Rini
Hey all, The following series will be applied by me in about 24 hours (to give folks a chance to scream). At the end of this series, we have the current contents of cmd/Kconfig being entirely removed from include/configs* and done in the defconfig files. This shows a few things which do need to

[U-Boot] [PATCH] imx: mx6: mx6sl_pins: add GPIO variant for SD1_DAT5

2016-04-24 Thread Eric Nelson
This patch adds the IOMUX setting for using SD1_DAT5 as GPIO5:9. Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-mx6/mx6sl_pins.h

Re: [U-Boot] [PATCH 02/60] mmc: tegra: move pad init into MMC driver

2016-04-24 Thread Wolfgang Denk
Dear Stephen, In message <1461099580-3866-3-git-send-email-swar...@wwwdotorg.org> you wrote: > > /* > + * Copyright 2011-2016 NVIDIA Corporation > * (C) Copyright 2009 SAMSUNG Electronics > * Minkyu Kang > * Jaehoon Chung > - * Portions

Re: [U-Boot] [PATCH 13/60] ARM: tegra: sort some board file include directives

2016-04-24 Thread Wolfgang Denk
Dear Stephen, In message <1461099580-3866-14-git-send-email-swar...@wwwdotorg.org> you wrote: > > --- a/board/avionic-design/common/tamonten-ng.c > +++ b/board/avionic-design/common/tamonten-ng.c > @@ -1,18 +1,19 @@ > /* > * (C) Copyright 2013 > * Avionic Design GmbH > + * Copyright (c)

Re: [U-Boot] [PATCH 05/60] pwm: tegra: move header file to driver directory

2016-04-24 Thread Wolfgang Denk
Dear Stephen, In message <1461099580-3866-6-git-send-email-swar...@wwwdotorg.org> you wrote: > > Tegra's pwm.h only contains private definitions for use inside the Tegra > PWM driver. Move it out of the global include directory since nothing > needs to access it there. If I understand

Re: [U-Boot] [PATCH 01/60] ARM: tegra: remove unused definitions in headers

2016-04-24 Thread Wolfgang Denk
Dear Stephen, In message <1461099580-3866-2-git-send-email-swar...@wwwdotorg.org> you wrote: > ... > /* > * Copyright (c) 2011 The Chromium OS Authors. > + * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. Can you please get rid of this "All rights reserved." ? Please fix this

[U-Boot] [PATCH v5 3/4] arm: add initial support for Amlogic Meson and ODROID-C2

2016-04-24 Thread Beniamino Galvani
This adds platform code for the Amlogic Meson GXBaby (S905) SoC and a board definition for ODROID-C2. This initial submission only supports UART and Ethernet (through the existing Designware driver). DTS files are the ones submitted to Linux arm-soc for 4.7 [1]. [1]

[U-Boot] [PATCH v5 4/4] arm: meson: implement calls to secure monitor

2016-04-24 Thread Beniamino Galvani
Implement calls to secure monitor to read the MAC address from e-fuse. Signed-off-by: Beniamino Galvani --- arch/arm/include/asm/arch-meson/sm.h | 12 +++ arch/arm/mach-meson/Makefile | 2 +- arch/arm/mach-meson/board.c| 1 +

[U-Boot] [PATCH v5 2/4] net: designware: fix descriptor layout and warnings on 64-bit archs

2016-04-24 Thread Beniamino Galvani
All members of the DMA descriptor must be 32-bit, even on 64-bit architectures: change the type to u32 to ensure this. Also, fix other warnings. Signed-off-by: Beniamino Galvani --- drivers/net/designware.c | 59 ++--

[U-Boot] [PATCH v5 1/4] arm: implement generic PSCI reset call for armv8

2016-04-24 Thread Beniamino Galvani
Add a psci_system_reset() which calls the SYSTEM_RESET function of PSCI 0.2 and can be used by boards that support it to implement reset_cpu(). Signed-off-by: Beniamino Galvani --- arch/arm/cpu/armv8/fwcall.c | 16 arch/arm/include/asm/psci.h | 17

[U-Boot] [PATCH v5 0/4] Amlogic Meson GXBaby and ODROID-C2 support

2016-04-24 Thread Beniamino Galvani
Hi, this series adds a very basic support for Amlogic S905 SoC (GXBaby) and for the ODROID-C2 board [1], and is based on u-boot sources available from the board vendor [2]. At the moment the only supported devices are the integrated UART and Ethernet adapter. Changes since v4: - added patch to