Re: [U-Boot] [RFC] Remove static display data

2013-07-26 Thread Troy Kisky
On 7/26/2013 5:42 PM, Eric Nelson wrote: AFAIK, the 3.5.7 kernels from Freescale will still require kernel command lines for display configuration, so we may not have a firm target. I just booted 3 displays on 3.5.7 without a video= on the command line. So, device tree can do what the command

Re: [U-Boot] [PATCH] video: mxc_ipuv3: fix memory alignment of framebuffer

2013-07-26 Thread Eric Nelson
On 07/26/2013 12:38 PM, Marek Vasut wrote: Dear Eric Nelson, - fbi->screen_base = (char *)malloc(fbi->fix.smem_len); + fbi->screen_base = (char *)memalign(ARCH_DMA_MINALIGN, + fbi->fix.smem_len); You might want to round-up the length too,

[U-Boot] [PATCH v2] mxc_ipuv3: fix memory alignment of framebuffer

2013-07-26 Thread Eric Nelson
The frame-buffer on i.MX boards needs to be aligned for DMA. Signed-off-by: Eric Nelson --- Changes in v2: Also round smem_len up to ARCH_DMA_MINALIGN drivers/video/mxc_ipuv3_fb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/video/mxc_ipuv3_fb.c b/drivers/vid

Re: [U-Boot] [RFC] Remove static display data

2013-07-26 Thread Eric Nelson
Thanks for the thoughtful response, Stefano. On 07/26/2013 07:42 AM, Stefano Babic wrote: Hi Eric, On 26/07/2013 16:04, Eric Nelson wrote: The real question we have regarding DT is the timing. We're shipping DT files on secondary storage (SATA/SD card), and want/need something local (i.e. en

Re: [U-Boot] Please pull u-boot-ppc4xx

2013-07-26 Thread Tom Rini
On Fri, Jul 26, 2013 at 07:50:44AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following patches: > > The following changes since commit aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c: > > Merge branch 'master' of git://git.denx.de/u-boot-nds32 (2013-07-25 > 08:51:51 -0400) > > are a

Re: [U-Boot] Please pull u-boot-cfi-flash

2013-07-26 Thread Tom Rini
On Thu, Jul 25, 2013 at 04:51:32PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following patch: > > The following changes since commit 62c175fbb8a0f9a926c88294ea9f7e88eb898f6c: > > Prepare v2013.07 (2013-07-23 07:58:13 -0400) > > are available in the git repository at: > > gi

Re: [U-Boot] Please pull u-boot-cfi-flash

2013-07-26 Thread Tom Rini
On Thu, Jul 25, 2013 at 04:51:32PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following patch: > > The following changes since commit 62c175fbb8a0f9a926c88294ea9f7e88eb898f6c: > > Prepare v2013.07 (2013-07-23 07:58:13 -0400) > > are available in the git repository at: > > gi

Re: [U-Boot] [PATCH] powerpc/ppc4xx: Convert new gdsys files to SPDX license tags

2013-07-26 Thread Tom Rini
On Fri, Jul 26, 2013 at 03:34:02PM -0400, Tom Rini wrote: > Signed-off-by: Tom Rini > --- > board/gdsys/common/dp501.c | 18 +- > board/gdsys/common/fpga.c | 18 +- > board/gdsys/common/mclink.c | 18 +- > board/gdsys/common/mclink.h | 1

[U-Boot] [PATCH] libfdt: SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause

2013-07-26 Thread Roger Meier
Signed-off-by: Roger Meier --- Licenses/README | 13 ++-- Licenses/bsd-2-clause.txt| 25 ++ lib/libfdt/fdt.c | 47 +- lib/libfdt/fdt_empty_tree.c | 47 +---

Re: [U-Boot] [PATCH v5] dfu, nand, ubi: add partubi alt settings for updating ubi partition

2013-07-26 Thread Scott Wood
On 07/24/2013 11:43:11 PM, Heiko Schocher wrote: diff --git a/include/dfu.h b/include/dfu.h index 124653c..4de7b34 100644 --- a/include/dfu.h +++ b/include/dfu.h @@ -59,6 +59,8 @@ struct nand_internal_data { unsigned int dev; unsigned int part; + /* for nand/ubi use */ +

Re: [U-Boot] dual licensed files

2013-07-26 Thread Wolfgang Denk
Dear Roger, In message <047701ce8a46$bcc78820$36569860$@bufferoverflow.ch> you wrote: > Thank you Wolfgang for simplifying license handling! You are welcome! > What about dual licensed files? What do you prefer? > > SPDX-License-Identifier:GPL-2.0+ > SPDX-License-Identifier:BSD-

[U-Boot] [RFC V2 6/9] tools: add reformat.py and (temporary merge.py)

2013-07-26 Thread Albert ARIBAUD
tools/merge.py is only in the RFC, and will actually be removed once it has merged MAINTAINERS and boards.cfg tools/reformat.py will be used to keep boards.cfg properly sorted and formatted. Signed-off-by: Albert ARIBAUD --- tools/merge.py| 61 + tools/reformat.py |

[U-Boot] [RFC V2 3/9] MAINTAINERS: remove misplaced comments.

2013-07-26 Thread Albert ARIBAUD
chromebook-x86 has comments in MAINTIANERS which should actually be in some doc/README.* file. Remove them. Signed-off-by: Albert ARIBAUD --- MAINTAINERS | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2b6ca9a..e03fa61 100644 --- a

[U-Boot] [RFC V2 2/9] MAINTAINERS: move improperly placed e-mail addresses

2013-07-26 Thread Albert ARIBAUD
This is to homogeneize all e-mail addresses in the file so that a simple script can find them all and associate them with the corresponding boards. Signed-off-by: Albert ARIBAUD --- MAINTAINERS | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/MAINTAI

[U-Boot] [RFC V2 9/9] Changes due to boards.cfg reformat

2013-07-26 Thread Albert ARIBAUD
The order of boards.cfg fields has changed; modify files which depend on it. NOTES: 1. mkconfig could probably endure more cleaning; it apparently has uncertain views about what its positional parameters are at various times of its execution. However, this submission will not perform any

[U-Boot] [RFC V2 4/9] MAINTAINERS: remove useless 'header' lines

2013-07-26 Thread Albert ARIBAUD
These lines look like board lines, causing the conversion script to create bogus board entries. Remove them. Signed-off-by: Albert ARIBAUD --- MAINTAINERS | 4 1 file changed, 4 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e03fa61..ec97d48 100644 --- a/MAINTAINERS +++ b/MAINTA

[U-Boot] [RFC V2 1/9] MAINTAINERS: move ARM entries into ARM section

2013-07-26 Thread Albert ARIBAUD
A few ARM entries were present in the PowerPC section. Move them into the ARM section. Do not respect order any more than it was respected before, as the whole file structure will be refactored. Signed-off-by: Albert ARIBAUD --- MAINTAINERS | 60 +-

[U-Boot] [RFC V2 0/9] Refactor MAINTAINERS file

2013-07-26 Thread Albert ARIBAUD
This patch series aims at merging MAINTAINERS and boards.cfg into a single, easily processable file. There are not actually niine changes as such; they are presented so in this RFC in order for reviewers to better understand the final result. The first four patches are step-by-step cleaning to pr

[U-Boot] dual licensed files

2013-07-26 Thread Roger Meier
Thank you Wolfgang for simplifying license handling! What about dual licensed files? What do you prefer? SPDX-License-Identifier:GPL-2.0+ SPDX-License-Identifier:BSD-2-Clause or SPDX-License-Identifier:GPL-2.0+, BSD-2-Clause Other seperator? All the best!

[U-Boot] [PATCH] ARM: tegra: support raw ramdisks

2013-07-26 Thread Stephen Warren
From: Stephen Warren This way, we don't have to run mkimage on them. Signed-off-by: Stephen Warren --- include/configs/tegra-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index cb9e7c3..f180883 100644 --- a/include/

Re: [U-Boot] [RFC] Remove static display data

2013-07-26 Thread Eric Nelson
Thanks Stephen, On 07/26/2013 07:49 AM, Stephen Warren wrote: On 07/26/2013 08:42 AM, Stefano Babic wrote: On 26/07/2013 16:04, Eric Nelson wrote: The real question we have regarding DT is the timing. We're shipping DT files on secondary storage (SATA/SD card), and want/need something local (i

Re: [U-Boot] [PATCH] video: mxc_ipuv3: fix memory alignment of framebuffer

2013-07-26 Thread Marek Vasut
Dear Eric Nelson, > Hi Marek, > > On 07/25/2013 09:27 PM, Marek Vasut wrote: > > Dear Eric Nelson, > > > >> The frame-buffer on i.MX boards needs to be aligned for DMA. > >> > >> Signed-off-by: Eric Nelson > >> --- > >> > >> drivers/video/mxc_ipuv3_fb.c | 3 ++- > >> 1 file changed, 2 inse

[U-Boot] [PATCH] powerpc/ppc4xx: Convert new gdsys files to SPDX license tags

2013-07-26 Thread Tom Rini
Signed-off-by: Tom Rini --- board/gdsys/common/dp501.c | 18 +- board/gdsys/common/fpga.c | 18 +- board/gdsys/common/mclink.c | 18 +- board/gdsys/common/mclink.h | 18 +- common/cmd_fpgad.c | 18 +-

Re: [U-Boot] Extract data file from U-Boot image

2013-07-26 Thread Guilherme Maciel Ferreira
Dear Wolfgang, 2013/7/26 Wolfgang Denk : > Dear Guilherme Maciel Ferreira, > > In message > you > wrote: >> >> > But I fear that mkimage explodes from creaping featurism, so if you >> > go and implement something like this, please do not add it to kmimage, >> > but rather create a separate, new

Re: [U-Boot] [PATCH 2/2] usb: ehci-mx5: Use 'bool' instead of 'unsigned char'

2013-07-26 Thread Otavio Salvador
On Fri, Jul 26, 2013 at 1:54 PM, Fabio Estevam wrote: > From: Fabio Estevam > > The 'enable' argument can be better expressed as boolean. > > Signed-off-by: Fabio Estevam Reviewed-by: Otavio Salvador -- Otavio Salvador O.S. Systems http://www.ossystems.com.br

Re: [U-Boot] [PATCH] uboot optimize memmove

2013-07-26 Thread Wolfgang Denk
Dear Andy Green, In message you wrote: > > > Instead of making assumptions on the performance of memcpy() and > > As I wrote, I measured the performance and got a very big gain, it's > 3x faster on my setup to use memcpy() then default memmove(). Yes, in your single test case of copying a Lin

[U-Boot] [PATCH 1/2] usb: ehci-mx5: Remove unneeded write to cscmr1 register

2013-07-26 Thread Fabio Estevam
From: Fabio Estevam Currently we have the following behavior in ehci_hcd_init() - Read csmr1 register, clear bit 26 and then set bit 26. However a little bit later we call set_usb_phy_clk() which clears bit 26, so let's get rid of the unnecessary code. Signed-off-by: Fabio Estevam --- driver

[U-Boot] [PATCH 2/2] usb: ehci-mx5: Use 'bool' instead of 'unsigned char'

2013-07-26 Thread Fabio Estevam
From: Fabio Estevam The 'enable' argument can be better expressed as boolean. Signed-off-by: Fabio Estevam --- arch/arm/cpu/armv7/mx5/clock.c| 10 +- arch/arm/include/asm/arch-mx5/clock.h | 6 +++--- drivers/usb/host/ehci-mx5.c | 6 +++--- 3 files changed, 11 insert

Re: [U-Boot] [PATCH 2/2] fsl_i2c: add workaround for the erratum I2C A004447

2013-07-26 Thread Scott Wood
On 07/26/2013 04:39:03 AM, Chunhe Lan wrote: diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 56b22d8..156acba 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h @@ -1073,6 +1073,8 @@ #define IS_SVR_REV(svr

Re: [U-Boot] [PATCH] [PATCH v3] mx6qsabrelite: Remove mx6qsabrelite code in favor of nitrogen6x

2013-07-26 Thread Eric Nelson
Thanks Stefano, On 07/26/2013 07:46 AM, Stefano Babic wrote: Hi Fabio, On 26/07/2013 16:37, Fabio Estevam wrote: From: Fabio Estevam mx6qsabrelite and nitrogen6q boards are hardware compatible, so let's avoid the code duplication and only use the nitrogen6x source code to make board code mai

Re: [U-Boot] [RFC] Remove static display data

2013-07-26 Thread Stephen Warren
On 07/26/2013 08:42 AM, Stefano Babic wrote: > On 26/07/2013 16:04, Eric Nelson wrote: >> The real question we have regarding DT is the timing. We're shipping >> DT files on secondary storage (SATA/SD card), and want/need something >> local (i.e. env in SPI-NOR) to present a U/I if either no storag

Re: [U-Boot] [PATCH] [PATCH v3] mx6qsabrelite: Remove mx6qsabrelite code in favor of nitrogen6x

2013-07-26 Thread Stefano Babic
Hi Fabio, On 26/07/2013 16:37, Fabio Estevam wrote: > From: Fabio Estevam > > mx6qsabrelite and nitrogen6q boards are hardware compatible, so let's avoid > the > code duplication and only use the nitrogen6x source code to make board code > maintainance easier. > > Tested booting a mainline dev

Re: [U-Boot] [PATCH v6 00/12] arm: add Faraday A36x SoC platform support

2013-07-26 Thread Kuo-Jung Su
2013/7/25 Albert ARIBAUD : > Hi Kuo-Jung, > > On Thu, 4 Jul 2013 11:40:32 +0800, Kuo-Jung Su > wrote: > >> From: Kuo-Jung Su >> >> These patches introduce Faraday A36x SoC platform support. > > So where are we on this series? Seems like there were a few comments > about V6, and I haven't seen a

Re: [U-Boot] [RFC] Remove static display data

2013-07-26 Thread Stefano Babic
Hi Eric, On 26/07/2013 16:04, Eric Nelson wrote: > > The real question we have regarding DT is the timing. We're shipping > DT files on secondary storage (SATA/SD card), and want/need something > local (i.e. env in SPI-NOR) to present a U/I if either no storage > available or if something goes w

Re: [U-Boot] [PATCH] video: mxc_ipuv3: fix memory alignment of framebuffer

2013-07-26 Thread Eric Nelson
Hi Marek, On 07/25/2013 09:27 PM, Marek Vasut wrote: Dear Eric Nelson, The frame-buffer on i.MX boards needs to be aligned for DMA. Signed-off-by: Eric Nelson --- drivers/video/mxc_ipuv3_fb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/mxc_ipuv3_fb.

[U-Boot] [PATCH 1/2] mmc/dw_mmc: Allocate the correct amount of descriptors

2013-07-26 Thread Mischa Jonker
This fixes two issues: * a descriptor was allocated for every block, while a descriptor can take 8 blocks * there was an off-by-one error in the descriptor preparation: there were two last descriptors, one with length==0 Signed-off-by: Mischa Jonker Cc: Alexey Brodkin Cc: Jaehoon Chung

[U-Boot] [PATCH 2/2] Add parentheses to ALLOC_ALIGN_BUFFER macro's

2013-07-26 Thread Mischa Jonker
Without those it's very easy to make mistakes when for instance the 'size' field is more than just a constant. Signed-off-by: Mischa Jonker Cc: Alexey Brodkin Cc: Marek Vasut Cc: Anton Staaf Cc: Tom Rini Cc: Wolfgang Denk --- include/common.h |4 ++-- 1 file changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH] uboot optimize memmove

2013-07-26 Thread Andy Green
On 26 July 2013 20:58, Wolfgang Denk wrote: > Dear Andy Green, > > In message <20130726065323.27333.82421.stgit@localhost.localdomain> you wrote: >> While studying the reason why kernel copy from NOR was so slow on our >> platform, >> I realized U-Boot is pulling it from 32-bit NOR in 8-bit chunk

Re: [U-Boot] [RFC] Remove static display data

2013-07-26 Thread Eric Nelson
Hi Stefano, On 07/26/2013 01:43 AM, Stefano Babic wrote: Hi Robert, Anatolji, On 26/07/2013 09:50, Anatolij Gustschin wrote: I realize that there's already the FDT and CONFIG_OF_CONTROL functionality and device trees sort of cover the passing to Linux part so maybe before handing it off, con

Re: [U-Boot] [RFC] Remove static display data

2013-07-26 Thread Eric Nelson
Thanks Anatolij, On 07/26/2013 12:50 AM, Anatolij Gustschin wrote: Hello Robert, On Thu, 25 Jul 2013 11:21:10 -0700 Robert Winkler wrote: Hello all, We're trying to figure out how best to get rid of static code like this: http://git.denx.de/?p=u-boot.git;a=blob;f=board/boundary/nitrogen6x/

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-07-26 Thread Otavio Salvador
On Thu, Jul 25, 2013 at 6:13 PM, wrote: > From: Dennis Gilmore highbank? what does this means? > Signed-off-by: Dennis Gilmore > --- > include/configs/wandboard.h | 42 +++--- > 1 file changed, 39 insertions(+), 3 deletions(-) > > diff --git a/include/conf

Re: [U-Boot] [PATCH v6 0/3] Add TI816X EVM support

2013-07-26 Thread TENART Antoine
Hi, Since the merge window is open, any comment / news on the serie ? -- Antoine ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 6/6] am335x_evm: Add am335x_boneblack variant

2013-07-26 Thread Tom Rini
On Thu, Jul 11, 2013 at 09:55:03AM -0400, Justin Waters wrote: > The BeagleBone Black differs from the other AM335x boards in a few > significant ways, so it makes sense to create a custom configuration > for it. In particular, it uses eMMC instead of NAND flash. > > Signed-off-by: Justin Waters

Re: [U-Boot] [PATCH] uboot optimize memmove

2013-07-26 Thread Wolfgang Denk
Dear Andy Green, In message <20130726065323.27333.82421.stgit@localhost.localdomain> you wrote: > While studying the reason why kernel copy from NOR was so slow on our > platform, > I realized U-Boot is pulling it from 32-bit NOR in 8-bit chunks needlessly. > > bootm uses memmove() and that just

Re: [U-Boot] [PATCH v2 3/3] zynq: Enable axi ethernet and emaclite driver initialization

2013-07-26 Thread Jagan Teki
On Fri, Jul 26, 2013 at 11:33 AM, Michal Simek wrote: > Zynq can have axi ethernet and emaclite IPs in programmable > logic. > > Signed-off-by: Michal Simek > > --- > Changes in v2: None > > board/xilinx/zynq/board.c | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/boa

Re: [U-Boot] [PATCH 3/6] drivers/power/pmic: Add tps65910 driver

2013-07-26 Thread Tom Rini
On Thu, Jul 25, 2013 at 12:41:46PM -0500, Dan Murphy wrote: > On 07/19/2013 02:00 PM, Tom Rini wrote: > > From: "Philip, Avinash" > > > > Add a driver for the TPS65910 PMIC that is found in the AM335x GP EVM, > > AM335x EVM SK and others. > > Can we add a link to the technical manual? > http://ww

Re: [U-Boot] [PATCH v2 2/3] zynq: slcr: Wait 100ms till clk is properly setup

2013-07-26 Thread Jagan Teki
On Fri, Jul 26, 2013 at 11:33 AM, Michal Simek wrote: > If you don't wait you will loose the first sent packet > even all bits in emacps are correctly setup. > > Signed-off-by: Michal Simek > --- > Changes in v2: None > > arch/arm/cpu/armv7/zynq/slcr.c | 2 +- > 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH] mmc/dw_mmc: Fix DMA descriptor corruption

2013-07-26 Thread Mischa Jonker
In dwmci_prepare_data, the descriptors are allocated for DMA transfer. These are allocated using the ALLOC_CACHE_ALIGN_BUFFER. This macro uses the stack to allocate these descriptors. This becomes a problem if the DMA transfer continues after the processor leaves the function in which the descripto

[U-Boot] [PATCH v1 8/8] mpc85xx: introduce the kmp204x reference design support

2013-07-26 Thread Valentin Longchamp
This patch introduces the support for Keymile's kmp204x reference design. This design is based on Freescale's P2040/P2041 SoC. The peripherals used by this design are: - DDR3 RAM with SPD support - SPI NOR Flash as boot medium - NAND Flash - 2 PCIe busses (hosts 1 and 3) - 3 FMAN Ethernet devices

[U-Boot] [PATCH v1 5/8] fsl: do not define FSL_SRIO_PCIE_BOOT_MASTER for all P2041 systems

2013-07-26 Thread Valentin Longchamp
If this #define stays in config_mpc85xx.h, the P2041 based boards must define a lot of SRIO values even if they do not implement a SRIO device. The #define is moved into the P2041RDB board config file where it is used. Signed-off-by: Valentin Longchamp --- include/configs/P2041RDB.h | 1 + 1 fi

[U-Boot] [PATCH v1 6/8] net/fman: add a fm_enable_port function

2013-07-26 Thread Valentin Longchamp
This can be useful if we want to disable an interface in u-boot and later reenable them, so that it looks available when trying to fix the FDT or for the kernel. Signed-off-by: Valentin Longchamp --- drivers/net/fm/init.c | 7 +++ include/fm_eth.h | 1 + 2 files changed, 8 insertions(+)

[U-Boot] [PATCH v1 4/8] mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it

2013-07-26 Thread Valentin Longchamp
If the DDR3 module supports industrial temperature range and requires the x2 refresh rate for that temp range, the refresh period must be 3.9us instead of 7.8 us. Signed-off-by: Valentin Longchamp --- arch/powerpc/cpu/mpc8xxx/ddr/ddr3_dimm_params.c | 2 ++ 1 file changed, 2 insertions(+) diff -

[U-Boot] [PATCH v1 0/8] Support for the kmp204x reference design

2013-07-26 Thread Valentin Longchamp
This series includes all the needed patches to run u-boot on Keymile's kmp204x reference design. The kmp204x is a reference design based on Freescale's P2040/P2041 SoC. It is supposed to be a reference platform for future boards. There is currently only one board that is based on this design which

[U-Boot] [PATCH v1 2/8] km-powerpc: move CONFIG_FLASH_CFI_MTD to km83xx-common.h

2013-07-26 Thread Valentin Longchamp
This is because kmp204x.h does not have FLASH, so this must not be defined for all powerpc boards. Signed-off-by: Valentin Longchamp --- include/configs/km/km-powerpc.h| 1 - include/configs/km/km83xx-common.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/conf

[U-Boot] [PATCH v1 3/8] KM: fix typo in default environment

2013-07-26 Thread Valentin Longchamp
The ip kernel parameter had a typo in it (we've been lucky that it has worked until now). Signed-off-by: Valentin Longchamp --- include/configs/km/keymile-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymil

[U-Boot] [PATCH v1 7/8] mtd/fsl_elbc: take NAND_ECC_SOFT_BCH config option into accout

2013-07-26 Thread Valentin Longchamp
NAND_ECC_SOFT was the only option available while the SOFT_BCH option may also be used. Signed-off-by: Valentin Longchamp --- drivers/mtd/nand/fsl_elbc_nand.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nan

[U-Boot] [PATCH v1 1/8] km-powerpc: move SYS_MALLOC_LEN out of keymile-common.h

2013-07-26 Thread Valentin Longchamp
It can be set to a different value for kmp204x, because we are restricted to SRAM. Signed-off-by: Valentin Longchamp --- include/configs/km/keymile-common.h | 2 -- include/configs/km/km83xx-common.h | 2 ++ include/configs/km82xx.h| 1 + 3 files changed, 3 insertions(+), 2 deletion

[U-Boot] [PATCH 1/2] fsl_i2c: generate nine pulses on SCL if the I2C bus is hung

2013-07-26 Thread Chunhe Lan
When the code detected that the bus is hung (e.g. SDA stuck low), send 9 pulses on SCL to try to fixup the bus. Signed-off-by: Zhao Chenhui Signed-off-by: Chunhe Lan Cc: Scott Wood --- drivers/i2c/fsl_i2c.c | 58 +++- 1 files changed, 56 insertions

[U-Boot] [PATCH 2/2] fsl_i2c: add workaround for the erratum I2C A004447

2013-07-26 Thread Chunhe Lan
This workaround is for the erratum I2C A004447. Device reference manual provides a scheme that allows the I2C master controller to generate nine SCL pulses, which enable an I2C slave device that held SDA low to release SDA. However, due to this erratum, this scheme no longer works. In addition, whe

Re: [U-Boot] [PATCH] ARM: mxs: rename function that sets AUTO_RESTART flag

2013-07-26 Thread Marek Vasut
Dear Stefano Babic, > Hi Hector, > > On 24/07/2013 18:08, Hector Palacios wrote: > >> Why? The comment seems fully valid to me. > > > > The comment is confusing for a number of reasons: > > - It says for revision A of the EVK the flag must be enabled but the > > code is common for all platforms

Re: [U-Boot] [PATCH] ARM: mxs: rename function that sets AUTO_RESTART flag

2013-07-26 Thread Stefano Babic
Hi Hector, On 24/07/2013 18:08, Hector Palacios wrote: >> Why? The comment seems fully valid to me. > > The comment is confusing for a number of reasons: > - It says for revision A of the EVK the flag must be enabled but the > code is common for all platforms and there is no distinction about the

Re: [U-Boot] [RFC] Remove static display data

2013-07-26 Thread Stefano Babic
Hi Robert, Anatolji, On 26/07/2013 09:50, Anatolij Gustschin wrote: >> >> I realize that there's already the FDT and CONFIG_OF_CONTROL functionality >> and device trees sort of cover the passing to Linux part so maybe before >> handing it off, converting the relevant data into a device tree that

Re: [U-Boot] [RFC] Remove static display data

2013-07-26 Thread Anatolij Gustschin
Hello Robert, On Thu, 25 Jul 2013 11:21:10 -0700 Robert Winkler wrote: > Hello all, > > We're trying to figure out how best to get rid of static code like this: > > http://git.denx.de/?p=u-boot.git;a=blob;f=board/boundary/nitrogen6x/nitrogen6x.c;h=8f0f9b8de2e8e77fcbf477728ea063a213941dd0;hb=HE

[U-Boot] [PATCH] uboot optimize memmove

2013-07-26 Thread Andy Green
While studying the reason why kernel copy from NOR was so slow on our platform, I realized U-Boot is pulling it from 32-bit NOR in 8-bit chunks needlessly. bootm uses memmove() and that just takes the approach by default to move u8s around. This optimization prefers memcpy() implementation (done

Re: [U-Boot] [U-Boot, v3, 6/7] USB: usb-hub: Add a weak function for resetting devices

2013-07-26 Thread Lubomir Popov
Hi Dan, On 26/07/13 03:30, Dan Murphy wrote: > Lubo > > Thanks for the reply > > On 07/25/2013 03:38 PM, Lubomir Popov wrote: >> Hi Dan, guys, >> >> Just would like to give my 5 cents: my humble experience with >> OMAP4 and OMAP5 tells me that this (that is, the need to reset >> devices after ap

Re: [U-Boot] [PATCH 2/2] arm: goni: remove config.mk file

2013-07-26 Thread Lukasz Majewski
On Fri, 26 Jul 2013 10:45:09 +0900 Minkyu Kang mk7.k...@samsung.com wrote, Hi Minkyu, > Dear Lukasz, > > On 25/07/13 20:05, Lukasz Majewski wrote: > > On Thu, 25 Jul 2013 10:45:35 +0900 Minkyu Kang mk7.k...@samsung.com > > wrote, > > > > Hi Minkyu, > > > >> Since config.mk is deprecated, remov