Re: [U-Boot] [PATCH v2 3/3] arm: omap3: Add SPL support to cm_t35

2013-06-18 Thread Nikita Kiryanov
This version works when booting with X-Loader. Tested-by: Nikita Kiryanov nik...@compulab.co.il On 06/17/2013 05:03 PM, Stefan Roese wrote: Add SPL U-Boot support to replace x-loader on the Compulab cm_t35 board. Currently only the 256MiB SDRAM board versions are supported. Tested by booting

Re: [U-Boot] [PATCH 1/2] video: lcd: Add CONFIG_SPLASH_SCREEN_PREPARE support to CONFIG_VIDEO

2013-06-18 Thread Igor Grinberg
On 06/17/13 20:08, Robert Winkler wrote: Hi Igor, On Sun, Jun 16, 2013 at 10:34 PM, Igor Grinberg grinb...@compulab.co.il wrote: Hi Robert, On 06/14/13 20:00, Robert Winkler wrote: Create splash.c/h to put the function and any future common splash screen code in. Signed-off-by:

Re: [U-Boot] [PATCH 1/3 v2] video: lcd: Add CONFIG_SPLASH_SCREEN_PREPARE support to CONFIG_VIDEO

2013-06-18 Thread Igor Grinberg
Hi Robert, On 06/17/13 21:31, Robert Winkler wrote: Create splash.c/h to put the function and any future common splash screen code in. Signed-off-by: Robert Winkler robert.wink...@boundarydevices.com Acked-by: Igor Grinberg grinb...@compulab.co.il --- v2 changes: remove superfluous

Re: [U-Boot] [PATCH 2/3] video: lcd: Make splash_screen_prepare weak, remove config macro

2013-06-18 Thread Igor Grinberg
On 06/17/13 21:31, Robert Winkler wrote: Remove CONFIG_SPLASH_SCREEN_PREPARE from README Add doc/README.splashprepare to document functionality Signed-off-by: Robert Winkler robert.wink...@boundarydevices.com Acked-by: Igor Grinberg grinb...@compulab.co.il --- README

Re: [U-Boot] [PATCH 3/3] omap: cm_t35: Fix cm_t35 for weak splash_screen_prepare

2013-06-18 Thread Igor Grinberg
On 06/17/13 21:31, Robert Winkler wrote: Signed-off-by: Robert Winkler robert.wink...@boundarydevices.com Usually, we add something to the commit message, otherwise Acked-by: Igor Grinberg grinb...@compulab.co.il --- board/compulab/cm_t35/cm_t35.c | 2 +- include/configs/cm_t35.h | 1

Re: [U-Boot] [PATCH 1/3] net2big_v2: initialize I2C fan at startup

2013-06-18 Thread Prafulla Wadaskar
-Original Message- From: Simon Guinot [mailto:simon.gui...@sequanux.org] Sent: 18 June 2013 02:28 To: Prafulla Wadaskar Cc: Albert ARIBAUD; u-boot@lists.denx.de Subject: [PATCH 1/3] net2big_v2: initialize I2C fan at startup This patch ensures minimal cooling for the net2big_v2

Re: [U-Boot] [PATCH 2/3] LaCie/common: add support for the GPIO extension bus

2013-06-18 Thread Prafulla Wadaskar
-Original Message- From: Simon Guinot [mailto:simon.gui...@sequanux.org] Sent: 18 June 2013 02:28 To: Prafulla Wadaskar Cc: Albert ARIBAUD; u-boot@lists.denx.de Subject: [PATCH 2/3] LaCie/common: add support for the GPIO extension bus This patch adds support for the GPIO

Re: [U-Boot] [PATCH V3 0/3] Introduce Samsung's new board Trats2

2013-06-18 Thread Jaehoon Chung
Hi Piotr, I tested your patches on trats2 board. I found the below log message..If i missed some patch, let me know. Board PMIC init Can't find PMIC:MAX77686_PMIC What's this log? Best Regards, Jaehoon Chung On 05/24/2013 05:23 PM, Piotr Wilczek wrote: This patchset add support for a new

Re: [U-Boot] [RFC] Safe Linux Updater

2013-06-18 Thread Alexandre Dilly
Dear Wolfgang, Mats and Stefano, Thanks for your answers, In message ed3e0bcacd909541ba94a34c4a164d4c4fc91...@post.tritech.se you wrote: I haven't seen the scripts of Alexandre but it sounds something like what we have already implemented. I haven't seen the scripts either, but this

Re: [U-Boot] [PATCH 2/3] LaCie/common: add support for the GPIO extension bus

2013-06-18 Thread Simon Guinot
On Mon, Jun 17, 2013 at 11:53:53PM -0700, Prafulla Wadaskar wrote: -Original Message- From: Simon Guinot [mailto:simon.gui...@sequanux.org] Sent: 18 June 2013 02:28 To: Prafulla Wadaskar Cc: Albert ARIBAUD; u-boot@lists.denx.de Subject: [PATCH 2/3] LaCie/common: add support

Re: [U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-18 Thread Thierry Reding
On Mon, Jun 17, 2013 at 10:39:12PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Sun, Jun 16, 2013 at 10:48:45PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Sat, Jun 15, 2013 at 11:28:25PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Fri, Jun 14,

Re: [U-Boot] [PATCH 2/3] LaCie/common: add support for the GPIO extension bus

2013-06-18 Thread Prafulla Wadaskar
-Original Message- From: Simon Guinot [mailto:simon.gui...@sequanux.org] Sent: 18 June 2013 15:59 To: Prafulla Wadaskar Cc: Albert ARIBAUD; u-boot@lists.denx.de Subject: Re: [PATCH 2/3] LaCie/common: add support for the GPIO extension bus On Mon, Jun 17, 2013 at 11:53:53PM

[U-Boot] [PATCH 05/10 v2] powerpc: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and enabled some functionality for common SPL

2013-06-18 Thread ying.zhang
From: Ying Zhang b40...@freescale.com 1. The symbol CONFIG_SPL_NAND_MINIMAL is unused, so deleted it. 2. Some functions were unused in the minimal SPL, but it is useful in the common SPL. So, enabled some functionality for common SPL. Signed-off-by: Ying Zhang b40...@freescale.com --- Compared

[U-Boot] [PATCH 09/10 v2] nand: tpl : introduce the TPL based on the SPL

2013-06-18 Thread ying.zhang
From: Ying Zhang b40...@freescale.com Due to the nand SPL on some board(e.g. P1022DS)has a size limit, it can not be more than 4K. So, the SPL cannot initialize the DDR with the SPD code. This patch introduces TPL to enable a loader stub that runs in the L2 SRAM, after being loaded by the code

[U-Boot] [PATCH 10/10] powerpc: p1022ds: support TPL on the P1022DS

2013-06-18 Thread ying.zhang
From: Ying Zhang b40...@freescale.com Support TPL on the P1022DS. The TPL's size is sizeable, the maximum size must not exceed the size of L2 SRAM. It initializes the DDR through SPD code, and copys final uboot image to DDR. So there are three stage uboot images: * spl_boot, 4KB size, pad

Re: [U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-18 Thread Marek Vasut
Dear Thierry Reding, On Mon, Jun 17, 2013 at 10:39:12PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Sun, Jun 16, 2013 at 10:48:45PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Sat, Jun 15, 2013 at 11:28:25PM +0200, Marek Vasut wrote: Dear Thierry Reding,

Re: [U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-18 Thread Marek Vasut
Dear Stephen Warren, On 06/17/2013 02:39 PM, Marek Vasut wrote: Dear Thierry Reding, On Sun, Jun 16, 2013 at 10:48:45PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Sat, Jun 15, 2013 at 11:28:25PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Fri, Jun 14, 2013 at

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-06-18 Thread Mark Jackson
On 17/06/13 15:43, Mark Jackson wrote: On 13/05/13 19:28, Tom Rini wrote: From: Steve Kipisz s-kipi...@ti.com NOR requires that s_init be within the first 4KiB of the image so that we can perform the rest of the required pinmuxing to talk with the rest of NOR that we are found on. When

[U-Boot] [PATCH v2 3/3] net2big_v2: initialize LEDs at startup

2013-06-18 Thread Simon Guinot
This patch allows to configure the net2big_v2 LEDs at startup (through the GPIO extension bus). The front blue LED is enabled and the SATA rear LEDs are configured to blink in relation with the SATA activity. Signed-off-by: Simon Guinot simon.gui...@sequanux.org ---

[U-Boot] [PATCH v2 1/3] net2big_v2: initialize I2C fan at startup

2013-06-18 Thread Simon Guinot
This patch ensures minimal cooling for the net2big_v2 by automatically starting the I2C fan (GMT G762) at low speed (2800 RPM). Signed-off-by: Simon Guinot simon.gui...@sequanux.org Acked-by: Prafulla Wadaskar prafu...@marvell.com --- board/LaCie/net2big_v2/net2big_v2.c | 54

[U-Boot] [PATCH v2 2/3] LaCie/common: add support for the CPLD GPIO bus

2013-06-18 Thread Simon Guinot
This patch adds support for the CPLD GPIO bus found on some LaCie boards (as the 2Big/5Big Network v2 and the 2Big NAS). This parallel GPIO bus exposes two registers (address and data). Each of this register is made up of several dedicated GPIOs. An extra GPIO is used to notify the CPLD that the

[U-Boot] [PATCH v2 0/3] net2big_v2: initialize fan and LEDs at startup

2013-06-18 Thread Simon Guinot
This patch series allows to initialize the fan and the LEDs found on the net2big_v2. Changes in v2: - Add Prafulla's Acked-by to patch net2big_v2: initialize I2C fan at startup - Rename gpio-ext into cpld-gpio-bus and adjust code and comments accordingly. Simon Guinot (3): net2big_v2:

Re: [U-Boot] [PATCH v3 0/6] Optimize ARM relocation

2013-06-18 Thread Albert ARIBAUD
Hi Jeroen, On Sun, 16 Jun 2013 15:33:32 +0200, Jeroen Hofstee jer...@myspectrum.nl wrote: Hello Albert, On 06/13/2013 08:54 PM, Jeroen Hofstee wrote: binaries only use one type of relocation record, R_ARM_RELATIVE., then optimizing relocation code accordingly. fyi, I had a

Re: [U-Boot] please pull u-boot-samsung master

2013-06-18 Thread Albert ARIBAUD
Hi Minkyu, On Mon, 17 Jun 2013 13:16:20 +0530, Jagan Teki jagannadh.t...@gmail.com wrote: On Mon, Jun 17, 2013 at 7:40 AM, Minkyu Kang mk7.k...@samsung.com wrote: Dear Albert, The following changes since commit d0a51373131c4ba565a2391d5ed78b87c406ce98: at91sam9260ek: move board id

[U-Boot] Please pull u-boot-ti/master

2013-06-18 Thread Tom Rini
Hello, The following changes since commit 847e6693ccb529bf8346db62876f38f0c4e04ade: arm: pxa: config option for PXA270 turbo mode (2013-06-12 22:24:12 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to

Re: [U-Boot] [Patch v2] PHY: micrel.c: add support for KSZ9031

2013-06-18 Thread Fabio Estevam
Hi Joe, On Wed, Feb 6, 2013 at 7:18 PM, David Andrey david.and...@netmodule.com wrote: Add support for Micrel PHY KSZ9031 in phylib, including small rework for KSZ9021 to avoid code duplication Signed-off-by: David Andrey david.and...@netmodule.com Cc: Troy Kisky

Re: [U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-18 Thread Stephen Warren
On 06/18/2013 05:29 AM, Marek Vasut wrote: Dear Stephen Warren, On 06/17/2013 02:39 PM, Marek Vasut wrote: Dear Thierry Reding, On Sun, Jun 16, 2013 at 10:48:45PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Sat, Jun 15, 2013 at 11:28:25PM +0200, Marek Vasut wrote: Dear Thierry

Re: [U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-18 Thread Stephen Warren
On 06/18/2013 04:58 AM, Thierry Reding wrote: On Mon, Jun 17, 2013 at 10:39:12PM +0200, Marek Vasut wrote: ... Ok, this looks ugly and calls for a bisect. Can you check it ? I'll try to test if USB works for me on some EHCI-enabled device. I should repeat that things work fine for a more

Re: [U-Boot] [PATCH 10/10] powerpc: p1022ds: support TPL on the P1022DS

2013-06-18 Thread Timur Tabi
On Tue, Jun 18, 2013 at 5:39 AM, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com Support TPL on the P1022DS. Please define TPL. I have no idea what it is. ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH V2 1/2] ARM: tegra: enable LCD panel on Harmony

2013-06-18 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: Removed CONFIG_LCD_DT_SIMPLEFB --- board/nvidia/dts/tegra20-harmony.dts | 32 board/nvidia/harmony/harmony.c | 7 +++ include/configs/harmony.h

[U-Boot] [PATCH V2 2/2] ARM: tegra: enable LCD panel on Ventana

2013-06-18 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: Removed CONFIG_LCD_DT_SIMPLEFB --- board/nvidia/dts/tegra20-ventana.dts | 32 include/configs/ventana.h| 9 + 2 files changed, 41 insertions(+)

Re: [U-Boot] [PATCH] mtd: nand/docg4: fix driver after Linux resync

2013-06-18 Thread Mike Dunn
On 06/17/2013 03:29 PM, Scott Wood wrote: On 06/17/2013 12:44:55 PM, Mike Dunn wrote: Commit dfe64e2c89731a3f9950d7acd8681b68df2bae03: mtd: resync with Linux-3.7.1 broke the docg4 driver. Specifically: - some of the prototypes of the ecc methods changed - the NAND_NO_AUTOINCR flag

Re: [U-Boot] [PATCH 3/3] omap: cm_t35: Fix cm_t35 for weak splash_screen_prepare

2013-06-18 Thread Robert Winkler
I figured this one was so simple it didn't warrant anything more than what's already in the subject line. On Mon, Jun 17, 2013 at 11:26 PM, Igor Grinberg grinb...@compulab.co.il wrote: On 06/17/13 21:31, Robert Winkler wrote: Signed-off-by: Robert Winkler robert.wink...@boundarydevices.com

Re: [U-Boot] [PATCH 1/2] video: lcd: Add CONFIG_SPLASH_SCREEN_PREPARE support to CONFIG_VIDEO

2013-06-18 Thread Robert Winkler
On Mon, Jun 17, 2013 at 11:20 PM, Igor Grinberg grinb...@compulab.co.il wrote: On 06/17/13 20:08, Robert Winkler wrote: Hi Igor, On Sun, Jun 16, 2013 at 10:34 PM, Igor Grinberg grinb...@compulab.co.il wrote: Hi Robert, On 06/14/13 20:00, Robert Winkler wrote: Create splash.c/h to put

Re: [U-Boot] [PATCH 10/10] powerpc: p1022ds: support TPL on the P1022DS

2013-06-18 Thread Scott Wood
On 06/18/2013 10:37:02 AM, Timur Tabi wrote: On Tue, Jun 18, 2013 at 5:39 AM, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com Support TPL on the P1022DS. Please define TPL. I have no idea what it is. Third Program Loader. An additional stage that comes after SPL,

[U-Boot] [PATCH v6 1/2] pxa: add support for palmtreo680 board

2013-06-18 Thread Mike Dunn
This patch adds support for the Palm Treo 680 smartphone. A quick overview of u-boot implementation on the treo 680... The treo 680 has a Diskonchip G4 nand flash chip. This device has a 2k region that maps to the system bus at the reset vector in a NOR-like fashion so that it can be used as

[U-Boot] [PATCH v6 0/2] pxa: add support for palmtreo680 board

2013-06-18 Thread Mike Dunn
These two patches add support for the Palm Treo 680 phone. The second patch provides a userspace utility that is needed to program u-boot to the docg4 nand flash in the manner required by the phone's IPL. Marek, I thought that these patches were in your tree when you issued the PR a few weeks

[U-Boot] [PATCH v6 2/2] pxa: palmtreo680 flash programming utility

2013-06-18 Thread Mike Dunn
This adds a userspace linux utility that writes the u-boot image to an mtd partition on the docg4 nand flash. A special utility is required to do this because u-boot is partially loaded by an initial program loader (IPL) that is permanently programmed to the boot region of the flash. This IPL

Re: [U-Boot] Bug in fdt_fixup_fman_firmware

2013-06-18 Thread Andy Fleming
--- a/arch/powerpc/cpu/mpc85xx/fdt.c +++ b/arch/powerpc/cpu/mpc85xx/fdt.c @@ -492,7 +492,7 @@ if (!p) return; - fmanfw = (struct qe_firmware *) simple_strtoul(p, NULL, 0); + fmanfw = (struct qe_firmware *) simple_strtoul(p, NULL, 16); if (!fmanfw) return; Could you submit this

Re: [U-Boot] [PATCH 2/2] powerpc/c29xpcie: add support for C29XPCIE board

2013-06-18 Thread Andy Fleming
On Wed, Apr 24, 2013 at 2:14 AM, Po Liu po@freescale.com wrote: From: Mingkai Hu mingkai...@freescale.com C29XPCIE board is a series of Freescale PCIe add-in cards to perform as public key crypto accelerator or secure key management module. It includes C293PCIE board, C293PCIE board and

Re: [U-Boot] [PATCH 1/2] powerpc/85xx: Add C29x SoC support

2013-06-18 Thread Andy Fleming
On Wed, Apr 24, 2013 at 2:14 AM, Po Liu po@freescale.com wrote: From: Mingkai Hu mingkai...@freescale.com The Freescale C29x family is a high performance crypto co-processor. It combines a single e500v2 core with necessary SEC engine. There're three SoC types(C291, C292, C293) with the

Re: [U-Boot] MIPI-CSI Support question

2013-06-18 Thread Andy Fleming
On Thu, Apr 25, 2013 at 4:07 AM, tiger...@viatech.com.cn wrote: Hi, experts: MIPI(Mobile Industry Processor Interface) has defined many mobile device interface. Such as: CSI --- for Camera DSI --- for Display It seems DSI has samples on Exynos board.(in drivers\video directory) I want to

Re: [U-Boot] mtd: nand: fix initialization of BBT options

2013-06-18 Thread Scott Wood
On Sat, Jun 08, 2013 at 11:00:15PM +0200, Daniel Schwierzeck wrote: commit dfe64e2c89731a3f9950d7acd8681b68df2bae03 Author: Sergey Lapin sla...@ossfans.org Date: Mon Jan 14 03:46:50 2013 + mtd: resync with Linux-3.7.1 changed the initialization of BBT options. Fix drivers

Re: [U-Boot] Merge Window close date

2013-06-18 Thread Wolfgang Denk
Dear Masahiro Yamada, In message 20130618143710.7439.aa925...@jp.panasonic.com you wrote: If I see http://www.denx.de/wiki/rdiff/U-Boot/ReleaseCycle, you changed the merge window status from open to closed at Jun 14 (r1.95). Correct. I fixed the page by making theedit that was forgotten

Re: [U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-18 Thread Stephen Warren
On 06/16/2013 04:30 AM, Thierry Reding wrote: On Sat, Jun 15, 2013 at 11:28:25PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Fri, Jun 14, 2013 at 06:41:40PM +0800, Jim Lin wrote: [...] diff --git a/board/nvidia/dts/tegra30-beaver.dts b/board/nvidia/dts/tegra30-beaver.dts [...]

Re: [U-Boot] please pull u-boot-samsung master

2013-06-18 Thread Minkyu Kang
On 18/06/13 23:57, Albert ARIBAUD wrote: Hi Minkyu, On Mon, 17 Jun 2013 13:16:20 +0530, Jagan Teki jagannadh.t...@gmail.com wrote: On Mon, Jun 17, 2013 at 7:40 AM, Minkyu Kang mk7.k...@samsung.com wrote: Dear Albert, The following changes since commit

Re: [U-Boot] Merge Window close date

2013-06-18 Thread Masahiro Yamada
Hi Wolfgang, I could understood what happened up until now. I couldn't say properly, I did not mean to critisize but wanted to know things precisely. You are the first to notice... Before starting to post my patches, I read though the wiki and tried to observe the rules. Especailly after

[U-Boot] [PATCH v3 0/16] Driver model implementation, tests, demo and GPIO

2013-06-18 Thread Simon Glass
Note: If you are reviewing this code, but don't have a lot of time, please consider starting with the 'demo' driver (patch 'dm: Add a demonstration/example driver') since it clearly shows how devices and uclasses work. Much of this series consists of test code and plumbing, so is of less interest

[U-Boot] [PATCH v3 08/16] dm: Set up driver model after relocation

2013-06-18 Thread Simon Glass
Make driver model available after relocation, by setting up data structures and scanning for devices using compiled-in platform_data and (when available) the device tree. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None common/board_r.c | 33

[U-Boot] [PATCH v3 01/16] sandbox: Make map_to_sysmem() use a constant pointer

2013-06-18 Thread Simon Glass
Very often a constant pointer is passed to this function, so we should declare this, since map_to_sysmem() does not change the pointer. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None arch/sandbox/include/asm/io.h | 2 +- include/common.h |

[U-Boot] [PATCH v3 13/16] sandbox: Convert GPIOs to use driver model

2013-06-18 Thread Simon Glass
Convert sandbox over to use driver model GPIOs. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Update sandbox GPIO header file comments Changes in v2: None arch/sandbox/include/asm/gpio.h | 14 +-- board/sandbox/sandbox/sandbox.c | 7 +- drivers/gpio/sandbox.c |

[U-Boot] [PATCH v3 06/16] sandbox: config: Enable driver model

2013-06-18 Thread Simon Glass
Use driver model in sandbox to permit running of driver model unit test. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None include/configs/sandbox.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h

[U-Boot] [PATCH v3 09/16] dm: Add basic tests

2013-06-18 Thread Simon Glass
Add some tests of driver model functionality. Coverage includes: - basic init - binding of drivers to devices using platform_data - automatic probing of devices when referenced - availability of platform data to devices - lifecycle from bind to probe to remove to unbind - renumbering within a

[U-Boot] [PATCH v3 05/16] Add cmd_process_error() to report and process errors

2013-06-18 Thread Simon Glass
U-Boot now uses errors defined in include/errno.h which are negative integers. Commands which fail need to report the error and return 1 to indicate failure. Add this functionality in cmd_process_error(). For now this merely reports the error number. It would be possible also to produce a helpful

[U-Boot] [PATCH v3 12/16] dm: Add GPIO support and tests

2013-06-18 Thread Simon Glass
Add driver model support for GPIOs. Since existing GPIO drivers do not use driver model, this feature must be enabled by CONFIG_DM_GPIO. After all GPO drivers are converted over we can perhaps remove this config. Tests are provided for the sandbox implementation, and are a sufficient sanity check

[U-Boot] [PATCH v3 15/16] dm: Add README for driver model

2013-06-18 Thread Simon Glass
From: Pavel Herrmann morpheus.i...@gmail.com This adds a README to help with understanding of this series. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Updated README.txt to cover changes since version 2 Changes in v2: - Removed pointer return values in favour of integer -

[U-Boot] [PATCH v3 04/16] sandbox: Build a device tree file for sandbox

2013-06-18 Thread Simon Glass
Add support for building a device tree for sandbox's CONFIG_OF_HOSTFILE option to make it easier to use device tree with sandbox. This adjusts the Makefile to build a u-boot.dtb file which can be passed to sandbox U-Boot with: ./u-boot -d u-boot.dtb Signed-off-by: Simon Glass

[U-Boot] [PATCH v3 16/16] dm: Move old driver model documentation into an 'old-docs' directory

2013-06-18 Thread Simon Glass
This documentation is still useful but is not fully correct with the API changes since the original driver model implementation. So move it into a separate directory, and create a README to describe what is going on. This documentation pertains to the planned implementation of driver model in

[U-Boot] [PATCH v3 14/16] dm: Enable gpio command to support driver model

2013-06-18 Thread Simon Glass
Now that named GPIO banks are supported, along with a way of obtaining the status of a GPIO (input or output), we can provide an enhanced GPIO command for driver model. Where the driver provides its own operation for obtaining the GPIO state, this is used, otherwise a generic version is

[U-Boot] [PATCH v3 02/16] sandbox: Correct data sizes and printf() strings in fdtdec.c

2013-06-18 Thread Simon Glass
There are a few warnings in this file when building for sandbox. Addresses coming from the device tree need to be treated as ulong as elsewhere in U-Boot and we must use map_sysmem() to convert to a pointer when needed. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes

[U-Boot] [PATCH v3 11/16] dm: Add a demonstration/example driver

2013-06-18 Thread Simon Glass
As an example of how to write a uclass and a driver, provide a demo version of each, accessible through the 'demo' command. To use these with driver model, define CONFIG_CMD_DEMO and CONFIG_DM_DEMO. The two demo drivers are enabled with CONFIG_DM_DEMO_SIMPLE and CONFIG_DM_DEMO_SHAPE.

[U-Boot] [PATCH v3 10/16] dm: Add a 'dm' command for testing

2013-06-18 Thread Simon Glass
This command is not required for driver model operation, but can be useful for testing. It provides simple dumps of internal data structures. Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Marek Vasut ma...@denx.de Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com Signed-off-by:

[U-Boot] [PATCH v3 03/16] sandbox: config: Don't use 64-bit physical memory

2013-06-18 Thread Simon Glass
Sandbox uses an emulated memory map which is quite small. We don't need the CONFIG_PHYS_64BIT option since we can address memory with a 32-bit offset into our ram_buf. Adjust the phys_addr_t and phys_size_t types accordingly. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None

Re: [U-Boot] [PATCH v4 02/14] sf: Discover the bank addr commands

2013-06-18 Thread Simon Glass
Hi Jagan, On Thu, Jun 13, 2013 at 1:55 PM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com wrote: Bank/Extended addr commands are specific to particular flash vendor so discover them based on the idocode0. Assign the discovered bank commands to spi_flash members

Re: [U-Boot] [PATCH v4 05/14] sf: Update sf read to support all sizes of flashes

2013-06-18 Thread Simon Glass
Hi Jagan, On Thu, Jun 13, 2013 at 1:55 PM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com wrote: This patch updated the spi_flash read func to support all sizes of flashes using bank reg addr facility. The same support has been added in below patch for erase/write

Re: [U-Boot] [PATCH v4 14/14] sf: Add Flag status register polling support

2013-06-18 Thread Simon Glass
Hi Jagan, On Thu, Jun 13, 2013 at 1:55 PM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com wrote: Flag status register polling is required for micron 512Mb flash devices onwards, for performing erase/program operations. Like polling for WIP(Write-In-Progress) bit in

Re: [U-Boot] [PATCH 1/4] sf: Unify spi_flash write code

2013-06-18 Thread Simon Glass
Hi Jagan, On Fri, Jun 14, 2013 at 1:18 PM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com wrote: Move common flash write code into spi_flash_write_common(). Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash.c | 122

Re: [U-Boot] [PATCH 4/4] sf: Warn to use BAR for 16MiB flashes

2013-06-18 Thread Simon Glass
Hi Jagan, On Fri, Jun 14, 2013 at 1:18 PM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com wrote: Warning for 16MiB flashes to #define CONFIG_SPI_FLASH_BAR Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash.c | 7 ++- 1

[U-Boot] [PATCH] ARM: OMAP4+: Fix MA detection during SDRAM_AUTO_DETECTION

2013-06-18 Thread Lokesh Vutla
During SDRAM_AUTO_DETECTION MA is not configured. For Soc's OMAP4460 MA is present. So populating MA for the same. Tested on OMAP4430 PANDA, OMAP4460 PANDA. Reported-by: Dan Murphy dmur...@ti.com Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- arch/arm/cpu/armv7/omap-common/emif-common.c |

Re: [U-Boot] [PATCH 3/3] omap: cm_t35: Fix cm_t35 for weak splash_screen_prepare

2013-06-18 Thread Igor Grinberg
On 06/18/13 19:28, Robert Winkler wrote: I figured this one was so simple it didn't warrant anything more than what's already in the subject line. Yes, that's understood. There are plenty of simple patches, but still it is a good practice to have even a minimal commit message. On Mon, Jun