From: Erik M. <J.A...@it...> - 2002-01-15 22:42:44
|
On Mon, Jan 14, 2002 at 07:30:55PM -0800, Christopher Hoover wrote: > Any interest in the flash commands I wrote? I placed the code into a > separate file (see below) and hacked the commands to use (u32 *start, > u32 nwords) ranges as that seems to be the preferred interface for the > flash functions. If a different organization is preferred, let me know. > > [The code will have to changed a bit once the new partition code goes > in, but hopefully the changes will be isolated to a single function, > parse_partition.] Agreed. The only thing I don't like is the print_flash_map() function. Printing the complete flash map is really only a debug function, it isn't needed for normal use. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A...@it... WWW: http://www-ict.its.tudelft.nl/~erik/ |