Re: [U-Boot] [PATCH 05/55] dm: i2c: Add a function to transfer messages

2015-07-02 Thread Heiko Schocher denx
Hello Simon, Am 03.07.2015 um 02:15 schrieb Simon Glass: Sometimes it is useful to be able to transfer a raw I2C message. This happens when the chip address needs to be set manually, or when the data to be sent/received is in another buffer. Add a function to provide access to this. Signed-off

Re: [U-Boot] [PATCH 04/55] dm: i2c: Move definitions to the top of the header file

2015-07-02 Thread Heiko Schocher denx
Hello Simon, Am 03.07.2015 um 02:15 schrieb Simon Glass: Move the flags and struct definitions higher in the file so that we can reference them with functions declared in the driver model section. Signed-off-by: Simon Glass --- include/i2c.h | 86 +---

Re: [U-Boot] [PATCH 03/55] dm: i2c: Correct comment nits in dm_i2c_reg_read/write()

2015-07-02 Thread Heiko Schocher denx
Hello Simon, Am 03.07.2015 um 02:15 schrieb Simon Glass: Add documentation for the @dev parameter. Signed-off-by: Simon Glass --- include/i2c.h | 2 ++ 1 file changed, 2 insertions(+) Acked-by: Heiko Schocher bye, Heiko diff --git a/include/i2c.h b/include/i2c.h index a5498a3..e1ad8d

Re: [U-Boot] [PATCH 02/55] dm: i2c: Add a message debug function

2015-07-02 Thread Heiko Schocher denx
Hello Simon, Am 03.07.2015 um 02:15 schrieb Simon Glass: Add a way to dump the contents of an I2C message for debugging purposes. Signed-off-by: Simon Glass --- drivers/i2c/i2c-uclass.c | 16 include/i2c.h| 10 ++ 2 files changed, 26 insertions(+) Ac

Re: [U-Boot] [PATCH v2] siemens,am33x: adjust mtd partition

2015-07-01 Thread Heiko Schocher denx
Hello Samuel, Am 01.07.2015 um 17:57 schrieb Samuel Egli: Use one mtd partition for rootfs and configuration by means of ubi volumes and get rid of configuration partition. We can use partition layout for both 256MB and 512MB flash. Signed-off-by: Samuel Egli Cc: Heiko Schocher Cc: Roger Meie

Re: [U-Boot] [PATCH] siemens,am33x: adjust mtd partition

2015-07-01 Thread Heiko Schocher denx
Hallo Samuel, Am 01.07.2015 um 11:04 schrieb Samuel Egli: Use one mtd partition for rootfs and configuration by means of ubi volumes and get rid of configuration partition. We can use partition layout for both 256MB and 512MB flash. Signed-off-by: Samuel Egli Cc: Heiko Schocher Cc: Roger Meie

Re: [U-Boot] [PATCH 8/8] JFFS2: Use merge sort when parsing filesystem

2015-06-30 Thread Heiko Schocher denx
Hello Mark, Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: When building the file system the existing code does an insertion into a linked list. It attempts to speed this up by keeping a pointer to where the last entry was inserted but it's still slow. Now the nodes are just inserted into the l

Re: [U-Boot] [PATCH 7/8] JFFS2: Use CLEANMARKER to reduce scanning time

2015-06-30 Thread Heiko Schocher denx
Hello Mark, Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: If a sector has a CLEANMARKER at the beginning, it indicates that the entire sector has been erased. Therefore, if this is found, we can skip the entire block. This was not being done before this patch. The code now does the same as the

Re: [U-Boot] [PATCH 4/8] JFFS2: Improve speed reading flash files

2015-06-30 Thread Heiko Schocher denx
Hello Mark, Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: jffs2_1pass_read_inode() would read the entire data for each node in the filesystem, regardless of whether it was part of the file to be loaded or not. By only reading the header data for an inode, and then reading the data only when it

Re: [U-Boot] [PATCH 3/8] JFFS2: Only list each directory entry once

2015-06-30 Thread Heiko Schocher denx
Hello Mark, Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: If multiple versions of a file exist, only the most recent version should be used. The scheme to write 0 for the inode in older versions did not work, since this would have required writing to flash. The only time this caused an issue w

Re: [U-Boot] [PATCH 2/8] JFFS2: Speed up and fix comparison functions

2015-06-30 Thread Heiko Schocher denx
Hello Mark, Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: Copying complete nodes from flash can be slow if the flash is slow to read. By only reading the data needed, the sorting operation can be made much faster. The directory entry comparison function also had a two bugs. First, it did not e

Re: [U-Boot] [PATCH 1/8] JFFS2: Return early when file read not necessary

2015-06-30 Thread Heiko Schocher denx
Hello Mark, Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: If a destination is not provided, jffs2_1pass_read_inode() only returns the length of the file. In this case, avoid reading all the data nodes, and return as soon as the length of the file is known. Signed-off-by: Mark Tomlinson ---

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

2015-06-24 Thread Heiko Schocher denx
Hello Tom, Am 25.06.2015 um 01:31 schrieb Tom Rini: On Tue, Jun 23, 2015 at 08:47:25PM +0530, Jagan Teki wrote: Hi Tom, Please pull this request, few importent feature list on spi-flash front like data flash and spi flash MTD supports. thanks! Jagan. The following changes since commit c6265

Re: [U-Boot] [PATCH v7 0/4] sf: Add MTD layer support

2015-06-22 Thread Heiko Schocher denx
Hello Jagan, Am 22.06.2015 um 22:00 schrieb Jagan Teki: Just resend the whole series with below changes, Changes for v7: - Add more notes on commit message - Update the info for CONFIG_SPI_FLASH_MTD in README - Remove ^ character in sf erase line sf help text - Up

Re: [U-Boot] [PATCH] arm, am33xx: update for siemens am335x based boards

2015-06-16 Thread Heiko Schocher denx
Hello Samuel, Am 16.06.2015 um 14:08 schrieb Egli, Samuel: Hi Heiko, I noticed a little discrepancy concerning delay for DDR3. During last rebase to v2015.04 I observed that delay needs to be increased to boot successfully. Somehow some timing behavior changed since v2014.04. I set it to udela

Re: [U-Boot] [PATCH v6 1/4] mtd, spi: add MTD layer driver

2015-06-16 Thread Heiko Schocher denx
Hello Jagan, Am 16.06.2015 um 10:52 schrieb Jagan Teki: Hi Heiko, On 16 June 2015 at 14:13, Heiko Schocher denx wrote: Hello Jagan, Am 16.06.2015 um 10:04 schrieb Jagan Teki: Hi Heiko, On 20 May 2015 at 12:16, Heiko Schocher wrote: Hello Jagan, Am 19.05.2015 22:09, schrieb Jagan

Re: [U-Boot] [PATCH v6 1/4] mtd, spi: add MTD layer driver

2015-06-16 Thread Heiko Schocher denx
Hello Jagan, Am 16.06.2015 um 10:04 schrieb Jagan Teki: Hi Heiko, On 20 May 2015 at 12:16, Heiko Schocher wrote: Hello Jagan, Am 19.05.2015 22:09, schrieb Jagan Teki: Hi Heiko, I have tested this sf-mtd stuff, please see below and enabled prints in all the func calls. Thanks for testin