[U-Boot] [PATCH] powerpc/85xx: corenet_ds: increase console buffer size to 1024

Wolfgang Denk wd at denx.de
Wed Sep 28 22:57:06 CEST 2011


Dear Scott Wood,

In message <4E821558.8030902 at freescale.com> you wrote:
>
> > You don't write all your C code in a single line per function, or do
> > you?
> 
> Of course not, but this a rather different environment, that doesn't
> support multiline code in the same way.  It's more like macro
> substitution, and yes, there are times when I'd have C macros that are
> more than 256 characters.

Actually U-Boot does support multi-line macro definitions...

> If 256 is "more than reasonably long", are you going to force all the
> boards that set it to 512 or 1024 to change?  Or does this just apply to
> those boards that were unlucky enough to not have the bigger limit from
> day one?

Neither one nore the other.

It applies to boards that use strings in their default environment
that exceed the length of the buffer.

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 at denx.de
It's hard to think of you as the end result of millions of  years  of
evolution.


More information about the U-Boot mailing list