[U-Boot] [PATCH 13/13] mcx: support for HTKW mcx board

Wolfgang Denk wd at denx.de
Wed Nov 30 19:41:53 CET 2011


Dear Andy Fleming,

In message <CAKWjMd7_sXJxfJX=vVyYSXW8nv33PZfUCFSTeLCu7Qu-KnPSjQ at mail.gmail.com> you wrote:
> >> +#define CONFIG_SPL_MAX_SIZE =A0 =A0 =A0 =A0 =A0 =A00xB400 =A0/* 45 K */
> >
> > Better as (45 << 10).
> 
> Maybe 45 * 1024?

Matter of taste... For KiB it makes not much difference, but for MiB a
"45 << 20" is way easier to write and read than a "45 * 1024 * 1024".

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
The price of curiosity is a terminal experience.
                         - Terry Pratchett, _The Dark Side of the Sun_


More information about the U-Boot mailing list