[U-Boot] [PATCH] drivers:video:s6e8ax0: change data_to_send array to static

2013-05-24 Thread Piotr Wilczek
This patch change 'data_to_send' array to static to avoid unaligned access exeption on some platforms (ex Trats2). Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang CC: Anatolij Gustschin --- drivers/video/s6e8ax0.c | 26 +- 1 file changed, 13

[U-Boot] [PATCH] drivers:lcd: fix unaligned access on lcd

2013-05-24 Thread Piotr Wilczek
This patch replace 'le32_to_cpu' function with 'get_unaligend_le32' to avoid unaligned access exception on some ARM platforms (ex Trats2). Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang CC: Anatolij Gustschin --- common/lcd.c | 12 +++- 1 file changed, 7 i

Re: [U-Boot] [PATCH] MMC: DWMMC: Fix FIFO_DEPTH calculation

2013-05-24 Thread Jagan Teki
On Fri, May 24, 2013 at 12:16 PM, Jaehoon Chung wrote: > Hi Jagan, > > On 05/24/2013 03:15 PM, Rajeshwari Birje wrote: >> Hi Jagan, >> >> Please find my comments below. >> On Fri, May 24, 2013 at 10:31 AM, Jagan Teki >> wrote: >>> On Fri, May 24, 2013 at 7:12 AM, Jaehoon Chung >>> wrote:

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

2013-05-24 Thread Piotr Wilczek
This patchset add support for a new Samsung board Trats2. Multi I2C file is update to support more buses. Battery support is added for Trats2. This patchset depends on: http://patchwork.ozlabs.org/patch/246101/ http://patchwork.ozlabs.org/patch/246100/ http://patchwork.ozlabs.org/patch/245311/ htt

[U-Boot] [PATCH V3 1/3] power:battery: add battery support for Trats2 board

2013-05-24 Thread Piotr Wilczek
Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park --- Changes in v3: none Changes in v2: none --- drivers/power/battery/Makefile |1 + drivers/power/battery/bat_trats2.c | 81 2 files changed, 82 insertions(+) create mode 100644 drivers/pow

[U-Boot] [PATCH V3 2/3] i2c:multi_i2c: add new macros I2C_7 and I2C_8

2013-05-24 Thread Piotr Wilczek
This patch add new macros CONFIG_SOFT_I2C_I2C7_SCL/SDA and CONFIG_SOFT_I2C_I2C8_SCL/SDA Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Lukasz Majewski --- Changes in v3: none Changes in v2: none --- board/samsung/common/multi_i2c.c | 33 + 1 fi

[U-Boot] [PATCH V3 3/3] samsung: trats2: add support for new board Trats2

2013-05-24 Thread Piotr Wilczek
This patch add support for a new Samsung board Trats2. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v3: - add Maintainer entry - changed T-flash detect pin to GPX3[3] - removed MMC_ASYNC - use only software i2c Changes in v2: - removed lcd callback

[U-Boot] [PATCH V2] MMC: DWMMC: Fix FIFO_DEPTH calculation

2013-05-24 Thread Rajeshwari Shinde
Current DWMMC driver used to give FIFO underrun/overrun error every 3rd time for mmc rescan command. In current code FIFO_DEPTH is getting calculated after reading the default FIFOTH register and extracting the RX_WMARK bits from it i.e (RX_WMARK = FIFO_DEPTH/2 -1). Instead of storing the correct

[U-Boot] [PATCH 0/2 V3] SPI: Enable SPI_PREAMBLE Mode

2013-05-24 Thread Rajeshwari Shinde
This patch set enables PREAMBLE Mode for EXYNOS SPI. Changes in v2: - Remove preamable_count variable which is not really needed - Fix checkpatch warning (multiple assignments) Changes in V3: - Modified the if logic in spi_rx_tx function - Added blank lines as sugge

[U-Boot] [PATCH 1/2 V3] SPI: Add support for preamble bytes

2013-05-24 Thread Rajeshwari Shinde
A SPI slave may take time to react to a request. For SPI flash devices this time is defined as one bit time, or a whole byte for 'fast read' mode. If the SPI slave is another CPU, then the time it takes to react may vary. It is convenient to allow the slave device to tag the start of the actual re

[U-Boot] [PATCH 2/2 V3] EXYNOS: SPI: Support SPI_PREAMBLE mode

2013-05-24 Thread Rajeshwari Shinde
Support interfaces with a preamble before each received message. We handle this when the client has requested a SPI_XFER_END, meaning that we must close of the transaction. In this case we read until we see the preamble (or a timeout occurs), skipping all data before and including the preamble. Th

Re: [U-Boot] [PATCH 4/7] ahci: move link bring-up handling to separate function

2013-05-24 Thread Tom Rini
On Tue, May 21, 2013 at 05:44:33PM -0500, Rob Herring wrote: > From: Rob Herring > > Move the link bring-up handling to a separate weak function in order to > allow platforms to override it. This is needed on highbank platform which > needs special phy handling. > > Signed-off-by: Rob Herring

Re: [U-Boot] [PATCH 1/7] ahci: use ports implemented map instead of num_ports

2013-05-24 Thread Tom Rini
On Tue, May 21, 2013 at 05:44:30PM -0500, Rob Herring wrote: > From: Richard Gibbs > > The AHCI driver was incorrectly using the Capabilities register NP (number > of ports) field to determine which ports to activate. This commit changes > it to correctly use the PORTS_IMPL register as a port ma

Re: [U-Boot] [PATCH 2/7] ahci: fix unaligned access

2013-05-24 Thread Tom Rini
On Tue, May 21, 2013 at 05:44:31PM -0500, Rob Herring wrote: > From: Rob Herring > > gcc 4.7 will generate unaligned accesses to local char arrays, so make > them static to avoid that. > > Signed-off-by: Rob Herring Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signatur

Re: [U-Boot] [PATCH 3/7] ahci: fix memory leak in ata_scsiop_inquiry

2013-05-24 Thread Tom Rini
On Tue, May 21, 2013 at 05:44:32PM -0500, Rob Herring wrote: > From: Rob Herring > > This fixes a memory leak when scsi inquiry fails. > > Signed-off-by: Rob Herring Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

[U-Boot] [PATCH 0/2 V4] SPI: Enable SPI_PREAMBLE Mode

2013-05-24 Thread Rajeshwari Shinde
This patch set enables PREAMBLE Mode for EXYNOS SPI. Changes in v2: - Remove preamable_count variable which is not really needed - Fix checkpatch warning (multiple assignments) Changes in V3: - Modified the if logic in spi_rx_tx function - Added blank lines as sugge

[U-Boot] [PATCH 1/2 V4] SPI: Add support for preamble bytes

2013-05-24 Thread Rajeshwari Shinde
A SPI slave may take time to react to a request. For SPI flash devices this time is defined as one bit time, or a whole byte for 'fast read' mode. If the SPI slave is another CPU, then the time it takes to react may vary. It is convenient to allow the slave device to tag the start of the actual re

[U-Boot] [PATCH 2/2 V4] EXYNOS: SPI: Support SPI_PREAMBLE mode

2013-05-24 Thread Rajeshwari Shinde
Support interfaces with a preamble before each received message. We handle this when the client has requested a SPI_XFER_END, meaning that we must close of the transaction. In this case we read until we see the preamble (or a timeout occurs), skipping all data before and including the preamble. Th

Re: [U-Boot] [PATCH 5/7] ahci: handle COMINIT received during spin-up

2013-05-24 Thread Tom Rini
On Tue, May 21, 2013 at 05:44:34PM -0500, Rob Herring wrote: > From: Rob Herring > > Some Intel SSDs can send a COMINIT after the initial COMRESET. This causes > the link to go down and we need to re-initialize the link. > > Signed-off-by: Rob Herring [snip] > + tmp = readl

Re: [U-Boot] [PATCH 6/7] ahci: increase spin-up timeout to 20 sec

2013-05-24 Thread Tom Rini
On Tue, May 21, 2013 at 05:44:35PM -0500, Rob Herring wrote: > From: Rob Herring > > Based on Linux libata code, most drives are less than 10 sec, but some > need up to 20 sec. > > Signed-off-by: Rob Herring Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 7/7] ahci: convert to use libata functions and definitions

2013-05-24 Thread Tom Rini
On Tue, May 21, 2013 at 05:44:36PM -0500, Rob Herring wrote: > From: Rob Herring > > libata already has similar functions as implemented in the ahci code. > Refactor the code to use the libata variants and remove the dependency on > ata.h. Convert some defines to use the version from libata.h. A

Re: [U-Boot] [PATCH] ext4: assign get_fs()->dev_desc before using it

2013-05-24 Thread Tom Rini
On Thu, May 23, 2013 at 02:22:10PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Commit 50ce4c0 "fs/ext4: Support device block sizes != 512 bytes" > modified ext4fs_set_blk_dev() to calculate total_sect based on > get_fs()->dev_desc->log2blksz rather than SECTOR_SIZE. However, this > v

Re: [U-Boot] [PATCH 0/2 V4] SPI: Enable SPI_PREAMBLE Mode

2013-05-24 Thread Jagan Teki
On Fri, May 24, 2013 at 7:24 PM, Rajeshwari Shinde wrote: > This patch set enables PREAMBLE Mode for EXYNOS SPI. > > Changes in v2: > - Remove preamable_count variable which is not really needed > - Fix checkpatch warning (multiple assignments) > Changes in V3: > - Modified

Re: [U-Boot] [PATCH] cmd_mem: fix cp command

2013-05-24 Thread Tom Rini
On Tue, May 21, 2013 at 04:08:08PM +0900, Masahiro Yamada wrote: > The "cp" command has not worked since > commit 0628ab8ec59834f98ede267edd21ddb8ba0bb57b, > because of the following lines, which set the destination > and the source to the same address. > > buf = map_sysmem(addr, bytes); >

Re: [U-Boot] [PATCH V3 1/4] README: document CONFIG_ENV_IS_IN_MMC

2013-05-24 Thread Tom Rini
On Thu, May 23, 2013 at 02:51:44PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Describe the meaning of CONFIG_ENV_IS_IN_MMC, and all related defines that > must or can be set when using that option. > > Signed-off-by: Stephen Warren Acked-by: Tom Rini -- Tom signature.asc Des

Re: [U-Boot] [PATCH V3 1/4] README: document CONFIG_ENV_IS_IN_MMC

2013-05-24 Thread Stephen Warren
On 05/24/2013 09:24 AM, Tom Rini wrote: > On Thu, May 23, 2013 at 02:51:44PM -0600, Stephen Warren wrote: > >> From: Stephen Warren >> >> Describe the meaning of CONFIG_ENV_IS_IN_MMC, and all related >> defines that must or can be set when using that option. >> >> Signed-off-by: Stephen Warren

Re: [U-Boot] [PATCH V3 1/4] README: document CONFIG_ENV_IS_IN_MMC

2013-05-24 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/24/2013 11:47 AM, Stephen Warren wrote: > On 05/24/2013 09:24 AM, Tom Rini wrote: >> On Thu, May 23, 2013 at 02:51:44PM -0600, Stephen Warren wrote: >> >>> From: Stephen Warren >>> >>> Describe the meaning of CONFIG_ENV_IS_IN_MMC, and all rela

Re: [U-Boot] [PATCH] da830: add MMC support

2013-05-24 Thread Tom Rini
On Fri, May 24, 2013 at 08:16:14AM +0530, Vishwanathrao Badarkhe, Manish wrote: > Add MMC support for da830 boards in order to perform > mmc operations(read,write and erase). > > Signed-off-by: Vishwanathrao Badarkhe, Manish Has anything changed between patch postings? Thanks. -- Tom signa

Re: [U-Boot] [PATCH V3 1/4] README: document CONFIG_ENV_IS_IN_MMC

2013-05-24 Thread Tom Warren
Having to synchronize between repos is messy & error-prone. Andy can take 'em all in to the MMC tree. Patch 4/4: Acked-by: Tom Warren > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Friday, May 24, 2013 8:48 AM > To: Tom Rini; Tom Warren > Cc: u-boot@l

Re: [U-Boot] [PATCH 4/6] Makefile: move the common makefile line to public area

2013-05-24 Thread Tom Rini
On Mon, May 20, 2013 at 02:07:26PM +0800, ying.zh...@freescale.com wrote: > From: Ying Zhang > > Move the common makefile line shared by the SPL and non-SPL to the public > area, > so that we can avoid excessive SPL symbols. Some of them will be used by the > SPL later. > > This patch is on to

Re: [U-Boot] [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-24 Thread Tom Rini
On Tue, May 21, 2013 at 02:42:02PM -0500, Scott Wood wrote: > Please change the title and the rest of the changelog to describe > what functionality you're adding and why. > > On 05/20/2013 01:07:27 AM, ying.zh...@freescale.com wrote: > >diff --git a/common/env_common.c b/common/env_common.c > >i

Re: [U-Boot] [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-24 Thread Tom Rini
On Mon, May 20, 2013 at 02:07:27PM +0800, ying.zh...@freescale.com wrote: > From: Ying Zhang > > There was some functionality will be used in the SPL. They > had been excluded by ifndef CONFIG_SPL_BUILD. Now, put it > into the SPL. > > Signed-off-by: Ying Zhang > --- > arch/powerpc/cpu/mpc85x

[U-Boot] [PATCH v2] OMAP4/5: I2C: New read, write and probe functions

2013-05-24 Thread Lubomir Popov
Tested and built for OMAP4/5 only, but should work on older OMAPs and derivatives as well. - Rewritten i2c_read to operate correctly with all types of chips (old function could not read consistent data from some I2C slaves). - Optimised i2c_write. - New i2c_probe, optionally selectable via CONFI

[U-Boot] dfu: dfu and UBI Volumes

2013-05-24 Thread Heiko Schocher
Hello, just digging in DFU support in U-Boot for an upcoming board support based on an AM335x. This board support uses for example a rootfs in an UBI Volume on a NAND flash, and this should be updated with dfu ... How To do this? Current state on this board is to erase the rootfs mtd partition wi

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-24 Thread Pantelis Antoniou
Hi Heiko, On May 24, 2013, at 7:39 PM, Heiko Schocher wrote: > Hello, > > just digging in DFU support in U-Boot for an upcoming board support > based on an AM335x. This board support uses for example a rootfs in > an UBI Volume on a NAND flash, and this should be updated with dfu ... > > How To

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-24 Thread Tom Rini
On Fri, May 24, 2013 at 07:42:01PM +0300, Pantelis Antoniou wrote: > Hi Heiko, > > On May 24, 2013, at 7:39 PM, Heiko Schocher wrote: > > > Hello, > > > > just digging in DFU support in U-Boot for an upcoming board support > > based on an AM335x. This board support uses for example a rootfs in >

Re: [U-Boot] [PATCH] drivers:lcd: fix unaligned access on lcd

2013-05-24 Thread Wolfgang Denk
Dear Piotr Wilczek, In message <1369381565-13946-1-git-send-email-p.wilc...@samsung.com> you wrote: > This patch replace 'le32_to_cpu' function with 'get_unaligend_le32' to > avoid unaligned access exception on some ARM platforms (ex Trats2). I think we've been discussng this before, and then dec

Re: [U-Boot] [PATCH 2/7] ahci: fix unaligned access

2013-05-24 Thread Wolfgang Denk
Dear Rob Herring, In message <1369176276-1895-2-git-send-email-robherri...@gmail.com> you wrote: > > gcc 4.7 will generate unaligned accesses to local char arrays, so make > them static to avoid that. > > Signed-off-by: Rob Herring > --- > drivers/block/ahci.c | 2 +- > 1 file changed, 1 inser

Re: [U-Boot] [PATCH] drivers:lcd: fix unaligned access on lcd

2013-05-24 Thread Jeroen Hofstee
Hello Piotr, On 05/24/2013 09:46 AM, Piotr Wilczek wrote: This patch replace 'le32_to_cpu' function with 'get_unaligend_le32' to avoid unaligned access exception on some ARM platforms (ex Trats2). Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang CC: Anatolij Gustschi

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-24 Thread Wolfgang Denk
Dear Pantelis Antoniou, In message <6ad958cb-3cfc-4362-b72d-511147d04...@antoniou-consulting.com> you wrote: > > > How To do this? Current state on this board is to erase the rootfs > > mtd partition with a nand erase and write the new image using > > dfu_nand.c ... which calls in the end nand_w

Re: [U-Boot] [PATCH v3 06/10] MIPS: qemu-malta: add PCI support

2013-05-24 Thread Gabor Juhos
2013.05.23. 17:49 keltezéssel, Tom Rini írta: <...> >>> The pci_indirect.c file is always compiled when CONFIG_PCI is defined >>> although it is not needed at all for Malta PCI support. >>> >>> The issue can be resolved on a few different ways: >>> >>> 1. Extend the '#if !defined(__I386__)' dir

Re: [U-Boot] [PATCH v2] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-24 Thread Scott Wood
On 05/17/2013 07:34:25 AM, Tom Rini wrote: On Fri, May 17, 2013 at 05:12:19PM +0800, ying.zh...@freescale.com wrote: > From: Ying Zhang > > There was some functionality will be used in the SPL. They > had been excluded by ifndef CONFIG_SPL_BUILD. Now, put it > into the SPL. > > Signed-off-by:

Re: [U-Boot] [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-24 Thread Scott Wood
On 05/24/2013 11:11:01 AM, Tom Rini wrote: On Mon, May 20, 2013 at 02:07:27PM +0800, ying.zh...@freescale.com wrote: > From: Ying Zhang > > There was some functionality will be used in the SPL. They > had been excluded by ifndef CONFIG_SPL_BUILD. Now, put it > into the SPL. > > Signed-off-by:

Re: [U-Boot] [PATCH v2] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-24 Thread Tom Rini
On Fri, May 24, 2013 at 02:06:01PM -0500, Scott Wood wrote: > On 05/17/2013 07:34:25 AM, Tom Rini wrote: > >On Fri, May 17, 2013 at 05:12:19PM +0800, ying.zh...@freescale.com > >wrote: > > > >> From: Ying Zhang > >> > >> There was some functionality will be used in the SPL. They > >> had been excl

Re: [U-Boot] [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-24 Thread Tom Rini
On Fri, May 24, 2013 at 02:08:07PM -0500, Scott Wood wrote: > On 05/24/2013 11:11:01 AM, Tom Rini wrote: > >On Mon, May 20, 2013 at 02:07:27PM +0800, ying.zh...@freescale.com > >wrote: > > > >> From: Ying Zhang > >> > >> There was some functionality will be used in the SPL. They > >> had been excl

Re: [U-Boot] powerpc/mpc8xxx failed to compile: operand out of range

2013-05-24 Thread Scott Wood
On 05/23/2013 04:52:26 AM, Jérôme Arzel wrote: Hi all, I have an issue when I compile U-Boot for my target machine (P1022DS, 36-bit). Here is the error message: release.S: Assembler messages: release.S:154: Error: operand out of range (0xf144 is not between 0x and 0x) r

Re: [U-Boot] [HELP]: sf: winbond: add W25Q32

2013-05-24 Thread Jagan Teki
Hi, Any update on this, is this a different part w.r.t what I refer for? Thanks, Jagan. On Thu, May 23, 2013 at 2:22 PM, Jagan Teki wrote: > Hi Rajeshwari, > > + { > + .id = 0x5014, > > is this id code is correct? it seems like 0x4014 > > +

Re: [U-Boot] [PATCH v2 07/13] sf: winbond: add W25Q32DW

2013-05-24 Thread Jagan Teki
Hi, Any update on this. Thanks, Jagan. On Thu, May 23, 2013 at 1:15 PM, Jagan Teki wrote: > Hi Allen, > > On Sun, Mar 17, 2013 at 10:28 AM, Allen Martin wrote: >> Add support for Winbond W25Q32DW 32Mbit part >> >> Signed-off-by: Allen Martin >> --- >> drivers/mtd/spi/winbond.c |5 + >

[U-Boot] [PATCH] usb: ehci: add missing cache managment

2013-05-24 Thread Stephen Warren
From: Stephen Warren Commit 8f62ca6 "usb: ehci: Support interrupt transfers via periodic list" didn't include any cache management in the new interrupt transfer path. It also added an extra write to or_asynclistaddr in usb_lowlevel_init(), without having flushed out the data there. Add the missi

Re: [U-Boot] [PATCH] usb: ehci: add missing cache managment

2013-05-24 Thread Marek Vasut
Dear Stephen Warren, > From: Stephen Warren > > Commit 8f62ca6 "usb: ehci: Support interrupt transfers via periodic list" > didn't include any cache management in the new interrupt transfer path. > It also added an extra write to or_asynclistaddr in usb_lowlevel_init(), > without having flushed

[U-Boot] Please pull u-boot-mpc85xx.git

2013-05-24 Thread Andy Fleming
The following changes since commit 53237afe5b64abe7b17fbfed958f3dc83f503ffa: cmd_mem: fix cp command (2013-05-24 10:38:08 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-mpc85xx.git master for you to fetch changes up to a71d45d706a5b51c348160163b6c159632273fed: