From: Tom Rix <tom@bumblecow.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] TI DaVinci DVEVM: Add Config option for 64 bit Support
Date: Sun, 11 Oct 2009 13:01:14 -0500 [thread overview]
Message-ID: <4AD21D6A.3030807@bumblecow.com> (raw)
In-Reply-To: <0554BEF07D437848AF01B9C9B5F0BC5D93268905@dlee01.ent.ti.com>
Paulraj, Sandeep wrote:
>
>> -----Original Message-----
>> From: Tom Rix [mailto:tom at bumblecow.com]
>> Sent: Sunday, October 11, 2009 1:26 PM
>> To: Paulraj, Sandeep; u-boot at lists.denx.de
>> Subject: Re: [PATCH] TI DaVinci DVEVM: Add Config option for 64 bit
>> Support
>>
>> s-paulraj at ti.com wrote:
>>> From: Sandeep Paulraj <s-paulraj@ti.com>
>>>
>>> Adding the CONFIG_SYS_64BIT_VSPRINTF in the DVEVM config.
>>>
>>> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
>>> ---
>>> include/configs/davinci_dvevm.h | 1 +
>>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/include/configs/davinci_dvevm.h
>> b/include/configs/davinci_dvevm.h
>>> index f7d2399..b045e80 100644
>>> --- a/include/configs/davinci_dvevm.h
>>> +++ b/include/configs/davinci_dvevm.h
>>> @@ -138,6 +138,7 @@
>>> #define CONFIG_SYS_NAND_HW_ECC
>>> #define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND
>> devices */
>>> #define CONFIG_ENV_OFFSET 0x0 /* Block 0--not used by bootcode
>> */
>>> +#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */
>>> #define DEF_BOOTM ""
>>> #elif defined(CONFIG_SYS_USE_NOR)
>>> #ifdef CONFIG_NOR_UART_BOOT
>> Please add a comment in the commit log why
>> the change is needed.
>> Tom
>
> OK. I'll add the comment and push.
>
> The reason is without that when we want to say erase a NAND block, it will give weird outputs like erasing block at 0x00000000.
>
> So basically the MTD NAND driver will find the bad block but we get this incorrect message as this option is not set.
>
> Other symptoms are after for e.g we complete an erase NAND operation, we will get a message which says, 0x4026432% completed or something like that.
>
> Thanks,
> Sandeep
>
>
>
This is a good reason!
It says what the problem is and what this change to the config will
correct.
Add the same comment to other similar patches you submitted and they
will all be good to go.
Ack
Tom
next prev parent reply other threads:[~2009-10-11 18:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1255277783-8336-1-git-send-email-s-paulraj@ti.com>
2009-10-11 17:25 ` [U-Boot] [PATCH] TI DaVinci DVEVM: Add Config option for 64 bit Support Tom Rix
2009-10-11 17:53 ` Paulraj, Sandeep
2009-10-11 18:01 ` Tom Rix [this message]
2009-10-11 13:15 s-paulraj at ti.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AD21D6A.3030807@bumblecow.com \
--to=tom@bumblecow.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox