[U-Boot] [PATCH 4/4] OneNAND: Use generic_onenand_read_page in IPL

Wolfgang Denk
2010-10-04T06:05:37Z

Dear Marek Vasut,

In message <201010040224.35419.marek.vasut@gmail.com> you wrote:
>
> The data section isn't writable, right ?

The data section is (officially) writable only after relocation.
This rule has the situation in mind that U-Boot starts runnng from
some form of ROM (like NOR flash). If loaded to RAM by some other
preloader then the data segmentis axctually writable, but you still
have to keep in mind that you have only a minimal stack and no valid
BSS.

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
While money can't buy happiness, it certainly lets you choose your
own form of misery.