Re: [U-Boot] [PATCH 3/3] [OneNAND] Flex-OneNAND boundary settings

2009-11-19 Thread Amul Kumar Saha
next post onwards. And what was changed between versions of this patch? You are supposed to put a change log below the --- line that explains which changes were made to the previous version of the patch. Accepted. Should I send the patch again with version updated? Regards, Amul Kumar

Re: [U-Boot] [PATCH 3/3] [OneNAND] Flex-OneNAND boundary settings

2009-11-10 Thread Amul Kumar Saha
Hi Scott, On Fri, Nov 06, 2009 at 05:17:44PM +0530, Amul Kumar Saha wrote: - printk(Bad blocks %d at 0x%x\n, -(u32)(ofs this-erase_shift), (u32)ofs); + printk(Bad blocks %lu at 0x%x\n, +(u32)onenand_block(this, ofs), (u32)ofs); cmd_onenand.c: In function

Re: [U-Boot] [PATCH 3/3] [OneNAND] Flex-OneNAND boundary settings

2009-11-10 Thread Amul Kumar Saha
Add command for changing Flex-OneNAND SLC / MLC boundary. Also onenand commands work for Flex-OneNAND. Signed-off-by: Rohit Hagargundgi h.ro...@samsung.com Signed-off-by: Amul Kumar Saha amul.s...@samsung.com --- common/cmd_onenand.c | 106

Re: [U-Boot] [PATCH 2/3] [OneNAND] ENV Variable support for Flex-OneNAND

2009-11-03 Thread Amul Kumar Saha
Define and use CONFIG_ENV_ADDR_FLEX and CONFIG_ENV_SIZE_FLEX for storing environment variables. Signed-off-by: Rohit Hagargundgi h.ro...@samsung.com Signed-off-by: Amul Kumar Saha amul.s...@samsung.com --- common/env_onenand.c | 10 ++ include/configs/apollon.h |2 ++ 2 files

Re: [U-Boot] [PATCH 3/3] [OneNAND] Flex-OneNAND boundary settings

2009-11-03 Thread Amul Kumar Saha
Add command for changing Flex-OneNAND SLC / MLC boundary. Also onenand commands work for Flex-OneNAND. Signed-off-by: Rohit Hagargundgi h.ro...@samsung.com Signed-off-by: Amul Kumar Saha amul.s...@samsung.com --- common/cmd_onenand.c | 90

Re: [U-Boot] [PATCH 0/3] [OneNAND] Flex-OneNAND driver support

2009-11-03 Thread Amul Kumar Saha
Hi Scott, You seem to have stripped a copyright notice that was added in the Linux version of patch 1/3. Updated in the current patch. Regards, Amul Kumar Saha ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u

Re: [U-Boot] [PATCH 1/3] [OneNAND] Flex-OneNAND driver support

2009-11-03 Thread Amul Kumar Saha
-boot doesn't need, or something else? Yes, there are certain functionalities that OneNAND doesn't need in U-Boot. Sending the updated patches. Regards, Amul Kumar Saha ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo

[U-Boot] [PATCH 0/3] [OneNAND] Flex-OneNAND driver support

2009-09-24 Thread Amul Kumar Saha
. Patch 3/3: Flex-OneNAND SLC / MLC boundary setting. Regards, Amul Kumar Saha ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 3/3] [OneNAND] Flex-OneNAND boundary settings

2009-09-24 Thread Amul Kumar Saha
Add command for changing Flex-OneNAND SLC / MLC boundary. Also onenand commands work for Flex-OneNAND. Signed-off-by: Rohit Hagargundgi h.ro...@samsung.com Signed-off-by: Amul Kumar Saha amul.s...@samsung.com --- common/cmd_onenand.c | 90

[U-Boot] [PATCH 1/3] [OneNAND] Flex-OneNAND driver support

2009-09-24 Thread Amul Kumar Saha
This patch adds support for Flex-OneNAND devices. Signed-off-by: Rohit Hagargundgi h.ro...@samsung.com Signed-off-by: Amul Kumar Saha amul.s...@samsung.com --- drivers/mtd/onenand/onenand_base.c | 733 +++- drivers/mtd/onenand/onenand_bbt.c | 14 drivers/mtd

[U-Boot] [PATCH 2/3] [OneNAND] ENV Variable support for Flex-OneNAND

2009-09-24 Thread Amul Kumar Saha
Define and use CONFIG_ENV_ADDR_FLEX and CONFIG_ENV_SIZE_FLEX for storing environment variables. Signed-off-by: Rohit Hagargundgi h.ro...@samsung.com Signed-off-by: Amul Kumar Saha amul.s...@samsung.com --- common/env_onenand.c | 10 ++ include/configs/apollon.h |2 ++ 2 files

Re: [U-Boot] [PATCH v2 4/4] Flex-OneNAND boundary setting command

2009-03-26 Thread Amul Kumar Saha
Hi Scott, I believe that typecasting a UL to an int, is OK. Do let me know. The compiler will implicitly cast unsigned long to int. The explicit cast is unnecessary clutter which makes it harder to find casts that aren't OK. Accepted and changed. Thank You Amul.

Re: [U-Boot] [PATCH v2 4/4] Flex-OneNAND boundary setting command

2009-03-25 Thread Amul Kumar Saha
Hi Scott, + int blocks = (int) onenand_block(this, from + len) +- onenand_block(this, from); Why the (int) cast? onenand_block() already returns int. Resolved - if (end_block (mtd-size this-erase_shift)) - end_block = mtd-size this-erase_shift; + if (end_block

Re: [U-Boot] [PATCH v2 1/4] Flex-OneNAND driver

2009-03-18 Thread Amul Kumar Saha
a hard time following it. Documented the above section in function header. This patch adds support for MLC OneNAND and Flex-OneNAND devices. Thank You, Amul Kumar Saha Signed-off-by: Rohit Hagargundgi h.rohit at samsung.com Signed-off-by: Amul Kumar Saha amul.saha at samsung.com