
18 Jun
2005
18 Jun
'05
5:18 p.m.
Hello,
in message c3d0340b05061717456bc12331@mail.gmail.com you wrote:
You can export and call in SA apps functions which perform operations
^^^^^^ ^^^^ ^^^^^^^^^
on flash_info[], but you cannot access flash_info[] or any other global variables directly.
Confused. How do SA apps perform operations on exported data without accessing them? Could you elaborate a little bit? I want to write a SA
By calling functions in the U-Boot code which use the data.
app to print the protection info of all flash banks. I know flinfo can do that. I just do some experiments. ;)
Then just export and call the do_flinfo function.
Why reinvent the wheel or duplicate already existing code?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
-- Isaac Asimov