[U-Boot] libfdt: make fdt_increase_size() available to everyone

Wolfgang Denk
2010-05-17T20:33:55Z

Dear Timur Tabi,

In message <4BF14FBF.3040900@freescale.com> you wrote:
>
> > So where is the code that makes sure that there is sufficient space
> > available?
>
> Well, if I load the fdt to address c0000, and it's 10KB in size, I'm pretty
> sure I can expand it to 16KB if I know that there's nothing else between
> c0000 and c4000.

Assume the case that the DTB is stored in NOR flash, and I pass the
NOR flash address to the bootm command...

I'm not sure if there is any guarantee for free room behind the DTB in
this case.

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
... not meant for the weak-at-heart: /^(?=.*one)(?=.*two)/
If you can follow that, you can use it.
- Randal L. Schwartz in <ukpw67rhl3.fsf@julie.teleport.com>