
2 Feb
2013
2 Feb
'13
4:38 p.m.
perusing the code in cmd_flash.c and i'm puzzled by this:
#if defined(CONFIG_CMD_MTDPARTS) #include <jffs2/jffs2.h>
why would supposedly low-level MTD partitioning code have any need for filesystem-specific header files -- in this case, jffs2?
a similar example can be found in cmd_mtdparts.c:
#include <jffs2/load_kernel.h>
admittedly, i haven't followed the code all the way to the end, but it's not clear to me why fundamental flash, MTD and partitioning code should have any dependency on a particular filesystem type, but i'm certainly willing to be corrected.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================