public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sergiy Kibrik <sergiy.kibrik@globallogic.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] OMAP4: quick image loading & memory init on Pandaboard
Date: Mon, 08 Nov 2010 15:35:17 +0200	[thread overview]
Message-ID: <4CD7FC95.4040104@globallogic.com> (raw)
In-Reply-To: <20101107213629.7A8281524F3@gemini.denx.de>

On 11/07/2010 11:36 PM, Wolfgang Denk wrote:
> Dear Sergiy Kibrik,
> 
> In message <4CD4377B.2020500@globallogic.com> you wrote:
>> Improved default config for OMAP4 Pandaboard for faster boot:
>> 	-reduced environment size to speed up memory initialization;
>> 	-tweaked blob load address to avoid image relocation (according to default uImage load address);
>>
>> Signed-off-by: Sergiy Kibrik <sergiy.kibrik@globallogic.com>
>> ---
>>  include/configs/omap4_panda.h |    6 +++---
>>  1 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
>> index 74defab..5a2df35 100644
>> --- a/include/configs/omap4_panda.h
>> +++ b/include/configs/omap4_panda.h
>> @@ -62,10 +62,10 @@
>>  
>>  /*
>>   * Size of malloc() pool
>> - * Total Size Environment - 256k
>> + * Total Size Environment - 2k
> 
> An environment size of 2 kB seems way to small for amost practical
> purposes. I agree that 256 kB might be overkill, but why not chose a
> more reasonable size like 16 kB, or say 8 kB if you are really trying
> to squeeze any microsecond?
> 
>>   * Malloc - add 256k
>>   */
>> -#define CONFIG_ENV_SIZE			(256 << 10)
>> +#define CONFIG_ENV_SIZE			(256 << 4)
> 
> 256 << 4 ?  Who is supposed to easily read and understand this?
> 
> If you mean 2 KiB, you could use either 2048 or (2 << 10).
> 

sorry, I just used the way it was done before (besides those lines were commented)

> In any case - please reconside rif 16 KiB is nt more reasonable. The
> time difference should be minimal (did you measure it?).
> 

sure, 16k is a reasonable tradeoff. Thanks for your comments, I'll resubmit the patch.

> Best regards,
> 
> Wolfgang Denk
> 

  reply	other threads:[~2010-11-08 13:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-05 16:57 [U-Boot] [PATCH] OMAP4: quick image loading & memory init on Pandaboard Sergiy Kibrik
2010-11-07 21:36 ` Wolfgang Denk
2010-11-08 13:35   ` Sergiy Kibrik [this message]
2010-11-08 13:37     ` Sergiy Kibrik
2010-11-19 12:09       ` Sergiy Kibrik

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=4CD7FC95.4040104@globallogic.com \
    --to=sergiy.kibrik@globallogic.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