From: Wolfgang Denk Date: Sun, 07 Nov 2010 22:36:29 +0100 Subject: [U-Boot] [PATCH] OMAP4: quick image loading & memory init on Pandaboard In-Reply-To: <4CD4377B.2020500@globallogic.com> References: <4CD4377B.2020500@globallogic.com> Message-ID: <20101107213629.7A8281524F3@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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). In any case - please reconside rif 16 KiB is nt more reasonable. The time difference should be minimal (did you measure it?). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de "Life and death are seldom logical." "But attaining a desired goal always is." -- McCoy and Spock, "The Galileo Seven", stardate 2821.7