[U-Boot] help on POST

Wolfgang Denk wd at denx.de
Fri Jul 30 23:29:03 CEST 2010


Dear York Sun,

In message <1280524829.25910.58.camel at oslab-l1> you wrote:
> 
> Please help me to understand the post_word_write() and post_word_load().
> I see some implementations which don't use NVRAM. Is it OK to use gd?

No.

> Does the post_word_load() require the data survive reset? How is the

Yes.

> data validated? I don't see any code to validate the value. 

It checks against BOOTMODE_MAGIC.

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
Faith may be defined briefly as an illogical belief in the  occurence
of the improbable.                                    - H. L. Mencken


More information about the U-Boot mailing list