
18 Jul
2006
18 Jul
'06
6:14 p.m.
In message 200607181808.35581.laurent.pinchart@tbox.biz you wrote:
I thought the do_* functions (do_jffs2_fsload here) were not supposed to be used outside the interpreter. Thanks for the explanation.
Why not? Of course, in most cases much simpler interfaces exist which then get used. But instead of repeating the mtdparts_init(), jffs2_part_info(), cramfs_check()logic before you can finally call cramfs_load() it is IMHO perfectly legitimate to call do_jffs2_fsload() with manually provided argc / argv areguments.
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
"An open mind has but one disadvantage: it collects dirt."
- a saying at RPI