Re: [U-Boot] [PATCH v3] NAND: environment offset in OOB (CONFIG_ENV_OFFSET_OOB)

2010-07-05 Thread Ben Gardiner
Dear Harald, On Thu, Jul 1, 2010 at 3:17 AM, Harald Welte wrote: > I think if you add a (C) statement to code that is based on my work, > I believei it is fair to add a (C) statement for OpenMoko Inc. for > whom I was working at that time.  After all, they hold the copyright > to the original OOB

Re: [U-Boot] [PATCH v3] NAND: environment offset in OOB (CONFIG_ENV_OFFSET_OOB)

2010-07-01 Thread Harald Welte
Dear Ben, thanks again for moving those patches forward. However, > diff --git a/common/cmd_nand.c b/common/cmd_nand.c > index f611fd7..5af5b9e 100644 > --- a/common/cmd_nand.c > +++ b/common/cmd_nand.c > @@ -6,6 +6,8 @@ > * > * Added 16-bit nand support > * (C) 2004 Texas Instruments > +

Re: [U-Boot] [PATCH v3] NAND: environment offset in OOB (CONFIG_ENV_OFFSET_OOB)

2010-06-30 Thread Ben Gardiner
On Wed, Jun 30, 2010 at 11:37 PM, Vipin KUMAR wrote: > Hello Ben, > > This is a nice idea. I see that the logic needs 8bytes at offset 0 in block 0 > oob area. This means that it would also overwrite the offset 5 (which is the > bad block marker in case of small page devices) and offset 0 (bad blo

Re: [U-Boot] [PATCH v3] NAND: environment offset in OOB (CONFIG_ENV_OFFSET_OOB)

2010-06-30 Thread Ben Gardiner
On Wed, Jun 30, 2010 at 5:41 PM, Wolfgang Denk wrote: > Dear Ben Gardiner, > > In message <1277933528-8335-1-git-send-email-bengardi...@nanometrics.ca> you > wrote: >> This is a re-submission of the patch by Harald Welte >> with minor modifications for rebase and changes >> as suggested by Scott

Re: [U-Boot] [PATCH v3] NAND: environment offset in OOB (CONFIG_ENV_OFFSET_OOB)

2010-06-30 Thread Vipin KUMAR
On 7/1/2010 3:02 AM, Ben Gardiner wrote: > This is a re-submission of the patch by Harald Welte > with minor modifications for rebase and changes > as suggested by Scott Wood [1] [2]. > > This patch enables the environment partition to have a run-time dynamic > location (offset) in the NAND fla

Re: [U-Boot] [PATCH v3] NAND: environment offset in OOB (CONFIG_ENV_OFFSET_OOB)

2010-06-30 Thread Wolfgang Denk
Dear Ben Gardiner, In message <1277933528-8335-1-git-send-email-bengardi...@nanometrics.ca> you wrote: > This is a re-submission of the patch by Harald Welte > with minor modifications for rebase and changes > as suggested by Scott Wood [1] [2]. > > This patch enables the environment partition

[U-Boot] [PATCH v3] NAND: environment offset in OOB (CONFIG_ENV_OFFSET_OOB)

2010-06-30 Thread Ben Gardiner
This is a re-submission of the patch by Harald Welte with minor modifications for rebase and changes as suggested by Scott Wood [1] [2]. This patch enables the environment partition to have a run-time dynamic location (offset) in the NAND flash. The reason for this is simply that all NAND fla