
31 Jul
2010
31 Jul
'10
7:11 p.m.
Dear York Sun,
In message 1280525648.25910.61.camel@oslab-l1 you wrote:
data validated? I don't see any code to validate the value.
It checks against BOOTMODE_MAGIC.
What's if I don't want to use flash and don't have NVRAM? Can I use gd but let it fail the validation in case of data corruption?
I don't understand the problem. All we need is some register or memory location that is guaranteed to keep it's value during a hard reset of the processor. This can be NVRAM, or On-Chip-Memory, or some register. I am pretty sure you know this CPU much better than me, and I am optimistic that you can find such a register.
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@denx.de
365 Days of drinking Lo-Cal beer. = 1 Lite-year